Presets
Mainsail supports so-called presets. They are often used for preheat & cooldown, but also execute normal G-Code.
Setup
In Mainsails interface settings you will find a section called “Preheat Presets”. There you can set your presets via “ADD PRESET” and the following dialog.
Preheat
Enter a name for your preset, such as filament, color or other text and the temperature you wish to set the preset at. You can disable individual heaters and even specify a custom G-Code for the preheat phase. The G-Code will be executed after the selected temperatures are set.
![](https://docs.mainsail.xyz/~gitbook/image?url=https%3A%2F%2F1354377453-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FhMRQntO97x6GxmrCYaFy%252Fuploads%252FJHpj4qtP6fClRcOSpCkW%252Fimage.png%3Falt%3Dmedia%26token%3D03c54333-947f-4308-a3fa-979300c38c74&width=768&dpr=4&quality=100&sign=51f74843&sv=1)
Further Examples
Z-Offset
You can add custom G-Code to make it easier to switch between different Z-Offsets. This makes it easier to work with different surfaces and flexplates.
To configure the G-Code enter SET_GCODE_OFFSET Z=0.2
, and change 0.2
to the offset you need.
![](https://docs.mainsail.xyz/~gitbook/image?url=https%3A%2F%2F1354377453-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FhMRQntO97x6GxmrCYaFy%252Fuploads%252FoevvECS1kMez4fTE8Z4F%252Fimage.png%3Falt%3Dmedia%26token%3D1901cc3a-5ee6-4903-8a23-0fc9a071255b&width=768&dpr=4&quality=100&sign=96ac85ba&sv=1)
Last updated