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

Re: gEDA-user: Different slot types within on symbol



Oliver King-Smith wrote:

> Different symbols for each slot is no problem. 

The way geda defines the term "slot", this does not work. A slot
is the same symbol with a different set of pin numbers. People have 
even called geda slotting a "general pinnumber renumber mechanism".

Like Peter said, you can still split the power pins from the main 
symbol. If two symbols have the same refdes, gsch2pcb reads them
as belonging to the same component. See opamp.sym and opamp_pwr.sym
in my section of gedasymbols.org for an example.
	http://www.gedasymbols.org/user/kai_martin_knaak/

There is a catch, though: gsch2pcb takes attributes only from the
first symbol of a set with the same refdes it encounters in the *.sch 
file. That is, the order the symbols were added in the GUI matters. In 
particular, this affects the footprint attribute. As a consequence the 
symbol might be missing in the layout.

This is a known weakness. My last years effort to rectify it was 
rejected by the developers. As a work-around you can alternatively

a) make sure to add the symbol with the footprint attribute first.

b) add footprint symbols to all symbols of a set.

c) open the *.sch file with a text editor and move the symbol that 
contains the footprint attribute to the top.

d) write a script to do the above task automatically.

Note, that renumber in gschem won't respect the sets of symbols with 
the same refdes. It assigns different numbers to them like it does
with every other symbol.

Feel free to provide patches. But note, that not every patch that works 
will be accepted.

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Öffentlicher PGP-Schlüssel:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6C0B9F53



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