Skip to content

stas-makutin/image2gcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image to G-Code converter v1.4 for laser engraver or similar tools.
Converts binary (black and white) images into 2D G-Code. White color treated as background color, any other color - as engraving/cutting color.
author: Stas Makutin, stas@makutin.net, 2016

Usage: [] [options]

Options:
-l, /l, --lineScan
  Generate image line-by-line instead of detecting continious regions.
-v, /v, --vertical
  Trace vertical lines instead of horizontal.
-s, /s, --speed, -cr, /cr, --cutRate
  Engraving/cutting feed rate. Optional.
-mr, /mr, --moveRate
  Moving (not cutting) feed rate. Optional.
-x, /x, --offsetX
  Target X-axis offset, in millimeters. Optional, default is 0.
-y, /y, --offsetY
  Target Y-axis offset, in millimeters. Optional, default is 0.
-w, /w, --width
  Target width, in millimeters. If not provided then it will be calculated from provided height and input image width and height. If height is not provided then default width 100 will be used.
-h, /h, --height
  Target height, in millimeters. If not provided then it will be calculated from target width and input image width and height.

About

Generates GCode from raster image for laser engraver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published