Settings values replacements not working when in a single line (for Klipper Macro) when using extruder indexing #20183
Labels
Status: Triage
This ticket requires input from someone of the Cura team
Type: Bug
The code does not produce the intended behavior.
Cura Version
5.9
Operating System
MacOS Sequoia
Printer
custom w/ klipper
Reproduction steps
File has 2 parts, temp for extruder0 is 200, temp for extruder1 is 240, Bed temp is 70
add start gcode in single line:
START_PRINT EXTRUDER={extruders_enabled_count} EXTRUDER1=1 EXTRUDER_TEMP={material_print_temperature, 0} EXTRUDER1_TEMP={material_print_temperature, 1} BED_TEMP={material_bed_temperature}
When separated as such each value comes through as expected:
START_PRINT
EXTRUDER={extruders_enabled_count}
EXTRUDER1=1
EXTRUDER_TEMP={material_print_temperature, 0}
EXTRUDER1_TEMP={material_print_temperature, 1}
BED_TEMP={material_bed_temperature}
Actual results
Values in produced Gcode from single line is :
START_PRINT EXTRUDER=2 EXTRUDER1=1 EXTRUDER_TEMP=210
values in produced Gcode from separated line is:
START_PRINT
EXTRUDER=2
EXTRUDER1=1
EXTRUDER_TEMP=200
EXTRUDER1_TEMP=240
BED_TEMP=70
Expected results
Values should be
START_PRINT EXTRUDER=2 EXTRUDER1=1 EXTRUDER_TEMP=200 EXTRUDER1_TEMP=240 BED_TEMP=70
Add your .zip and screenshots here ⬇️
CURA5_9_Bug.zip
The text was updated successfully, but these errors were encountered: