PrusaOwners / OctoPrint-PrusaMeshMap

This plugin performs a mesh bed leveling operation then returns the results as an easy to read heatmap.
MIT License
133 stars 31 forks source link

Enhancement request: Set range of color scale #46

Open kellybyrd opened 5 years ago

kellybyrd commented 5 years ago

I've used the plugin a while and generally have my bed dialed in where I want it. But I do like to check occasionally to make sure it's relatively level. I have GCode added to do the bed level every print. What throws me off now is the autoscaling of the color scheme for the heatmap

What I'd like is to be able to set my own scale, and let the min and max colors be for everything outside my the user-set range. Maybe I pretty sure I'm within 0.10. So I set that as the scale in the plugin. When the plugin gets hold of the real values, it would do something like this:

If I have set my scale value wrong, this could lead to a worthless heatmap, but that's my fault. The heatmap would still show me max and min, and total variance so I have enough information to reset my scale to an appropriate value. If I do this right, I think it makes the successive runs while debugging much more intuitive, because the scale is staying constant until I change it.