mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-24 00:28:34 -07:00
probe_eddy_current: allow offsets overload
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
parent
5f782915d0
commit
e244b1d0e5
1 changed files with 2 additions and 0 deletions
|
|
@ -493,6 +493,8 @@ class ProbePointsHelper:
|
|||
# Perform automatic probing
|
||||
self.lift_speed = probe.get_probe_params(gcmd)['lift_speed']
|
||||
self.probe_offsets = probe.get_offsets()
|
||||
if method == 'tap':
|
||||
self.probe_offsets = (0., 0., 0.)
|
||||
if self.horizontal_move_z < self.probe_offsets[2]:
|
||||
raise gcmd.error("horizontal_move_z can't be less than"
|
||||
" probe's z_offset")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue