mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-16 11:17:52 -06:00
delta: Multiple steppers on delta tower (#5217)
Updated tower rail setup to support multiple steppers per tower. Signed-off-by: Andrei Ignat <andrei@ignat.se>
This commit is contained in:
parent
bbd1ddadd1
commit
682d38f590
2 changed files with 7 additions and 5 deletions
|
@ -414,8 +414,10 @@ class PrinterRail:
|
|||
stepper.set_position(coord)
|
||||
|
||||
# Wrapper for dual stepper motor support
|
||||
def LookupMultiRail(config):
|
||||
rail = PrinterRail(config)
|
||||
def LookupMultiRail(config, need_position_minmax=True,
|
||||
default_position_endstop=None, units_in_radians=False):
|
||||
rail = PrinterRail(config, need_position_minmax,
|
||||
default_position_endstop, units_in_radians)
|
||||
for i in range(1, 99):
|
||||
if not config.has_section(config.get_name() + str(i)):
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue