jschuh / klipper-macros

A collection of useful macros for the Klipper 3D printer firmware
GNU General Public License v3.0
928 stars 168 forks source link

[BUG] Z-Offset with Tap #83

Closed M3HNGRY closed 1 year ago

M3HNGRY commented 1 year ago

Before making a report please ensure you've followed the troubleshooting steps at: https://github.com/jschuh/klipper-macros#troubleshooting

Describe the bug Z-Offset is saved in my printer.cfg and varibles.cfg file

Variables.cfg [Variables] bed_surfaces = {'active': 'default', 'available': {'default': {'offset': 0.0}}, 'endstop_z': 0.0, 'probe_z': -0.77}

printer.cfg

*# [probe]

*# z_offset = -0.770

Voron2.4-Purple.zip

So it seems like when I go -.710 it goes closer to my bed then away. Not sure I am doing something wrong or there is a bug.

Thanks again. Anthony

jschuh commented 1 year ago

I can't tell from the description what the issue is, however, the relevant documentation is in the Bed Surface section of the readme.

One other thing I should note is that the installation instructions call out not including the default Mainsail macros. So, I wonder if the klipper-macros directory is even loading, because I would expect that config to fail on a Klipper error due to macro naming conflicts.

M3HNGRY commented 1 year ago

I have remove the save values and use the bed surface instructions. The values seems inverted to the bed surface. I am coming from Marlin so that might be the case.

I read this somewhere "In Marlin, the offsets show how you'd need to travel from the probe to reach the nozzle. In Klipper, it shows how you'd need to travel from the nozzle to reach the probe.

Basically it's "inverted" by design."

Thanks again

jschuh commented 1 year ago

Oh, now I understand the question. Yes, this is just the way that Klipper offsets work.