No description or website provided.
Branch: master
Clone or download
Latest commit 94b37aa Nov 9, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
extras Add screenshot. Jun 9, 2018
octoprint_cancelobject Fix pip update line Nov 9, 2018
translations first commit May 18, 2018 first commit May 18, 2018 Update Sep 29, 2018
babel.cfg first commit May 18, 2018
cancelobject.png Add screenshot. Jun 9, 2018
requirements.txt first commit May 18, 2018 Master now 0.2.1 Nov 8, 2018


This plugin allows the user to interactively cancel objects in gcode based on comment tags added by the slicer. See below for instructions for specific slicers.

New version 0.2.0, 09/01/2018

  • Moved to using "@" commands for comment replacement statements. This should improve compatibility with some printers.
  • Automatic detection (based on M82/M83) if absolute extrusion is used and needs to be tracked. NOT HEAVILY TESTED.
  • Improved settings interface for Object Regular Expressions. Add and remove different ones for different slicers. Defaults for S3D, Cura, Slic3r

New version 0.1.2

  • Visual improvements in the plugin Tab.
  • Convert allowed GCODE section to regular expression for greater slicer compatibility.
  • Backend changes to allow for future feature-specific cancelling.



Install via the bundled Plugin Manager or manually using this URL:



  • By default, active object (current object being queued) is displayed in the NavBar.
  • Gcode (comma delimited) can be injected before or after the server reaches a cancelled object. This may be need for retractions or resetting extrusion distance in some cases.
  • Gcode blocks that contain just functional information, like beginning or ending scripts, can be prevented from appearing in the tab by including them in a comma delimited list in the Ignored Object section. Defaults to STARTGCODE,ENDGCODE
  • If there are Gcode commands in a cancelled object that should not be skipped, these can be included as a comma delimited list.
  • For all slicers, it is recommended to enable relative extrusion in printer settings.


  • Create one process for each object or group of models you want to be able to cancel. Assign models to processes.
  • Enable 'Allow zeroing of extrusion distance' setting in Gcode Tab.
  • It is recommended to add ; process ENDGCODE at the start of your Ending Script in S3D. Otherwise, if the last object that would be printed has been cancelled this will result in the rest of the ending script being ignored.

Slic3r - normal printing

  • Use the current development build snapshot:
  • For Prusa Edition, see Windows build referenced here:
  • Enable Label prints with object ID in the Output section
  • Add ; printing object ENDGCODE to the start of the end gcode in the Custom Gcode section.
  • Modify the plugins object regex to: ; printing object (.*)

Slic3r - sequential printing

  • For the start custom GCODE, include at the end: ; process 0
  • For the end custom GCODE, include at the start: ; process ENDGCODE
  • For the between object custom GCODE, include: ; process [current_object_idx]
  • Other changes may also be necessary to handle retractions and extrusion resets