Hello how can I set a certain value to e.g.
printer.firmware_retraction.retract_length
inside a Gcode-macro?
I tried this but get errors:
[gcode_macro M207]
gcode:
{% if params.S is defined %}
set printer.firmware_retraction.retract_length = VALUE={params.S|int}
{% endif %}
SET
not defined.
Fuksas
2
https://klipper.discourse.group/t/macro-creation-tutorial/30/8
“It should also be noted that you cannot change any of the values found in the
printer
object. The only way to change anything is if there is an available gcode
to do so.”
1 Like
blalor
3
You’re able to set the firmware retraction params via a gcode command: G-Codes - Klipper documentation
1 Like
Completely overseen that… Thanks a lot