kicad-developers team mailing list archive
Mailing list archive
Re: XML import to pcbnew
"Frank Bennett" <bennett78@...>
Fri, 21 Mar 2008 16:29:40 -0000
--- In kicad-devel@xxxxxxxxxxxxxxx, Dick Hollenbeck <dick@...> wrote:
> > I have checked in a better svn version for project XML4PCB
> > with a better layer assignments, $GENERAL, $SETUP and pin nets
> > but I don't get any ratsnet or any network in the dsn export.
> > Could you take a quick look to see what I am missing in the brd
> > file...examples/txpr.brd is a partially routed, simple example.
> Are you putting the Nets into the *.brd file? This is "class
> which lists all the nets by name and netcode. There should be a block
> of these in your *.brd file, one for each net. This list
> association table between a numeric "netcode" (a positive number > 0)
> and each net's name. Netcode 0 is reserved for a disconnected entity
> (track, pad, via).
> EQUIPOTs to do this:
> Netname Netcode
> ------------- -------------
> Then each entity only has to include the numeric netcode.
> See line 38 of pcbnew/class_track.h for example.
> You can use a counter to assign netcodes, but start at 1, not zero.
Yes, I did this, specified the NumNets and put the numeric reference
in each $PAD specification for each $MODULE...I don't see what else
might be missing!
Na 5 "GROUND"
Na 4 "VIN"
Na 3 "IN"
Na 2 "DEF0_1"
Na 1 "V"
Off hand do you know what "ST ~" means? (not in the filesformat doc)
> > I also would propose we add a Net Name tag to the $TRACK
> > specification...should be backward compatible, might help simplify
> > the ratsnet code and enable an export netlist from pcbnew.
> See above.