jneilliii / OctoPrint-BedLevelVisualizer

MIT License
369 stars 82 forks source link

[FR]: Visualize the bed with realistic X-Y proportions #576

Open DrewBatchelor opened 1 year ago

DrewBatchelor commented 1 year ago

Hi Jneillii, Thank you for a fantastic plug in, Please consider this suggestion for a minor enhancement.

Is your feature request related to a problem? Please describe. If the 3D printer has a bed which is not square, the visualization of the bed still appears square, This doesn't seem right, it would help if the proportions were more realistic. (see images below).

Describe the solution you'd like The X and Y graph axes of the bed level visualiser to be proportional in size to the bed.
While most printers have a square bed, one of my printers has an Y axis that is ~0.7 times the length of the X axis.

Describe alternatives you've considered I'm pretty sure that this is fairly easy to implement, and Plotly already has this function, it's possibly "scaleanchor:" or "scaleratio:" in layout.

Additional context This is what I have in Bed Visualizer in Octoprint: Octoprint

This is the proportions I would like to see, with realistic bed X-Y Size (made in Plotly): Plotly2

Thank you Drew

jneilliii commented 1 year ago

I'm actually currently working on an advanced option set that will let you override layout and data options manually. This should allow you to modify these settings at will. The reason it's doing that on you is because you're using auto for limits I believe.