probe: Verify horizontal_move_z not less than probe's z_offset
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
c5bff88943
commit
6869e7d1ec
|
@ -162,6 +162,9 @@ class ProbePointsHelper:
|
||||||
self.probe = self.printer.lookup_object('probe')
|
self.probe = self.printer.lookup_object('probe')
|
||||||
self.lift_speed = min(self.speed, self.probe.speed)
|
self.lift_speed = min(self.speed, self.probe.speed)
|
||||||
self.probe_z_offset = self.probe.z_offset
|
self.probe_z_offset = self.probe.z_offset
|
||||||
|
if self.horizontal_move_z < self.probe_z_offset:
|
||||||
|
raise config.error("horizontal_move_z can't be less than probe's"
|
||||||
|
" z_offset in %s" % (config.get_name()))
|
||||||
# Internal probing state
|
# Internal probing state
|
||||||
self.results = []
|
self.results = []
|
||||||
self.busy = False
|
self.busy = False
|
||||||
|
|
Loading…
Reference in New Issue