footprints: set TVS diode as SMD

It always defaults to through-hole for some reason.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2018-12-24 18:43:19 +08:00
parent 1fc4fb09eb
commit 18f4a1ddb6

View File

@ -1,21 +1,22 @@
(module TVS-11V (layer F.Cu) (tedit 5C20AD2D)
(module TVS-11V (layer F.Cu) (tedit 5C20B513)
(attr smd)
(fp_text reference D5 (at 0.3 0.6) (layer F.SilkS) hide
(effects (font (size 0.4 0.4) (thickness 0.1)))
)
(fp_text value D5V0L1B2LP3-7 (at -0.05 -0.3) (layer F.Fab)
(effects (font (size 0.127 0.127) (thickness 0.03175)))
)
(fp_line (start -0.525 0.225) (end -0.525 -0.225) (layer F.CrtYd) (width 0.05))
(fp_line (start 0.525 0.225) (end -0.525 0.225) (layer F.CrtYd) (width 0.05))
(fp_line (start 0.525 -0.225) (end 0.525 0.225) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.525 -0.225) (end 0.525 -0.225) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.275 0.125) (end -0.275 -0.125) (layer F.Fab) (width 0.1))
(fp_line (start 0.275 0.125) (end -0.275 0.125) (layer F.Fab) (width 0.1))
(fp_line (start 0.275 -0.125) (end 0.275 0.125) (layer F.Fab) (width 0.1))
(fp_line (start -0.275 -0.125) (end 0.275 -0.125) (layer F.Fab) (width 0.1))
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 0.1 0.1) (thickness 0.025)))
)
(fp_line (start -0.275 -0.125) (end 0.275 -0.125) (layer F.Fab) (width 0.1))
(fp_line (start 0.275 -0.125) (end 0.275 0.125) (layer F.Fab) (width 0.1))
(fp_line (start 0.275 0.125) (end -0.275 0.125) (layer F.Fab) (width 0.1))
(fp_line (start -0.275 0.125) (end -0.275 -0.125) (layer F.Fab) (width 0.1))
(pad 2 smd roundrect (at 0.3 0) (size 0.35 0.35) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
(fp_line (start -0.525 -0.225) (end 0.525 -0.225) (layer F.CrtYd) (width 0.05))
(fp_line (start 0.525 -0.225) (end 0.525 0.225) (layer F.CrtYd) (width 0.05))
(fp_line (start 0.525 0.225) (end -0.525 0.225) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.525 0.225) (end -0.525 -0.225) (layer F.CrtYd) (width 0.05))
(pad 1 smd roundrect (at -0.3 0) (size 0.35 0.35) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
(pad 2 smd roundrect (at 0.3 0) (size 0.35 0.35) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
)