mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-24 08:38:34 -07:00
probe: retract after PROBE
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
parent
8b58aa1302
commit
007e35705e
1 changed files with 3 additions and 0 deletions
|
|
@ -80,6 +80,9 @@ class ProbeCommandHelper:
|
|||
pos = run_single_probe(self.probe, gcmd)
|
||||
gcmd.respond_info("Result is z=%.6f" % (pos[2],))
|
||||
self.last_z_result = pos[2]
|
||||
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, kin_pos):
|
||||
if kin_pos is None:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue