mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-08 15:37:31 -06:00
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>
This commit is contained in:
parent
38643f52c9
commit
8c2fa2e2d6
4 changed files with 72 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue