Prusa Slicer preset problem
I am having trouble with presets. I have recently installed a XL-2 printer and created a preset for SunLu PETG with 1st layer temp of 245/85 and 2nd layer of 250/90. I am running PS 2.6.2
These values appear in the preset edit but do not make their way to the G-Code. What I get in the G-Code is:
Any ideas what is causing this?
M17 ; enable steppersM862.3 P "[printer_model]" ; printer model checkG90 ; use absolute coordinatesM83 ; extruder relative mode; set print areaM555 X{first_layer_print_min[0]} Y{first_layer_print_min[1]} W{(first_layer_print_max[0]) - (first_layer_print_min[0])} H{(first_layer_print_max[1]) - (first_layer_print_min[1])}; inform about nozzle diameterM862.1 P[nozzle_diameter]; set & wait for bed and extruder temp for MBLM140 S[first_layer_bed_temperature] ; set bed tempM104 T0 S{((filament_type[0] == "PC" or filament_type[0] == "PA") ? (first_layer_temperature[0] - 25) : (filament_type[0] == "FLEX" ? 210 : (filament_type[0]=~/.*PET.*/ ? 195 : 170)))} ; set extruder temp for bed levelingM109 T0 R{((filament_type[0] == "PC" or filament_type[0] == "PA") ? (first_layer_temperature[0] - 25) : (filament_type[0] == "FLEX" ? 210 : (filament_type[0]=~/.*PET.*/ ? 195 : 170)))} ; wait for temp; home carriage, pick tool, home allG28 XYM84 E ; turn off E motorG28 ZM190 S[first_layer_bed_temperature] ; wait for bed tempG29 G ; absorb heat; move to the nozzle cleanup areaG1 X{(min(((((first_layer_print_min[0] + first_layer_print_max[0]) / 2) < ((print_bed_min[0] + print_bed_max[0]) / 2)) ? (((first_layer_print_min[1] - 7) < -2) ? 70 : (min(print_bed_max[0], first_layer_print_min[0] + 32) - 32)) : (((first_layer_print_min[1] - 7) < -2) ? 260 : (min(print_bed_max[0], first_layer_print_min[0] + 32) - 32))), first_layer_print_min[0])) + 32} Y{(min((first_layer_print_min[1] - 7), first_layer_print_min[1]))} Z{5} F4800M302 S160 ; lower cold extrusion limit to 160CG1 E{-(filament_type[0] == "FLEX" ? 4 : 2)} F2400 ; retraction for nozzle cleanup; nozzle cleanupM84 E ; turn off E motorG29 P9 X{((((first_layer_print_min[0] + first_layer_print_max[0]) / 2) < ((print_bed_min[0] + print_bed_max[0]) / 2)) ? (((first_layer_print_min[1] - 7) < -2) ? 70 : (min(print_bed_max[0], first_layer_print_min[0] + 32) - 32)) : (((first_layer_print_min[1] - 7) < -2) ? 260 : (min(print_bed_max[0], first_layer_print_min[0] + 32) - 32)))} Y{(first_layer_print_min[1] - 7)} W{32} H{7}G0 Z10 F480 ; move away in Z{if first_layer_bed_temperature[0] > 60}G0 Z70 F480 ; move away (a bit more) in ZG0 X30 Y{print_bed_min[1]} F6000 ; move away in X/Y for higher bed temperatures{endif}M106 S100 ; cool off the nozzleM107 ; stop cooling off the nozzle - turn off the fan; MBLM84 E ; turn off E motorG29 P1 ; invalidate mbl & probe print areaG29 P1 X30 Y0 W50 H20 C ; probe near purge placeG29 P3.2 ; interpolate mbl probesG29 P3.13 ; extrapolate mbl outside probe areaG29 A ; activate mblM104 S[first_layer_temperature] ; set extruder tempG1 Z10 F720 ; move away in ZG0 X30 Y-8 F6000 ; move next to the sheet; wait for extruder tempM109 T0 S{first_layer_temperature[0]};; purge;G92 E0 ; reset extruder positionG0 X{(0 == 0 ? 30 : (0 == 1 ? 150 : (0 == 2 ? 210 : 330)))} Y{(0 < 4 ? -8 : -5.5)} ; move close to the sheet's edgeG1 E{(filament_type[0] == "FLEX" ? 4 : 2)} F2400 ; deretraction after the initial one before nozzle cleaningG0 E10 X40 Z0.2 F500 ; purgeG0 X70 E9 F800 ; purgeG0 X{70 + 3} Z{0.05} F{8000} ; wipe, move close to the bedG0 X{70 + 3 * 2} Z0.2 F{8000} ; wipe, move quickly away from the bedG92 E0 ; reset extruder position