probe: retract after PROBE

With probes where the nozzle touches the bed
It is safer to retract after the last probe
as PROBE_ACCURACY does.

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
Timofey Titovets 2025-12-18 21:17:25 +01:00
parent 7f54f2622b
commit 2f70b59ea7

View file

@ -91,6 +91,9 @@ class ProbeCommandHelper:
pos.bed_z))
x_offset, y_offset, z_offset = self.probe.get_offsets()
self.last_z_result = pos.bed_z + z_offset # Deprecated
params = self.probe.get_probe_params(gcmd)
liftpos = [None, None, pos[2] + params['sample_retract_dist']]
self._move(liftpos, params['lift_speed'])
def probe_calibrate_finalize(self, mpresult):
if mpresult is None:
return