Docs
Pages

Settings / Reference

Printer: G-code

15 settings. Keys are OrcaSlicer's own names. See the index for the other groups and the guide for how to read and apply them.

before_layer_change_gcode

Before layer change gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

change_extrusion_role_gcode

Change extrusion role gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

change_filament_gcode

Change filament gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

emit_machine_limits_to_gcode

Emit machine limits to gcode

  • Type: boolean
  • Default: on
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

file_start_gcode

File start gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

layer_change_gcode

Layer change gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

machine_end_gcode

Machine end gcode

  • Type: G-code text
  • Default: "M104 S0 ; turn off temperature\nG28 X0 ; home X axis\nM84 ; disable motors\n"
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

machine_pause_gcode

Machine pause gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

machine_start_gcode

Machine start gcode

  • Type: G-code text
  • Default: "G28 ; home all axes\nG1 Z5 F5000 ; lift nozzle\n"
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

printing_by_object_gcode

Printing by object gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

template_custom_gcode

Template custom gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: preview only
  • PrintPilot class: read (not in the catalog: never written)

thumbnails

Thumbnails

  • Type: list of strings, one per extruder
  • Default: ["48x48/PNG","300x300/PNG"]
  • Changing it redoes: preview only
  • PrintPilot class: read (not in the catalog: never written)

thumbnails_format

Thumbnails format

  • Type: enum
  • Default: "PNG"
  • Values: PNG, JPG, QOI, BTT_TFT, COLPIC
  • Changing it redoes: preview only
  • PrintPilot class: read (not in the catalog: never written)

time_lapse_gcode

Time lapse gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)

wrapping_detection_gcode

Wrapping detection gcode

  • Type: G-code text
  • Default: empty
  • Changing it redoes: G-code only
  • PrintPilot class: read (not in the catalog: never written)