Jump to content
Ultimaker Community of 3D Printing Experts

Octoprint Cura Plugin - Adjust Camera Size

Recommended Posts

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:



Share this post

Link to post
Share on other sites
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?

Share this post

Link to post
Share on other sites
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.

Share this post

Link to post
Share on other sites
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:


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 :)

Share this post

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 | a new interface
      We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance. 
        • Like
      • 86 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!