Create XKB_TS-1187A.kicad_mod

This commit is contained in:
Zane Kaminski 2021-02-04 22:19:13 -05:00
parent 9d4c9d28e9
commit e819d4ccbf

40
XKB_TS-1187A.kicad_mod Normal file
View File

@ -0,0 +1,40 @@
(module XKB_TS-1187A (layer F.Cu) (tedit 601CAD3D)
(descr "XKB Components SPST SMD TS-1187A Series 5.1mm Tact Switch")
(tags "SPST Button Switch")
(attr smd)
(fp_text reference REF** (at 0 0) (layer F.Fab)
(effects (font (size 0.8128 0.8128) (thickness 0.2032)))
)
(fp_text value XKB_TS-1187A (at 0 3.7) (layer F.Fab)
(effects (font (size 0.8128 0.8128) (thickness 0.2032)))
)
(fp_text user %R (at 0 0) (layer F.SilkS)
(effects (font (size 0.8128 0.8128) (thickness 0.2032)))
)
(fp_line (start -2.55 -2.55) (end -2.55 2.55) (layer F.Fab) (width 0.1))
(fp_line (start -2.55 2.55) (end 2.55 2.55) (layer F.Fab) (width 0.1))
(fp_line (start 2.55 2.55) (end 2.55 -2.55) (layer F.Fab) (width 0.1))
(fp_line (start 2.55 -2.55) (end -2.55 -2.55) (layer F.Fab) (width 0.1))
(fp_line (start 4.25 3) (end 4.25 -3) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.25 -3) (end -4.25 3) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.25 3) (end 4.25 3) (layer F.CrtYd) (width 0.05))
(fp_line (start -4.25 -3) (end 4.25 -3) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.8 -2.8) (end 2.8 -2.6) (layer F.SilkS) (width 0.12))
(fp_line (start -2.8 -2.6) (end -2.8 -2.8) (layer F.SilkS) (width 0.12))
(fp_line (start 2.8 -1.1) (end 2.8 1.1) (layer F.SilkS) (width 0.12))
(fp_line (start -2.8 -2.8) (end 2.8 -2.8) (layer F.SilkS) (width 0.12))
(fp_line (start -2.8 -1.1) (end -2.8 1.1) (layer F.SilkS) (width 0.12))
(fp_circle (center 0 0) (end 1 0) (layer F.Fab) (width 0.1))
(fp_line (start 2.8 2.8) (end -2.8 2.8) (layer F.SilkS) (width 0.12))
(fp_line (start 2.8 2.6) (end 2.8 2.8) (layer F.SilkS) (width 0.12))
(fp_line (start -2.8 2.8) (end -2.8 2.6) (layer F.SilkS) (width 0.12))
(pad 2 smd roundrect (at -3.25 1.85) (size 1.5 1) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2))
(pad 1 smd roundrect (at -3.25 -1.85) (size 1.5 1) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2))
(pad 1 smd roundrect (at 3.25 -1.85) (size 1.5 1) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2))
(pad 2 smd roundrect (at 3.25 1.85) (size 1.5 1) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2))
(model ${KISYS3DMOD}/Button_Switch_SMD.3dshapes/SW_SPST_PTS645.wrl
(at (xyz 0 0 0))
(scale (xyz 0.825 0.825 0.5))
(rotate (xyz 0 0 0))
)
)