Mail Archives: geda-user/2013/04/02/13:48:26
On Tue, 2013-01-29 at 11:56 -0500, DJ Delorie wrote:
> The file format is a flex/bison language, you could extract the parser
> from the pcb source tree and use it as-is.
>
> Also, you could write your app as a pcb plugin and invoke it from
> pcb's command line each time...
I guess plugins will work only when written in C -- may C++ or even Vala
work?
For now I will try parsing direct from Ruby, Ruby is really good in
RegExp processing. And I think chances are good that PCB's file format
will never change any more...
I have seen that kicad is using a similar text based file format like
PCB, while Eagle seems to use bloat XML now.
Question: For footprints we have now optional dimensions like nm -- is
that restricted to footprint files, or can we have that in .pcb files
too? I have just loaded a .pcb file and stored again -- seems to use
0.01 mil units. Is nm unit possible, so that I have to care for it when
parsing?
Other question: Can PCB read only one complete .pcb file, or can it
merge multiple files, i.e. one which contains traces from an autorouter?
- Raw text -