[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: Diode symbols in GSchem and PCB



On Fri, 2006-12-15 at 08:14 -0500, Stuart Brorson wrote:

>    P 5
>    {
>      pinseq=3
>      pinbar=baz
>      T 100 500 5 10 1 1 0 0 1
>      pinfoo=woof
>    }
> 
> This does three things:
> 
> 1.  Replaces the existing pinseq with a new value 3 located at the
> same position as the old one. 
> 2.  Replaces teh existing pinbar with a value baz located at the same
> position as the old one.
> 3.  Adds a new pin attribute "pinfoo" at the location specifed in the
> text line above it.
> 
> But do we ever want to modify any other pin
> attributes at the top level?  That is, are there any other pin
> attributes which end up in a netlist which we might want to change
> later, and then backanno?
> 
> The above scheme is simple, and would work, I think.  Or
> am I wrong?

I like your scheme.. I can think of one potential case, but there is
probably argument for making a new symbol if this case is encountered..

Say I have my pinname text inside the symbol, and I over-ride that
attribute in the schematic, to a longer text string. I "might" want to
move that text in the symbol. *I say might*. It could be handled in the
symbol by ensuring the text is anchored at the correct left, middle,
right etc.

I'm all for saying you can't re-locate an existing attribute. I wounder
if there is any call for _removing_ an attribute which is in the
underlying symbol? (Removing as distinct from over-riding with "")

Peter C




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