From 682d38f5902fa696e6b40f6068a2ed06284e9527 Mon Sep 17 00:00:00 2001 From: Andrei Ignat Date: Tue, 1 Mar 2022 05:14:25 +0100 Subject: delta: Multiple steppers on delta tower (#5217) Updated tower rail setup to support multiple steppers per tower. Signed-off-by: Andrei Ignat --- klippy/kinematics/delta.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'klippy/kinematics/delta.py') diff --git a/klippy/kinematics/delta.py b/klippy/kinematics/delta.py index 4c5076f7..06c72456 100644 --- a/klippy/kinematics/delta.py +++ b/klippy/kinematics/delta.py @@ -13,13 +13,13 @@ class DeltaKinematics: def __init__(self, toolhead, config): # Setup tower rails stepper_configs = [config.getsection('stepper_' + a) for a in 'abc'] - rail_a = stepper.PrinterRail( + rail_a = stepper.LookupMultiRail( stepper_configs[0], need_position_minmax = False) a_endstop = rail_a.get_homing_info().position_endstop - rail_b = stepper.PrinterRail( + rail_b = stepper.LookupMultiRail( stepper_configs[1], need_position_minmax = False, default_position_endstop=a_endstop) - rail_c = stepper.PrinterRail( + rail_c = stepper.LookupMultiRail( stepper_configs[2], need_position_minmax = False, default_position_endstop=a_endstop) self.rails = [rail_a, rail_b, rail_c] -- cgit v1.2.3-70-g09d2