Img2gco -- Image to gcode converter for repraps with lasers zip-tied to them by nebarnix 3d model
3dmdb logo
Thingiverse
Img2gco -- Image to gcode converter for repraps with lasers zip-tied to them by nebarnix

Img2gco -- Image to gcode converter for repraps with lasers zip-tied to them by nebarnix

by Thingiverse
Last crawled date: 3 years, 1 month ago
This is a web-app to convert images to gcode for those of you who have lasers attached to your 3D printers! It assumes that the PWM signal to your laser is mounted to your fan output (M106 SXXX).
Note: Results are amazing but speeds are SLOW because 3D printers weren't designed as laser engravers or something?!
Note 2: The output g-code will contain some information in a commented header section, and one of the pieces of info is the commands per second. This is very important. My Printrboard can handle about 280 commands per second over USB and about 380 when printing from the SDcard. This is somewhat abstracted to this program only because commands can vary considerably in length, but if you exceed the capability of your firmware the motion will stutter and your image will look like crap. If this happens, either lower the horizontal resolution or slow down the scan rate.
Note 3: This script uses a simple color=>grayscale conversion. If you want to map the brightness differently, please do this in the photo editor of your choice. I added a preview so you can see how the various shades and hues map to brightness.
Actual App - http://www.nebarnix.com/img2gco/
Github - https://github.com/nebarnix/img2gco/
Detailed history and documentation - http://wiki.nebarnix.com/wiki/Img2gco

Tags