Skip to content

Instantly share code, notes, and snippets.

@MaxAtoms
Created March 9, 2019 20:11
Show Gist options
  • Save MaxAtoms/c066b83545dc6c8a65ac8a3dccd0d65b to your computer and use it in GitHub Desktop.
Save MaxAtoms/c066b83545dc6c8a65ac8a3dccd0d65b to your computer and use it in GitHub Desktop.
Temperature change at a specific height in Slic3r

If you want Slic3r to generate Gcode with a temperature change at a specific height (e.g. for printing a temperature tower), you will need to add a line of conditional G-code. To do that, click on the Printer Settings tab and in the left sidebar on Custom G-code. In the text field After layer change G-code add a line like the following for each desired temperature change:

{if layer_z==10}M104 S190{endif}

This example changes the extruder temperature at a height of 10mm to 190°C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment