I haven't my printer in a very long time, but I've run several updates.
I'm trying to print something now and I'm getting the following Error:
!! Error evaluating 'gcode_macro PRINT_START:gcode': UndefinedError: 'dict object' has no attribute 'BED'
Here's my Start G-code in Super Slicer:
PRINT_START
;; If you are passing variables to PRINT_START, comment out above line and uncomment the last 3 lines instead.
;; Guide: https://github.com/AndrewEllis93/Print-Tuning-Guide/blob/main/articles/passing_slicer_variables.md
;; Make sure the variable names match (for example if you use "EXTRUDER" instead of "HOTEND")
M104 S0 ; Stops PS/SS from sending temp waits separately
M140 S0
PRINT_START BED=[first_layer_bed_temperature] HOTEND={first_layer_temperature[initial_extruder]+extruder_temperature_offset[initial_extruder]} CHAMBER=[chamber_temperature]
Here's my PRINT_START:
[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - please customise for your slicer of choice
gcode:
# Parameters
{% set bedtemp = params.BED|int %}
{% set hotendtemp = params.HOTEND|int %}
{% set chambertemp = params.CHAMBER|default(0)|int %}
STATUS_HEATING
M109 S140
STATUS_HEATING
M190 S{bedtemp} ; wait for bed temp
{% if bedtemp > 95 %}
nvmOn
TEMPERATURE_WAIT SENSOR="temperature_sensor chamber" MINIMUM={chambertemp} ; wait for chamber temp
{% endif %}
#Truncated as I don't subscribe to Nitro
```
Any Ideas?