Root/m1/xbrd/top.fpd

Source at commit 6f4a6cbbcfb4be3bca5333bd0cc7c4978e0ea243 created 7 years 8 months ago.
By Werner Almesberger, xbrd/top.fpd: changed header to 10*100 mil and reduced CR by 3 mm
1/* MACHINE-GENERATED ! */
2
3frame top {
4    loop i = 0, (fpy+fny)/FT-1
5
6    __0: vec @(-B/2, 0mm)
7    __1: vec @(B/2, 0mm)
8    __2: vec __0(0mm, HL/2)
9    __4: vec __0(0mm, -HL/2)
10    __5: vec .(-HW/2, 0mm)
11    __10: vec .(-CB, -CL)
12    __6: vec __1(0mm, HL/2)
13    __7: vec .(HW/2, 0mm)
14    __11: vec .(CF, CR)
15    rect __10 . w
16    __8: vec __1(0mm, -HL/2)
17    __9: vec .(-HW/2, 0mm)
18    rect . __7 w
19    __3: vec __2(HW/2, 0mm)
20    rect __5 . w
21    __12: vec __2(-HW/2, 0mm)
22    __13: vec .(-CB, CR)
23    __14: vec __1(FB, 0mm)
24    __15: vec .(0mm, -fny)
25    __20: vec .(0mm, (i+0.5)*FT)
26    __21: vec .(FT, FT)
27    line __20 . w/2
28    __16: vec __14(FT, 0mm)
29    __17: vec .(0mm, fpy)
30    __18: vec __14(0mm, fpy)
31    line . __15 w
32    __19: vec __16(0mm, -fny)
33    line __17 . w
34}
35
36package "xbrd"
37unit mm
38
39table
40    { B, CB, CF, CL, CR }
41    { 45mm, 25mm, 10mm, 5mm, 13mm }
42
43table
44    { HL, HW }
45    { 10*100mil, 2*100mil }
46
47table
48    { FB, FT }
49    { 15mm, 3mm }
50
51table
52    { fpy, fny }
53    { 30mm, 20mm }
54
55table
56    { w, s }
57    { 0.5mm, 5mm }
58
59frame top @
60measy "CL = " top.__10 >> top.__5 s
61measx "CF = " top.__7 >> top.__11 CR+s
62measx "B = " top.__0 >> top.__1 HL/2+CR+2*s
63measy top.__10 >> top.__0 2*s
64measy "HL = " top.__9 >> top.__6 s
65measx top.__6 >> top.__11 CR+2*s
66measx top.__10 >> top.__11 HL+CL+CR+3*s
67measy top.__10 >> top.__11 3*s
68measy "CR = " top.__12 >> top.__13 CB+s
69measy top.__0 >> top.__13 CB+HW/2+2*s
70measx "CB = " top.__13 >> top.__12 s
71measx top.__13 >> top.__2 2*s
72measx "HW = " top.__5 >> top.__3 -s
73measx "FW = " top.__15 >> top.__19 -2*s
74measx "FB = " top.__1 >> top.__14 -fny-2*s
75measx top.__1 >> top.__16 -fny-3*s
76measx top.__11 >> top.__15 -CR-HL/2-fny-s
77measx top.__3 >> top.__9 CR+s
78

Archive Download this file

Branches:
master



interactive