G-Code im Mashine Start Code (Orca Slicer)

Was ist daran falsch:
machine_start_gcode Parsing error at line 3: Referencing a vector variable when scalar is expected
{if first_layer_bed_temperature >= 100} SET_FAN_SPEED FAN=Filter SPEED=0.5{endif}
machine_start_gcode Parsing error at line 3: Referencing a vector variable when scalar is expected
{if first_layer_bed_temperature >= 100} SET_FAN_SPEED FAN=Filter SPEED=0.5{endif}
Der Fehler kommt nach dem if. Mein Mashine Start Code ist wie folgt:
MESH_CONFIG X0={first_layer_print_min[0]} Y0={first_layer_print_min[1]} X1={first_layer_print_max[0]} Y1={first_layer_print_max[1]}
START_PRINT EXTRUDER_TEMP=[first_layer_temperature] BED_TEMP=[first_layer_bed_temperature]
{if first_layer_bed_temperature >= 100} SET_FAN_SPEED FAN=Filter SPEED=0.5{endif}
MESH_CONFIG X0={first_layer_print_min[0]} Y0={first_layer_print_min[1]} X1={first_layer_print_max[0]} Y1={first_layer_print_max[1]}
START_PRINT EXTRUDER_TEMP=[first_layer_temperature] BED_TEMP=[first_layer_bed_temperature]
{if first_layer_bed_temperature >= 100} SET_FAN_SPEED FAN=Filter SPEED=0.5{endif}
` Im SS funktioniert der selbe Code einwandfrei...
4 Replies
other-emerald
other-emerald16mo ago
versuch es mal mit bed_temperature_initial_layer
Rigattoni
Rigattoni16mo ago
Nee, das Problem ist hier ein Typen-Fehler. Es wird ein Scalar erwartet, aber ich schreibe eine Vector Var. Mal sehen... Evtl. lagere ich das in das Start_Print Makro aus.
other-emerald
other-emerald16mo ago
habe es bei mit probiert mit dem bed_temperature_initial_layer gibt er es aus ohne fehler denke das bambustudio sich ein wenig anders orientiert an den placeholders
Rigattoni
Rigattoni16mo ago
Lösung gefunden: {if first_layer_temperature[1]>=100} SET_FAN_SPEED FAN=Filter SPEED=0.5{endif} So startet der Print mit aktiviertem Filter auf 50% Geschwindigkeit, wenn die Bett-Temp über 100°C ist.