-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimport-dxf.scr
723 lines (485 loc) · 14.1 KB
/
import-dxf.scr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
# X[-15669.4612, 15669.4653]
# Y[-8031.6082, 8031.6082]
# size[16063.2163, 31338.9265]
# lines=96, arcs=28, circles=4, polylines=108
# import-dxf generated script file.
Grid mic 1 off;
Set Wire_Bend 2;
Change Font Vector;
Change Width 152.40;
Layer 49;
# arc 0
Arc CCW (-5117.67 -1273.05) (-5984.40 -1273.05) (-5196.59 -1023.70);
# arc 1
Arc CCW (-5196.52 971.19) (-5905.56 1469.67) (-5117.67 1220.43);
# arc 2
Arc CCW (-8477.79 314.91) (-7849.14 -317.16) (-8451.77 -341.06);
# arc 3
Arc CCW (-5117.67 1220.43) (-5984.40 1220.43) (-5196.59 1469.78);
# arc 4
Arc CCW (-8556.52 314.91) (-8061.83 -326.21) (-8535.77 -341.19);
# arc 5
Arc CCW (-5157.35 736.14) (-6729.01 1730.93) (-5013.17 1233.53);
# arc 6
Arc CCW (-5013.17 1233.53) (-6873.19 1233.53) (-5158.22 1732.29);
# polyline 0
Wire (-13149.79 -2519.74) (-13149.79 -2650.98);
# polyline 1
Wire (-10945.03 -2519.76) (-10945.03 -2650.98);
# polyline 2
Wire (-9553.93 2519.69) (-3018.42 2519.69);
# polyline 3
Wire (-11548.72 -2519.74) (-11548.72 -2650.98);
# polyline 4
Wire (-10315.10 -1994.80) (-10315.10 -2650.98);
# polyline 5
Wire (-12546.09 -2519.76) (-12546.09 -2651.00);
# polyline 6
Wire (13464.55 1968.53) (13464.55 2624.65);
# polyline 7
Wire (14278.49 3517.04) (14278.50 1968.53);
# polyline 8
Wire (13464.55 2624.65) (14278.49 2624.65);
# polyline 9
Wire (14278.50 1968.53) (13464.55 1968.53);
# polyline 10
Wire (-10315.13 1968.53) (-10315.13 2624.70);
# polyline 11
Wire (-10945.03 2493.47) (-10945.03 2624.70);
# polyline 12
Wire (-11050.03 2493.48) (-11548.72 2493.48);
# polyline 13
Wire (-11548.71 2624.70) (-9553.96 2624.70);
# polyline 14
Wire (-12546.09 1601.07) (-11548.71 1601.07);
# polyline 15
Wire (-13044.77 -2519.70) (-11050.03 -2519.76);
# polyline 16
Wire (-10735.05 -1758.57) (-5748.08 -1758.57);
# polyline 17
Wire (-8792.80 2519.69) (-8792.80 1732.29);
# polyline 18
Wire (-3018.44 -2545.99) (-9553.95 -2545.99);
# polyline 19
Wire (-3018.42 2519.69) (-3018.44 -2545.99);
# polyline 20
Wire (-10735.06 1732.29) (-5748.11 1732.29);
# polyline 21
Wire (-9921.41 1732.29) (-9921.41 -1758.57);
# polyline 22
Wire (-8031.60 367.46) (-8031.60 -393.71);
# polyline 23
Wire (-8031.60 2519.69) (-8031.60 1732.28);
# polyline 24
Wire (-8792.80 -1758.63) (-8792.80 -2546.04);
# polyline 25
Wire (-8031.60 -1758.57) (-8031.60 -2545.98);
# polyline 26
Wire (-5748.08 -1758.57) (-5748.08 -761.18);
# polyline 27
Wire (-5748.08 1732.29) (-5748.08 734.90);
# polyline 28
Wire (13832.16 2624.65) (13832.16 1968.53);
# polyline 29
Wire (11496.25 2519.69) (11496.25 1548.55);
# polyline 30
Wire (10656.22 2519.69) (11496.25 2519.69);
# polyline 31
Wire (13464.55 2624.65) (12546.04 2624.65);
# polyline 32
Wire (12546.04 2624.65) (12546.01 1548.52);
# polyline 33
Wire (12598.62 2519.69) (13280.99 2519.69);
# polyline 34
Wire (9553.88 2624.70) (11548.65 2624.70);
# circle 0
Circle (9553.96 6483.00) (9553.96 7488.91);
# polyline 35
Wire (12598.62 2519.69) (12598.62 1548.55);
# polyline 36
Wire (11548.65 1601.07) (12546.04 1601.01);
# polyline 37
Wire (13149.78 2624.65) (13149.78 2519.72);
# polyline 38
Wire (12598.62 1548.55) (11496.25 1548.55);
# polyline 39
Wire (11548.65 2624.70) (11548.65 1548.57);
# polyline 40
Wire (9107.65 288.72) (8792.83 393.71);
# polyline 41
Wire (9107.62 -315.02) (8792.80 -420.01);
# polyline 42
Wire (7112.93 1732.29) (7506.64 1732.29);
# polyline 43
Wire (7506.64 629.90) (7112.93 629.90);
# polyline 44
Wire (7112.93 -656.18) (7506.64 -656.20);
# polyline 45
Wire (9265.19 1732.28) (9265.19 -1758.55);
# polyline 46
Wire (13149.78 -2546.04) (13149.78 -2651.02);
# polyline 47
Wire (12939.77 2519.69) (12939.77 -2545.99);
# polyline 48
Wire (12546.01 -2546.04) (12546.01 -2650.98);
# polyline 49
Wire (13832.16 -1994.80) (13832.16 -2650.97);
# polyline 50
Wire (10945.01 -2545.99) (10945.01 -2650.97);
# polyline 51
Wire (11548.65 -2546.04) (11548.65 -2650.97);
# polyline 52
Wire (0.00 0.00) (2066.70 0.00);
# circle 1
Circle (-9553.95 -6535.55) (-9553.95 -5533.34);
# polyline 53
Wire (-11050.04 -8031.61) (11049.96 -8031.61);
# polyline 54
Wire (-14278.40 3517.10) (-14278.37 1968.53);
# polyline 55
Wire (11049.96 -3543.37) (14278.49 -3543.37);
# polyline 56
Wire (11049.96 -8031.61) (11049.96 -3543.37);
# polyline 57
Wire (-11050.01 3517.10) (-14278.40 3517.10);
# polyline 58
Wire (-14278.43 -3543.37) (-14278.37 -1994.80);
# polyline 59
Wire (-11050.04 -8031.61) (-11050.04 -3543.37);
# polyline 60
Wire (-11050.04 -3543.37) (-14278.43 -3543.37);
# polyline 61
Wire (-11050.01 8005.34) (-11050.01 3517.10);
# polyline 62
Wire (-12546.09 2624.70) (-14278.37 2624.70);
# polyline 63
Wire (-9642.92 -2650.98) (-14278.37 -2650.98);
# polyline 64
Wire (-8714.06 -26.28) (-8609.07 -26.28);
# polyline 65
Wire (-8399.06 314.91) (-8556.52 314.91);
# polyline 66
Wire (-5301.89 1417.29) (-5301.89 1732.29);
# polyline 67
Wire (-8714.00 -0.03) (-8609.07 -0.03);
# polyline 68
Wire (14278.49 -2650.97) (9642.92 -2650.98);
# polyline 69
Wire (10315.04 -1994.80) (10315.04 -2650.97);
# polyline 70
Wire (10761.70 2519.69) (10761.70 -2545.99);
# polyline 71
Wire (11154.98 2519.69) (11154.98 -2545.99);
# polyline 72
Wire (13333.42 1732.28) (13333.42 -1758.58);
# polyline 73
Wire (10472.54 1732.28) (10472.54 -1758.58);
# polyline 74
Wire (10315.01 1968.53) (10315.01 2624.70);
# polyline 75
Wire (10945.01 2624.67) (10945.01 2519.69);
# polyline 76
Wire (-5196.59 -1023.70) (-5249.09 -1023.70);
# polyline 77
Wire (-5748.11 734.86) (-8504.05 314.91);
# polyline 78
Wire (-5643.14 734.84) (-8399.08 314.89);
# polyline 79
Wire (-5643.10 -761.22) (-8399.03 -341.27);
# polyline 80
Wire (-5748.08 -761.18) (-8504.02 -341.27);
# polyline 81
Wire (-5301.89 -1076.19) (-5301.89 -761.19);
# polyline 82
Wire (-11548.71 2624.70) (-11548.71 1548.57);
# polyline 83
Wire (-12546.09 1548.57) (-11548.71 1548.57);
# polyline 84
Wire (-12546.09 2624.70) (-12546.09 1548.57);
# polyline 85
Wire (-13149.79 2545.95) (-13149.79 2624.69);
# polyline 86
Wire (-13044.77 2493.48) (-12546.09 2493.48);
# polyline 87
Wire (-13464.73 1758.53) (-13464.73 -1758.57);
# polyline 88
Wire (-8399.03 -341.27) (-8535.77 -341.19);
# polyline 89
Wire (-5301.57 -1459.46) (-5301.57 -1758.64);
# polyline 90
Wire (-5380.31 -1155.00) (-5380.31 -1364.96);
# polyline 91
Wire (-5196.59 -1522.40) (-5249.07 -1522.45);
# polyline 92
Wire (-5196.59 1469.78) (-5249.09 1469.78);
# polyline 93
Wire (-5196.59 971.08) (-5249.07 971.03);
# polyline 94
Wire (-5380.31 1338.48) (-5380.31 1128.52);
# circle 2
Circle (9549.11 -6535.55) (9549.11 -5533.34);
# polyline 95
Wire (7112.93 -1758.57) (7506.64 -1758.58);
# polyline 96
Wire (-5301.57 1034.02) (-5301.57 734.84);
# polyline 97
Wire (-11050.01 8005.34) (9632.66 8005.33);
# polyline 98
Wire (9632.66 8005.33) (11050.00 6587.99);
# polyline 99
Wire (11050.00 6587.99) (11049.96 3517.04);
# polyline 100
Wire (11049.96 3517.04) (14278.49 3517.04);
# polyline 101
Wire (-14278.37 -1994.80) (-13464.71 -1994.80);
# polyline 102
Wire (-13832.17 -2650.98) (-13832.17 -1994.80);
# polyline 103
Wire (-14278.37 1968.53) (-13464.71 1968.53);
# polyline 104
Wire (-13832.17 1968.53) (-13832.17 2624.70);
# polyline 105
Wire (-13464.71 -1994.80) (-13464.71 -2650.98);
# polyline 106
Wire (-13464.71 1968.53) (-13464.71 2624.70);
# arc 7
Arc CCW (-5994.01 8005.34) (5994.01 -8005.34) (-9650.11 2624.70);
# arc 8
Arc CCW (-5013.17 -1259.93) (-6873.19 -1259.93) (-5158.22 -761.18);
# line 0
Wire (-5748.08 -761.18) (-5026.99 -761.18);
# arc 9
Arc CCW (-5026.98 -1758.66) (-6596.94 -761.20) (-4881.95 -1259.93);
# line 1
Wire (-5249.09 1469.78) (-5380.31 1338.48);
# line 2
Wire (5013.23 4199.51) (9076.22 4199.51);
# line 3
Wire (5013.23 4199.51) (9076.22 4199.51);
# arc 10
Arc CCW (5013.23 6692.98) (5013.23 4199.51) (5013.23 4199.51);
# arc 11
Arc CCW (-4881.95 -1259.93) (-6741.97 -1259.93) (-5026.99 -761.18);
# line 4
Wire (7430.86 6692.98) (5013.23 6692.98);
# line 5
Wire (-5748.08 -1758.57) (-5026.98 -1758.66);
# line 6
Wire (-5380.31 1128.52) (-5249.07 971.03);
# polyline 107
Wire (5013.23 6692.98) (6220.59 6692.98);
Wire (6220.59 6692.98) (7427.96 6692.98);
# arc 12
Arc CCW (-5196.52 -1522.29) (-5905.56 -1023.81) (-5117.67 -1273.05);
# line 7
Wire (-5249.09 -1023.70) (-5380.31 -1155.00);
# line 8
Wire (-5380.31 -1364.96) (-5249.07 -1522.45);
# arc 13
Arc CCW (5013.23 6692.98) (5013.23 4199.51) (5013.23 4199.51);
# arc 14
Arc CCW (-5157.35 -1757.33) (-6729.01 -762.54) (-5013.17 -1259.93);
# line 9
Wire (10288.82 -6666.77) (10288.82 -6378.05);
# line 10
Wire (-13412.23 -2519.70) (-13044.77 -2519.70);
# line 11
Wire (7430.86 6692.98) (5013.23 6692.98);
# line 12
Wire (9685.14 -6666.77) (10288.82 -6666.77);
# arc 15
Arc CCW (5013.23 6692.98) (5013.23 4199.51) (5013.23 4199.51);
# line 13
Wire (5001.02 -4225.79) (9064.01 -4225.79);
# line 14
Wire (8792.81 -6666.77) (9396.50 -6666.77);
# line 15
Wire (-9553.96 -2650.98) (-9553.96 -1994.80);
# line 16
Wire (-9553.96 1968.53) (-9553.96 2624.70);
# arc 16
Arc CCW (-4989.47 -6719.26) (-4989.47 -4225.79) (-4989.47 -4225.79);
# line 17
Wire (-10656.31 -2650.98) (-9553.96 -2650.98);
# arc 17
Arc CCW (5958.77 -8031.61) (-5958.77 8031.61) (9642.93 -2650.97);
# line 18
Wire (-5013.18 6692.98) (-7430.86 6692.98);
# arc 18
Arc CCW (7112.93 1732.29) (7112.93 629.90) (7112.93 629.90);
# line 19
Wire (9685.14 -7270.46) (9685.14 -6666.77);
# line 20
Wire (-10288.85 6351.75) (-8792.77 6351.75);
# line 21
Wire (-11050.03 2493.48) (-11050.03 -2519.76);
# line 22
Wire (-9553.96 -1994.80) (-10656.31 -1994.80);
# line 23
Wire (-7407.11 -6719.26) (-4989.47 -6719.26);
# circle 3
Circle (-9558.73 6483.00) (-9558.73 7485.21);
# line 24
Wire (10656.25 -1994.80) (9553.88 -1994.80);
# arc 19
Arc CCW (-9642.93 -2650.97) (9642.93 2650.97) (-5958.77 -8031.61);
# line 25
Wire (9553.88 -1994.80) (9553.88 -2650.97);
# line 26
Wire (10288.82 -6378.05) (9685.14 -6378.05);
# line 27
Wire (9396.50 -7270.46) (9685.14 -7270.46);
# line 28
Wire (-11050.03 -2519.76) (-10735.08 -2519.76);
# line 29
Wire (4989.47 -4225.79) (9052.47 -4225.79);
# arc 20
Arc CCW (9650.11 2624.70) (-9650.11 -2624.70) (5994.01 8005.34);
# line 30
Wire (9553.88 -2650.97) (10656.25 -2650.97);
# line 31
Wire (5013.23 4199.51) (9076.22 4199.51);
# arc 21
Arc CCW (5001.02 -4225.79) (5001.02 -6719.26) (5001.02 -6719.26);
# line 32
Wire (8792.81 -6378.05) (8792.81 -6666.77);
# line 33
Wire (9396.50 -6378.05) (8792.81 -6378.05);
# line 34
Wire (9685.14 -6378.05) (9685.14 -5774.36);
# line 35
Wire (-10288.85 6640.33) (-10288.85 6351.75);
# line 36
Wire (7418.66 -6719.26) (5001.02 -6719.26);
# line 37
Wire (10656.25 -2650.97) (10656.25 -1994.80);
# arc 22
Arc CCW (7112.93 -656.18) (7112.93 -1758.57) (7112.93 -1758.57);
# line 38
Wire (9685.14 -5774.36) (9396.50 -5774.36);
# line 39
Wire (-8792.77 6640.33) (-10288.85 6640.33);
# line 40
Wire (-10735.08 -2519.76) (-10735.08 2493.48);
# arc 23
Arc CCW (-5013.18 4199.51) (-5013.18 6692.98) (-3766.45 5446.24);
# line 41
Wire (-4989.47 -4225.79) (-9052.47 -4225.79);
# arc 24
Arc CCW (-3766.45 5446.24) (-6259.92 5446.24) (-5013.18 6692.98);
# line 42
Wire (7407.11 -6719.26) (4989.47 -6719.26);
# line 43
Wire (9396.50 -5774.36) (9396.50 -6378.05);
# line 44
Wire (9396.50 -6666.77) (9396.50 -7270.46);
# arc 25
Arc CCW (4989.47 -4225.79) (4989.47 -6719.26) (4989.47 -6719.26);
# line 45
Wire (-8792.77 6351.75) (-8792.77 6640.33);
# line 46
Wire (-10735.08 2493.48) (-11050.03 2493.48);
# line 47
Wire (-10656.31 -1994.80) (-10656.31 -2650.98);
# line 48
Wire (-13044.77 -2519.70) (-13044.77 2545.98);
# line 49
Wire (-13044.77 2545.98) (-13412.23 2545.98);
# line 50
Wire (-13412.23 2545.98) (-13412.23 -2519.70);
# line 51
Wire (-15669.46 -1758.57) (-13412.23 -1758.57);
# line 52
Wire (-13412.23 -1758.57) (-13412.23 1758.53);
# line 53
Wire (-13412.23 1758.53) (-15669.46 1758.53);
# line 54
Wire (-15669.46 1758.53) (-15669.46 -1758.57);
# line 55
Wire (-10656.31 1968.53) (-9553.96 1968.53);
# line 56
Wire (-9553.96 2624.70) (-10656.31 2624.70);
# line 57
Wire (-10656.31 2624.70) (-10656.31 1968.53);
# line 58
Wire (7506.64 1732.28) (8084.07 1732.28);
# line 59
Wire (13280.99 -2545.99) (10656.19 -2546.04);
# arc 26
Arc CCW (-4881.95 1233.54) (-6741.97 1233.54) (-5026.99 1732.29);
# line 60
Wire (-5748.08 1732.29) (-5026.99 1732.29);
# line 61
Wire (13464.77 -1994.80) (13464.77 -2650.97);
# line 62
Wire (10472.54 -1994.80) (10472.54 -1758.58);
# arc 27
Arc CCW (-5026.98 734.81) (-6596.94 1732.26) (-4881.95 1233.54);
# line 63
Wire (8084.07 629.91) (9265.19 288.70);
# line 64
Wire (-5748.08 734.90) (-5026.98 734.81);
# line 65
Wire (8792.80 1732.29) (8084.07 1732.29);
# line 66
Wire (9264.99 -315.02) (9107.63 -314.99);
# line 67
Wire (9107.63 -314.99) (9107.63 288.69);
# line 68
Wire (9264.99 -315.02) (8084.07 -656.18);
# line 69
Wire (14278.50 -1994.80) (13464.77 -1994.80);
# line 70
Wire (10656.22 2624.70) (10656.22 1968.53);
# line 71
Wire (8084.07 1732.29) (8084.07 629.91);
# line 72
Wire (8792.80 2519.69) (8792.80 1732.29);
# line 73
Wire (9553.96 2519.69) (8792.80 2519.69);
# line 74
Wire (10472.54 -1758.58) (8792.80 -1758.63);
# line 75
Wire (8792.80 1732.29) (10472.54 1732.28);
# line 76
Wire (9553.88 1968.53) (9553.88 2624.70);
# line 77
Wire (15669.47 -1758.57) (13280.93 -1758.58);
# line 78
Wire (14278.49 -3543.37) (14278.50 -1994.80);
# line 79
Wire (15669.47 1732.28) (15669.47 -1758.57);
# line 80
Wire (9107.63 288.69) (9107.65 288.72);
# line 81
Wire (9107.65 288.72) (9265.13 288.72);
# line 82
Wire (7506.64 -1758.58) (7506.64 -656.20);
# line 83
Wire (8792.80 -1758.63) (8792.80 -2546.04);
# line 84
Wire (8084.07 -1758.58) (7506.64 -1758.58);
# line 85
Wire (13280.93 1732.28) (15669.47 1732.28);
# line 86
Wire (13280.99 2519.69) (13280.99 -2545.99);
# line 87
Wire (8084.07 -656.18) (8084.07 -1758.55);
# line 88
Wire (8792.80 -2546.04) (9553.96 -2546.04);
# line 89
Wire (8084.07 -1758.55) (9265.19 -1758.55);
# line 90
Wire (7506.64 -656.20) (8084.07 -656.20);
# line 91
Wire (7506.64 629.90) (7506.64 1732.28);
# line 92
Wire (10656.22 1968.53) (9553.88 1968.53);
# line 93
Wire (10472.54 1732.28) (10472.54 1968.50);
# line 94
Wire (-9076.22 4199.51) (-5013.18 4199.51);
# line 95
Wire (8084.07 629.90) (7506.64 629.90);
Window Fit;
Grid last;