X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Tue, 24 Apr 2012 12:14:20 -0700 From: Colin D Bennett To: geda-user AT delorie DOT com Subject: Re: [geda-user] They don't call it experience for nothing!!! Message-ID: <20120424121420.387e6746@svelte> In-Reply-To: <20120424183046.18509.qmail@stuge.se> References: <20120424105131 DOT 51db48c8 AT svelte> <20120424183046 DOT 18509 DOT qmail AT stuge DOT se> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/sGSfxo82=uJYwa1GFtV2hDq" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - delorie.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: spk.venturedesignservices.com (svelte) [65.61.115.34]:60354 X-Source-Auth: colin AT gibibit DOT com X-Email-Count: 1 X-Source-Cap: c2t5bGVuO3NreWxlbjtnYXRvcjI5Ny5ob3N0Z2F0b3IuY29t Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --MP_/sGSfxo82=uJYwa1GFtV2hDq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, 24 Apr 2012 20:30:46 +0200 Peter Stuge wrote: > Colin D Bennett wrote: > > The pcb footprint called 'SOT23D', on the other hand, > > This is a misleading and flat-out wrong footprint > > What's the way to send patches that fix the issues you point to? Well, I don't think there is only one solution for everyone, but if you want to use method (1), where the schematic symbol for the diode (or BJT, MOSFET, etc.) is specific to the part, you need a special symbol for each part, like: - http://www.gedasymbols.org/user/stefan_tauner/symbols/diodes/schottky-dual-anode-1.sym - http://www.gedasymbols.org/user/stefan_salewski/symbols/Diode-SOT23-1.sym - http://www.gedasymbols.org/user/filip_dominec/symbols/NPN_SOT23_BEC.sym For the second method (which I generally prefer), you use more abstract schematic symbols like - Diode.sym (attached), - LED.sym (attached), - gschem built-in npn-1.sym, npn-2.sym, npn-3.sym (pins numbered as "B", "C", "E") or nmos-1.sym pins numbered G, S, D. along with footprints that have pins/pads mapping these logical pins to physical pins/pads like - SOT23__MOSFET_1G_2S_3D.fp (attached) - LED1608M.fp (attached) Of course it's not perfect, since it is wasteful to have to maintain multiple versions of SOT23 footprint for MOSFET, diodes, BJT, etc., but I think it's often to cleanest way to do it right now. The ideal way is to have a "parts database" mapping layer between symbol and footprint. See http://www.delorie.com/pcb/pin-mapping.html and http://www.delorie.com/pcb/component-dbs.html BTW, it's kind of odd and pretty inconsistent that the gschem built-in library has "logical" pin numbering for the BJT/MOSFET transistor symbols, but "physical" pin numbering for the diode symbols (or at least uses ambiguous and non-self-documenting names "1" and "2" for terminals). But we've talked about the fact that the symbol/footprint libraries could use a lot of love anyway. As you say, someone needs to stop talking and start doing! Kai-Martin decided to design his (heavyweight symbols) library on gedasymbols and has some nice stuff and good ideas, even if I tend to prefer the lightweight symbols most of the time. Regards, Colin --MP_/sGSfxo82=uJYwa1GFtV2hDq Content-Type: application/x-geda-symbol Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=Diode.sym diAyMDExMDExNSAyCkwgMjUgMjAwIDI1IDAgMyAwIDAgMCAtMSAtMQpMIDI1IDIwMCAxNzUgMTAw IDMgMCAwIDAgLTEgLTEKVCAzMDAgMjUwMCA1IDEwIDAgMCAwIDAgMQpkZXZpY2U9RElPREUKTCAx NzUgMTAwIDI1IDAgMyAwIDAgMCAtMSAtMQpMIDE3NSAyMDAgMTc1IDAgMyAwIDAgMCAtMSAtMQpQ IDAgMTAwIDI1IDEwMCAxIDAgMAp7ClQgLTE3NSAzNTAgNSA4IDAgMCAwIDAgMQpwa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W5kIHRoaXMgZGVwZW5kcyBvbiBo b3cgYSBjb21wb25lbnQgaXMKY29ubmVjdGVkIGluIHRoZSBjaXJjdWl0LCBlc3BlY2lhbGx5IGZv ciBhClplbmVyIGRpb2RlLCB3aGVyZSBjb252ZW50aW9uYWwgY3VycmVudApvZnRlbiBmbG93cyBp biB0aGUgInJldmVyc2UiIGRpcmVjdGlvbiwKZnJvbSB0aGUgTiB0ZXJtaW5hbCB0byB0aGUgUCB0 ZXJtaW5hbC4KVCAzMDAgMTIwMCA1IDEwIDAgMCAwIDAgMQpudW1zbG90cz0wClQgMzAwIDI5MDAg NSAxMCAwIDAgMCAwIDEKZm9vdHByaW50PT8KVCAzMDAgMjcwMCA1IDEwIDAgMCAwIDAgMQp2YWx1 ZT0/Cg== --MP_/sGSfxo82=uJYwa1GFtV2hDq Content-Type: application/x-geda-symbol Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=LED.sym diAyMDExMDExNSAyClQgNjUwIDE0NTAgNSAxMCAwIDAgMCAwIDEKZGV2aWNlPUxFRApUIDY1MCAx MjUwIDUgMTAgMCAwIDAgMCAxCmRlc2NyaXB0aW9uPUxFRApUIDY1MCAxMDUwIDUgMTAgMCAwIDAg MCAxCm51bXNsb3RzPTAKVCA2NTAgMTY1MCA1IDEwIDAgMCAwIDAgMQphdXRob3I9Q29saW4gRCBC ZW5uZXR0IDxjb2xpbkBnaWJpYml0LmNvbT4KVCA2NTAgMTg1MCA1IDEwIDAgMCAwIDAgMQpzeW12 ZXJzaW9uPTQuMApUIDIxMDAgMjYwMCA5IDkgMCAwIDAgMCA4ClRoaXMgc3ltYm9sIHVzZXMgbG9n aWNhbCBwaW4gbnVtYmVyaW5nLgogICAgQSA9IEFub2RlICgrKQogICAgSyA9IENhdGhvZGUgKC0p CldoZW4gcGFpcmVkIHdpdGggYW4gTEVEIGZvb3RwcmludCB0aGF0IGFsc28KdXNlcyBsb2dpY2Fs IHBpbiBuYW1pbmcsIGNvbmZ1c2lvbiBhYm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gMTUwIDI0MCAxNjUgMjE1IDMgMCAwIDAgLTEgLTEKTCAxNTAgMjQwIDEyNSAyMjUg MyAwIDAgMCAtMSAtMQo= --MP_/sGSfxo82=uJYwa1GFtV2hDq Content-Type: application/x-pcb-footprint Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=SOT23__MOSFET_1G_2S_3D.fp IyBBdXRob3I6IENvbGluIEQgQmVubmV0dCA8Y29saW5AZ2liaWJpdC5jb20+CiMgUmV2aXNpb246 IDIKIyBEYXRlOiAyMDEwLTAxLTE0CgoKRWxlbWVudFsiIiAiU09UMjMgTU9TRkVULCBnYXRlIG9u IHBpbiAxLCBzb3VyY2Ugb24gcGluIDIsIGRyYWluIG9uIHBpbiAzIiAiUTAiICIiIDEzMzAwMCA0 NjAwMCAwIDAgMCAxMDAgIiJdCigKCSMgLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCgkjIFBhZFsgIHJYMSAgICByWTEgICAg ICAgclgyICAgICByWTIgVGhpY2tuICAgIENsICAgIE1zayAgTm0gIE5yIFNGbGFnc10KCSMgLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tCglQYWRbICAgMzkwMCAgLTg1MDAgICAgICAzOTAwICAgLTc5MDAgICAzNDAwICAzMDAw ICAgNDIwMCAiRCIgIkQiICJzcXVhcmUiXQoJUGFkWyAgIDc4MDAgICAtMzAwICAgICAgNzgwMCAg ICAgMzAwICAgMzQwMCAgMzAwMCAgIDQyMDAgIlMiICJTIiAic3F1YXJlLGVkZ2UyIl0KCVBhZFsg ICAgICAwICAgLTMwMCAgICAgICAgIDAgICAgIDMwMCAgIDM0MDAgIDMwMDAgICA0MjAwICJHIiAi RyIgInNxdWFyZSxlZGdlMiJdCgoJIyBTaWxrIHNjcmVlbgoJRWxlbWVudExpbmUgWy0yNTAwIC0x MTAwMCAtMjUwMCAyOTAwIDEwMDBdCglFbGVtZW50TGluZSBbLTI1MDAgMjkwMCAxMDMwMCAyOTAw IDEwMDBdCglFbGVtZW50TGluZSBbMTAzMDAgMjkwMCAxMDMwMCAtMTEwMDAgMTAwMF0KCUVsZW1l bnRMaW5lIFsxMDMwMCAtMTEwMDAgLTI1MDAgLTExMDAwIDEwMDBdCgoJKQo= --MP_/sGSfxo82=uJYwa1GFtV2hDq Content-Type: application/x-pcb-footprint Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=LED1608M.fp IyBBdXRob3I6IENvbGluIEQgQmVubmV0dCA8Y29saW5AZ2liaWJpdC5jb20+CiMgUmV2aXNpb246 IDIKIyBEYXRlOiAyMDEyLTAzLTI5CiMKIyBMRUQgaW4gaW1wZXJpYWwgMDYwMyBzaXplIFNNRCBw YWNrYWdlICgxLjYgeCAwLjggbW0sIG1ldHJpYyAxNjA4KS4KIwojIEJhc2VkIG9mZiBnRURBL3Bj YiBSRVNDMTYwOE0uZnAsIHdpdGggdGhlIGZvbGxvd2luZyBjaGFuZ2VzOgojIC0gQWRkZWQgc2ls ayBvdXRsaW5lIGFuZCBwb2xhcml0eSBpbmRpY2F0aW9uLgojIC0gTG9naWNhbCBwaW4gbmFtaW5n IOKAnEHigJ0gYW5kIOKAnEvigJ0uCiMKIyBTb2xkZXIgcGFzdGUgc3RlbmNpbCBhcGVydHVyZToK IyAxLiBBcGVydHVyZSAxMCUgc21hbGxlciBpbiBlYWNoIGRpbWVuc2lvbgojIDIuIOKAnEhvbWUg cGxhdGXigJ0gMi8zIC0gMS8zIGRlc2lnbi4KIwojIENsZWFyYW5jZSB0byBwb2x5Z29uczogMTIg bWlsCiMgU29sZGVyIG1hc2sgZ2FwOiAzIG1pbCA9IDAuMDc2MiBtbQoKRWxlbWVudFsiIiAiTEVE MTYwOE0iICJEMDAwIiAiIiAzOTM3MCAzOTM3MCA2Mjk5IC0yNzU2IDAgMT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