aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/kinematics/winch.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-01-10 11:27:30 -0500
committerKevin O'Connor <kevin@koconnor.net>2025-01-21 18:58:23 -0500
commit4aa550837fc170d0b77a0d461ca4f970b7bee7ae (patch)
tree7a185d949b9179c5f9b3977539e9cfda5ca7756e /klippy/kinematics/winch.py
parentc72d73ec450119b5fbe13d98409037a21ae97101 (diff)
downloadkutter-4aa550837fc170d0b77a0d461ca4f970b7bee7ae.tar.gz
kutter-4aa550837fc170d0b77a0d461ca4f970b7bee7ae.tar.xz
kutter-4aa550837fc170d0b77a0d461ca4f970b7bee7ae.zip
toolhead: Pass set_position() homing_axes parameter as a string
Use strings such as "xyz" to specify which axes are to be considered homing during a set_position() call. This makes the parameter a little less cryptic. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/kinematics/winch.py')
-rw-r--r--klippy/kinematics/winch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/kinematics/winch.py b/klippy/kinematics/winch.py
index c69d1b6d..0003826b 100644
--- a/klippy/kinematics/winch.py
+++ b/klippy/kinematics/winch.py
@@ -26,7 +26,7 @@ class WinchKinematics:
acoords = list(zip(*self.anchors))
self.axes_min = toolhead.Coord(*[min(a) for a in acoords], e=0.)
self.axes_max = toolhead.Coord(*[max(a) for a in acoords], e=0.)
- self.set_position([0., 0., 0.], ())
+ self.set_position([0., 0., 0.], "")
def get_steppers(self):
return list(self.steppers)
def calc_position(self, stepper_positions):