gcode: Remove builtin T0/T1/T2/... command support

The builtin Tn command is not sufficiently flexible to control some
multi-extruder printers.  Remove the command and encourage users to
define individual gcode_macros for each Tn instance.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-11-24 19:59:36 -05:00
parent c06618193d
commit fcee27fc19
6 changed files with 24 additions and 58 deletions

View File

@@ -55,10 +55,16 @@ pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 250
deactivate_gcode:
[gcode_macro PARK_extruder0]
gcode:
G90
G1 X0
activate_gcode:
[gcode_macro T0]
gcode:
PARK_{printer.toolhead.extruder}
ACTIVATE_EXTRUDER EXTRUDER=extruder
SET_DUAL_CARRIAGE CARRIAGE=0
[extruder1]
@@ -77,12 +83,18 @@ pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 250
deactivate_gcode:
[gcode_macro PARK_extruder1]
gcode:
SET_SERVO SERVO=my_servo angle=100
G90
G1 X200
activate_gcode:
[gcode_macro T1]
gcode:
PARK_{printer.toolhead.extruder}
SET_SERVO SERVO=my_servo angle=50
ACTIVATE_EXTRUDER EXTRUDER=extruder1
SET_DUAL_CARRIAGE CARRIAGE=1
[servo my_servo]