ChrisWag91 / Inkscape-Lasertools-Plugin

A simple plugin to convert inkscape vector graphics to Gcode for DIY laser engravers
GNU General Public License v3.0
38 stars 27 forks source link

Laser power variable #19

Open flabodotes opened 3 years ago

flabodotes commented 3 years ago

Hello @ChrisWag91 , First thanks for your work, I start using it yesterday and I'm getting good results.

That ticket is not an issue but a new feature. With your approach + plugin the G-Code is perfect for Black and White but what about laser with pulse width modulation (PWM)? My laser could be set in a range of 0-255 witch varies the laser power itself. Is it possible to analyze the image to apply different grayscale values? Right now only the laser-on-command is executed with always the same intensity, in my case for example to use the 50% power of laser I use M106 S125.

Best Regards

ChrisWag91 commented 3 years ago

Hallo, That should be possible but it would require quite a bit of additional code. I might look into that when I get some time on my hand. If I need grayscale engraving, I usually generate a halftone pattern. That might not always be a good solution but can look quite good on certain designs.

vinfaraci commented 3 years ago

There is a really nice raster program for photo engraving called Better Laser Raster for photo engraving. This will have do PWM raster engraving. There is a newer version on the Apple App store http://www.candlercustoms.com/better-laser-raster/