Skip to content

Commit

Permalink
Merge pull request KiCad#19 from SchrodingersGat/sod-fix
Browse files Browse the repository at this point in the history
Improvements for SOD-xxx footprints
  • Loading branch information
pointhi authored Oct 2, 2016
2 parents 11ba18f + c87f1a6 commit 0a50345
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 21 deletions.
23 changes: 14 additions & 9 deletions SOD-123.kicad_mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(module SOD-123 (layer F.Cu) (tedit 5530FCB9)
(module SOD-123 (layer F.Cu) (tedit 5753A53E)
(descr SOD-123)
(tags SOD-123)
(attr smd)
Expand All @@ -8,18 +8,23 @@
(fp_text value SOD-123 (at 0 2.1) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 0.3175 0) (end 0.6985 0) (layer F.SilkS) (width 0.15))
(fp_line (start -0.6985 0) (end -0.3175 0) (layer F.SilkS) (width 0.15))
(fp_line (start -0.3175 0) (end 0.3175 -0.381) (layer F.SilkS) (width 0.15))
(fp_line (start 0.3175 -0.381) (end 0.3175 0.381) (layer F.SilkS) (width 0.15))
(fp_line (start 0.3175 0.381) (end -0.3175 0) (layer F.SilkS) (width 0.15))
(fp_line (start -0.3175 -0.508) (end -0.3175 0.508) (layer F.SilkS) (width 0.15))
(fp_line (start 0.25 0) (end 0.75 0) (layer F.Fab) (width 0.15))
(fp_line (start 0.25 0.4) (end -0.35 0) (layer F.Fab) (width 0.15))
(fp_line (start 0.25 -0.4) (end 0.25 0.4) (layer F.Fab) (width 0.15))
(fp_line (start -0.35 0) (end 0.25 -0.4) (layer F.Fab) (width 0.15))
(fp_line (start -0.35 0) (end -0.35 0.55) (layer F.Fab) (width 0.15))
(fp_line (start -0.35 0) (end -0.35 -0.55) (layer F.Fab) (width 0.15))
(fp_line (start -0.75 0) (end -0.35 0) (layer F.Fab) (width 0.15))
(fp_line (start -1.35 0.8) (end -1.35 -0.8) (layer F.Fab) (width 0.15))
(fp_line (start 1.35 0.8) (end -1.35 0.8) (layer F.Fab) (width 0.15))
(fp_line (start 1.35 -0.8) (end 1.35 0.8) (layer F.Fab) (width 0.15))
(fp_line (start -1.35 -0.8) (end 1.35 -0.8) (layer F.Fab) (width 0.15))
(fp_line (start -2.25 -1.05) (end 2.25 -1.05) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.25 -1.05) (end 2.25 1.05) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.25 1.05) (end -2.25 1.05) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.25 -1.05) (end -2.25 1.05) (layer F.CrtYd) (width 0.05))
(fp_line (start -2 0.9) (end 1.54 0.9) (layer F.SilkS) (width 0.15))
(fp_line (start -2 -0.9) (end 1.54 -0.9) (layer F.SilkS) (width 0.15))
(fp_line (start -2 0.9) (end 1 0.9) (layer F.SilkS) (width 0.15))
(fp_line (start -2 -0.9) (end 1 -0.9) (layer F.SilkS) (width 0.15))
(pad 1 smd rect (at -1.635 0) (size 0.91 1.22) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at 1.635 0) (size 0.91 1.22) (layers F.Cu F.Paste F.Mask))
(model ${KISYS3DMOD}/Diodes_SMD.3dshapes/SOD-123.wrl
Expand Down
18 changes: 11 additions & 7 deletions SOD-323.kicad_mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(module SOD-323 (layer F.Cu) (tedit 5530FC5E)
(module SOD-323 (layer F.Cu) (tedit 57A876D4)
(descr SOD-323)
(tags SOD-323)
(attr smd)
Expand All @@ -8,12 +8,16 @@
(fp_text value SOD-323 (at 0.1 1.9) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 0.25 0) (end 0.5 0) (layer F.SilkS) (width 0.15))
(fp_line (start -0.25 0) (end -0.5 0) (layer F.SilkS) (width 0.15))
(fp_line (start -0.25 0) (end 0.25 -0.35) (layer F.SilkS) (width 0.15))
(fp_line (start 0.25 -0.35) (end 0.25 0.35) (layer F.SilkS) (width 0.15))
(fp_line (start 0.25 0.35) (end -0.25 0) (layer F.SilkS) (width 0.15))
(fp_line (start -0.25 -0.35) (end -0.25 0.35) (layer F.SilkS) (width 0.15))
(fp_line (start 0.2 0) (end 0.45 0) (layer F.Fab) (width 0.15))
(fp_line (start 0.2 0.35) (end -0.3 0) (layer F.Fab) (width 0.15))
(fp_line (start 0.2 -0.35) (end 0.2 0.35) (layer F.Fab) (width 0.15))
(fp_line (start -0.3 0) (end 0.2 -0.35) (layer F.Fab) (width 0.15))
(fp_line (start -0.3 0) (end -0.5 0) (layer F.Fab) (width 0.15))
(fp_line (start -0.3 -0.35) (end -0.3 0.35) (layer F.Fab) (width 0.15))
(fp_line (start -0.85 0.65) (end -0.85 -0.65) (layer F.Fab) (width 0.15))
(fp_line (start 0.85 0.65) (end -0.85 0.65) (layer F.Fab) (width 0.15))
(fp_line (start 0.85 -0.65) (end 0.85 0.65) (layer F.Fab) (width 0.15))
(fp_line (start -0.85 -0.65) (end 0.85 -0.65) (layer F.Fab) (width 0.15))
(fp_line (start -1.5 -0.95) (end 1.5 -0.95) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.5 -0.95) (end 1.5 0.95) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.5 0.95) (end 1.5 0.95) (layer F.CrtYd) (width 0.05))
Expand Down
34 changes: 34 additions & 0 deletions SOD-323_HandSoldering.kicad_mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
(module SOD-323_HandSoldering (layer F.Cu) (tedit 57A875DC)
(descr SOD-323)
(tags SOD-323)
(attr smd)
(fp_text reference REF** (at 0 -1.85) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SOD-323_HandSoldering (at 0.1 1.9) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 0.2 0) (end 0.45 0) (layer F.Fab) (width 0.15))
(fp_line (start 0.2 0.35) (end -0.3 0) (layer F.Fab) (width 0.15))
(fp_line (start 0.2 -0.35) (end 0.2 0.35) (layer F.Fab) (width 0.15))
(fp_line (start -0.3 0) (end 0.2 -0.35) (layer F.Fab) (width 0.15))
(fp_line (start -0.3 0) (end -0.5 0) (layer F.Fab) (width 0.15))
(fp_line (start -0.3 -0.35) (end -0.3 0.35) (layer F.Fab) (width 0.15))
(fp_line (start -0.85 0.65) (end -0.85 -0.65) (layer F.Fab) (width 0.15))
(fp_line (start 0.85 0.65) (end -0.85 0.65) (layer F.Fab) (width 0.15))
(fp_line (start 0.85 -0.65) (end 0.85 0.65) (layer F.Fab) (width 0.15))
(fp_line (start -0.85 -0.65) (end 0.85 -0.65) (layer F.Fab) (width 0.15))
(fp_line (start -1.9 -0.95) (end 1.9 -0.95) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.9 -0.95) (end 1.9 0.95) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.9 0.95) (end 1.9 0.95) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.9 -0.95) (end -1.9 0.95) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.3 0.8) (end 0.8 0.8) (layer F.SilkS) (width 0.15))
(fp_line (start -1.3 -0.8) (end 0.8 -0.8) (layer F.SilkS) (width 0.15))
(pad 1 smd rect (at -1.25 0) (size 1 1) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at 1.25 0) (size 1 1) (layers F.Cu F.Paste F.Mask))
(model Diodes_SMD.3dshapes/SOD-323.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
24 changes: 19 additions & 5 deletions SOD-523.kicad_mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(module SOD-523 (layer F.Cu)
(module SOD-523 (layer F.Cu) (tedit 0)
(descr "http://www.diodes.com/datasheets/ap02001.pdf p.144")
(tags "Diode SOD523")
(attr smd)
Expand All @@ -8,8 +8,22 @@
(fp_text value SOD-523 (at 0 1.7) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -0.4 0.6) (end 1.15 0.6) (layer F.SilkS) (width 0.15))
(fp_line (start -0.4 -0.6) (end 1.15 -0.6) (layer F.SilkS) (width 0.15))
(pad 2 smd rect (at -0.7 0) (size 0.6 0.7) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at 0.7 0) (size 0.6 0.7) (layers F.Cu F.Paste F.Mask))
(fp_line (start 1.25 -0.75) (end 1.25 0.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.25 -0.75) (end 1.25 -0.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.25 0.75) (end -1.25 -0.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.25 0.75) (end -1.25 0.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 0.1 0) (end 0.25 0) (layer F.Fab) (width 0.15))
(fp_line (start 0.1 -0.2) (end -0.2 0) (layer F.Fab) (width 0.15))
(fp_line (start 0.1 0.2) (end 0.1 -0.2) (layer F.Fab) (width 0.15))
(fp_line (start -0.2 0) (end 0.1 0.2) (layer F.Fab) (width 0.15))
(fp_line (start -0.2 0) (end -0.35 0) (layer F.Fab) (width 0.15))
(fp_line (start -0.2 0.2) (end -0.2 -0.2) (layer F.Fab) (width 0.15))
(fp_line (start 0.6 -0.4) (end 0.6 0.4) (layer F.Fab) (width 0.15))
(fp_line (start -0.6 -0.4) (end 0.6 -0.4) (layer F.Fab) (width 0.15))
(fp_line (start -0.6 0.4) (end -0.6 -0.4) (layer F.Fab) (width 0.15))
(fp_line (start 0.6 0.4) (end -0.6 0.4) (layer F.Fab) (width 0.15))
(fp_line (start 0.6 -0.6) (end -1 -0.6) (layer F.SilkS) (width 0.15))
(fp_line (start 0.6 0.6) (end -1 0.6) (layer F.SilkS) (width 0.15))
(pad 2 smd rect (at 0.7 0 180) (size 0.6 0.7) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at -0.7 0 180) (size 0.6 0.7) (layers F.Cu F.Paste F.Mask))
)

0 comments on commit 0a50345

Please sign in to comment.