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>
This commit is contained in:
Kevin O'Connor 2020-01-13 21:39:55 -05:00
parent d1972b1e9c
commit 8ed0f7c5c3
10 changed files with 14 additions and 18 deletions

View file

@ -77,7 +77,7 @@ class RotaryDeltaKinematics:
"Delta max build height %.2fmm (radius tapered above %.2fmm)"
% (self.max_z, self.limit_z))
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 calc_tag_position(self):
spos = [rail.get_tag_position() for rail in self.rails]