Plugin to analyze gcode for slicer settings comments and add additional metadata of such settings.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
extras
octoprint_SlicerSettingsParser
translations
.editorconfig
.gitignore
LICENSE
MANIFEST.in
README.md
babel.cfg initial commit Dec 17, 2018
requirements.txt
setup.py

README.md

OctoPrint-SlicerSettingsParser

NOTE: Only supports Slic3r, Simplify3D, and Cura currently; suggest more in issues; contributions welcome!

Analyses gcode for slicer settings comments and adds additional metadata of such settings. Useless without plugin(s) to use the metadata.

Setup

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

https://github.com/tjjfvi/OctoPrint-SlicerSettingsParser/archive/master.zip

You will most likely want to install another plugin to use the metadata. Such plugins of mine are:

Cura

Cura doesn't natively support injecting the slicer settings into the gcode, so you must add this to your start/end gcode.

Configuration

Python regexes (Advanced)

This plugin uses python regexes to parse the gcode. Syntax can be easily found on the web. There should be two named capturing groups, key and val. Multiple regexes should be listed on seperate lines, ordered by precedence. Any chars are allowed in the groups; \n will be replaced by newlines.

See the wiki for examples.