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

Merge pull request from poeschlr/finish_pr456

Add ALPS SKRK series button footprint (finish )
This commit is contained in:
Stefan 2019-01-01 20:28:59 +01:00 committed by GitHub
commit eb4613bcb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,36 @@
(module SW_Push_SPST_NO_Alps_SKRK (layer F.Cu) (tedit 5C2A8900)
(descr http://www.alps.com/prod/info/E/HTML/Tact/SurfaceMount/SKRK/SKRKAHE020.html)
(tags "SMD SMT button")
(attr smd)
(fp_text reference REF** (at 0 -2.25) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_Push_SPST_NO_Alps_SKRK (at 0 2.5) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.07 -1.57) (end 2.07 -1.57) (layer F.SilkS) (width 0.12))
(fp_line (start 2.07 1.27) (end 2.07 1.57) (layer F.SilkS) (width 0.12))
(fp_line (start 2.07 1.57) (end -2.07 1.57) (layer F.SilkS) (width 0.12))
(fp_line (start -2.07 -1.27) (end -2.07 -1.57) (layer F.SilkS) (width 0.12))
(fp_circle (center 0 0) (end 1 0) (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 -2.75 -1.7) (end 2.75 -1.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.75 -1.7) (end 2.75 1.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.75 1.7) (end -2.75 1.7) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.75 1.7) (end -2.75 -1.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.95 1.45) (end -1.95 1.45) (layer F.Fab) (width 0.1))
(fp_line (start -1.95 1.45) (end -1.95 -1.45) (layer F.Fab) (width 0.1))
(fp_line (start -1.95 -1.45) (end 1.95 -1.45) (layer F.Fab) (width 0.1))
(fp_line (start 1.95 -1.45) (end 1.95 1.45) (layer F.Fab) (width 0.1))
(fp_line (start -2.07 1.57) (end -2.07 1.27) (layer F.SilkS) (width 0.12))
(fp_line (start 2.07 -1.57) (end 2.07 -1.27) (layer F.SilkS) (width 0.12))
(pad 2 smd roundrect (at 2.1 0) (size 0.8 2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
(pad 1 smd roundrect (at -2.1 0) (size 0.8 2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
(model ${KISYS3DMOD}/Button_Switch_SMD.3dshapes/SW_Push_SPST_NO_Alps_SKRK.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)