Jump to content
Ultimaker Community of 3D Printing Experts
Glomby

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:

 

CuraCamMonitor.jpg

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:

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

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

Announcements

  • Our picks

    • Architect Design Contest | People
      The goal of this contest is to design a set of people figurines that could be used in such a project to make an area, office or mall seem populated. 
      Think of different types of people in different environments, like walking people, people standing still, working people, and both men and women.
       
      • 6 replies
    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 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!