SuperSlicer start/end gcode for Snapmaker

Has anyone tried to use SuperSlicer with Snapmaker printers?
I have loaded the software but having difficulty with the start and end g-code.
I would like to know what your start profile looks like if you have been successful.
Thanks

General advice for “off-brand” slicers: Slice something with Luban and save the gcode to file. Then open the file in a text editor and copy everything from

M82 ;absolute extrusion mode
;Start GCode begin

to

;Start GCode end

to use as start gcode, and everything after

;End GCode begin

at the very end of the file to use as end gcode. You may want to tweak it later, but it should get you started.

Here is what I use, which is basically the same for PrusaSlicer and uses the configuration variables available in the slicer. A simple copy and paste from a GCode file will hard code the bed and nozzle temps, which is not a good idea:

;Start GCode begin

M1010 S3 P100 ;Set Enclosure lights to 100%
G28 ;Home

;M140 = bed temp, M104 = print temp
M140 S[first_layer_bed_temperature] ;Start heating bed
M104 S[first_layer_temperature] ;Start heating extruder

G90 ;absolute positioning
G1 X-10 Y-10 F3000
G1 Z0 F1800

;M190 = bed temp wait, M109 = print temp wait
M190 S[first_layer_bed_temperature] ;Wait for bed to reach temp before proceeding
M109 S[first_layer_temperature] ;Wait for extruder to reach temp before proceeding

;Prime the extruder
G92 E0
G1 E20 F200
G92 E0

;Start GCode end

and

;End GCode begin

;Retract the filament
G91 ;relative positioning
G1 E-2 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z10 E-2 F3000 ;move Z up a bit and retract filament even more
G90 ;absolute positioning

M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off

G28 ;Home
M84 ;Disable steppers

;End GCode end
1 Like

I appreciate the help!
That worked.
If you haven’t looked at SuperSlicer you might want to consider it as an upgraded Prusa Slicer.