Slic3r
Placeholders can be inserted in the G-code commands
14
. For example
[next_extruder] would return the index of the next extruder.
The RepRap wiki is a good resource to learn about the variety of G-
codes available: http://reprap.org/wiki/G-code.
Note: Be sure to check that a given G-code is valid for your rmware.
The codes specied in Start G-code are inserted at the beginning of the
output le, directly after the temperature control commands for extruder
and bed. Note that if temperature control commands are specied (M104
and M190) then these will replace the temperature G-codes introduced by
the Filament settings.
Some common G-codes to use before the print starts are:
• G28 - Homes all the axes.
Some common G-codes to use after the print ends are:
• M104 S0 - Sets the extruder temperature to zero.
• M140 S0 - Sets the heated bed temperature to zero.
• G28 X0 - Home the X axis.
• M84 - Disables the motors.
2.5 Expert Mode
Speed
Once the printer is reliably producing good quality prints it may be
desirable to increase the speed. Doing this provides several benets, the
most obvious of which is that the results are produced quicker, but also
faster print times can be utilised in producing more layers, i.e. lower layer
height, thus improving perceived print quality. An additional benet is
that a faster travel movement, between extrusions, can reduce the eects
of oozing.
The best approach is to increment the various speed parameters in
small steps and observe the eect each change has on print quality. Travel
14
https://github.com/alexrj/Slic3r/wiki/FAQ#what-placeholders-can-i-use-in-
custom-g-code
88