mainsail-crew / mainsail

Mainsail is the popular web interface for managing and controlling 3D printers with Klipper.
https://docs.mainsail.xyz
GNU General Public License v3.0
1.68k stars 351 forks source link

Improve default perspective and readability of heightmap graph #993

Open batista16 opened 2 years ago

batista16 commented 2 years ago

Requested feature:

This is a feature request that only makes sense if everyone agrees (as most of them).. on the mesh view, the default view it's with the Y0 XMax closer to you.. that's a really weird prespective I think, it's hard for me to understand where's what, I have to move the thing arround until I get a 0,0 visible.. My proposal is to have it from the front of the printer, like I phisically look at it.. it would also be nice to default to a zoom where everything is in view, including labels.. right now I need to zoom out so I can see the axis labels. Maybe even the panel height can be increased. Default view: image Preferred view: image

Solves the following problem:

No response

Additional information:

No response

Henlor commented 2 years ago

I'm totally agree in this.

I'm always lost when I see this graph. First thing I always have to do, it's trying to find the "good orientation" to understand it. And the second thing that's bores me is the Z axis Grid switching from side to side depending on the perspective orientation. I wonder if it's useful or even necessary to display it at all, afterall.

Bay the way, I'm on a Cartesian printer. I don't know if this has an impact on the initial orientation of the bed mesh graph

LazaroFilm commented 1 year ago

Agreed too also, the X and Y scales could be by the edge of the bed instead of all the way at the bottom. The Z scale could be a toggle option.

meteyou commented 1 week ago

@batista16 i created a PR to implement this feature. pls check it if it would fit for you.

@Henlor

And the second thing that's bores me is the Z axis Grid switching from side to side depending on the perspective orientation. I wonder if it's useful or even necessary to display it at all, afterall.

currently the grid has to jump left and right, otherwise it covers the bed_mesh. but this is generally the default setting of the chart lib we use (echarts). i haven't seen an option to disable this yet. but we could probably make the z-grid less “strong/bright” to make it look “lighter”. maybe this would make it easier to orientate?

@LazaroFilm

Agreed too also, the X and Y scales could be by the edge of the bed instead of all the way at the bottom. The Z scale could be a toggle option.

i dont know any option to move the labels at the height from the mesh in this lib...