Annotates GCode files with human readable descriptions of commands
Project description
humanize-gcode
A tool for explaining the commands in machine readable GCode files.
Based on the specified GCode flavour, the tool parses a list of GCode commands and their description from the flavour's documentation. With this library it parses the input file and explains the effect of each command.
Installation
The utility is available on PyPi, so it can be installed with pip
:
pip3 install humanize-gcode
Usage
The package comes with the executable script hucode
that accepts two arguments. The GCode flavour (currently only marlin/smoothie
are supported) and the name of the file to annotate (or -
for stdin).
Example usage
~ hucode smoothie testfile.gcode
TODO
- More output formats (and possibly customization?)
- More supported GCode flavours
- Use command arguments to influence annotation
- Caching of GCode flavour libraries
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file humanize-gcode-0.0.2.tar.gz
.
File metadata
- Download URL: humanize-gcode-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e09fca9e1c0cb948af40f75e82655e2bccd3bf533628c4d72dee7d557a22b3f2 |
|
MD5 | 3a656a19df5523d0995a018bff33414b |
|
BLAKE2b-256 | eb068f1b627a398191d6bb53dfa8dc90b609694957bf5de7c232d8d5772119c3 |
File details
Details for the file humanize_gcode-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: humanize_gcode-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba1c5b3f35e307570f693370bab6ab583cdee003356060eabea24e43c3a1ee87 |
|
MD5 | 7f86243f322c947693901681edf2b465 |
|
BLAKE2b-256 | 8832265312774763bcfe5fa31bc8dfc02dec2f869bacd3866c901f077c2ce895 |