From 8ed0f7c5c37a3e2a3c38d19b19bbd6846453a6df Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 13 Jan 2020 21:39:55 -0500 Subject: kinematics: Remove support for identifying Z steppers The caller can now determine which steppers are connected to cartesian Z movement via the new stepper.is_active_axis() method. It is therefore no longer necessary for the kinematic code to identify these steppers. Signed-off-by: Kevin O'Connor --- klippy/kinematics/delta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/kinematics/delta.py') diff --git a/klippy/kinematics/delta.py b/klippy/kinematics/delta.py index f58902b2..057e9241 100644 --- a/klippy/kinematics/delta.py +++ b/klippy/kinematics/delta.py @@ -87,7 +87,7 @@ class DeltaKinematics: math.sqrt(self.max_xy2), math.sqrt(self.slow_xy2), math.sqrt(self.very_slow_xy2))) self.set_position([0., 0., 0.], ()) - def get_steppers(self, flags=""): + def get_steppers(self): return [s for rail in self.rails for s in rail.get_steppers()] def _actuator_to_cartesian(self, spos): sphere_coords = [(t[0], t[1], sp) for t, sp in zip(self.towers, spos)] -- cgit v1.2.3-70-g09d2