Open evanshultz opened 5 years ago
Maybe we can keep the series symbol as the basis but add aliases (the series symbol gives lovers of the generic workflow an entry point while the aliases fulfil the needs of fully specified preferring users. At the cost of only one additional entry in the lib)
I think there are several issues attached to this question.
To capture every possible combination of part variation would require a large number of symbol aliases and is to be avoided.
This raises the question if avoiding aliases was ever the actual intention and if so, does it make much sense?functional
in S2.2? Functional as in "relevant to the symbol in question" or "particularly relevant to the part in question"? Does it apply to series at all?
If it's the latter definition and the rule does apply to series: Is a capacitor's capacity or a Zener diode's Zener voltage a different kind of "functional" than an EEPROM's size?@poeschlr That's a good compromise.
Would there be a case where a generic 'series' symbol could capture multiple packages but the specific ones certainly would not? I can't think of an example right now, and that's the only caveat I can imagine. If so, we could do some ugly thing like append the package name onto the end of the generic 'series' symbol.
@chschlue I think the issue is your understanding. Which probably means the KLC text is not as clear as it should be.
D_zener
; here we are talking about a specific diode available in the market, selected from a datasheet, which has a MPN and is in diode.lib. An EEPROM is similar in this regard. Perhaps you're not considering that the capacitor example is a generic symbol?I would keep it with one symbol per package in any other lib than the ones specifically called out for fully generic symbols. This also makes it easier to set up as you can then use the same alias structure for the semi generic one as for the fully specified options (if we want to combine multiple footprint options then we would need an extra symbol without assigned footprint and additional footpritn filters.)
So we agree there are different kinds of "functional". Or let's say different levels.
Another example: https://github.com/KiCad/kicad-symbols/pull/2215 clearly constitutes a series, but the numbers have much in common with temp ratings in that they tell you when the part breaks down, not when or how it serves its purpose. Following Renes suggestion, should these have a wildcarded symbol and a bunch of aliases because they're a series or a wildcarded symbol and nothing else because of "non-functional variations in part number"?
I don't think this is as clear-cut as it appears.
From https://github.com/KiCad/kicad-symbols/pull/1997.
Some symbols, for zener diodes and other related parts (like TVS diodes) that I can recall, use a single symbol with wildcards for the entire series. Examples are
BZT52Bxx
and5KPxxCA
. (DZ2S*
is the only series I see that is not this way.)Should this be allowed? Because of the KLC updates now clarifying fully-specified symbols, perhaps these symbols should be removed and discrete symbols for each voltage (or the subset which the contributor adds) should be added using the ALIAS feature? Thoughts?
Since we'd be breaking symbols, I've given this the v6 milestone since existing 'series' symbols shouldn't be removed before v6 (new symbols could be added any time).