diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-11-07 13:10:08 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-11-18 17:37:04 -0500 |
commit | 8c2fa2e2d6ff6dda25d5505760ceba4076af9efc (patch) | |
tree | b00e5f1a4d1b98ea200a896354949780dcc151f9 /klippy/cartesian.py | |
parent | 38643f52c97dc85bcc2bf020927852f9cfe9fff6 (diff) | |
download | kutter-8c2fa2e2d6ff6dda25d5505760ceba4076af9efc.tar.gz kutter-8c2fa2e2d6ff6dda25d5505760ceba4076af9efc.tar.xz kutter-8c2fa2e2d6ff6dda25d5505760ceba4076af9efc.zip |
stepper: Support for multiple steppers controlling a single axis
Allow multiple steppers to be defined for a single cartesian axis.
This adds support for dual-z setups.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/cartesian.py')
-rw-r--r-- | klippy/cartesian.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/cartesian.py b/klippy/cartesian.py index 4907b6d1..2f4651ad 100644 --- a/klippy/cartesian.py +++ b/klippy/cartesian.py @@ -10,7 +10,7 @@ StepList = (0, 1, 2) class CartKinematics: def __init__(self, toolhead, printer, config): - self.steppers = [stepper.PrinterHomingStepper( + self.steppers = [stepper.LookupMultiHomingStepper( printer, config.getsection('stepper_' + n)) for n in ['x', 'y', 'z']] max_velocity, max_accel = toolhead.get_max_velocity() |