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

Button_Switch_SMD: Add KSC7 button from CK switches ()

* Button_Switch_SMD: Add KSC7 button from CK switches

* Button_Switch_SMD: Add KSC6 from CK switches

* Button_Switch_SMD: Rename KSC6 and KSC7 buttons

* Button_Switch_SMD: Fix pad sie in KSC6 and KSC7 buttons

* Button_Switch_SMD: Fix circle size in KSC6 button

* Button_Switch_SMD: Fix silkscreen offset in KSC6 and KSC7

* Button_Switch_SMD: Fix courtyard in KSC6 and KSC7

* Button_Switch_SMD: Fix KSC button naming

* Button_Switch_SMD: Fix pad possitioning and courtyard in KSC devices
This commit is contained in:
Antonio Vazquez 2019-02-13 18:27:37 +01:00 committed by evanshultz
parent e3b3757cd5
commit e184fb1318
2 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,40 @@
(module SW_Push_1P1T_NO_CK_KSC6xxJ (layer F.Cu) (tedit 5C63FDBF)
(descr "CK components KSC6 tactile switch https://www.ckswitches.com/media/1972/ksc6.pdf")
(tags "tactile switch ksc6")
(attr smd)
(fp_text reference REF** (at 0 4.24) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_Push_1P1T_NO_CK_KSC6xxJ (at 0 -4.23) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -3.1 -3.1) (end 3.1 -3.1) (layer F.Fab) (width 0.1))
(fp_line (start 3.1 -3.1) (end 3.1 3.1) (layer F.Fab) (width 0.1))
(fp_line (start 3.1 3.1) (end -3.1 3.1) (layer F.Fab) (width 0.1))
(fp_line (start -3.1 3.1) (end -3.1 -3.1) (layer F.Fab) (width 0.1))
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -4.55 -3.35) (end 4.55 -3.35) (layer F.CrtYd) (width 0.05))
(fp_line (start 4.55 -3.35) (end 4.55 3.35) (layer F.CrtYd) (width 0.05))
(fp_line (start 4.55 3.35) (end -4.55 3.35) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.55 3.35) (end -4.55 -3.35) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end 1.45 0) (layer F.Fab) (width 0.1))
(fp_line (start -3.21 2.8) (end -3.21 3.21) (layer F.SilkS) (width 0.12))
(fp_line (start -3.21 3.21) (end 3.21 3.21) (layer F.SilkS) (width 0.12))
(fp_line (start 3.21 3.21) (end 3.21 2.93) (layer F.SilkS) (width 0.12))
(fp_line (start 3.21 1.2) (end 3.21 -1.2) (layer F.SilkS) (width 0.12))
(fp_line (start 3.21 -2.8) (end 3.21 -3.21) (layer F.SilkS) (width 0.12))
(fp_line (start 3.21 -3.21) (end -3.21 -3.21) (layer F.SilkS) (width 0.12))
(fp_line (start -3.21 -3.21) (end -3.21 -2.8) (layer F.SilkS) (width 0.12))
(fp_line (start -3.21 -1.2) (end -3.21 1.2) (layer F.SilkS) (width 0.12))
(pad 1 smd rect (at -2.9 -2) (size 2.8 1) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at 2.9 -2) (size 2.8 1) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -2.9 2) (size 2.8 1) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at 2.9 2) (size 2.8 1) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/Button_Switch_SMD.3dshapes/SW_push_1P1T_NO_CK_KSC6xxJxxx.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)

View File

@ -0,0 +1,40 @@
(module SW_Push_1P1T_NO_CK_KSC7xxJ (layer F.Cu) (tedit 5C63FE2A)
(descr "CK components KSC7 tactile switch https://www.ckswitches.com/media/1973/ksc7.pdf")
(tags "tactile switch ksc7")
(attr smd)
(fp_text reference REF** (at 0 4.24) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_Push_1P1T_NO_CK_KSC7xxJ (at 0 -4.23) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -3.1 -3.1) (end 3.1 -3.1) (layer F.Fab) (width 0.1))
(fp_line (start 3.1 -3.1) (end 3.1 3.1) (layer F.Fab) (width 0.1))
(fp_line (start 3.1 3.1) (end -3.1 3.1) (layer F.Fab) (width 0.1))
(fp_line (start -3.1 3.1) (end -3.1 -3.1) (layer F.Fab) (width 0.1))
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -4.55 -3.35) (end 4.55 -3.35) (layer F.CrtYd) (width 0.05))
(fp_line (start 4.55 -3.35) (end 4.55 3.35) (layer F.CrtYd) (width 0.05))
(fp_line (start 4.55 3.35) (end -4.55 3.35) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.55 3.35) (end -4.55 -3.35) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end 1.5 0) (layer F.Fab) (width 0.1))
(fp_line (start -3.21 2.8) (end -3.21 3.21) (layer F.SilkS) (width 0.12))
(fp_line (start -3.21 3.21) (end 3.21 3.21) (layer F.SilkS) (width 0.12))
(fp_line (start 3.21 3.21) (end 3.21 2.93) (layer F.SilkS) (width 0.12))
(fp_line (start 3.21 1.2) (end 3.21 -1.2) (layer F.SilkS) (width 0.12))
(fp_line (start 3.21 -2.8) (end 3.21 -3.21) (layer F.SilkS) (width 0.12))
(fp_line (start 3.21 -3.21) (end -3.21 -3.21) (layer F.SilkS) (width 0.12))
(fp_line (start -3.21 -3.21) (end -3.21 -2.8) (layer F.SilkS) (width 0.12))
(fp_line (start -3.21 -1.2) (end -3.21 1.2) (layer F.SilkS) (width 0.12))
(pad 1 smd rect (at -2.9 -2) (size 2.8 1) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at 2.9 -2) (size 2.8 1) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -2.9 2) (size 2.8 1) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at 2.9 2) (size 2.8 1) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/Button_Switch_SMD.3dshapes/SW_push_1P1T_NO_CK_KSC7xxJxxx.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)