diff options
author | Arksine <arksine.code@gmail.com> | 2018-08-17 12:08:37 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2018-08-19 16:52:23 -0400 |
commit | 52df40dfbb5596c3190ba4a5cd79fd3af87a71b3 (patch) | |
tree | ce0de0c00e5d91881563152a7647714c110eebb1 /klippy/extras/probe.py | |
parent | 08aacec0b2616c9b836feb4c22c6e121595bb29e (diff) | |
download | kutter-52df40dfbb5596c3190ba4a5cd79fd3af87a71b3.tar.gz kutter-52df40dfbb5596c3190ba4a5cd79fd3af87a71b3.tar.xz kutter-52df40dfbb5596c3190ba4a5cd79fd3af87a71b3.zip |
bed_mesh: update z_offset check
Only check the probe's z_offset against the stepper_z endstop position if the probe is used as a virtual endstop.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Diffstat (limited to 'klippy/extras/probe.py')
-rw-r--r-- | klippy/extras/probe.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/klippy/extras/probe.py b/klippy/extras/probe.py index 3c27e73b..831ccf55 100644 --- a/klippy/extras/probe.py +++ b/klippy/extras/probe.py @@ -171,6 +171,11 @@ class ProbePointsHelper: self.gcode = self.toolhead = None def get_lift_speed(self): return self.lift_speed + def get_last_xy_home_positon(self): + if self.probe is not None: + return self.probe.last_home_position() + else: + return None def start_probe(self): # Begin probing self.toolhead = self.printer.lookup_object('toolhead') |