A PrusaSlicer post processing script that allows you to control toolhead temps and fans during multi tool prints.
Tools that are not required until later in the print will have their heaters turned off at start of print
This helps stop filament becoming liquid in the nozzle while waiting potentially hours before use.
This can be changed via the --interval argument.
tool_control.py ./sample.gcode --interval=180
This is also controlled via --interval argument.
tool_control.py ./sample.gcode --interval=180
Drops temperature for docked tools that are still heated in the dock by a set delta (10 degrees by default)
This can be changed via the --dock_delta argument.
tool_control.py ./sample.gcode --dock_delta=20
Preemptively reheats the tool by the delta they were dropped. This happens (~10 seconds by default) before tool change
This can be changed via the --dock_interval argument.
tool_control.py ./sample.gcode --dock_interval=15
This only works if Keep fan always on
is checked in filament cooling settings
No point keeping the tool heads active if they are not going to be used again.
Expects the tools extruder to be named extruder
, extruder1
, extruder2
, etc.
Thanks to Ankur Verma for his implimentation of preemptive heating on which the movement calculations are derived.