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:reply-to:from:date:message-id:subject:to; bh=h+2k6EJSvR4DTnQptNA/N/mTK2AAKDUc3GRSFvFuL+o=; b=AqWzNjAyQJFch6X6QEry9TBZitddu4B8gfwpnpEWXFbBeaDBZAM/3dkYIL8g5dXYvz G6pL5QwSyq1lsq7U+nUgYj3kyMQUA+HO7+oqSa/A73tY5WhucDgh2R+Cl6qMJuegqu1f tzYUZrz8oGUyxEz/GqhpFiQn7DM/0cMoOKqJ/3ohqNB1icXj3ZUcT0028BvexBTioNLU BeIEXW4jhx08QvU9R3DJN26jaGFRVw6wN5Mdcrs+Vr6L6A5CR1V69RqKO1XMFkA2Fhiq 4aT1+1SnGl7xESKSrRBMouQFjpptUiL7nMcXk3XlmQDYExE4GfofOpPioqleUQfSytSh bEEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=h+2k6EJSvR4DTnQptNA/N/mTK2AAKDUc3GRSFvFuL+o=; b=CtFUn3MxT/5zOap4yscTr7O13bXon6M6LzbHqjtt6vrEWgFRCiQdqBDYHXbBqdFki/ RGw9sLgPEovwP09KWqLhMeRpVuUK7ldvMZfCO0QncjnUKWCyF7+d+lD1pbiOgRcHksfr yz1fK+bxKJ3mfckrRbhOLHjAi2oXrbK5iYXkeyUIIaplHeC7fWiE/fCpYtBuplah9fr5 KIwfBwhl5sKjSbfG/qfax3OQjJPAsp0WUwQ/lp8LZdx0e2Og2zLZNWvLChD5s1i2sAI8 uT1LuefYDyW5lQztQugjOnSXAYMGoTzOw/zRbiYacxU2nJG63OExfOUpl02O912G3bDx AmVQ== X-Gm-Message-State: APjAAAXJWuegEKLQCxsxTrBTmB9QvGk5zy46d5plFpY5+2zH8Gu9yrIl UDtbS4ZgaRozJWmBLmOqCsPzDCMyCWvq+jfwoMeVlAEm X-Google-Smtp-Source: APXvYqz8Rjwq0RMFdc4mzItDyHuBrJgIQi+JPMqQjSweD9rMWXaHkyu3n+iGvHcw+d9898Ytw2cf9fIaDCt8jNZNAv0= X-Received: by 2002:a17:90a:ac13:: with SMTP id o19mr17895531pjq.143.1561792154672; Sat, 29 Jun 2019 00:09:14 -0700 (PDT) MIME-Version: 1.0 From: "=?UTF-8?B?Q3PDoW55aSBQw6Fs?= (csanyipal AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Sat, 29 Jun 2019 09:09:03 +0200 Message-ID: Subject: [geda-help] How to name footprint for a pushbutton switch? To: gEDA Help Content-Type: text/plain; charset="UTF-8" Reply-To: geda-help AT delorie DOT com 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: 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=pwr T 41443 50250 5 10 1 1 180 6 1 pinlabel=T T 41357 50504 5 10 1 1 180 0 1 pinnumber=3 T 41400 50700 5 10 0 0 0 0 1 pinseq=3 } P 42600 50600 42600 50300 1 0 0 { T 42600 50700 5 10 0 0 0 0 1 pintype=pwr T 42442 50250 5 10 1 1 180 6 1 pinlabel=T T 42738 50500 5 10 1 1 180 0 1 pinnumber=1 T 42600 50700 5 10 0 0 0 0 1 pinseq=1 } P 41400 48000 41400 48300 1 0 0 { T 41400 47900 5 10 0 0 0 0 1 pintype=pwr T 41553 48476 5 10 1 1 180 0 1 pinlabel=T T 42738 50500 5 10 1 1 180 0 1 pinnumber=1 T 42600 50700 5 10 0 0 0 0 1 pinseq=1 } P 41400 48000 41400 48300 1 0 0 { T 41400 47900 5 10 0 0 0 0 1 pintype=pwr T 41553 48476 5 10 1 1 180 0 1 pinlabel=T T 41251 48229 5 10 1 1 180 6 1 pinnumber=4 T 41400 47900 5 10 0 0 0 0 1 pinseq=4 } P 42600 48000 42600 48300 1 0 0 { T 42600 47900 5 10 0 0 0 0 1 pintype=pwr T 42556 48480 5 10 1 1 180 0 1 pinlabel=T T 42639 48234 5 10 1 1 180 6 1 pinnumber=2 T 42600 47900 5 10 0 0 0 0 1 pinseq=2 } T 42900 49200 8 10 1 1 0 0 1 device=SWITCH T 42900 49500 8 10 1 1 0 0 1 description=Normally open pushbutton switch with 4 terminals. T 42900 49800 8 10 1 1 0 0 1 author=Csanyi Pal csanyipal AT gmail DOT com T 42900 48900 8 10 1 1 0 0 1 dist-license=GPL, http://www.gnu.org/licenses/gpl.html 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! -- Best, Pali