Changes

Jump to: navigation, search

Custom G-Code Variables

1,705 bytes added, 01:58, 24 December 2015
Created page with "MatterSlice allows you to place certain tokens in your custom GCode that will automatically be replaced with the appropriate values. F..."
MatterSlice allows you to place certain tokens in your [[Slice Settings/Printer/Custom G-Code|custom GCode]] that will automatically be replaced with the appropriate values. For example:

<code>M109 S[temperature]</code>

In this line, <code>[temperature]</code> will be replaced with the extruder temperature defined in your slice settings. These tokens can be enclosed in either square brackets [] or curly brackets {}, but for compatibility with other slicers we recommend square brackets.

Here is the list of currently available tokens:

{|
|-
! variable !! Slice Settings Page
|-
| <tt>temperature</tt> || [[Slice Settings/Filament/Filament/Extruder Temperature (C)/Extruder Temperature|Extruder Temperature]]
|-
| <tt>bed_temperature</tt> || [[Slice Settings/Filament/Filament/Bed Temperature (C)/Bed Temperature|Bed Temperature]]
|-
| <tt>bed_remove_part_temperature</tt> || Example
|-
| <tt>extruder_wipe_temperature</tt> || [[Slice Settings/Filament/Filament/Extruder Temperature (C)/Extruder Wipe Temperature|Extruder Wipe Temperature]]
|-
| <tt>z_offset</tt> || Example
|-
| <tt>retract_length</tt> || Example
|-
| <tt>filament_diameter</tt> || Example
|-
| <tt>first_layer_speed</tt> || Example
|-
| <tt>infill_speed</tt> || Example
|-
| <tt>max_fan_speed</tt> || Example
|-
| <tt>min_fan_speed</tt> || Example
|-
| <tt>min_print_speed</tt> || Example
|-
| <tt>perimeter_speed</tt> || Example
|-
| <tt>retract_speed</tt> || Example
|-
| <tt>support_material_speed</tt> || Example
|-
| <tt>travel_speed</tt> || Example
|-
| <tt>bridge_fan_speed</tt> || Example
|-
| <tt>bridge_speed</tt> || Example
|-
| <tt>raft_print_speed</tt> || Example
|-
| <tt>external_perimeter_speed</tt> || Example
|}

Navigation menu