From 0806feeba8813d42616a77ba7d7856af582740e0 Mon Sep 17 00:00:00 2001 From: Amand Tihon Date: Thu, 28 Mar 2019 15:12:34 +0100 Subject: [PATCH] Start adding footprints --- footprints/C100.fp | 11 ++++++++++ footprints/D300.fp | 20 +++++++++++++++++ footprints/DIP14.fp | 28 ++++++++++++++++++++++++ footprints/H1x2.fp | 24 +++++++++++++++++++++ footprints/H1x3.fp | 31 ++++++++++++++++++++++++++ footprints/LED5mm.fp | 15 +++++++++++++ footprints/Micro_switch_6x6mm.fp | 19 ++++++++++++++++ footprints/R400.fp | 18 ++++++++++++++++ footprints/TO220S.fp | 18 ++++++++++++++++ footprints/screw_5mm_2.fp | 31 ++++++++++++++++++++++++++ footprints/screw_5mm_3.fp | 37 ++++++++++++++++++++++++++++++++ 11 files changed, 252 insertions(+) create mode 100644 footprints/C100.fp create mode 100644 footprints/D300.fp create mode 100644 footprints/DIP14.fp create mode 100644 footprints/H1x2.fp create mode 100644 footprints/H1x3.fp create mode 100644 footprints/LED5mm.fp create mode 100644 footprints/Micro_switch_6x6mm.fp create mode 100644 footprints/R400.fp create mode 100644 footprints/TO220S.fp create mode 100644 footprints/screw_5mm_2.fp create mode 100644 footprints/screw_5mm_3.fp diff --git a/footprints/C100.fp b/footprints/C100.fp new file mode 100644 index 0000000..4b046da --- /dev/null +++ b/footprints/C100.fp @@ -0,0 +1,11 @@ + +Element["" "" "C000" "" 23000 32000 3000 3000 0 100 ""] +( + Pin[-5000 0 6500 18000 7100 1500 "1" "1" "edge2"] + Pin[5000 0 6500 18000 7100 1500 "2" "2" "edge2"] + ElementLine [-1000 0 -5000 0 1500] + ElementLine [5000 0 1000 0 1500] + ElementLine [-1000 -5000 -1000 5000 1500] + ElementLine [1000 -5000 1000 5000 1500] + + ) diff --git a/footprints/D300.fp b/footprints/D300.fp new file mode 100644 index 0000000..acaf0ce --- /dev/null +++ b/footprints/D300.fp @@ -0,0 +1,20 @@ +# author: Amand Tihon +# email: amand.tihon@alrj.org +# dist-license: GPL3, http://www.gnu.org/licenses/gpl-3.0.txt +# use-license: unlimited + + +Element["" "Diode, 300 mil spacing" "D000" "" 30000 20000 -7500 -10000 0 100 ""] +( + Pin[-15000 0 8000 2000 8600 1500 "1" "1" "edge2"] + Pin[15000 0 8000 2000 8600 1500 "2" "2" "edge2"] + ElementLine [-7500 -2500 -7500 2500 1500] + ElementLine [-7500 2500 7500 2500 1500] + ElementLine [7500 2500 7500 -2500 1500] + ElementLine [7500 -2500 -7500 -2500 1500] + ElementLine [7500 0 15000 0 1500] + ElementLine [-15000 0 -7500 0 1500] + ElementLine [6000 -1000 6000 1000 3000] + ElementLine [5000 -2500 5000 2500 1500] + + ) diff --git a/footprints/DIP14.fp b/footprints/DIP14.fp new file mode 100644 index 0000000..ea97cbf --- /dev/null +++ b/footprints/DIP14.fp @@ -0,0 +1,28 @@ +# author: Amand Tihon +# email: amand.tihon@alrj.org +# dist-license: GPL3, http://www.gnu.org/licenses/gpl-3.0.txt +# use-license: unlimited + +Element[ "" "14-pins Dual in-line package, narrow (300 mil)" "U000" "" 20000 150000 -5000 -45000 0 100 ""] +( + Pin[-15000 -30000 8000 2000 8800 1500 "1" "1" "square"] + Pin[-15000 -20000 8000 2000 8800 1500 "2" "2" ""] + Pin[-15000 -10000 8000 2000 8800 1500 "3" "3" ""] + Pin[-15000 0 8000 2000 8800 1500 "4" "4" ""] + Pin[-15000 10000 8000 2000 8800 1500 "5" "5" ""] + Pin[-15000 20000 8000 2000 8800 1500 "6" "6" ""] + Pin[-15000 30000 8000 2000 8800 1500 "7" "7" ""] + Pin[15000 30000 8000 2000 8800 1500 "8" "8" ""] + Pin[15000 20000 8000 2000 8800 1500 "9" "9" ""] + Pin[15000 10000 8000 2000 8800 1500 "10" "10" ""] + Pin[15000 0 8000 2000 8800 1500 "11" "11" ""] + Pin[15000 -10000 8000 2000 8800 1500 "12" "12" ""] + Pin[15000 -20000 8000 2000 8800 1500 "13" "13" ""] + Pin[15000 -30000 8000 2000 8800 1500 "14" "14" ""] + ElementLine[-12500 -37500 -5000 -37500 1500] + ElementLine[5000 -37500 12500 -37500 1500] + ElementLine[-12500 -37500 -12500 37500 1500] + ElementLine[-12500 37500 12500 37500 1500] + ElementLine[12500 -37500 12500 37500 1500] + ElementArc[0 -37500 5000 5000 0 180 1500] +) diff --git a/footprints/H1x2.fp b/footprints/H1x2.fp new file mode 100644 index 0000000..e8ee9f5 --- /dev/null +++ b/footprints/H1x2.fp @@ -0,0 +1,24 @@ +# author: Amand Tihon +# email: amand.tihon@alrj.org +# dist-license: GPL3, http://www.gnu.org/licenses/gpl-3.0.txt +# use-license: unlimited + +Element[ "" "1x2 pins header connector, DIP pin numbering" "H000" "" 20000 10000 -7500 -2500 3 100 ""] +( + Pin[0 -5000 8000 2000 8800 1500 "1" "1" "square"] + Pin[0 5000 8000 2000 8800 1500 "2" "2" ""] + ElementLine[-2500 -10000 2500 -10000 1500] + ElementLine[-5000 -7500 -5000 -2500 1500] + ElementLine[-5000 -7500 -2500 -10000 1500] + ElementLine[-5000 -2500 -2500 0 1500] + ElementLine[-5000 2500 -5000 7500 1500] + ElementLine[-5000 2500 -2500 0 1500] + ElementLine[-5000 7500 -2500 10000 1500] + ElementLine[5000 -7500 5000 -2500 1500] + ElementLine[5000 -7500 2500 -10000 1500] + ElementLine[5000 -2500 2500 0 1500] + ElementLine[5000 2500 5000 7500 1500] + ElementLine[5000 2500 2500 0 1500] + ElementLine[5000 7500 2500 10000 1500] + ElementLine[-2500 10000 2500 10000 1500] +) diff --git a/footprints/H1x3.fp b/footprints/H1x3.fp new file mode 100644 index 0000000..bdeedb7 --- /dev/null +++ b/footprints/H1x3.fp @@ -0,0 +1,31 @@ +# author: Amand Tihon +# email: amand.tihon@alrj.org +# dist-license: GPL3, http://www.gnu.org/licenses/gpl-3.0.txt +# use-license: unlimited + +Element[ "" "1x3 pins header connector, DIP pin numbering" "H000" "" 20000 10000 -7500 -2500 3 100 ""] +( + Pin[0 -10000 8000 2000 8800 1500 "1" "1" "square"] + Pin[0 0 8000 2000 8800 1500 "2" "2" ""] + Pin[0 10000 8000 2000 8800 1500 "3" "3" ""] + ElementLine[-2500 -15000 2500 -15000 1500] + ElementLine[-5000 -12500 -5000 -7500 1500] + ElementLine[-5000 -12500 -2500 -15000 1500] + ElementLine[-5000 -7500 -2500 -5000 1500] + ElementLine[-5000 -2500 -5000 2500 1500] + ElementLine[-5000 -2500 -2500 -5000 1500] + ElementLine[-5000 2500 -2500 5000 1500] + ElementLine[-5000 7500 -5000 12500 1500] + ElementLine[-5000 7500 -2500 5000 1500] + ElementLine[-5000 12500 -2500 15000 1500] + ElementLine[5000 -12500 5000 -7500 1500] + ElementLine[5000 -12500 2500 -15000 1500] + ElementLine[5000 -7500 2500 -5000 1500] + ElementLine[5000 -2500 5000 2500 1500] + ElementLine[5000 -2500 2500 -5000 1500] + ElementLine[5000 2500 2500 5000 1500] + ElementLine[5000 7500 5000 12500 1500] + ElementLine[5000 7500 2500 5000 1500] + ElementLine[5000 12500 2500 15000 1500] + ElementLine[-2500 15000 2500 15000 1500] +) diff --git a/footprints/LED5mm.fp b/footprints/LED5mm.fp new file mode 100644 index 0000000..aeb1758 --- /dev/null +++ b/footprints/LED5mm.fp @@ -0,0 +1,15 @@ +# author: Amand Tihon +# email: amand.tihon@alrj.org +# dist-license: GPL3, http://www.gnu.org/licenses/gpl-3.0.txt +# use-license: unlimited + + +Element["" "5mm LED" "D000" "" 20000 20000 -10000 10000 0 100 ""] +( + Pin[5000 0 8000 2000 8600 1500 "1" "1" ""] + Pin[-5000 0 8000 2000 8600 1500 "2" "2" ""] + ElementLine [-8000 -6000 -8000 6000 1500] + ElementArc [0 0 10000 10000 37 286 1500] + ElementArc [0 0 7000 7000 0 360 1000] + + ) diff --git a/footprints/Micro_switch_6x6mm.fp b/footprints/Micro_switch_6x6mm.fp new file mode 100644 index 0000000..6eb9b5f --- /dev/null +++ b/footprints/Micro_switch_6x6mm.fp @@ -0,0 +1,19 @@ + +Element["" "Micro_switch_6x6mm" "" "" 4.3145mm 3.3145mm 0.0000 0.0000 0 100 ""] +( + Attribute("description" "Micro switch 6x6mm (tht 4.5x6.5mm)") + Attribute("author" "Darek Rudyj") + Attribute("use-license" "unlimited") + Attribute("dist-license" "GPL3") + Attribute("documentation" "http://www.schurter.com/Components/Switches/Printmount-Switches/LPH") + Pin[-3.2500mm -2.2500mm 1.6144mm 20.00mil 1.7668mm 0.8580mm "" "1" "square,edge2"] + Pin[-3.2500mm 2.2500mm 1.6144mm 20.00mil 1.7668mm 0.8580mm "" "3" "edge2"] + Pin[3.2500mm 2.2500mm 1.6144mm 20.00mil 1.7668mm 0.8580mm "" "4" "edge2"] + Pin[3.2500mm -2.2500mm 1.6144mm 20.00mil 1.7668mm 0.8580mm "" "2" "edge2"] + ElementLine [-2.1000mm -2.9000mm 2.9000mm -2.9000mm 10.00mil] + ElementLine [-2.9000mm 2.9000mm 2.9000mm 2.9000mm 10.00mil] + ElementLine [-2.9000mm -2.1000mm -2.9000mm 2.9000mm 10.00mil] + ElementLine [-2.9000mm -2.1000mm -2.1000mm -2.9000mm 10.00mil] + ElementLine [2.9000mm -2.9000mm 2.9000mm 2.9000mm 10.00mil] + + ) diff --git a/footprints/R400.fp b/footprints/R400.fp new file mode 100644 index 0000000..931a2a1 --- /dev/null +++ b/footprints/R400.fp @@ -0,0 +1,18 @@ +# author: Amand Tihon +# email: amand.tihon@alrj.org +# dist-license: GPL3, http://www.gnu.org/licenses/gpl-3.0.txt +# use-license: unlimited + + +Element["" "" "R000" "" 30000 20000 -2500 -2500 0 100 ""] +( + Pin[-20000 0 8000 2000 8600 1500 "1" "1" "edge2"] + Pin[20000 0 8000 2000 8600 1500 "2" "2" "edge2"] + ElementLine [-12500 -5000 12500 -5000 1500] + ElementLine [12500 -5000 12500 5000 1500] + ElementLine [12500 5000 -12500 5000 1500] + ElementLine [-12500 5000 -12500 -5000 1500] + ElementLine [-20000 0 -12500 0 1500] + ElementLine [12500 0 20000 0 1500] + + ) diff --git a/footprints/TO220S.fp b/footprints/TO220S.fp new file mode 100644 index 0000000..d76e052 --- /dev/null +++ b/footprints/TO220S.fp @@ -0,0 +1,18 @@ +# author: Amand Tihon +# email: amand.tihon@alrj.org +# dist-license: GPL3, http://www.gnu.org/licenses/gpl-3.0.txt +# use-license: unlimited + + +Element["" "" "Q000" "" 42500 37500 -2500 10000 0 100 ""] +( + Pin[-10000 0 9000 2000 9600 1500 "1" "1" "edge2"] + Pin[0 0 9000 2000 9600 1500 "2" "2" "edge2"] + Pin[10000 0 9000 2000 9600 1500 "3" "3" "edge2"] + ElementLine [-20000 -10000 20000 -10000 1500] + ElementLine [-20000 -5000 20000 -5000 1500] + ElementLine [-20000 -10000 -20000 7500 1500] + ElementLine [-20000 7500 20000 7500 1500] + ElementLine [20000 7500 20000 -10000 1500] + + ) diff --git a/footprints/screw_5mm_2.fp b/footprints/screw_5mm_2.fp new file mode 100644 index 0000000..b531ef6 --- /dev/null +++ b/footprints/screw_5mm_2.fp @@ -0,0 +1,31 @@ +# author: Amand Tihon +# email: amand.tihon@alrj.org +# dist-license: GPL3, http://www.gnu.org/licenses/gpl-3.0.txt +# use-license: unlimited + + +Element["" "2-pins screw terminal, 5mm spacing" "K000" "" 31496 29528 -17717 -1969 3 100 ""] +( + Pin[985 9842 8000 2000 8600 1500 "2" "2" ""] + Pin[985 -9843 8000 2000 8600 1500 "1" "1" ""] + ElementLine [-14763 19685 -14763 -19685 1500] + ElementLine [12796 -19685 12796 19685 1500] + ElementLine [-8858 -19685 -8858 19685 1500] + ElementLine [-14763 -19685 12796 -19685 1500] + ElementLine [-14763 19685 12796 19685 1500] + ElementLine [8859 -19685 8859 19685 1500] + ElementLine [2953 -15748 -5905 -6890 1500] + ElementLine [5906 -12796 5906 -12795 1500] + ElementLine [5906 -12795 -2952 -3937 1500] + ElementLine [2953 3937 -5905 12795 1500] + ElementLine [5906 6889 5906 6890 1500] + ElementLine [5906 6890 -2952 15748 1500] + ElementLine [-12795 -20670 -13779 -21654 1500] + ElementLine [-13779 -21654 -11811 -21654 1500] + ElementLine [-11811 -21654 -12795 -20670 1500] + ElementArc [-10826 -9843 984 984 0 360 500] + ElementArc [-10826 9842 984 984 0 360 500] + ElementArc [0 -9843 6890 6890 0 360 1500] + ElementArc [0 9842 6890 6890 0 360 1500] + + ) diff --git a/footprints/screw_5mm_3.fp b/footprints/screw_5mm_3.fp new file mode 100644 index 0000000..9d267a0 --- /dev/null +++ b/footprints/screw_5mm_3.fp @@ -0,0 +1,37 @@ +# author: Amand Tihon +# email: amand.tihon@alrj.org +# dist-license: GPL3, http://www.gnu.org/licenses/gpl-3.0.txt +# use-license: unlimited + + +Element["" "3-pins screw terminal, 5mm spacing" "K000" "" 28543 38386 -17716 -1968 3 100 ""] +( + Pin[0 0 8000 2000 8600 1500 "2" "2" ""] + Pin[0 19685 8000 2000 8600 1500 "3" "3" ""] + Pin[0 -19685 8000 2000 8600 1500 "1" "1" ""] + ElementLine [-15748 29528 -15748 -29527 1500] + ElementLine [11811 -29527 11811 29528 1500] + ElementLine [-9843 -29527 -9843 29528 1500] + ElementLine [-15748 -29527 11811 -29527 1500] + ElementLine [-15748 29528 11811 29528 1500] + ElementLine [7874 -29527 7874 29528 1500] + ElementLine [1968 -25590 -6890 -16732 1500] + ElementLine [4921 -22638 4921 -22637 1500] + ElementLine [4921 -22637 -3937 -13779 1500] + ElementLine [1968 -5905 -6890 2953 1500] + ElementLine [4921 -2953 4921 -2952 1500] + ElementLine [4921 -2952 -3937 5906 1500] + ElementLine [-13780 -30512 -14764 -31496 1500] + ElementLine [-14764 -31496 -12796 -31496 1500] + ElementLine [-12796 -31496 -13780 -30512 1500] + ElementLine [1968 13780 -6890 22638 1500] + ElementLine [4921 16732 4921 16733 1500] + ElementLine [4921 16733 -3937 25591 1500] + ElementArc [-11811 -19685 984 984 0 360 500] + ElementArc [-11811 0 984 984 0 360 500] + ElementArc [-11811 19685 984 984 0 360 500] + ElementArc [-985 -19685 6890 6890 0 360 1500] + ElementArc [-985 0 6890 6890 0 360 1500] + ElementArc [-985 19685 6890 6890 0 360 1500] + + ) -- 2.39.2