Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tjjfvi/octoprint-slicersettingsparser
Plugin to analyze gcode for slicer settings comments and add additional metadata of such settings.
https://github.com/tjjfvi/octoprint-slicersettingsparser
octoprint octoprint-plugin octoprintplugin
Last synced: 2 months ago
JSON representation
Plugin to analyze gcode for slicer settings comments and add additional metadata of such settings.
- Host: GitHub
- URL: https://github.com/tjjfvi/octoprint-slicersettingsparser
- Owner: tjjfvi
- License: agpl-3.0
- Created: 2018-12-17T23:15:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-17T12:36:56.000Z (over 1 year ago)
- Last Synced: 2024-05-30T16:35:36.344Z (7 months ago)
- Topics: octoprint, octoprint-plugin, octoprintplugin
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 11
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/foosel/OctoPrint/wiki/Plugin:-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:
- [OctoPrint-SlicerSettingsTab](https://github.com/tjjfvi/OctoPrint-SlicerSettingsTab)
### CuraCura doesn't natively support injecting the slicer settings into the gcode, so you must add [this](https://gist.github.com/tjjfvi/75210b2ed20ed194d6eab48bf70c4f12) 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](https://github.com/tjjfvi/OctoPrint-SlicerSettingsParser/wiki/Python-regexes) for examples.