Library section improvement for .sch file

Bug #1290129 reported by Alexey Kharikovskiy on 2014-03-09
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gEDA
Wishlist
Unassigned

Bug Description

Patched gschem will be create "library section" in .sch file. In this section will be placed symbols, which are used in it.
   After .sch file was opened, missing symbols will be placed in "library section" from standart library or local lybrary, included in gafrc.
   After add component ("i"), if adding symbol (that is content of one) are absent in "library section" of .sch file, it will be added.
   If name of adding symbol is exist in "library section, but content of symbol differs, symbol will be added with another name.
For example:
In "library section" exists symbol "opamp-dual.sym" with Content1.
I add symbol "opamp-dual.sym" by "i" and it have Content2 != Content1.
At result symbol "opamp-dual.sym0" was added to "library section" with Content2.
Next names will be "opamp-dual.sym1" and so on by increment.

More with example of similar schematic file
http://comments.gmane.org/gmane.comp.cad.geda.user/42830

description: updated

Example of schematic file with library section

Peter TB Brett (peter-b) on 2014-03-13
Changed in geda:
importance: Undecided → Wishlist

I wrote lib_sec_utils.py script to work with the Library section.

In attached archive the lib_sec_utils.py scripts and tests to it.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers