[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: symbol libraries and attributes
Oh, awesome Carlos. I'm an idiot, I should've know this sort of thing
was in a rc file as an option, but I
never went looking for it. Thanks a ton, that'll make my custom heavy
library 10 times easier to use.
I'll be building a library of capacitors and resistors with all the
standard values filled in, along with
some transistor symbols, if anyone is interested in that. I don't know
if submitting it to the official symbol
library is a good call, since my library won't jive with the light
symbols philosophy.
- Jonathan Hanson
Carlos Nieves Ónega wrote:
>Hi Jonathan,
>
>El mié, 07-12-2005 a las 01:46 -0600, Jonathan Hanson escribió:
>[snip]
>
>
>>Anyway, I figured I would just build my own custom symbol library to my
>>own spec, since all I use are basic passive parts, a few transistors and
>>some diodes. It shouldn't be too hard to just build symbols as I need
>>them. I read through the guide at
>>http://www.geda.seul.org/docs/current/fileformats/index.html detailing
>>how to build a symbol, and starting building a 2N5551 transistor model.
>>
>>Now the problem I have is in the visibility of attributes. I intend to
>>have all the useful attributes filled in (stuff like documentation and
>>footprint), but these aren't values that need to be visible on the
>>schematic once the device is inserted into the schematic.
>>
>>
>
>As Stuart pointed, the topic about heavy vs light symbols is discussed
>from time to time in the mailing list... Last time I was the guilty one
>who started it, and the discussion included the inheritance, among other
>things:
>http://archives.seul.org/geda/dev/Oct-2005/msg00043.html
>
>[snip]
>
>
>>There're lots of attributes that need to be kept associated with the
>>symbol in the file, but not necessarily displayed on the schematic.
>>Would it be possible to modify gschem so that attributes in the .sym
>>file that are marked as invisible still get stored in the .sch file, but
>>just stay marked invisible so as not to appear on the schematic?
>>
>>
>
>Look for the following keywords in the system-gschemrc file:
>
>(attribute-promotion "enabled");
>(promote-invisible "disabled") ; <---- This one
>(keep-invisible "enabled")
>
>Add to your gschemrc file:
>(promote-invisible "enabled")
>
>And you will get all the attributes promoted. The "keep-invisible"
>keyword will keep hidden those attributes that are hidden in the symbol
>file.
>
>Cheers,
>
>Carlos
>
>
>
>
>
>
>