[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: [Bug 698650] Re: New refdes numbering tool
On the first glance the comparison with existing refdes_renum script yields:
* neither tool cares about slotting
* this one can reuse unused designators within schematics, whereas refdes_renum simply starts from $MAX_NUMBER + 1
* this one has cleaner code
* refdes_renum is quite well tested, this one is not (yet?)
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698650
Title:
New refdes numbering tool
Status in GPL Electronic Design Automation tools:
New
Bug description:
As promised at the code sprint, I've developed a new refdes numbering
tool. I'm tentatively calling it grefdes and it tries very hard to
just "Do the Right Thing"(TM).
By default, grefdes is gentle and preserves all existing refdes. As
designers who have gone through layout know, it is extremely
inconvenient to have a PCB layed out and then have all the reference
designators change underneath essentially putting everything in the
wrong place. For the same reason, new unassigned refdes are added at
the end of the range. When ECOs are done on a board it is easier for
the layout engineer to have the parts show up as new refdes and in an
unplaced location off the board. If existing refdes are reused then
the layout engineer might not notice that R2, which was already
placed, now has terribly long traces.
Here's the output from grefdes --help
////////////////////////////////////////////////////////////////////////////////////////
USAGE : grefdes [--test] [--renum||--reuse||--clear] [--pgskip #] sch1 [...schN]
USAGE : grefdes --help
USAGE : grefdes --version
////////////////////////////////////////////////////////////////////////////////////////
grefdes reads a set of gschem schematic files and numbers the reference designators.
By default, existing reference designators are preserved and unassigned refdes are
given numbers above the existing range. The original schematics are modified and
overwritten unless the --test option is set.
Options:
--help Displays this help message.
--clear Clear all reference designators to their
unassigned(X?) form.
--pgskip [#] When this flag is used, components on the first schematic sheet
are numbered starting with 101. On the second sheet, they start
with 201, etc. Specifying a value sets the gap between pages.
For example, --pgskip 10 will start with 11, 21, 31, etc.
--renum Force all reference designators to be renumbered.
Existing refdes are overwritten.
--reuse Reuse gaps in the refdes range for newly assigned designators.
Given a schematic with U1,U3,U10 any new refdes would be added
at U2, U4-U9, and U11-.
--test Perform all operations but leave results in new files whose names are
generated by appending ".renum" to the original file name.
The default is to overwrite the original schematic.
--version Display the program version
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug