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

Re: gEDA-user: Renumber in PCB/Was/Is List



I was thinking something like this:

-find the part that is closest to the upper left(use the hypoteneuse of the X,Y coordinates). This is our anchor part. Or we could allow users to specify which corner to start at.
-iterate over the list of parts finding the next one closest via hypoteneuse from X,Y to X,Y.


Basically the part renumbering would spread out from one corner having the lowest numbers to the opposite corner having the highest numbers.


From: Dan McMahill <dan@xxxxxxxxxxxx>
Reply-To: gEDA user mailing list <geda-user@xxxxxxxxxxxxxx>
To: gEDA user mailing list <geda-user@xxxxxxxxxxxxxx>
Subject: Re: gEDA-user: Renumber in PCB/Was/Is List
Date: Tue, 15 Aug 2006 18:28:51 -0400

Mike Hansen wrote:
Does PCB have a renumbering command? This would be a command that would renumber the components on the circuit board say starting with the smallest value in the upper left and then proceeding to the lower right corner of the board. And this would also generate a was/is list, showing the old component refdes and the new one(ideally you would have an app that could take the was/is and update the sch file).


Is there any value in having some controls to how the renumbering would work? In particular, you might want to number left to right, top to bottom like:


R1 R2 R3 R4 R5 R6 R7 R8 R9

but maybe you want left to right then top to bottom like

R1 R4 R7
R2 R5 R8
R3 R6 R9

I guess one could support "tblr", "tbrl", "btlr", "btrl", "tblr", "tbrl", "btlr", "btrl". Would this just create confusion? It could be that "tblr" is the default if not specified.

Renumber()  <= uses tblr, prompts for filename
Renumber(lrtb) <= uses lrtb, prmopts for filename
Renumber(tblr, filename) <= uses tblr and specified file


-Dan



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




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