mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-12 16:26:05 +01:00
winch: Improve python3 compatibility
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -28,7 +28,7 @@ class WinchKinematics:
|
||||
for s in self.steppers:
|
||||
s.set_max_jerk(max_halt_velocity, max_accel)
|
||||
# Setup boundary checks
|
||||
acoords = zip(*self.anchors)
|
||||
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.], ())
|
||||
|
||||
Reference in New Issue
Block a user