Date:2012-06-07 03:08:32 (7 years 4 months ago)
Author:Adam Wang
Commit:c05a603a4b1c7d9ec4b6fe69cd6cae3fb5fdeb3e
Message:stdpass.fpd: added a cathode for polarized variants(xxxxP) started from 0603

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

Change Details

modules/INFO
195195
196196# Standard rectangular passive components
197197F: stdpass
198#
199# packages: 0201, 0402, 0603, 0805, 1206, 1210, 2010, 2512
200# polarized(marked the cathode) packages: starts from 0603P to 2512P
201#
198202
199203# SOT-323 package with counter-clockweise or clockwise pin assignment
200204F: sot-323
modules/stdpass.fpd
2121    frame pad_r .
2222}
2323
24frame polarized {
25    loop if = cathode, 0
26
27    __0: vec @(Ox/2+1.5*clear, 0mm)
28    __1: vec .(0mm, Oy/2-clear/2)
29    __2: vec __0(0mm, -(Oy/2-clear/2))
30    line . __1 2*(silk+2mil)
31}
32
2433frame outline {
2534    ll: vec @(-Ox/2, -Oy/2)
2635    ur: vec @(Ox/2, Oy/2)
2736    rect ll . silk
37    frame polarized @
2838}
2939
3040package "$name"
3141unit mm
3242
3343table
34    { name, L, W, a, b, e, clear }
35    { "0201", 0.6mm, 0.3mm, 0.28mm, 0.43mm, 0.23mm, 0.15mm }
36    { "0402", 1mm, 0.5mm, 0.5mm, 0.6mm, 0.5mm, 0.15mm }
37    { "0603", 1.55mm, 0.85mm, 0.7mm, 0.9mm, 0.8mm, 0.25mm }
38    { "0805", 2mm, 1.25mm, 0.7mm, 1.3mm, 1.2mm, 0.25mm }
39    { "1206", 3.2mm, 1.6mm, 0.9mm, 1.7mm, 2mm, 0.25mm }
40    { "1210", 3.2mm, 2.5mm, 0.9mm, 2.5mm, 2mm, 0.25mm }
41    { "2010", 5mm, 2.5mm, 1mm, 2.5mm, 3.6mm, 0.25mm }
42    { "2512", 6.3mm, 3.2mm, 1mm, 3.2mm, 5mm, 0.25mm }
44    { name, cathode, L, W, a, b, e, clear }
45    { "0201", 1, 0.6mm, 0.3mm, 0.28mm, 0.43mm, 0.23mm, 0.15mm }
46    { "0402", 1, 1mm, 0.5mm, 0.5mm, 0.6mm, 0.5mm, 0.15mm }
47    { "0603", 1, 1.55mm, 0.85mm, 0.7mm, 0.9mm, 0.8mm, 0.25mm }
48    { "0603P", 0, 1.55mm, 0.85mm, 0.7mm, 0.9mm, 0.8mm, 0.25mm }
49    { "0805", 1, 2mm, 1.25mm, 0.7mm, 1.3mm, 1.2mm, 0.25mm }
50    { "0805P", 0, 2mm, 1.25mm, 0.7mm, 1.3mm, 1.2mm, 0.25mm }
51    { "1206", 1, 3.2mm, 1.6mm, 0.9mm, 1.7mm, 2mm, 0.25mm }
52    { "1206P", 0, 3.2mm, 1.6mm, 0.9mm, 1.7mm, 2mm, 0.25mm }
53    { "1210", 1, 3.2mm, 2.5mm, 0.9mm, 2.5mm, 2mm, 0.25mm }
54    { "1210P", 0, 3.2mm, 2.5mm, 0.9mm, 2.5mm, 2mm, 0.25mm }
55    { "2010", 1, 5mm, 2.5mm, 1mm, 2.5mm, 3.6mm, 0.25mm }
56    { "2010P", 0, 5mm, 2.5mm, 1mm, 2.5mm, 3.6mm, 0.25mm }
57    { "2512", 1, 6.3mm, 3.2mm, 1mm, 3.2mm, 5mm, 0.25mm }
58    { "2512P", 0, 6.3mm, 3.2mm, 1mm, 3.2mm, 5mm, 0.25mm }
4359
4460set silk = 3mil
4561
...... 
5369measx pad_l.ll -> pad_l.w -0.3mm
5470measy pad_l.ll >> pad_l.h 0.3mm
5571measx outline.ll >> outline.ur Oy+0.3mm
56measy outline.ur >> outline.ll 0.3mm
72measy outline.ur >> outline.ll silk
5773measx pad_l.ll >> pad_r.x -0.5mm

Archive Download the corresponding diff file

Branches:
master



interactive