Jump to content

Octoprint Cura Plugin - Adjust Camera Size


Glomby

Recommended Posts

Posted · Octoprint Cura Plugin - Adjust Camera Size

I recently upgraded my UM2+ to work with Octoprint with a RaspPi + PiCamera. The Cura integration turned out to be extremely useful and everything is just so much more convenient.

 

The only thing right now that could be better is the size of the camera window in Cura. I prefer to just leave Cura open to monitor a print but the cam size is pretty small. I'm on a 4k Screen so maybe this is just an oversight in cura itself and has nothing to do with the Octorint plugin. Many apps still don't scale properly in 4k but if there is a simple fix to this I would gladly like to know it. In the octoprint webinterface this isn't an issue btw.

 

This is how it currently looks on my monitor with Cura in Fullscreen:

 

CuraCamMonitor.jpg

  • Link to post
    Share on other sites

    Posted · Octoprint Cura Plugin - Adjust Camera Size

    Good point. The camera image is shown at "real size", unless it is too big to fit into the window, in which case it is scaled down. It currently isn't scaled up.

     

    I'll implement a fix to make sure the display dpi is taken into account.

  • Link to post
    Share on other sites

    Posted · Octoprint Cura Plugin - Adjust Camera Size
    6 minutes ago, ahoeben said:

    Good point. The camera image is shown at "real size", unless it is too big to fit into the window, in which case it is scaled down. It currently isn't scaled up.

     

    I'll implement a fix to make sure the display dpi is taken into account.

    Thanks that would be awesome.

     

    That would be great. So normally it would just take any resolution until it's too big and scale it down? Would it be possible to make it scale the image up to fill out the Cura window but maybe implement a scaling value to manually modify? Lets say I want it to always fill the available space to 75% (0.75 scaling) or something?

  • Link to post
    Share on other sites

    Posted · Octoprint Cura Plugin - Adjust Camera Size
    5 minutes ago, ahoeben said:

    Upscaling generally looks ugly

    Well if you do it too much. But yeah maybe upscaling to fill out the whole window would be too much, but 2x the size should be fine and would make it much easier to monitor the print. I think in this case a clean image isn't as important as being able to easily see the print.

  • Link to post
    Share on other sites

    Posted · Octoprint Cura Plugin - Adjust Camera Size

    Could you do a quick test for me?

     

    Go to Help -> Show configuration folder, and locate the folder plugins/OctoPrintPlugin/OctoPrintPlugin. In that folder there should be a file named MonitorItem.qml. Replace that file with this one:

    https://raw.githubusercontent.com/fieldOfView/OctoPrintPlugin/3.2/MonitorItem.qml

    • Thanks 1
    Link to post
    Share on other sites

    Posted · Octoprint Cura Plugin - Adjust Camera Size
    15 hours ago, ahoeben said:

    Could you do a quick test for me?

     

    Go to Help -> Show configuration folder, and locate the folder plugins/OctoPrintPlugin/OctoPrintPlugin. In that folder there should be a file named MonitorItem.qml. Replace that file with this one:

    https://raw.githubusercontent.com/fieldOfView/OctoPrintPlugin/3.2/MonitorItem.qml

    Okay I just got around testing it. It looks perfect now. I'd say it's as big as it should be now, any more and the quality would make it look too bad.

     

    Thank you very much for such hyperspeed support :)

  • Link to post
    Share on other sites

    Posted · Octoprint Cura Plugin - Adjust Camera Size

    This is great, I was looking for a way to resize the camera monitor and found this post. I followed the steps and I am very happy with the results. Thanks

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...