Skip to main content
Version: 1.2.x

Slicer Configuration

Macros

RatOS comes with START_PRINT and END_PRINT macros that you can call directly from your slicers. This way the printer knows how to start a print, and you can there easily switch between slicers without worrying if you changed anything in another slicer. The g-code for these macros are found in config/printers/[PRINTER_NAME]/macros.cfg

Cura

info

This is the ONLY gcode you need, delete everything else. Copy paste the following as is.

Machine start gcode

START_PRINT EXTRUDER_TEMP={material_print_temperature_layer_0} BED_TEMP={material_bed_temperature_layer_0}

machine end gcode

END_PRINT

PrusaSlicer

info

This is the ONLY gcode you need, delete everything else. Copy paste the following as is.

Start GCode

M190 S0 ; Prevents prusaslicer from prepending m190 to the gcode ruining our macro
M109 S0 ; Prevents prusaslicer from prepending m109 to the gcode ruining our macro
START_PRINT EXTRUDER_TEMP=[first_layer_temperature] BED_TEMP=[first_layer_bed_temperature]

End GCode

END_PRINT

SuperSlicer

info

You should be using "Klipper" as the gcode flavor and have the "Only custom Start G-Code" box checked in Printer Settings -> Custom G-Code

info

This is the ONLY gcode you need, delete everything else. Copy paste the following as is.

Start GCode

START_PRINT EXTRUDER_TEMP=[first_layer_temperature] BED_TEMP=[first_layer_bed_temperature]

End GCode

END_PRINT

Simplify 3D

info

This is the ONLY gcode you need, delete everything else. Copy paste the following as is.

Start GCode

START_PRINT EXTRUDER_TEMP=[extruder0_temperature] BED_TEMP=[bed0_temperature]

End GCode

END_PRINT

IdeaMaker

info

This is the ONLY gcode you need, delete everything else. Copy paste the following as is.

Start GCode

START_PRINT EXTRUDER_TEMP={temperature_extruder1} BED_TEMP={temperature_heatbed}

End GCode

END_PRINT
tip

IdeaMaker will complain there's no heating commands, you can safely ignore this.

Slicer thumbnails

See the Mainsail documentation: G-Code Thumbnails in Mainsail