7
mirror of https://gitlab.com/kicad/libraries/kicad-footprints.git synced 2025-04-24 00:33:25 +00:00

Button_Switch_THT: Add CK OS102011MS2QN1 footprint ()

* Button_Switch_THT: Add CK OS102011MS2QN1 footprint

* Button_Switch_THT: Rename OS1020 device

* Button_Switch_THT: Fix pad alignment in OS1020 device

* Button_Switch_THT: Fix silks offset in OS1020 device

* Button_Switch_THT: Fix pin 1 marker in OS1020 device
This commit is contained in:
Antonio Vazquez 2019-02-12 17:39:48 +01:00 committed by evanshultz
parent c7913d2e7f
commit aaea4cd66c

View File

@ -0,0 +1,50 @@
(module SW_Slide_1P2T_CK_OS102011MS2Q (layer F.Cu) (tedit 5C5044D5)
(descr "CuK miniature slide switch, OS series, SPDT, https://www.ckswitches.com/media/1428/os.pdf")
(tags "switch SPDT")
(fp_text reference REF** (at 3.99 -2.99) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_Slide_1P2T_CK_OS102011MS2Q (at 2 3) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 0.5 -2.15) (end 6.3 -2.15) (layer F.Fab) (width 0.1))
(fp_line (start 6.3 -2.15) (end 6.3 2.15) (layer F.Fab) (width 0.1))
(fp_line (start 6.3 2.15) (end -2.3 2.15) (layer F.Fab) (width 0.1))
(fp_line (start -2.3 2.15) (end -2.3 -2.15) (layer F.Fab) (width 0.1))
(fp_line (start 0 -1) (end 4 -1) (layer F.Fab) (width 0.1))
(fp_line (start 4 -1) (end 4 1) (layer F.Fab) (width 0.1))
(fp_line (start 0 1) (end 4 1) (layer F.Fab) (width 0.1))
(fp_line (start 0 -1) (end 0 1) (layer F.Fab) (width 0.1))
(fp_line (start 0.66 -1) (end 0.66 1) (layer F.Fab) (width 0.1))
(fp_line (start 1.34 -1) (end 1.34 1) (layer F.Fab) (width 0.1))
(fp_line (start 2 -1) (end 2 1) (layer F.Fab) (width 0.1))
(fp_line (start -2.3 -2.15) (end -0.5 -2.15) (layer F.Fab) (width 0.1))
(fp_line (start -2.41 -2.26) (end 6.41 -2.26) (layer F.SilkS) (width 0.12))
(fp_line (start 6.41 -2.26) (end 6.41 -1.95) (layer F.SilkS) (width 0.12))
(fp_line (start 6.41 2.26) (end -2.41 2.26) (layer F.SilkS) (width 0.12))
(fp_line (start -2.41 -1.95) (end -2.41 -2.26) (layer F.SilkS) (width 0.12))
(fp_line (start -2.41 2.26) (end -2.41 1.95) (layer F.SilkS) (width 0.12))
(fp_line (start 6.41 2.26) (end 6.41 1.95) (layer F.SilkS) (width 0.12))
(fp_text user %R (at 3.99 -2.99) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -3.45 -2.4) (end 7.45 -2.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 7.45 -2.4) (end 7.45 2.4) (layer B.CrtYd) (width 0.05))
(fp_line (start 7.45 2.4) (end -3.45 2.4) (layer B.CrtYd) (width 0.05))
(fp_line (start -3.45 2.4) (end -3.45 -2.4) (layer B.CrtYd) (width 0.05))
(fp_line (start -0.5 -2.15) (end 0 -1.65) (layer F.Fab) (width 0.1))
(fp_line (start 0 -1.65) (end 0.5 -2.15) (layer F.Fab) (width 0.1))
(fp_line (start -0.5 -2.96) (end 0 -2.46) (layer F.SilkS) (width 0.12))
(fp_line (start 0 -2.46) (end 0.5 -2.96) (layer F.SilkS) (width 0.12))
(fp_line (start 0.5 -2.96) (end -0.5 -2.96) (layer F.SilkS) (width 0.12))
(pad 1 thru_hole rect (at 0 0) (size 1.5 2.5) (drill 0.8) (layers *.Cu *.Mask))
(pad 2 thru_hole oval (at 2 0) (size 1.5 2.5) (drill 0.8) (layers *.Cu *.Mask))
(pad 3 thru_hole oval (at 4 0) (size 1.5 2.5) (drill 0.8) (layers *.Cu *.Mask))
(pad "" thru_hole oval (at -2.1 0) (size 2.2 3.5) (drill 1.5) (layers *.Cu *.Mask))
(pad "" thru_hole oval (at 6.1 0) (size 2.2 3.5) (drill 1.5) (layers *.Cu *.Mask))
(model ${KISYS3DMOD}/Button_Switch_THT.3dshapes/SW_Slide_1P2T_CK_OS102011MS2Q.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)