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/extras/safe_z_home.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/extras/safe_z_home.py')
-rw-r--r-- | klippy/extras/safe_z_home.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/extras/safe_z_home.py b/klippy/extras/safe_z_home.py index 0489fab7..5c21bd3c 100644 --- a/klippy/extras/safe_z_home.py +++ b/klippy/extras/safe_z_home.py @@ -48,6 +48,8 @@ class SafeZHoming: self._perform_z_hop(pos) else: self._perform_z_hop(pos) + if hasattr(toolhead.get_kinematics(), "note_z_not_homed"): + toolhead.get_kinematics().note_z_not_homed() # Determine which axes we need to home if not any([axis in params.keys() for axis in ['X', 'Y', 'Z']]): |