Root/modules/stdpass.fpd

Source at commit a59f0054227dacfef8bfe9bf792cd468e172786f created 10 years 25 days ago.
By Adam Wang, ADV7125KSTZ140: changed its pin 13, 29, 30 (VAA) back to correct 'Power input'
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    rect ll . silk
28}
29
30package "$name$variant"
31unit mm
32
33table
34    { name, L, W, a0, 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 }
43
44set silk = 3mil
45
46set Ox = e+2*a+2*clear
47
48set Oy = b+2*clear
49
50table
51    { variant, a }
52    { "", a0 }
53    { "-M", a0 }
54
55frame pads @
56frame outline @
57measx pad_l.w >> pad_r.ll -0.3mm
58measx pad_l.ll -> pad_l.w -0.3mm
59measy pad_l.ll >> pad_l.h 0.3mm
60measx outline.ll >> outline.ur Oy+0.3mm
61measy outline.ur >> outline.ll 0.3mm
62measx pad_l.ll >> pad_r.x -0.5mm
63

Archive Download this file

Branches:
master



interactive