aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/kinematics/corexy.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-01-13 21:39:55 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-01-23 20:47:01 -0500
commit8ed0f7c5c37a3e2a3c38d19b19bbd6846453a6df (patch)
tree9363b4e1da37f5cbaf1f6b3a9a966c6c8a2de369 /klippy/kinematics/corexy.py
parentd1972b1e9ccc1331d2a2e5d3af108abf8a2858e2 (diff)
downloadkutter-8ed0f7c5c37a3e2a3c38d19b19bbd6846453a6df.tar.gz
kutter-8ed0f7c5c37a3e2a3c38d19b19bbd6846453a6df.tar.xz
kutter-8ed0f7c5c37a3e2a3c38d19b19bbd6846453a6df.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/kinematics/corexy.py')
-rw-r--r--klippy/kinematics/corexy.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/klippy/kinematics/corexy.py b/klippy/kinematics/corexy.py
index 98c66dd5..cc94d56c 100644
--- a/klippy/kinematics/corexy.py
+++ b/klippy/kinematics/corexy.py
@@ -39,9 +39,7 @@ class CoreXYKinematics:
self.rails[1].set_max_jerk(max_xy_halt_velocity, max_xy_accel)
self.rails[2].set_max_jerk(
min(max_halt_velocity, self.max_z_velocity), self.max_z_accel)
- def get_steppers(self, flags=""):
- if flags == "Z":
- return self.rails[2].get_steppers()
+ def get_steppers(self):
return [s for rail in self.rails for s in rail.get_steppers()]
def calc_tag_position(self):
pos = [rail.get_tag_position() for rail in self.rails]