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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file humanize_gcode-0.0.6.tar.gz.

File metadata

  • Download URL: humanize_gcode-0.0.6.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.7

File hashes

Hashes for humanize_gcode-0.0.6.tar.gz
Algorithm Hash digest
SHA256 99dc83e868f52b3ce939a459eec863df7ecb268f48f0e45a2a3f91750e427fc7
MD5 e24d3a2273c4b072d1f4b6e69f02712b
BLAKE2b-256 3ad515993463850a335fb815d956aa919e6a9f1aa36a15990b76af609eb88778

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for humanize_gcode-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 07e55f8b85fc1e42401d6d71d8d7e6dcc1cc58b06fbadf0f00fd77045bf5ffae
MD5 975f987d369a468e3bb19de27af9a2e0
BLAKE2b-256 e55e953b59f23db5a31d5ecc49954cc48ca11bdf042b7c6202459330f5ad723a

See more details on using hashes here.

Supported by

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