All Projects → distrap → gcodehs

distrap / gcodehs

Licence: BSD-3-Clause license
GCode parser, pretty-printer and processing utils

Programming Languages

haskell
3896 projects
G-code
73 projects
Nix
1067 projects

gcodehs

Installing

  • git clone https://github.com/distrap/gcodehs/
  • cd gcodehs
  • nix-build or nix-shell

Usage

To pretty-print sample.gcode::

gcodehs pretty sample.gcode

See gcodehs --help for usage information.

Development status

Pretty printing is slow due to conversion to text but we do have colors!

Fast pretty printer is needed that operates with ByteStrings directly.

Bash completion

Generating bash completion::

gcodehs --bash-completion-script `which gcodehs` &> gcodehs-completion.sh

or sourcing directly::

source <(gcodehs --bash-completion-script `which gcodehs`)

Examples

Generating GCode

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].