Skip to main content

Generate description of GCode

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for humanize-gcode-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4b7375a0b670dae10200caddcff57f16021d2317d484834fff19b3a0363ed148
MD5 958e8347951076c5d91f7a1f1415fac2
BLAKE2b-256 041f010dd029244516c791e994d25d452ff5c41f784cdea74452eac535278e65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for humanize_gcode-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63040740a9049bf3b0a90c72abf72352be2ee5c97e2417cfba0ff9968e3f3ca4
MD5 eb46fe98099e57270c23c92ed4fdeb92
BLAKE2b-256 e90dc01671b5563887caf01fbb9fc228229a2d98d16a203a77b0de0a7fd9441f

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