Date:2011-08-14 09:49:36 (10 years 2 months ago)
Author:Werner Almesberger
Commit:a8d0c40d7f9d634d0d266186399c4fe78826bc49
Message:Moved sot-323.fpd from ben-wpan to kicad-libs (incoming)

Files: AUTHORS (1 diff)
modules/INFO (1 diff)
modules/Makefile (1 diff)
modules/sot-323.fpd (1 diff)

Change Details

AUTHORS
3131  modules/qfp.fpd
3232  modules/usb-a-pcb.fpd
3333  modules/usb_a_plug_smt.fpd
34  modules/sot-323.fpd
modules/INFO
8989
9090# USB 2.0 from usb_20_040908, page 99
9191F: usb-a-pcb
92
93# SOT-323 package with counter-clockweise or clockwise pin assignment
94F: sot-323
95N: mmst3904
modules/Makefile
1MODULES=8_10-card fiducial mini-usb pads qfn qfp stdpass \
1MODULES=8_10-card fiducial mini-usb pads qfn qfp sot-323 stdpass \
22        usb-a-pcb usb_a_plug_smt
33
44.SUFFIXES: .fpd .mod
modules/sot-323.fpd
1/* MACHINE-GENERATED ! */
2
3frame pad {
4    __0: vec @(w/2, h/2)
5    __1: vec @(-w/2, -h/2)
6    pad "$n" . __0
7}
8
9frame pads {
10    table
11        { n, x, y }
12        { 1, -e*ccw, -f/2 }
13        { 2, e*ccw, -f/2 }
14        { 3, 0mm, f/2 }
15
16    __0: vec @(x, y)
17    frame pad .
18}
19
20frame outline {
21    set lw = 5mil
22
23    set clear = lw/2+0.1mm
24
25    set s = (A-w)/2-clear
26
27    set m2 = e-w/2-clear
28
29    __0: vec @(A/2, B/2)
30    __2: vec @(-A/2, B/2)
31    __3: vec .(0mm, -B)
32    line __2 . lw
33    __1: vec __0(0mm, -B)
34    line . __0 lw
35    __4: vec __2(s, 0mm)
36    line __2 . lw
37    __5: vec __0(-s, 0mm)
38    line . __0 lw
39    __6: vec @(0mm, -B/2)
40    __7: vec .(m2, 0mm)
41    __8: vec __6(-m2, 0mm)
42    line . __7 lw
43}
44
45package "SOT-323$suffix"
46unit mm
47
48table
49    { A, B }
50    { 2.2mm, 1.35mm }
51
52set e = 0.65mm
53
54table
55    { f, h, w }
56    { 1.9mm, 0.9mm, 0.7mm }
57
58table
59    { suffix, ccw }
60    { "", 1 }
61    { "-CW", -1 }
62
63frame outline @
64frame pads @
65measx outline.__2 >> outline.__0 1.5mm
66measy outline.__3 >> outline.__2 0.5mm
67measx pads.__0 -> pads.__0 1.7mm+f/2
68measy pads.__0 >> pads.__0 1.5mm
69measy pad.__1 -> pad.__0 0.5mm
70measx pad.__1 -> pad.__0 -0.5mm

Archive Download the corresponding diff file

Branches:
master



interactive