eukatree / Bambu_CustomGCode

Custom g-code for Bambu Studio
GNU General Public License v3.0
105 stars 19 forks source link

GCode throws error: toolchange_count is not a variable name #9

Closed ChristianPrei closed 6 months ago

ChristianPrei commented 6 months ago

Bambu Studio Version 1.9.1.66 throws the following error:

filament_start_gcode Parsing error at line 11: Not a variable name {if toolchange_count > 1} ^

Printer: A1 Mini I used this code:

grafik

eukatree commented 6 months ago

The custom g code needs to go into the "Change Filament" g code section. It looks like you've put it into the "Filament Start" g code section.