delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-help-bounces using -f |
X-Recipient: | geda-help AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20161025; | |
h=mime-version:references:in-reply-to:reply-to:from:date:message-id | |
:subject:to; | |
bh=g1cfW8w7T2IutaONUlU2QKP/6QC4Lg790XaXKtv/DwU=; | |
b=vPYtAHlb5B2OmKf7BK91Wh/E+W+RBrttdU6w2Jqaz16pK5Q0hPBJeF/MsRHQqUKXOq | |
/GkOYFKFu2eHqkw0UPFA3X6fB6a+n38Ttz63CXcUcGQ/CB3ta5JnkY8pElnPGIXt71JH | |
VkqR7b6Z8gee8pskLrjqVuBx5Up9UJLptid5Wv/F7EJ5XPcYyxOcEFw3tp5nY3q1Cp4f | |
4blAx3IOwkP6N5wnQXkRrHSPt4S101WCS+JydcHofJgukS3ul/VdJcvDr06uC0v5Fu3E | |
v/IrzkUWVCQbhOgK3V9uxpxhGj0nGFqV7w8gXAJH1sEhP0HYqsRzBadvnjCrG8cP7Pg9 | |
yJFg== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20161025; | |
h=x-gm-message-state:mime-version:references:in-reply-to:reply-to | |
:from:date:message-id:subject:to; | |
bh=g1cfW8w7T2IutaONUlU2QKP/6QC4Lg790XaXKtv/DwU=; | |
b=r39jNg8NOhtYnc9cf4YpNrMfzMZ0HrK1EN5ncTYxeZfLSuZ2FzFwCJ6IOK2yrEGzGq | |
06Y6Om7nsxQzS0sL8BWI7X1eEb3WFCm2Sk6rw2hf/iTHo3DVuyUAGiSvlO8WiPXeyC8P | |
iF4QyRNF3ckX6ph0hBM2TYf518rIMFRZvQxfG9GDMg9ECXrgurKpHo/00nm8oRjBLkx+ | |
JYneLqczXHE224H33T6YdierRbBODyOUnkDNmYqsmCO4DJ4ABZa0sQWFHUT+FFe2faIX | |
lz909KLS1xn6LW45MPl75ifZDdd+zvyoO5l7GaHn9DSsdbyGPNv6qXKH7xqt4B2cv279 | |
nRTw== | |
X-Gm-Message-State: | APjAAAU+p4bh23Afhct01mzlrjizcuvWHxeT6T3DTeJ+rWb2Z9r1J/Yo |
Q5f3ptzXIKlOFHbl1hSo7oJ46OdJPKL5KwW9qWnTJg== | |
X-Google-Smtp-Source: | APXvYqx1N3t3SEJ02eTYZ183pbi8ILPupUN4VRJM0MiBrTL6DvfCjqjG0ucAFNbI/D/tmZi4HXO097w9qMIQcC4UVE8= |
X-Received: | by 2002:a63:d748:: with SMTP id w8mr14966172pgi.157.1561827776893; |
Sat, 29 Jun 2019 10:02:56 -0700 (PDT) | |
MIME-Version: | 1.0 |
References: | <CAONhAoupFWT2NX0fsv6Yr78pqW1A6HYpSJKwMSog=i3WGK2Yiw AT mail DOT gmail DOT com> |
<5D177AF1 DOT 7080101 AT xs4all DOT nl> | |
In-Reply-To: | <5D177AF1.7080101@xs4all.nl> |
From: | "=?UTF-8?B?Q3PDoW55aSBQw6Fs?= (csanyipal AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com> |
Date: | Sat, 29 Jun 2019 19:02:40 +0200 |
Message-ID: | <CAONhAosu17hvyf72HD0B_G9n4j1g2XepzwBNjEWwdk_+x-M-ZQ@mail.gmail.com> |
Subject: | Re: [geda-help] How to name footprint for a pushbutton switch? |
To: | gEDA Help <geda-help AT delorie DOT com> |
Reply-To: | geda-help AT delorie DOT com |
--000000000000d7c069058c795daf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Bert, Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> ezt =C3=ADrta (id=C5=91pont: 2019. j=C3=BAn. 29., S= zo, 17:15): > > Cs=C3=A1nyi P=C3=A1l (csanyipal AT gmail DOT com) [via geda-help AT delorie DOT com] wr= ote: > > Hi, > > > > I am creating a symbol and footprint for a tactile switch. > > So far I have the symbol which is not finished yet and is like this: > > <symbol> > > v 20130925 2 > > L 41400 48300 41400 50300 3 0 0 0 -1 -1 > > L 42400 49300 42600 49300 3 0 0 0 -1 -1 > > L 42600 48300 42600 50300 3 0 0 0 -1 -1 > > L 41600 49500 42400 49500 3 0 0 0 -1 -1 > > L 42000 49900 42000 50100 3 0 0 0 -1 -1 > > V 41700 49300 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 > > V 42300 49300 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 > > L 41400 49300 41600 49300 3 0 0 0 -1 -1 > > L 41900 50100 42100 50100 3 0 0 0 -1 -1 > > L 41900 49900 42100 49900 3 0 0 0 -1 -1 > > L 42100 49900 42000 49700 3 0 0 0 -1 -1 > > L 41900 49900 42000 49700 3 0 0 0 -1 -1 > > L 42000 49700 42000 49500 3 0 0 0 -1 -1 > > P 41400 50600 41400 50300 1 0 0 > > { > > T 41400 50700 5 10 0 0 0 0 1 > > pintype=3Dpwr > > T 41443 50250 5 10 1 1 180 6 1 > > pinlabel=3DT > > T 41357 50504 5 10 1 1 180 0 1 > > pinnumber=3D3 > > T 41400 50700 5 10 0 0 0 0 1 > > pinseq=3D3 > > } > > P 42600 50600 42600 50300 1 0 0 > > { > > T 42600 50700 5 10 0 0 0 0 1 > > pintype=3Dpwr > > T 42442 50250 5 10 1 1 180 6 1 > > pinlabel=3DT > > T 42738 50500 5 10 1 1 180 0 1 > > pinnumber=3D1 > > T 42600 50700 5 10 0 0 0 0 1 > > pinseq=3D1 > > } > > P 41400 48000 41400 48300 1 0 0 > > { > > T 41400 47900 5 10 0 0 0 0 1 > > pintype=3Dpwr > > T 41553 48476 5 10 1 1 180 0 1 > > pinlabel=3DT > > T 42738 50500 5 10 1 1 180 0 1 > > pinnumber=3D1 > > T 42600 50700 5 10 0 0 0 0 1 > > pinseq=3D1 > > } > > P 41400 48000 41400 48300 1 0 0 > > { > > T 41400 47900 5 10 0 0 0 0 1 > > pintype=3Dpwr > > T 41553 48476 5 10 1 1 180 0 1 > > pinlabel=3DT > > T 41251 48229 5 10 1 1 180 6 1 > > pinnumber=3D4 > > T 41400 47900 5 10 0 0 0 0 1 > > pinseq=3D4 > > } > > P 42600 48000 42600 48300 1 0 0 > > { > > T 42600 47900 5 10 0 0 0 0 1 > > pintype=3Dpwr > > T 42556 48480 5 10 1 1 180 0 1 > > pinlabel=3DT > > T 42639 48234 5 10 1 1 180 6 1 > > pinnumber=3D2 > > T 42600 47900 5 10 0 0 0 0 1 > > pinseq=3D2 > > } > > T 42900 49200 8 10 1 1 0 0 1 > > device=3DSWITCH > > T 42900 49500 8 10 1 1 0 0 1 > > description=3DNormally open pushbutton switch with 4 terminals. > > T 42900 49800 8 10 1 1 0 0 1 > > author=3DCsanyi Pal csanyipal AT gmail DOT com > > T 42900 48900 8 10 1 1 0 0 1 > > dist-license=3DGPL, http://www.gnu.org/licenses/gpl.html > > </symbol> > > > > The datasheet for this part can be downloaded from here: > > https://eu.mouser.com/datasheet/2/209/MS-100630-1172392.pdf > > > > The symbol will have the 'tactile-switch-4-terminals-no-1.sym' name, > > but how to name the footprint for this symbol? > > > > In gSchem editor one can see the preview for switch-pushbutton-no-2.sym > > which has footprint named as 'H1x2-op-1'. > > > > What is the logic in this footprint name? > > > > I am reading the > > http://wiki.geda-project.org/geda:pcb_footprint_naming_conventions > > > > but can't figure out how to name my footprint. > > > > Any advices will be appreciated! > > > > > Hi, > > I looked at your symbol and made the following changes: > > - hided attributes which should not be visible, > > - removed a duplicate pin (#4, two on top of each other), > > - made the symbol more compact, > > - hided pinlabels that mde no sense (to me ;-), > > - changed pintypes "pwr" to "pas" (power to passive), > > - added a "footprint=3DH1x2-op-2.fp" attribute (hidden, the name is > anything you want ... watch out for quirks when using "-" in the > footprint filename though, the m4 processor invoked by pcb to process > the older m4 footprints (oldlib) may us it for arithmatics and cause all > sorts of strange behaviour ;- ), > > - did a "symbol translate (0) to move everything to the left-down-most > corner. > > > While not all changes are mandatory and may be just my personal style, I > hope this helps a bit. > > Kind regards, > > Bert Timmerman. Thank you very much for the reply. I just changed this symbol and attached to this mail. Is it right now? What do you think? --000000000000d7c069058c795daf Content-Type: application/x-geda-symbol; name="tactile-switch-4-terminals-no-1.sym" Content-Disposition: attachment; filename="tactile-switch-4-terminals-no-1.sym" Content-Transfer-Encoding: base64 Content-ID: <f_jxhrwnsi0> X-Attachment-Id: f_jxhrwnsi0 diAyMDEzMDkyNSAyCkwgMTIwIDMyMCAxMjAgOTIwIDMgMTAgMCAwIC0xIC0xCkwgNjIwIDYyMCA3 MjAgNjIwIDMgMTAgMCAwIC0xIC0xCkwgNzIwIDMyMCA3MjAgOTIwIDMgMTAgMCAwIC0xIC0xCkwg MjIwIDc0NSA2MjAgNzQ1IDMgNTAgMCAwIC0xIC0xClYgMjcwIDYyMCA1MCAzIDEwIDAgMCAtMSAt MSAwIC0xIC0xIC0xIC0xIC0xClYgNTcwIDYyMCA1MCAzIDEwIDAgMCAtMSAtMSAwIC0xIC0xIC0x IC0xIC0xCkwgMTIwIDYyMCAyMjAgNjIwIDMgMTAgMCAwIC0xIC0xCkwgMzIwIDEwMjAgNTIwIDEw MjAgMyAyMCAwIDAgLTEgLTEKTCAzNzAgOTQ1IDQ3MCA5NDUgMyAxMCAwIDAgLTEgLTEKTCA0NzAg OTQ1IDQyMCA4NzAgMyAxMCAwIDAgLTEgLTEKTCAzNzAgOTQ1IDQyMCA4NzAgMyAxMCAwIDAgLTEg LTEKTCA0NDUgMTAyMCA0NDUgNzcwIDMgMTAgMCAwIC0xIC0xClAgMTIwIDEyMjAgMTIwIDkyMCAx IDAgMAp7ClQgLTEwODAgOTIwIDUgMTAgMCAwIDAgMCAxCnBpbnR5cGU9cGFzClQgMTYzIDk3MCA1 IDEwIDAgMSAxODAgNiAxCnBpbmxhYmVsPVQKVCA3NyAxMTI0IDUgMTAgMSAxIDE4MCAwIDEKcGlu bnVtYmVyPTMKVCAtMTA4MCAxMTIwIDUgMTAgMCAwIDA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TCwgIGh0dHA6Ly93d3cuZ251Lm9yZy9saWNlbnNlcy9n cGwuaHRtbApUIC0xMDgwIC0xNDgwIDggMTAgMCAxIDAgMCAxCmRvY3VtZW50YXRpb249aHR0cHM6 Ly9ldS5tb3VzZXIuY29tL2RhdGFzaGVldC8yLzIwOS9NUy0xMDA2MzAtMTE3MjM5Mi5wZGYKVCAt MTA4MCAtMTc4MCA4IDEwIDAgMSAwIDAgMQpudW1zbG90cz0wClQgLTEwODAgLTE5ODAgOCAxMCAw IDEgMCAwIDEKdXNlLWxpY2Vuc2U9dW5yZXN0cmljdGVkClQgMzQ1IDE1NDUgOCAxMCAxIDEgMCAw IDEKcmVmZGVzPVM/ClQgLTEwODAgLTIyODAgOCAxMCAwIDEgMCAwIDEKZ2VkYXN5bWJvbHM6OnVy bD1odHRwOi8vd3d3LmdlZGFzeW1ib2xzLm9yZy91c2VyL2NzYW55aV9wYWwvClQgLTEwODAgLTI1 ODAgOCAxMCAwIDEgMCAwIDEKZm9vdHByaW50PUgxeDJfT1BfMi5mcApUIDE0NSAxMzQ1IDkgMTAg MSAwIDAgMCAxClN3aXRjaApMIDM5NSAxMDIwIDM5NSA3NzAgMyAxMCAwIDAgLTEgLTEK --000000000000d7c069058c795daf--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |