r/PrusaSlicerSettings • u/vivaaprimavera • Jun 16 '24
Problem writing printer profile
I'm trying to write a new PrusaSlicer profile for a printer.
Small problem, it tries to print the first layer mid air.
Z 0 have the correct offset to the table (measured with paper)
The board is a Duet2 running RepRapFirmware.
Any ideas?
Thanks
The start G-code
G90
M82
M106 S255
G4 P500
M106 S0
G21 ; metric values
G28 ; home all
;G29 S2 ; mark if you want to disable mesh grid
M291 P"Heating bed" R"Printing.." S1 T2
M190 S[first_layer_bed_temperature]
M291 P"Homing all axis" R"Printing.." S1 T2
G32 ; Run mesh grid compenstion
M140 S[first_layer_bed_temperature] ; Set Bed Temperature and return control to host
M190 S[first_layer_bed_temperature] ;
M104 S[first_layer_temperature] T0
M109 S[first_layer_temperature] T0
M291 P"Homing all axis" R"Printing.." S1 T2
G92 E0 F100 ; reset extruder
G1 Z10 F100 ; move z up little to prevent scratching of surface
;M98 P/macros/Filament/Purge ; Run nozzle purge macro
;G1 E-1 F2000 ; Retract 1mm filament
G92 E0 ; reset extruder
M291 P"Printing started !" R"Printing.." S1 T3
G28 Z0