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

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

Uploaded Source

File details

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

File metadata

  • Download URL: humanize-gcode-0.0.5.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.6

File hashes

Hashes for humanize-gcode-0.0.5.tar.gz
Algorithm Hash digest
SHA256 4978adaf9711fede3772250360d984e4c25a031bd63ce332e77956af91eb5414
MD5 ded9bf6d5b8d2728e4f017338fb94607
BLAKE2b-256 aab3036595358ff22c7e5fb479e9589d1c09dc413db4d5cb4dd25330437719c8

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