Skip to main content

gcode2image: convert gode to image.

Project description

gcode2image

Convert gcode to pixel exact image files. Images can be shown with axes and grid to check laser cutter (CNC) start coordinates and image parameters.

gcode2image can be used alongside grblhud, image2gcode and svg2gcode for a commandline driven workflow. (https://github.com/johannesnoordanus/.)

Install:

Depends on python libraries numpy, PIL, skimage and mathplot pip install ...

> 
> pip install gcode2image

Usage:

> gcode2image --help
usage: gcode2image [-h] [--showimage] [--showaxes] [--showG0] [--offset] [--flip] [-V] gcode image

Convert a gcode file to image.

positional arguments:
  gcode          name of gcode file to convert
  image          image out

options:
  -h, --help     show this help message and exit
  --showimage    show b&w converted image
  --showaxes     show image with xy-axis
  --showG0       show G0 moves
  --offset       show image offset
  --flip         flip image updown
  --grid         show a grid 10mm wide
  -V, --version  show version number and exit

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

gcode2image-1.1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

gcode2image-1.1.0-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

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