[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb refdes name restrictions?



Dan McMahill wrote:
Stuart Brorson wrote:

Note that you can't do this with things like CONNpower and
CONNsignal.  How do you renumber alpha refdeses?  Admittedly,
CONNpower and the like are easier to deal with than J1, J2, etc, but
if you've got a board with thousands of components on it, then you
can't give each a unique alpha refdes, and the above renumbering
scheme is extremely convenient.

Since we can't do backanno in gschem/PCB, this point is moot, however.


We're pretty close to being able to do that. You can renumber automatically in PCB and it produces a file that with probably only a few minutes of perl hacking could be used to back annotate to gschem.

Actually, I'll see if I have any energy left after halloween activities tonight to code up something. Since there is already a perl program for backannotating from pads all that has to change is the parser and that should be easy.

ok, actually spent 10 minutes and cranked it out.

gaf/utils/scripts/pcb_backannotate is in CVS. Any feedback would be appreciated.

To use, *make a scratch copy of your design first*. Please don't mess up your active copy and blame me! If you use cvs or subversion or whatever, its a good time to check in your work first so you can undo all of these changes globally.

open up your layout, run the pcb action

  :Renumber()

and give a log file name. PCB will renumber your footprints and record its actions in the log file.

Now run

  pcb_backannotate [--verbose] renumber_log_file pg1.sch [pg2.sch ...]

and hopefully all of your changes will be back annotated.

-Dan


_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user