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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for humanize-gcode-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9980ba9f90515cc072f8a0d4be506cfde4afa7965a609c217ee0a32ec9010017
MD5 f676f1d4f8e47ab8c9915eadf24f2ac2
BLAKE2b-256 adf7c80268c6a59775f1ed5da9f8269d679f47f1dc62744ea1b3e87ae009a7ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for humanize_gcode-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6d8a4240727f81575750d65416efed8ac2e3b9350fad50dc6ba8adb70ef6909
MD5 34a1b1a217bec5923c2903b7e6bb73f4
BLAKE2b-256 9ff3d29825851ef60ccbb7ccf19fc5a91e22fa3b01f41b9c9573c16a2246aa48

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