Date:2012-06-06 10:59:41 (7 years 1 month ago)
Author:Adam Wang
Commit:1357fee9903f516b9176eb983e53b5c7fdfb5f84
Message:ledsmd.fpd: added LEDSMD-0603R for right angle LED land pattern. Not include light shadow area.

Files: modules/INFO (1 diff)
modules/ledsmd.fpd (1 diff)

Change Details

modules/INFO
4848# - the TSOP322.., TSOP324.., TSOP348.., TSOP344.. data sheet
4949# http://www.vishay.com/docs/81732/tsop348.pdf
5050
51# LED right angle package
52F: ledsmd
53#
54# - LEDSMD-0603R: for example: the APA1606SURCK data sheet, package drawing
55# http://www.us.kingbright.com/images/catalog/SPEC/APA1606SURCK.pdf
56# added a letter 'R' stands for right angle land pattern
57# could expand it as else land pattern for 0603, 0805, 0805R, etc.
58#
59
5160# MDIP
5261F: mdip
5362#
modules/ledsmd.fpd
1/* MACHINE-GENERATED ! */
2
3frame pad_r {
4    ll: vec @(0mm, -b/2)
5    x: vec .(a, 0mm)
6    y: vec ll(0mm, b)
7    pad "2" . x
8}
9
10frame pad_l {
11    ll: vec @(-a, -b/2)
12    w: vec .(a, 0mm)
13    h: vec ll(0mm, b)
14    pad "1" . w
15}
16
17frame pads {
18    left: vec @(-e/2, 0mm)
19    frame pad_l .
20    right: vec @(e/2, 0mm)
21    frame pad_r .
22}
23
24frame outline {
25    ll: vec @(-Ox/2, -Oy/2)
26    ur: vec @(Ox/2, Oy/2)
27    __0: vec @(0mm, W/2+D+clear)
28    __2: vec .(lightW/2, 0mm)
29    __1: vec .(lightS/2, -(W/2+D+clear-Oy/2))
30    line ur . w
31    line __2 . w
32    __3: vec __0(-lightW/2, 0mm)
33    line . __2 w
34    __4: vec .(-lightS/2, -(W/2+D+clear-Oy/2))
35    line . __3 w
36    __6: vec @(Ox/2, -Oy/2)
37    line ur . w
38    line . ll w
39    __7: vec @(-Ox/2, Oy/2)
40    line ll . w
41    line . __4 w
42    __12: vec @(-Ox/2-2*clear, 0mm)
43    __13: vec .(0mm, Oy/2)
44    __14: vec __12(0mm, -Oy/2)
45    line __13 . w
46}
47
48package "LEDSMD-$name"
49unit auto
50
51table
52    { name, L, W, D, lightW, lightS, a, b, e, clear }
53    { "0603R", 1.6mm, 0.6mm, 0.6mm, 1.1mm, 1.2mm, 0.9mm, 1mm, 0.7mm, 0.15mm }
54
55set w = 5mil
56
57set Ox = e+2*a+2*clear
58
59set Oy = b+2*clear
60
61frame pads @
62frame outline @
63measx pad_l.w >> pad_r.ll -0.5mm
64measx pad_l.ll -> pad_l.w -0.5mm
65measy pad_l.ll >> pad_l.h 1mm
66measx outline.ll >> outline.ur Oy+1mm
67measy outline.ur >> outline.ll 0.3mm
68measx pad_l.ll >> pad_r.x -1mm

Archive Download the corresponding diff file

Branches:
master



interactive