Root/m1/case/case.fpd

1/* MACHINE-GENERATED ! */
2
3frame short {
4    __0: vec @(Iox, 0mm)
5    line @ . w
6    __1: vec .(Lox, 0mm)
7    __2: vec .(Iix, 0mm)
8    line __1 . w
9    __3: vec __0(0mm, -Ly)
10    line __0 . w
11    __4: vec __1(0mm, -Ly)
12    line __3 . w
13    line . __1 w
14    __5: vec __2(Lix, 0mm)
15    __6: vec __2(0mm, -Ly)
16    line __2 . w
17    __7: vec __5(0mm, -Ly)
18    line __6 . w
19    line . __5 w
20    __8: vec __5(Iix, 0mm)
21    line __5 . w
22    __9: vec .(Lox, 0mm)
23    __10: vec .(Iox, 0mm)
24    line __9 . w
25    __11: vec __8(0mm, -Ly)
26    line __8 . w
27    __12: vec __9(0mm, -Ly)
28    line . __11 w
29    line __9 . w
30    __13: vec @(0mm, H)
31    line . @ w
32    __14: vec .(Iox, 0mm)
33    line __13 . w
34    __15: vec .(Lox, 0mm)
35    __16: vec .(Iix, 0mm)
36    line __15 . w
37    __17: vec .(Lix, 0mm)
38    __18: vec .(Iix, 0mm)
39    line __17 . w
40    __19: vec .(Lox, 0mm)
41    __20: vec .(Iox, 0mm)
42    line __19 . w
43    line . __10 w
44    __21: vec __14(0mm, Ly)
45    line . __14 w
46    __22: vec __15(0mm, Ly)
47    line __21 . w
48    line . __15 w
49    __23: vec __16(0mm, Ly)
50    line . __16 w
51    __24: vec __17(0mm, Ly)
52    line __23 . w
53    line . __17 w
54    __25: vec __18(0mm, Ly)
55    line . __18 w
56    __26: vec __19(0mm, Ly)
57    line . __25 w
58    line . __19 w
59}
60
61frame debug {
62    table
63        { Wdbg, Hdbg }
64        { 14.5mm, 9.5mm }
65
66    __0: vec @(Wdbg, Hdbg)
67    rect @ . w
68}
69
70frame dc {
71    table
72        { Wdc, Hdc }
73        { 9.4mm, 11.4mm }
74
75    __0: vec @(-Wdc, Hdc)
76    rect @ . w
77}
78
79frame ether {
80    table
81        { Weth, Heth }
82        { 16.5mm, 14mm }
83
84    __0: vec @(Weth, Heth)
85    rect @ . w
86}
87
88frame rgb {
89    set Rrgb = 6.3mm
90
91    __0: vec @(0mm, Rrgb)
92    circ @ . w
93}
94
95frame rear {
96    table
97        { Irgbx, Irgby, Drgb }
98        { 25.5mm, 14.5mm, 15mm }
99
100    table
101        { Iethx, Iethy }
102        { 67mm, 7mm }
103
104    table
105        { Idcx, Idcy }
106        { 14.8mm, 6.6mm }
107
108    table
109        { Idbgx, Idbgy }
110        { 88.1mm, 14.5mm }
111
112    loop if = 1, rear
113
114    __0: vec @(Irgbx, Irgby)
115    frame rgb .
116    __1: vec .(Drgb, 0mm)
117    frame rgb .
118    __2: vec .(Drgb, 0mm)
119    frame rgb .
120    __3: vec @(Iethx, Iethy)
121    frame ether .
122    __4: vec @(Ws, 0mm)
123    __5: vec .(-Idcx, Idcy)
124    frame dc .
125    __6: vec @(Idbgx, Idbgy)
126    frame debug .
127    frame short @
128}
129
130frame usb {
131    table
132        { Wusb, Husb }
133        { 8.5mm, 15.5mm }
134
135    __0: vec @(-Wusb, Husb)
136    rect . @ w
137}
138
139frame but {
140    set Rbut = 4mm+0.1mm
141
142    __0: vec @(0mm, Rbut)
143    circ @ . w
144}
145
146frame front {
147    table
148        { Ibutx, Ibuty, Dbut }
149        { 54.5mm, 10.5mm, 14mm }
150
151    table
152        { Iusbx, Iusby, Dusb }
153        { 18.5mm, 6.5mm+1.4mm, 12.5mm }
154
155    loop if = 1, front
156
157    __0: vec @(Ibutx, Ibuty)
158    frame but .
159    __1: vec .(Dbut, 0mm)
160    frame but .
161    __2: vec .(Dbut, 0mm)
162    frame but .
163    __3: vec @(Ws, 0mm)
164    __4: vec .(-Iusbx, Iusby)
165    frame usb .
166    __5: vec .(-Dusb, 0mm)
167    frame usb .
168    frame short @
169}
170
171package "M1-$part"
172unit mm
173
174table
175    { Iox, Lox, Ly, Iix, Lix }
176    { 10mm, 12mm, 3mm, 33mm, 21mm }
177
178set w = 0.1mm
179
180table
181    { H, Ws }
182    { 36.5mm, 2*(Iox+Lox+Iix)+Lix }
183
184table
185    { part, front, rear }
186    { "front", 1, 0 }
187    { "rear", 0, 1 }
188
189frame front @
190frame rear @
191

Archive Download this file

Branches:
master



interactive