Date:2012-06-05 10:26:17 (8 years 2 months ago)
Author:Adam Wang
Commit:acebf7df8f27da99cfda04650a97e4ef6a517cf9
Message:sot23.fpd: added SOT23 generic package with counter-clockweise or clockwise pin assignment

Files: modules/INFO (2 diffs)
modules/sot23.fpd (1 diff)

Change Details

modules/INFO
1717# http://www.xilinx.com/support/documentation/user_guides/ug385.pdf
1818#
1919
20
2120# EUS (R-PDSS-T6)
2221F: eus
2322#
...... 
149148
150149F: sot
151150
151# SOT23 generic package with counter-clockweise or clockwise pin assignment
152F: sot23
153#
154# - SOT23: for example, the APX803-40SAG-7 data sheet, package drawing and land pattern
155# http://www.diodes.com/datasheets/APX803.pdf
156#
157
152158# Standard rectangular passive components
153159F: stdpass
154160
modules/sot23.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 "SOT23$suffix"
46unit auto
47
48table
49    { A, B, e, f, h, w }
50    { 2.9mm, 1.3mm, 0.95mm, 2.3mm, 0.95mm, 0.65mm }
51
52table
53    { suffix, ccw }
54    { "", 1 }
55    { "-CW", -1 }
56
57frame outline @
58frame pads @
59measx outline.__2 >> outline.__0 1.5mm
60measy outline.__3 >> outline.__2 0.5mm
61measx pads.__0 -> pads.__0 1.7mm+f/2
62measy pads.__0 >> pads.__0 1.5mm
63measy pad.__1 -> pad.__0 0.5mm
64measx pad.__1 -> pad.__0 -0.5mm
65measx pads.__0 >> pads.__0 1mm

Archive Download the corresponding diff file

Branches:
master



interactive