Add 3x4mm tactile push button footprint

This commit is contained in:
Thomas Schwery 2018-08-31 11:59:25 +02:00
parent dbfa76bcbb
commit eeb929ef57

View file

@ -0,0 +1,36 @@
(module SW_TACT_3x4_2pins (layer F.Cu) (tedit 5B890D63)
(descr "Ultra-small-sized Tactile Switch with High Contact Reliability, Top-actuated Model, without Ground Terminal, without Boss")
(tags "Tactile Switch")
(attr smd)
(fp_text reference REF** (at 0 -2.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW_TACT_3x4_2pins (at 0 2.5) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 -2.5) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.75 1.65) (end 2.75 1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.75 1.65) (end 2.75 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.75 -1.65) (end -2.75 -1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.75 -1.65) (end -2.75 1.65) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.65 1.1) (end -1.65 1.4) (layer F.SilkS) (width 0.12))
(fp_line (start -1.65 1.4) (end 1.65 1.4) (layer F.SilkS) (width 0.12))
(fp_line (start 1.65 1.4) (end 1.65 1.1) (layer F.SilkS) (width 0.12))
(fp_line (start -1.65 -1.1) (end -1.65 -1.4) (layer F.SilkS) (width 0.12))
(fp_line (start -1.65 -1.4) (end 1.65 -1.4) (layer F.SilkS) (width 0.12))
(fp_line (start 1.65 -1.4) (end 1.65 -1.1) (layer F.SilkS) (width 0.12))
(fp_line (start -1.5 -1.25) (end 1.5 -1.25) (layer F.Fab) (width 0.1))
(fp_line (start 1.5 -1.25) (end 1.5 1.25) (layer F.Fab) (width 0.1))
(fp_line (start 1.5 1.25) (end -1.5 1.25) (layer F.Fab) (width 0.1))
(fp_line (start -1.5 1.25) (end -1.5 -1.25) (layer F.Fab) (width 0.1))
(fp_circle (center 0 0) (end 0.75 0) (layer F.Fab) (width 0.1))
(pad 1 smd rect (at -2.25 0) (size 0.9 1.7) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at 2.25 0) (size 0.9 1.7) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/Button_Switch_SMD.3dshapes/SW_SPST_B3U-1000P.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)