Root/modules/eus.fpd

1/* MACHINE-GENERATED ! */
2
3frame pin {
4    __0: vec @(Hole/2, Hole/2)
5    __1: vec @(-Hole/2, -Hole/2)
6    hole . __0
7    __2: vec @(ratio*Hole/2, -ratio*Hole/2)
8    __3: vec @(-ratio*Hole/2, ratio*Hole/2)
9    rpad "$n" . __2 bare
10}
11
12frame pins {
13    table
14        { n, top, ix }
15        { 1, 0, 0 }
16        { 2, 0, 1 }
17        { 3, 0, 2 }
18        { 4, 0, 3 }
19        { 5, 1, 3 }
20        { 6, 1, 0 }
21
22    set x = (ix-N/4+0.5)*Pitch
23
24    set y = h*(top-0.5)
25
26    __0: vec @(x, y)
27    frame pin .
28}
29
30frame marker {
31    set r = ((N/2-1)*Pitch-x)/3
32
33    __0: vec @(-x/2-Hole+w, -(H-Hole)/2)
34    __1: vec .(-r/3, 0mm)
35    circ __0 . w
36}
37
38frame outline {
39    set w = 5mil
40
41    set x = W
42
43    set y = H
44
45    __0: vec @(x/2, y/2)
46    __1: vec @(-x/2, -y/2)
47    rect . __0 w
48    frame marker @
49}
50
51package "EUS"
52unit auto
53
54set Pitch = 3.18mm
55
56set Hole = 1.4mm
57
58set ratio = 1.8
59
60table
61    { name, N, B, H, h, W }
62    { "EUS", 8, 2.8mm, 19.94mm, 15.88mm, 13.59mm }
63
64frame outline @
65frame pins @
66measy outline.__0 >> outline.__1 -18mm
67measx outline.__1 >> outline.__0 -3mm
68measx outline.__0 << pins.__0 3mm
69measy outline.__0 << pins.__0 -4mm
70measx pins.__0 >> pins.__0 h+3mm
71measx outline.__1 -> pins.__0 5mm
72measx pins.__0 -> pins.__0 3mm
73measx pin.__1 -> pin.__0 -2.5mm
74measy pin.__2 -> pin.__3 6mm
75measx pin.__3 -> pin.__2 -6mm
76

Archive Download this file

Branches:
master



interactive