Jon Elson wrote on 09/09/2007 19:24: > Stephen Wille Padnos wrote: >> Heh. I remembered our discussion about G-code formats on a short car >> ride (maybe headed to Peoria?), and I figured you'd know what all of it >> meant. >> > Well, after having written my own Gerber to raster converter > program, I know the format fairly well. I haven't put RS274-X > format features into my program yet, but it supports all the > stuff I generally have in my PCB artwork. Unfortunately this > code is written in Turbo Pascal, and not too portable. Sometime > I might have to try running it through p2c to see how bad a mess > it makes.
Does any sort of publicly available documentation exist for the gerber file format? > It actually would not be hard at all to write a little program > that would convert this Gerber format to standard G-code, and it > would draw out the traces with the EMC preview programs. > Converting from Gerber to a trace isolating cutter path would be > a good deal harder. Not _too_ hard though, I think and certainly a task I would like to tackle. This would result in a commandline tool* (or QT based, I don't like GTK that much), which takes a text based configuration and a gerber file. Also I think that at least Eagle is able to output an inverted gerber file (i.e. "printing" not the traces but the non-trace/isolation areas), which would make this whole thing a lot easier. regards, Sven *: Probably a prototype in Perl with final implementation in C/C++ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
