extruder: Support disassociating a stepper from all extruders
Support SYNC_STEPPER_TO_EXTRUDER commands with an EXTRUDER parameter set to an empty string. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -15,3 +15,32 @@ G1 X25 Y25 E7.5
|
||||
# Update step_distance
|
||||
SET_EXTRUDER_STEP_DISTANCE EXTRUDER=extruder DISTANCE=.005
|
||||
G1 X30 Y30 E8.0
|
||||
|
||||
# Disable extruder stepper motor
|
||||
SYNC_STEPPER_TO_EXTRUDER STEPPER=extruder EXTRUDER=
|
||||
G1 X35 Y35 E8.5
|
||||
|
||||
# Disable my_extra_stepper stepper motor
|
||||
SYNC_STEPPER_TO_EXTRUDER STEPPER=my_extra_stepper EXTRUDER=
|
||||
G1 X40 Y40 E9.0
|
||||
|
||||
# Enable extruder stepper motor
|
||||
SYNC_STEPPER_TO_EXTRUDER STEPPER=extruder EXTRUDER=extruder
|
||||
G1 X45 Y45 E9.5
|
||||
|
||||
# Switch to just my_extra_stepper stepper motor
|
||||
SYNC_STEPPER_TO_EXTRUDER STEPPER=extruder EXTRUDER=
|
||||
SYNC_STEPPER_TO_EXTRUDER STEPPER=my_extra_stepper EXTRUDER=extruder
|
||||
G1 X50 Y50 E10.0
|
||||
|
||||
# Test pressure advance move
|
||||
SET_PRESSURE_ADVANCE EXTRUDER=my_extra_stepper ADVANCE=0.020
|
||||
G1 X55 Y55 E0
|
||||
G1 X55 Y55 E0.5
|
||||
G1 X60 Y60 E1.1
|
||||
G1 X50 Y50
|
||||
SET_PRESSURE_ADVANCE EXTRUDER=extruder ADVANCE=0.025
|
||||
G1 X55 Y55 E1.5
|
||||
G1 X50 Y50
|
||||
G1 X55 Y55 E2.0
|
||||
G1 X50 Y50
|
||||
|
Reference in New Issue
Block a user