"Not a variable name" after changing the Start g-code #3847
Unanswered
bjoernbarth
asked this question in
Q&A
Replies: 1 comment
-
That's not g-code, it's jinja2 syntax for klipper macros. The slicer has no idea what to do with that. You need to write the klipper macro then put the command for that macro in the custom g-code field. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
i want to change the start g-code but it doesn't work. How can I solve the problems? I use the g-code flavor "Klipper".
Start g-code:
Get Params
{% set t_extruder = params.T_EXTRUDER|default(0)|float %}
{% set t_bed = params.T_BED|default(0)|float %}
Start
M104 S{t_extruder} ; Setze Hotend Temperatur
M140 S{t_bed} ; Setze Heatbed Temperatur
G28 ; Home
M83 ; Extruder relativer Modus
G92 E0.0 ; Extruder Reset
G90 ; Absolute Positionierung
M190 S{t_bed} ; Warte auf Bed Zieltemperatur
M109 S{t_extruder} ; Warte auf Hotend Zieltemperatur
G1 Z0
Beta Was this translation helpful? Give feedback.
All reactions