Difference between revisions of "Custom G-Code Variables"
From MatterControl Manual
(Created page with "MatterSlice allows you to place certain tokens in your custom GCode that will automatically be replaced with the appropriate values. F...") |
(No difference)
|
Revision as of 17:58, 23 December 2015
MatterSlice allows you to place certain tokens in your custom GCode that will automatically be replaced with the appropriate values. For example:
M109 S[temperature]
In this line, [temperature] 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 |
|---|---|
| temperature | Extruder Temperature |
| bed_temperature | Bed Temperature |
| bed_remove_part_temperature | Example |
| extruder_wipe_temperature | Extruder Wipe Temperature |
| z_offset | Example |
| retract_length | Example |
| filament_diameter | Example |
| first_layer_speed | Example |
| infill_speed | Example |
| max_fan_speed | Example |
| min_fan_speed | Example |
| min_print_speed | Example |
| perimeter_speed | Example |
| retract_speed | Example |
| support_material_speed | Example |
| travel_speed | Example |
| bridge_fan_speed | Example |
| bridge_speed | Example |
| raft_print_speed | Example |
| external_perimeter_speed | Example |