jneilliii / OctoPrint-BedLevelVisualizer

MIT License
369 stars 82 forks source link

[FR]: add 4 buttons which move to a corner and measure the z height for manual tramming #552

Open hansvanlin opened 2 years ago

hansvanlin commented 2 years ago

To save time with tramming the bed with a paper I use the probe to measure the z height and display it in the printer notification area. Then I use your plugin to measure the mesh and start printing. In this way it is more accurate to tram the bed before starting to update the mesh.

Add a button for each corner to probe the corner, below the mesh graph, and measure the z height of that corner and display it at the button. It saves me time because only measure 1-4 corners instead of 16 measuring points of the mesh.

Currently I'm using the custom button area to do so but more users could benefit from this method.

probing

Additional context

jneilliii commented 2 years ago

This is what I made bed leveling wizard plugin for. There's also autobim plugin if you have a probe.

hansvanlin commented 2 years ago

What I was proposing was something of both plugins. Manual measuring 1 corner adjust if necessary again then move to the opposite corner and back to the first one etc.. Both plugins are a wizard which do all corners in sequence which takes time. I could not find a plugin which does have the freedom for the user to choose. I have a probe and want to adjust one corner I choose which needs most adjustment. And finaly measure all 4 corners before update mesh. Therefore I made the custom buttons which just use G-code commands. But It would nice to have in one place e.g. below the graph. And have the webcam view when using the buttons.

best regards, Hans

jneilliii commented 2 years ago

Oh, so this plugin actually has a hidden feature that allows you to move to the positions if that's what you mean. In the hover menu at the top of the graph there is a move icon. When you click that and then click on a position on the surface it will move the nozzle to that position on the printer.

hansvanlin commented 2 years ago

Yes something like that and then measure on that point the z height and display it. But this move feature, you have to click twice to move to a new position (on the move feature and then on the bed). Ideal is when you can set the measuring point exactly above the adjustment screws and have a larger button to click on to move to the predefined corner. This is one click on the button and have the z height displayed after the single measurement.

I can work how I do it now with the custom buttons but my toughts where that more people would like it. p.s. you could also make the corners of the mesh data have a button function and update the value in that field, then no extra space is needed.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days

briodan commented 1 year ago

What I was proposing was something of both plugins. Manual measuring 1 corner adjust if necessary again then move to the opposite corner and back to the first one etc.. Both plugins are a wizard which do all corners in sequence which takes time. I could not find a plugin which does have the freedom for the user to choose. I have a probe and want to adjust one corner I choose which needs most adjustment. And finaly measure all 4 corners before update mesh. Therefore I made the custom buttons which just use G-code commands. But It would nice to have in one place e.g. below the graph. And have the webcam view when using the buttons.

best regards, Hans

do you mind sharing the custom buttons code?

hansvanlin commented 1 year ago

You can add this in the config.yaml located in the .octoprint folder.

controls:

You also need a plugin to display the z height eg ¨DisplayZ" plugin.

It is also possible to add it in the bed visualizer plugin image

image