Metadata-Version: 2.1
Name: gcode2image
Version: 1.1.1
Summary: gcode2image: convert gcode to image.
Keywords: engraving,laser,image,laser engraving,PWM,gcode
Author-email: Johannes Noordanus <mailjohannes.mailnoordanus@gmail.com>
Requires-Python: >=3.10.6
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: numpy >= 1.24.3
Requires-Dist: Pillow >= 9.5.0
Requires-Dist: scikit-image >= 0.20.0
Requires-Dist: matplotlib >= 3.7.1
Project-URL: Home, https://github.com/johannesnoordanus/gcode2image

# 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 ..*. </br>
```
> 
> 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
```

