Skip to main content

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

Example output

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

humanize-gcode-0.0.3.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

humanize_gcode-0.0.3-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page