diff options
author | David Smith <davidosmith@gmail.com> | 2020-03-01 23:00:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-01 23:00:41 -0500 |
commit | c0f72a2c38bc37c623ad8edf300f892dff6940a0 (patch) | |
tree | 144a034c9d117bc446c72db102fef8887ea08937 /klippy/kinematics/corexy.py | |
parent | 7a3cbc1e234b387e2e0467b1c65c861c2c9dc945 (diff) | |
download | kutter-c0f72a2c38bc37c623ad8edf300f892dff6940a0.tar.gz kutter-c0f72a2c38bc37c623ad8edf300f892dff6940a0.tar.xz kutter-c0f72a2c38bc37c623ad8edf300f892dff6940a0.zip |
safe_z_home: Support note_z_not_homed() in kinematics (#2500)
Signed-off-by: David Smith <davidosmith@gmail.com>
Diffstat (limited to 'klippy/kinematics/corexy.py')
-rw-r--r-- | klippy/kinematics/corexy.py | 3 |
1 files changed, 3 insertions, 0 deletions
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(): |