mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-01-17 21:35:49 -07:00
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:
parent
7f54f2622b
commit
2f70b59ea7
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue