aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/kinematics/winch.py
diff options
context:
space:
mode:
authorDennis Marttinen <38858901+twelho@users.noreply.github.com>2025-01-10 15:41:09 +0000
committerGitHub <noreply@github.com>2025-01-10 10:41:09 -0500
commit7083879700800710c624c0bf08220215ba5f4a83 (patch)
tree03595e28aca8238f9f8e727ba6e1d43aed52b2e6 /klippy/kinematics/winch.py
parent9ca71d8608f4a6013c3453ffa9e75c3739078712 (diff)
downloadkutter-7083879700800710c624c0bf08220215ba5f4a83.tar.gz
kutter-7083879700800710c624c0bf08220215ba5f4a83.tar.xz
kutter-7083879700800710c624c0bf08220215ba5f4a83.zip
force_move: Implement CLEAR for SET_KINEMATIC_POSITION (#6262)
`CLEAR` clears the homing status (resets the axis limits) without turning off the motors. This is particularly useful when implementing safe Z homing in `[homing_override]` on printers with multiple independent Z steppers (where `FORCE_MOVE` can't be used). Signed-off-by: Dennis Marttinen <twelho@welho.tech>
Diffstat (limited to 'klippy/kinematics/winch.py')
-rw-r--r--klippy/kinematics/winch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/klippy/kinematics/winch.py b/klippy/kinematics/winch.py
index 11475d24..c69d1b6d 100644
--- a/klippy/kinematics/winch.py
+++ b/klippy/kinematics/winch.py
@@ -36,6 +36,9 @@ class WinchKinematics:
def set_position(self, newpos, homing_axes):
for s in self.steppers:
s.set_position(newpos)
+ def clear_homing_state(self, axes):
+ # XXX - homing not implemented
+ pass
def home(self, homing_state):
# XXX - homing not implemented
homing_state.set_axes([0, 1, 2])