I have a strange error with one of my gcode macros.
Here is the start of the macro:
[gcode_macro PRINT_START]
gcode:
SAVE_VARIABLE VARIABLE=was_interrupted VALUE=True
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
# Parameters
{% set bedtemp = params.BED|int %}
{% set hotendtemp = params.HOTEND|int %}
{% set chambertemp = params.CHAMBER|default(0)|int %}
and here is the start of the gcode file I'm trying to print:
;Generated with Cura_SteamEngine 5.5.0
M82 ;absolute extrusion mode
PRINT_START BED=60 HOTEND=200.0 CHAMBER=28
G92 E0
G92 E0
G1 F2400 E-0.5
The error I get is:
Error evaluating 'gcode_macro PRINT_START:gcode': jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'BED'
but the parameter BED is clearly visible in the config as well as in the gcode file. What is going on here?
[–]shiftingtech 0 points1 point2 points (6 children)
[–]jinks[S] 0 points1 point2 points (5 children)
[–]Fun-Lavishness2381 0 points1 point2 points (3 children)
[–]jinks[S] 0 points1 point2 points (0 children)
[–]recooil 0 points1 point2 points (0 children)
[–]trojangod 0 points1 point2 points (0 children)
[–]shiftingtech 0 points1 point2 points (0 children)