Giter Club home page Giter Club logo

octoprint-cancelobject's Introduction

OctoPrint-Cancelobject

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.

screenshot

Setup

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

https://github.com/paukstelis/OctoPrint-Cancelobject/archive/master.zip

Configuration

Settings

  • 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.

Simplify3D

  • 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: https://dl.slic3r.org/dev/
  • For Prusa Edition, see Windows build referenced here: prusa3d/PrusaSlicer#972
  • 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

Cura

octoprint-cancelobject's People

Contributors

paukstelis avatar popeyef5 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.