probe_eddy_current: Add support for probing in "scan" mode

When probing in "scan" mode, the toolhead will pause at each position,
but does not descend.  This can notably reduce the total probing time.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2024-05-31 16:48:55 -04:00
parent aa0dbf6ee6
commit fcf064ba68
2 changed files with 34 additions and 1 deletions

View File

@@ -438,7 +438,7 @@ class ProbePointsHelper:
def_move_z = self.default_horizontal_move_z
self.horizontal_move_z = gcmd.get_float('HORIZONTAL_MOVE_Z',
def_move_z)
if probe is None or method != 'automatic':
if probe is None or method == 'manual':
# Manual probe
self.lift_speed = self.speed
self.probe_offsets = (0., 0., 0.)