For that, I will refer you to this excellent post by @garethky:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Help with Macro: SET_GCODE_VARIABLE doesnt set my variable | 17 | 3902 | December 19, 2023 | |
| How to dynamically create variables in Klipper Jinja2 | 1 | 266 | February 17, 2024 | |
| Conditional changing of a variable inside a macro | 8 | 507 | November 3, 2024 | |
| Interpreting gcode_macro variable values as python code is confusing | 6 | 390 | April 8, 2024 | |
| Accessing Updated Macro Variable Values | 5 | 221 | April 26, 2025 |