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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: humanize_gcode-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

File hashes

Hashes for humanize_gcode-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 28f896c7d8fab470be27df03f1af2111903c11ac14a249f2323918227f278809
MD5 8bde940a30e2388008ef7f2ce1ab1c59
BLAKE2b-256 4b0df52c5d0acbb366c5954a625cefa51ebc3a192914a5fce123b6516b1d4f4a

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