Hello,
I’m just outfitted a laser engraver with RAMPs 1.4, and so far, so good. It will currently accept gcode from the output of Turnkey Tyranny’s laser Inkscape Plugin, using this Arduino/RAMPs FW drop. All well and good.
I’m using this method to etch PCBs. The idea is simply to cover the copper clad with spraypaint, and then use the etcher to etch away the paint to expose the copper you DON’T want to keep…Then, sit it in an acid batch, burn the copper and then run it through the laser again, this time etching away the copper you want to have exposed on the final board (pads for soldering, test points, etc.).
The problem I’m having is that when I output the SVG to inkscape (since I’m sort of tied to inkscape…that’s the input to my gcode outputter), this is what I get:
I don’t know if you can see it, but it imports as two layers, and the bottom layer is what I’m trying to train the laser on (the black). Since the plugin is expecting a path, It makes no sense since I’d be trying to turn a full blown black rectangle into a path!
Things I’ve tried:
- Using the Export SVG from the File Menu in KiCad
This is no good, because there’s no negative option with this…And I can’t figure out how to get Inkscape to do it in post-process…Although, it does come into inksacpe as something I can turn into a path…The problem is, the path that it creates is the copper I want to KEEP, not REMOVE, so this is no good.
- Using the Plot Feature in KiCad with SVG output.
This is better because it has the negative-plot option, but it outputs the picture shown above.
However, this will burn the wrong stuff, so I try to take the negative colors, as show here, and then redraw the paths…This is a mess though, because it draws a bullseye right down the center of all the tracks…It looks like it’s on the right path, but still, unsuable:
- Finally, I tried pcb2gcode, but that’s more for a mill, and this machine needs to see G1 (fire while moving) and M5 (stop firing) commands in the gcode to control the laser. My plan was to try to change the source code to issue those commands every time it tries to bring the spindle up or down depending on whether or not the laser should fire or turn off. However, I’m a lousy coder and this has proven to be very difficult for me.
Does anyone have any advice on how to pull this off?
Thanks!
KiCad for life