protoloft / klipper_z_calibration

Klipper plugin for self-calibrating z-offset
GNU General Public License v3.0
1.05k stars 151 forks source link

Z Ofsset isue to park my Euclid #97

Closed canadank0 closed 1 year ago

canadank0 commented 1 year ago

Hello, I dont know if i misread something, but when your script apply the Z offset it also change Z offset number for returning my euclid probe to plastic pocket. In my case it is lower number and the probe cannot find the entry and fall down. is there way to apply the offset after probe is parked and the nozzle is over the bed?

TitusLabs commented 1 year ago

Yes, maybe I missed that with the order :thinking: It's historically grown. But, it would just shift your problem to your next probing attempt. The solution is (I think I should document this) to set the offset to 0 in your (un)dock macros if you have it mounted to the bed like this:

SAVE_GCODE_STATE NAME=YOUR_MACRO_NAME
SET_GCODE_OFFSET Z=0.0

your macro content here...

RESTORE_GCODE_STATE NAME=YOUR_MACRO_NAME

So, you save the current offset, set it back to 0.0 with which you defined your dock offsets, dock or undock your probe and restore the offset.

canadank0 commented 1 year ago

Thank you very much, it works like a charm.