Library section improvement for .sch file

Bug #1290129 reported by Alexey Kharikovskiy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gEDA
New
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

Revision history for this message
Alexey Kharikovskiy (svetonomer) wrote :
description: updated
Revision history for this message
Alexey Kharikovskiy (svetonomer) wrote :

Example of schematic file with library section

Peter TB Brett (peter-b)
Changed in geda:
importance: Undecided → Wishlist
Revision history for this message
Alexey Kharikovskiy (svetonomer) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.