Exclude individual objects while a print is in progress.
This feature was integrated in
Mainsail v2.1.0. Please check your installed versions first and update them if necessary.
In order to use the feature, your slicer must be configured to name the individual objects in the G-Code. The G-Code must be preprocessed either by a post-processing script in the slicer or by Moonraker plus the functionality must be enabled in Klipper.
Please note that only G-Code files that have been prepared accordingly support the feature, it will not work with old, unprocessed files.
In PrusaSlicer or SuperSlicer you have to enable the checkbox in:
Print Settings > Output options > Output file > Label objects
Cura & Ideamaker label objects by default in the G-Code, and they are automatically compatible without any further settings.
This step is necessary to convert the previously activated object labels into valid Klipper G-Code. Open your
moonraker.confin Mainsail, add the following setting to your config and restart the Moonraker service:
Alternatively it is possible to use an external preprocessor. See preprocess-cancellation for more details.
printer.cfgin Mainsail and add the following setting to it:
From now on all newly uploaded G-Code files should support this function. A new button in form of a dashed square with an x in the center appears in the status panel.
The button will open a dialog in which you can select each individual object and exclude it from the currently ongoing print.
Only G-Code files prepared this way support excluding objects.