1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-12-25 21:30:47 +02:00
Werner Almesberger 2014-05-12 20:48:58 -03:00
parent a89a1d5caf
commit 083e2b0943
4 changed files with 62 additions and 1 deletions

View File

@ -114,6 +114,7 @@ Werner Almesberger <werner@almesberger.net>
modules/sw-spdt-smt.fpd
modules/lp2032sm.fpd
modules/pogo.fpd
modules/sod.fpd
Xiangfu <xiangfu@openmobilefree.net>

View File

@ -284,6 +284,7 @@ Discrete_2P
Diode
DO-214AA
LEDSMD-0603R
SOD-323
Crystal
xtal2-11.5mmx4.83mm
TH

View File

@ -11,7 +11,7 @@ MODULES=8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \
pads pads-array phonejack pogo \
qfn qfp \
rca-3-ra rj45 \
soic sot23 spacer sot sot-323 ssop stdpass sw-spdt-smt \
sod soic sot23 spacer sot sot-323 ssop stdpass sw-spdt-smt \
tactile-sw-spst-ra-dip to tsop tssop5 tswa \
usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt usb_a_rcpt_smt \
usb_a_rcpt_mid \

59
modules/sod.fpd Normal file
View File

@ -0,0 +1,59 @@
/* MACHINE-GENERATED ! */
frame pads {
table
{ n, dx }
{ 1, -1 }
{ 2, 1 }
set x = dx*Cx/2
__0: vec @(x, 0mm)
__1: vec .(Px/2, Py/2)
__2: vec __0(-Px/2, -Py/2)
pad "$n" . __1
}
frame outline {
set _ = 0
loop i = 0, 1
__0: vec @(-H/2, B*(i-0.5))
__1: vec .(H, 0mm)
line __0 . w
}
frame symbol {
set s = B/2-w*2
__0: vec @(-s, s)
__1: vec @(-s, -s)
line . __0 w
__2: vec @(s, 0mm)
line __0 . w
line __1 . w
__3: vec .(0mm, s)
__4: vec __2(0mm, -s)
line __3 . w
}
package "SOD-$name"
unit mm
table
{ name, B, H, Cx, Px, Py, C }
{ "323", 1.3mm, 1.7mm, 2.4mm, 0.6mm, 0.6mm, 2.4mm }
set w = 5mil
frame pads @
frame outline @
frame symbol @
measy outline.__0 >> outline.__0 1mm
measx outline.__1 << outline.__0 0.5mm
measx pads.__0 >> pads.__0 -B/2-0.5mm
measy pads.__2 -> pads.__1 0.2mm
measx pads.__2 -> pads.__1 -0.2mm
measx pads.__1 >> pads.__2 (B-Py)/2+0.7mm
measx pads.__2 >> pads.__1 -(B-Py)/2-0.7mm