From bb0d8a937a8fad9d4de9d98959c94486f8dc0f69 Mon Sep 17 00:00:00 2001 From: Michael Bemmerl Date: Tue, 17 Mar 2020 01:17:07 +0000 Subject: [PATCH] Add switch C&K JS202011JCQN (#2127) * Add SMD DPDT switch C&K JS202011JCQN. * Swapped the pad numbers. This makes pin 1 the top left pad. --- .../SW_DPDT_CK_JS202011JCQN.kicad_mod | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Button_Switch_SMD.pretty/SW_DPDT_CK_JS202011JCQN.kicad_mod diff --git a/Button_Switch_SMD.pretty/SW_DPDT_CK_JS202011JCQN.kicad_mod b/Button_Switch_SMD.pretty/SW_DPDT_CK_JS202011JCQN.kicad_mod new file mode 100644 index 00000000000..1751cfbb8b5 --- /dev/null +++ b/Button_Switch_SMD.pretty/SW_DPDT_CK_JS202011JCQN.kicad_mod @@ -0,0 +1,48 @@ +(module SW_DPDT_CK_JS202011JCQN (layer F.Cu) (tedit 5E695155) + (descr "Sub-miniature slide switch, vertical, SMT J bend https://dznh3ojzb2azq.cloudfront.net/products/Slide/JS/documents/datasheet.pdf") + (tags "switch DPDT SMT") + (attr smd) + (fp_text reference REF** (at 0 -3.05) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value SW_DPDT_CK_JS202011JCQN (at 0 3.15) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -4.5 -1.8) (end 4.5 -1.8) (layer F.Fab) (width 0.1)) + (fp_line (start 4.5 -1.8) (end 4.5 1.8) (layer F.Fab) (width 0.1)) + (fp_line (start 4.5 1.8) (end -4.5 1.8) (layer F.Fab) (width 0.1)) + (fp_line (start -4.5 1.8) (end -4.5 -1.8) (layer F.Fab) (width 0.1)) + (fp_text user %R (at 0 -3.05) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start 4.61 -1.91) (end 4.61 1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.26 -1.91) (end -4.61 -1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start -4.61 -1.91) (end -4.61 1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start -4.61 1.91) (end -3.26 1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.76 -1.91) (end -1.74 -1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.61 -1.91) (end 3.26 -1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start 4.61 1.91) (end 3.26 1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.74 -1.91) (end 0.76 -1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.76 1.91) (end -1.74 1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start 1.74 1.91) (end 0.76 1.91) (layer F.SilkS) (width 0.12)) + (fp_line (start -1.75 -0.75) (end 1.75 -0.75) (layer F.Fab) (width 0.1)) + (fp_line (start 1.75 -0.75) (end 1.75 0.75) (layer F.Fab) (width 0.1)) + (fp_line (start 1.75 0.75) (end -1.75 0.75) (layer F.Fab) (width 0.1)) + (fp_line (start -1.75 -0.75) (end -1.75 0.75) (layer F.Fab) (width 0.1)) + (fp_line (start -0.25 -0.75) (end -0.25 0.75) (layer F.Fab) (width 0.1)) + (fp_line (start 4.75 -2.25) (end 4.75 2.25) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.75 -2.25) (end -4.75 2.25) (layer F.CrtYd) (width 0.05)) + (fp_line (start -4.75 -2.25) (end 4.75 -2.25) (layer F.CrtYd) (width 0.05)) + (fp_line (start 4.75 2.25) (end -4.75 2.25) (layer F.CrtYd) (width 0.05)) + (pad 4 smd rect (at -2.5 1.2) (size 1 1.6) (layers F.Cu F.Paste F.Mask)) + (pad 5 smd rect (at 0 1.2) (size 1 1.6) (layers F.Cu F.Paste F.Mask)) + (pad 6 smd rect (at 2.5 1.2) (size 1 1.6) (layers F.Cu F.Paste F.Mask)) + (pad 1 smd rect (at -2.5 -1.2) (size 1 1.6) (layers F.Cu F.Paste F.Mask)) + (pad 2 smd rect (at 0 -1.2) (size 1 1.6) (layers F.Cu F.Paste F.Mask)) + (pad 3 smd rect (at 2.5 -1.2) (size 1 1.6) (layers F.Cu F.Paste F.Mask)) + (model ${KISYS3DMOD}/Button_Switch_SMD.3dshapes/SW_DPDT_CK_JS202011JCQN.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) +)