probe_eddy_current: allow offsets overload

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
Timofey Titovets 2025-11-23 02:11:01 +01:00
parent 5f782915d0
commit e244b1d0e5

View file

@ -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")