3D printer G-code · Klipper
EXCLUDE_OBJECT: Cancel one object (Klipper)
Cancel one object — Stops printing one object of a plate while the others continue, for example when one part came loose. The slicer must label objects (an option in PrusaSlicer…
On this page
| Property | Value |
|---|---|
| Command | EXCLUDE_OBJECT |
| Function | Cancel one object |
| Firmware | Klipper |
| Group | Print control |
| Syntax | EXCLUDE_OBJECT NAME=<object> |
What does EXCLUDE_OBJECT do?
Stops printing one object of a plate while the others continue, for example when one part came loose. The slicer must label objects (an option in PrusaSlicer, OrcaSlicer and SuperSlicer) and Klipper needs [exclude_object]. Mainsail and Fluidd show the objects to click.
Parameters
| Parameter | Meaning |
|---|---|
NAME | Object name from the file |
Example
EXCLUDE_OBJECT NAME=part_3_id_2_copy_0Tips from practice
- Marlin has M486 for the same task.
Klipper. Extended commands need their section in printer.cfg. Results of calibration commands are kept only after SAVE_CONFIG.
Related commands
More print control commands
| Command | Function | Firmware |
|---|---|---|
M220 | Speed factor | Marlin and Klipper |
M600 | Filament change | Marlin |
M412 | Filament runout sensor | Marlin |
M413 | Power-loss recovery | Marlin |
M84 | Disable motors (M84 / M18) | Marlin and Klipper |
M400 | Finish moves | Marlin and Klipper |
M112 | Emergency stop | Marlin and Klipper |
M25 | Pause SD print (M25 / M24) | Marlin |
PAUSE | Pause, resume, cancel | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulator