Monday, April 21, 2008
Plotting Gerber Files
I've been working on a Gerber (universal PCB format) plotting script for the last couple of days and finally have the basics working. The picture below was printed by my repstrap today and measures 32mm by 26mm. The thin lines are there because I still have no Z axis to lift the pen.
(I know it's mirrored, my X axis is inverted, needs re-wiring)
The original file in KiCad:
The script creates a photo plotter trace by plotting the straight line between start and end points, then by drawing the loci of the aperture movement from the start point to the end point at several intervals from the central line (diameter 0), up until the diameter of the aperture.
Good summary on gerber format
At present the script controls the RepRap directly over the serial port though I plan to add g-code export functionality.
Once we're replicated - which from my perspective at least has to come first - I'll have some fun with this!
I think everyone else has summed up my thoughts in that this is something I realy need.
I guess it contributes very significantly towards the goal of being able to reprap...
I think we need a pen holder for the Darwin.....
The 'normal' method or making your own circuit board uses polymerized toner that just happens to stick. Several of the other plastics should also stick well enough.
If they don't stick well enough for an etching bath, you could run the _inverse_ image as a mask. That is, have the script 'fill' all the non-trace areas instead of trying to do all the trace areas. Then you'd have a stencil you could spray-enamel or otherwise apply something simple that won't come off in the etchant.
(Of course, if you really can skip the whole etching step, that would rock far more.)
Links to this post: