delorie.com/archives/browse.cgi | search |
On Thu, 30 Jun 2016, Roland Lutz wrote: <snip> > The almost-finished code for the symbol part has been sitting around in a > branch for quite a while; maybe I'll take this as a motivation to finally > merge it. For footprints, there is a bit more work to be done as the PCB file > reading and writing code couldn't easily be used outside of the main PCB > application last time I looked. Maybe Igor2 has worked on this while > modularizing the PCB code, though. Yes, I was working on this one: the whole .pcb and .fp format code is a ~2k sloc plugin now, behind an API of 6 function pointers. While this makes it easy to provide alternative file format plugins for pcb-rnd, it doesn't (yet?) do the other way: the code still depends on "global.h" and friends. So if you want to reuse the parser linking the plugin directly, that still would bring in most of the core (~40k sloc). I have longer term plans to turn the core into a misc part (that contains main() for example) and a lib external tools can link against. Regards, Igor2
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |