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.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

humanize_gcode-0.0.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file humanize-gcode-0.0.2.tar.gz.

File metadata

File hashes

Hashes for humanize-gcode-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e09fca9e1c0cb948af40f75e82655e2bccd3bf533628c4d72dee7d557a22b3f2
MD5 3a656a19df5523d0995a018bff33414b
BLAKE2b-256 eb068f1b627a398191d6bb53dfa8dc90b609694957bf5de7c232d8d5772119c3

See more details on using hashes here.

File details

Details for the file humanize_gcode-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for humanize_gcode-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba1c5b3f35e307570f693370bab6ab583cdee003356060eabea24e43c3a1ee87
MD5 7f86243f322c947693901681edf2b465
BLAKE2b-256 8832265312774763bcfe5fa31bc8dfc02dec2f869bacd3866c901f077c2ce895

See more details on using hashes here.

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