From c0f72a2c38bc37c623ad8edf300f892dff6940a0 Mon Sep 17 00:00:00 2001 From: David Smith Date: Sun, 1 Mar 2020 23:00:41 -0500 Subject: safe_z_home: Support note_z_not_homed() in kinematics (#2500) Signed-off-by: David Smith --- klippy/kinematics/corexy.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'klippy/kinematics/corexy.py') diff --git a/klippy/kinematics/corexy.py b/klippy/kinematics/corexy.py index cc94d56c..f04b3009 100644 --- a/klippy/kinematics/corexy.py +++ b/klippy/kinematics/corexy.py @@ -49,6 +49,9 @@ class CoreXYKinematics: rail.set_position(newpos) if i in homing_axes: self.limits[i] = rail.get_range() + def note_z_not_homed(self): + # Helper for Safe Z Home + self.limits[2] = (1.0, -1.0) def home(self, homing_state): # Each axis is homed independently and in order for axis in homing_state.get_axes(): -- cgit v1.2.3-70-g09d2