- Split the macro files into folders by topic (print, heating, afc, pressure_advance, spoolman, leds, sensors); klipper-macros.cfg is the one file printer.cfg includes. Macros moved unchanged; the effective config is identical apart from the paths of the PA shell scripts. - Add the modified Blobifier (Turtleblobifier for AFC) and define [save_variables] once in save_variables.cfg instead of in both blobifier.cfg and the PA macros (same file, bd_pa_variables.cfg). - PRINT_WARMUP: heat to the loaded lane's temperature before the first tool change. AFC skips heating when the loaded lane's tool number is not in the print file's temperature list, and the unload then failed below min_extrude_temp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
446 B
INI
21 lines
446 B
INI
# Spoolman: SET_ACTIVE_SPOOL, CLEAR_ACTIVE_SPOOL
|
|
|
|
[gcode_macro SET_ACTIVE_SPOOL]
|
|
gcode:
|
|
{% if params.ID %}
|
|
{% set id = params.ID|int %}
|
|
{action_call_remote_method(
|
|
"spoolman_set_active_spool",
|
|
spool_id=id
|
|
)}
|
|
{% else %}
|
|
{action_respond_info("Parameter 'ID' is required")}
|
|
{% endif %}
|
|
|
|
[gcode_macro CLEAR_ACTIVE_SPOOL]
|
|
gcode:
|
|
{action_call_remote_method(
|
|
"spoolman_set_active_spool",
|
|
spool_id=None
|
|
)}
|