Hi Tim,

I don't know how much time you have spare to follow current pcb (the
program) development, but there is a command language implemented
which can be used to create base data for pcb from xcircuit. Currently
xcircuit is writing a pcb netlist, but I would like to expand with the
feature to create a pcb command file which places the components
present in an xcircuit schematic. I found a tcl script in the source
which creates a pcb template file by querying the pcb component
library. I will look more into that one, but I don't think it is
necessary to create a pcb file anymore, just tell pcb through commands
to load this component, place it, load next component, place it and so
on. The netlist file is then defining the interconnects, and as long
as the pin names of xcircuit components fit the pcb components things
are ready for routing.

I think the way to go is to add parameters to xcircuit components to
tell the netlister which footprints are needed from pcb library and
then fire off pcb netlist. I will browse through the xcircuit code to
see how the pcb: info label is used, but that is currently for
netlisting, not for command file making. I could also probably do
brute-force tcl look-up of objects in the schematic and extract all
components having a parameter 'footprint' into a command file.

If you have some thoughts or ideas, I will be happy to listen as I do
not want to reinvent a wheel.

Kind regards,
-- 
Svenn
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to