Root/modules/do-214.fpd

Source at commit 5ed16708597ccf77aca40505ca75716a6518b49e created 7 years 4 months ago.
By Werner Almesberger, modules/: add measurementes to DIP-4/6-300mil; add to catalog and Makefile
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 "1" . 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 "2" . 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, J/2)
28    __1: vec @(0mm, -J/2)
29    __2: vec __0(H/2, 0mm)
30    __3: vec __0(-H/2, 0mm)
31    line . __2 w
32    __4: vec __1(H/2, 0mm)
33    __5: vec __1(-H/2, 0mm)
34    line __4 . w
35    __6: vec @(Ox/2, -Oy/2)
36    line ur . w
37    __7: vec @(-Ox/2, Oy/2)
38    line ll . w
39    __8: vec @(H/2, Oy/2)
40    line __2 . w
41    line . ur w
42    __9: vec @(H/2, -Oy/2)
43    line __6 . w
44    line . __4 w
45    __10: vec @(-H/2, Oy/2)
46    line __7 . w
47    line . __3 w
48    __11: vec @(-H/2, -Oy/2)
49    line __5 . w
50    line . ll w
51    __12: vec @(-Ox/2-4*clear, 0mm)
52    __13: vec .(0mm, J/2)
53    __14: vec __12(0mm, -J/2)
54    line __13 .
55}
56
57package "DO-214$name"
58unit auto
59
60table
61    { name, H, J, a, b, e, clear }
62    { "AA", 4.75mm, 3.94mm, 1.778mm, 2.159mm, 2.286mm, 0.15mm }
63
64set w = 5mil
65
66set Ox = e+2*a+2*clear
67
68set Oy = b+2*clear
69
70frame pads @
71frame outline @
72measx pad_l.w >> pad_r.ll -0.5mm
73measx pad_l.ll -> pad_l.w -0.5mm
74measy pad_l.ll >> pad_l.h 1.2mm
75measx outline.ll >> outline.ur Oy+1.3mm
76measy outline.ur >> outline.ll 0.3mm
77measx pad_l.ll >> pad_r.x -1.3mm
78

Archive Download this file

Branches:
master



interactive