-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodels.py
More file actions
1620 lines (1338 loc) · 44.4 KB
/
Copy pathmodels.py
File metadata and controls
1620 lines (1338 loc) · 44.4 KB
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
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""
class: box, smallbox
version 0.10
"""
# import os
import math
# import sys
from dxfwrite import DXFEngine as dxf
version__ = "$ 0.10 dos for modules and classes $"
# версия 0.1 скелет первого объекта коробка
# версия 0.2 объекты модели в разных сло
# версия 0.3 model boxv
# версия 0.4 model boxv
# версия 0.5 smallbo#
# версия 0.6 smallbo top
# версия 0.7 clear class
# версия 0.8 one layer - one detal
# версия 0.9 smallbox FACE, BOTTOM
# версия 0.9 smallbox FACE, BOTTOM
# версия 0.10 doc for a class
# версия 0.11 табурет
# версия 0.11.1 табурет царга
# версия 0.12 исправление ошибок
# версия 0.13 справление ошибок ножки табурута
# функции для дуг
def angle(x1, y1, x2, y2, x3, y3, x4, y4):
a = math.degrees(math.atan((y2 - y1) / (x2 - x1)) - math.atan((y4 - y3) / (x4 - x3))) # math.degrees
return a
def sqr(arg):
return arg * arg
def center(x1, y1, x2, y2, x3, y3):
A = x2 - x1
B = y2 - y1
C = x3 - x1
D = y3 - y1
E = A * (x1 + x2) + B * (y1 + y2)
F = C * (x1 + x3) + D * (y1 + y3)
G = 2 * (A * (y3 - y2) - B * (x3 - x2))
if G == 0:
exit
Cx = (D * E - B * F) / G
Cy = (A * F - C * E) / G
return Cx, Cy
def rotate(x0, y0, alpha, x, y, x1 = 0, y1 = 0):
# координаты после вращения
x1 = (x - x0) * math.cos(alpha) - (y - y0) * math.sin(alpha) + x0
y1 = (x - x0) * math.sin(alpha) + (y - y0) * math.cos(alpha) + y0
return x1, y1
# ----------------------------------------------------------
# box simply версия 0.2 испавлена высота боковой стенки
class box:
"""
calculated a simple box
"""
width = 100
height = 100
deep = 100
thickness = 4.0
clearance = 0.2
info1 = 'чертёж простого ящика'
info2 = 'генерация трёх чертежей'
info3 = 'стенки дублируются'
info4 = ' '
info5 = ' '
infoimage = 'box.jpeg'
# правая стенка
r1x = 0
r1y = 0
r1w = 1
r1h = 1
# верхняя стенка
r102x = 0
r102y = 0
r102w = 1
r102h = 1
# передняя стенка
r203x = 0
r203y = 0
r203w = 1
r320h = 1
def compute(self): # ширина поля рисунка
# правая стерка
self.r1w = self.width # (ширина панели - левое поле - правое поле - вн. поле) / 2
self.r1h = self.height # ширина - левое поле - правое поле - фреза - фреза /2-вн.поле
# верхняя стенка
self.r102w = self.deep - (self.thickness * 2.0)
self.r102h = self.height
# передняя стенка
self.r203w = self.deep
self.r203h = self.width
# self.r203h = self.r1h
class taburet:
"""
табурет
"""
width = 350
height = 300
deep = 240
thickness = 4.0
clearance = 0.2
info1 = 'табурет'
info2 = 'малый, ширина: 350'
info3 = 'высота: 300'
info4 = 'глубина: 240'
info5 = 'расчёт по внешним размерам'
infoimage = 'taburet.jpeg'
# rigth side nogka
r1x = 0
r1y = 0
r1w = 1
r1h = 1
l1x = 0
l1y = 0
l1x1 = 0
l1y1 = 0
l2x = 0
l2y = 0
l2x1 = 0
l2y1 = 0
l3x = 0
l3y = 0
l3x1 = 0
l3y1 = 0
l4x = 0
l4y = 0
l4x1 = 0
l4y1 = 0
l5x = 0
l5y = 0
l5x1 = 0
l5y1 = 0
l6x = 0
l6y = 0
l6x1 = 0
l6y1 = 0
l7x = 0
l7y = 0
l7x1 = 0
l7y1 = 0
l8x = 0
l8y = 0
l8x1 = 0
l8y1 = 0
l9x = 0
l9y = 0
l9x1 = 0
l9y1 = 0
l10x = 0
l10y = 0
l10x1 = 0
l10y1 = 0
l11x = 0
l11y = 0
l11x1 = 0
l11y1 = 0
l12x = 0
l12y = 0
l12x1 = 0
l12y1 = 0
l13x = 0
l13y = 0
l13x1 = 0
l13y1 = 0
l14x = 0
l14y = 0
l14x1 = 0
l14y1 = 0
l15x = 0
l15y = 0
l15x1 = 0
l15y1 = 0
l16x = 0
l16y = 0
l16x1 = 0
l16y1 = 0
arc1x = 0
arc1y = 0
arc1r = 30.0
arc1sangle = 180.0
arc1eangle = 270.0
arc2x = 0
arc2y = 0
arc2r = 25.0
arc2sangle = 90.0
arc2eangle = 270.0
arc3x = 0
arc3y = 0
arc3r = 30.0
arc3sangle = 90.0
arc3eangle = 180.0
# top figure kryshka
l101x = 0
l101y = 0
l101x1 = 0
l101y1 = 0
l102x = 0
l102y = 0
l102x1 = 0
l102y1 = 0
l103x = 0
l103y = 0
l103x1 = 0
l103y1 = 0
l104x = 0
l104y = 0
l104x1 = 0
l104y1 = 0
r101x = 0
r101y = 0
r101w = 0
r101h = 0
r102x = 0
r102y = 0
r102w = 0
r102h = 0
r103x = 0
r103y = 0
r103w = 0
r103h = 0
r104x = 0
r104y = 0
r104w = 0
r104h = 0
r105x = 0
r105y = 0
r105w = 0
r105h = 0
r106x = 0
r106y = 0
r106w = 0
r106h = 0
r107x = 0
r107y = 0
r107w = 0
r107h = 0
arc101x = 0
arc101y = 0
arc101r = 30.0
arc101sangle = 180.0
arc101eangle = 270.0
arc102x = 0
arc12y = 0
arc102r = 30.0
arc102sangle = 90.0
arc102eangle = 180.0
arc103x = 0
arc103y = 0
arc103r = 30.0
arc103sangle = 0.0
arc103eangle = 90.0
arc104x = 0
arc104y = 0
arc104r = 30.0
arc104sangle = 270.0
arc104eangle = 360.0
# carga
l201x = 0
l201y = 0
l201x1 = 0
l201y1 = 0
l202x = 0
l202y = 0
l202x1 = 0
l202y1 = 0
l203x = 0
l203y = 0
l203x1 = 0
l203y1 = 0
l204x = 0
l204y = 0
l204x1 = 0
l204y1 = 0
l205x = 0
l205y = 0
l205x1 = 0
l205y1 = 0
l206x = 0
l206y = 0
l206x1 = 0
l206y1 = 0
l207x = 0
l207y = 0
l207x1 = 0
l207y1 = 0
l208x = 0
l208y = 0
l208x1 = 0
l208y1 = 0
l209x = 0
l209y = 0
l209x1 = 0
l209y1 = 0
l210x = 0
l210y = 0
l210x1 = 0
l210y1 = 0
l211x = 0
l211y = 0
l211x1 = 0
l211y1 = 0
l212x = 0
l212y = 0
l212x1 = 0
l212y1 = 0
def compute(self): # ширина поля рисунка
# top крышка
self.arc101x = self.thickness
self.arc101y = self.thickness
self.arc101r = self.thickness
# self.l101x = self.r4x + 20.0
self.l101y = self.thickness
# self.l101x1 = self.r4x + self.r4w - 20.0
self.l101y1 = self.deep - self.thickness
# l-t angle
self.arc102x = self.arc101x
self.arc102y = self.arc101y + (self.deep - (self.thickness * 2.0))
self.arc102r = self.thickness
self.l102x = self.thickness
self.l102y = self.deep
self.l102x1 = self.width - self.thickness
self.l102y1 = self.l102y
# r-t angle
self.arc103x = self.width - self.thickness
self.arc103y = self.arc102y
self.arc103r = self.arc102r
self.l103x = self.width
self.l103y = self.l101y1
self.l103x1 = self.l103x
self.l103y1 = self.l101y
# r-b angle
self.arc104x = self.arc103x
self.arc104y = self.arc101y
self.arc104r = self.arc101r
self.l104x = self.l102x1
# self.l104y = self.l102x
self.l104x1 = self.l102x
# self.l104y1 = self.l102x
self.r101x = 20.0 - self.clearance
self.r101y = 20.0 - self.clearance
self.r101w = self.thickness + (self.clearance * 2.0)
self.r101h = (self.thickness * 2.0) + (self.clearance * 2.0)
self.r102x = self.r101x # ((self.deep / 2.0) - self.clearance - self.thickness) + ((self.thickness / 2.0) * 3.0)
self.r102y = (self.deep / 2.0) - (self.thickness * 1.5) - self.clearance
self.r102w = self.thickness + (self.clearance * 2.0)
self.r102h = (self.thickness * 3.0) + (self.clearance * 2.0)
self.r103x = self.r101x # - (self.thickness / 2.0) - self.clearance
self.r103y = self.deep - 20.0 - (self.thickness * 2.0) - self.clearance
self.r103w = self.r101w
self.r103h = self.r101h
self.r104x = (self.width / 2.0) - (self.thickness * 2.0) - self.clearance
self.r104y = (self.deep / 2.0) - (self.thickness / 2.0) - self.clearance
self.r104w = (self.thickness * 4.0) + (self.clearance * 2.0)
self.r104h = self.thickness + (self.clearance * 2.0)
self.r105x = self.width - 20.0 - self.thickness - self.clearance
self.r105y = self.r101y
self.r105w = self.r101w
self.r105h = self.r101h
self.r106x = self.r105x
self.r106y = self.r102y
self.r106w = self.r102w
self.r106h = self.r102h
self.r107x = self.r105x
self.r107y = self.r103y
self.r107w = self.r103w
self.r107h = self.r103h
# ножка
# self.l2y = self.l1y1
self.l1x1 = self.l1x # deep / 2.0) - self.thickness
self.l1y1 = self.thickness * 2.0
self.l2x = self.l1x1
self.l2y = self.l1y1
self.l2x1 = self.thickness / 2.0 # self.l1x#deep / 2.0) - self.thickness
self.l2y1 = self.l2y
self.l3x = self.l2x1
self.l3y = self.l2y1
self.l3x1 = self.l3x
self.l3y1 = self.l3y + (((self.deep - 40.0) - (self.thickness * 7.0)) / 2.0)
self.l4x = self.l3x1
self.l4y = self.l3y1
# self.l4x1 = self.l3x + (self.thickness * 2.0)
self.l4y1 = self.l4y
self.l5x = self.l4x1
self.l5y = self.l4y1
self.l5x1 = self.l5x
self.l5y1 = self.l5y + (self.thickness * 3.0)
self.l6x = self.l5x1
self.l6y = self.l5y1
self.l6x1 = self.l6x + (self.thickness / 2.0)
self.l6y1 = self.l6y # левый нижний
self.l7x = self.l6x1
self.l7y = self.l6y1
self.l7x1 = self.l2x1
self.l7y1 = self.l7y + (((self.deep - 40.0) - (self.thickness * 7.0)) / 2.0)
self.l8x = self.l7x1
self.l8y = self.l7y1
# self.l8x1 = self.l8x
self.l8y1 = self.l8y # - (self.thickness / 2.0)
self.l9x = self.l8x1
self.l9y = self.l8y1
self.l9x1 = self.l9x
self.l9y1 = self.l9y + (self.thickness * 2.0)
self.l10x = self.l9x1
self.l10y = self.l9y1
self.l10x1 = (self.l9x - self.thickness) + 50.0
self.l10y1 = self.l10y
p1x = self.l10x1
p1y = self.l10y1
p2x = ((self.height - 100.0) / 2.0) + (self.thickness / 2.0) + 50.0
p2y = (self.l10y1 - 20.0)
p3x = (self.height - 50.0) + (self.thickness / 2.0)
p3y = p1y
# print (p1x, p1y, p2x,p2y, p3x, p3y)
self.arc1x, self.arc1y = center(p1x, p1y, p2x, p2y, p3x, p3y)
self.arc1r = math.sqrt(sqr(self.arc1x - p1x) + sqr(self.arc1y - p1y))
# print (self.arc1y)
alpha = angle(self.arc1x, self.arc1y, p1x, p1y, self.arc1x, self.arc1y, p3x, p3y)
# print (alpha)
self.arc1sangle = 270.0 - ((180.0 - alpha) / 2.0)
self.arc1eangle = 270.0 + ((180.0 - alpha) / 2.0)
self.l11x = p3x
self.l11y = self.l10y1
self.l11x1 = self.height - (self.thickness / 2.0)
self.l11y1 = self.l9y1 # левый нижний
self.l12x = self.l11x1
self.l12y = self.l11y1
self.l12x1 = self.l12x
self.l12y1 = self.l12y - ((self.l12y - 50.0) / 2.0) # левый нижний
self.arc2x = self.l12x
self.arc2y = self.l12y / 2.0
self.l13x = self.l12x1
self.l13y = (self.l11y1 - 50.0) / 2.0
self.l13x1 = self.l13x # - (self.thickness* * 2.0)
# self.l13y1 = self.l10y# левый нижний
self.l14x = self.l11x1
# self.l14y = self.l11y1
self.l14x1 = self.l11x
# self.l14y1 = self.l14y# левый нижний
p1x = self.l11x
p1y = 0
p2x = ((self.height - 100.0) / 2.0) + (self.thickness / 2.0) + 50.0
p2y = 20.0
p3x = self.l10x1
p3y = 0
# print (p1x, p1y, p2x,p2y, p3x, p3y)
self.arc3x, self.arc3y = center(p1x, p1y, p2x, p2y, p3x, p3y)
self.arc3r = math.sqrt(sqr(self.arc3x - p1x) + sqr(self.arc3y - p1y))
# print (self.arc1y)
alpha = angle(self.arc3x, self.arc3y, p1x, p1y, self.arc3x, self.arc3y, p3x, p3y)
# print (alpha)
self.arc3sangle = 90.0 - ((180 - alpha) / 2.0)
self.arc3eangle = 90.0 + ((180 - alpha) / 2.0)
self.l15x = self.l10x1
# self.l15y = p1y
# self.l15x1 = self.l15x# deep - (self.thickness* * 2.0)
# self.l15y1 = self.height# левый нижний
self.r1x = (120.0 + (self.thickness / 2.0)) - (self.thickness * 2.0) - self.clearance # корректирование вычисления
print("r1x=", self.r1x)
self.r1y = (self.l10y / 2.0) - (self.thickness / 2.0) - self.clearance
self.r1w = (self.thickness * 2.0) + (self.clearance * 2.0)
self.r1h = self.thickness + (self.clearance * 2.0)
# передняя сторон царга-----------------------------------------------
self.l201y1 = self.thickness * 2.0
self.l202y = self.l201y1
self.l202x1 = (self.thickness / 2.0)
self.l202y1 = self.l202y
self.l203x = self.l202x1
self.l203y = self.l202y1
self.l203x1 = self.l203x
self.l203y1 = 120.0
self.l204x = self.l203x1
self.l204y = self.l203y1
self.l204x1 = self.l204x + ((self.width - 40.0 - (self.thickness * 6.0)) / 2.0)
self.l204y1 = self.l204y
self.l205x = self.l204x1
self.l205y = self.l204y1
self.l205x1 = self.l205x
self.l205y1 = self.l205y + (self.thickness / 2.0)
self.l206x = self.l205x1
self.l206y = self.l205y1
self.l206x1 = self.l206x + (self.thickness * 4.0)
self.l206y1 = self.l206y # левый нижний
self.l207x = self.l206x1
self.l207y = self.l206y1
self.l207x1 = self.l207x
self.l207y1 = self.l205y
self.l208x = self.l207x1
self.l208y = self.l207y1
self.l208x1 = self.l208x + ((self.width - 40.0 - (self.thickness * 6.0)) / 2.0)
self.l208y1 = self.l208y
self.l209x = self.l208x1
self.l209y = self.l203y1
self.l209x1 = self.l209x
self.l209y1 = self.l203y
self.l210x = self.l209x1
self.l210y = self.l209y1
self.l210x1 = self.l210x + (self.thickness / 2.0)
self.l210y1 = self.l210y
self.l211x = self.l210x1
self.l211y = self.l210y1
self.l211x1 = self.l211x
# self.l211y1 = self.height# левый нижний
self.l212x = self.l211x1
self.l212y = self.l211y1
# self.l212x1 = (self.width / 4.0) + self.thickness
# self.l212y1 = -(self.thickness)# левый нижний
class smallbox:
"""
ящик на шипах
"""
width = 100
height = 100
deep = 100
thickness = 4.0
clearance = 0.2
info1 = 'чертёж малого корпуса'
info2 = 'генерация трёх чертежей'
info3 = 'стенки дублируются'
info4 = 'на винтах и шипах'
info5 = 'расчёт по внутреннему размеру'
infoimage = 'smallbox.jpeg'
# rigth side
l1x = 0
l1y = 0
l1x1 = 0
l1y1 = 0
l2x = 0
l2y = 0
l2x1 = 0
l2y1 = 0
l3x = 0
l3y = 0
l3x1 = 0
l3y1 = 0
l4x = 0
l4y = 0
l4x1 = 0
l4y1 = 0
l5x = 0
l5y = 0
l5x1 = 0
l5y1 = 0
l6x = 0
l6y = 0
l6x1 = 0
l6y1 = 0
l7x = 0
l7y = 0
l7x1 = 0
l7y1 = 0
l8x = 0
l8y = 0
l8x1 = 0
l8y1 = 0
l9x = 0
l9y = 0
l9x1 = 0
l9y1 = 0
l10x = 0
l10y = 0
l10x1 = 0
l10y1 = 0
l11x = 0
l11y = 0
l11x1 = 0
l11y1 = 0
l12x = 0
l12y = 0
l12x1 = 0
l12y1 = 0
l13x = 0
l13y = 0
l13x1 = 0
l13y1 = 0
l14x = 0
l14y = 0
l14x1 = 0
l4y1 = 0
l15x = 0
l15y = 0
l15x1 = 0
l15y1 = 0
l16x = 0
l16y = 0
l16x1 = 0
l16y1 = 0
# top figure
l101x = 0
l101y = 0
l101x1 = 0
l101y1 = 0
l102x = 0
l102y = 0
l102x1 = 0
l102y1 = 0
l103x = 0
l103y = 0
l103x1 = 0
l103y1 = 0
l104x = 0
l104y = 0
l104x1 = 0
l104y1 = 0
r101x = 0
r101y = 0
r101w = 0
r101h = 0
r102x = 0
r102y = 0
r102w = 0
r102h = 0
r103x = 0
r103y = 0
r103w = 0
r103h = 0
r104x = 0
r104y = 0
r104w = 0
r104h = 0
arc101x = 0
arc101y = 0
arc101r = 30.0
arc101sangle = 180.0
arc101eangle = 270.0
arc102x = 0
arc12y = 0
arc102r = 30.0
arc102sangle = 90.0
arc102eangle = 180.0
arc103x = 0
arc103y = 0
arc103r = 30.0
arc103sangle = 0.0
arc103eangle = 90.0
arc104x = 0
arc104y = 0
arc104r = 30.0
arc104sangle = 270.0
arc104eangle = 360.0
# dno
r101x = 0
r101y = 0
r101w = 1.0
r101h = 1.0
r102x = 0
r102y = 0
r102w = 1.0
r102h = 1.0
r103x = 0
r103y = 0
r103w = 1.0
r103h = 1.0
r104x = 0
r104y = 0
r104w = 1.0
r104h = 1.0
r105x = 0
r105y = 0
r105w = 1.0
r105h = 1.0
r106x = 0
r106y = 0
r106w = 1.0
r106h = 1.0
r107x = 0
r107y = 0
r107w = 1.0
r107h = 1.0
r108x = 0
r108y = 0
r108w = 1.0
r108h = 1.0
r109x = 0
r109y = 0
r109w = 1.0
r109h = 1.0
c101x = 0
c101y = 0
c101r = 30.0
c102x = 0
c102y = 0
c102r = 30.0
c103x = 0
c103y = 0
c103r = 30.0
c104x = 0
c104y = 0
c104r = 30.0
# figure dno
l151x = 0
l151y = 0
l151x1 = 0
l151y1 = 0
l152x = 0
l152y = 0
l152x1 = 0
l152y1 = 0
l153x = 0
l153y = 0
l153x1 = 0
l153y1 = 0
l154x = 0
l154y = 0
l154x1 = 0
l154y1 = 0
r151x = 0
r151y = 0
r151w = 0
r151h = 0
r152x = 0
r152y = 0
r152w = 0
r152h = 0
r153x = 0
r153y = 0
r153w = 0
r153h = 0
r154x = 0
r154y = 0
r154w = 0
r154h = 0
r155x = 0
r155y = 0
r155w = 0
r155h = 0
r156x = 0
r156y = 0
r156w = 0
r156h = 0
r157x = 0
r157y = 0
r157w = 0
r157h = 0
r158x = 0
r158y = 0
r158w = 0
r158h = 0
arc151y = 0
arc151r = 30.0
arc151sangle = 180.0
arc151eangle = 270.0
arc152x = 0
arc152y = 0
arc152r = 30.0
arc152sangle = 90.0
arc152eangle = 180.0
arc153x = 0
arc153y = 0
arc153r = 30.0
arc153sangle = 0.0
arc153eangle = 90.0
arc154x = 0
arc154y = 0
arc154r = 30.0
arc154sangle = 270.0
arc154eangle = 360.0
c151x = 0
c151y = 0
c151r = 30.0
c152x = 0
c152y = 0
c152r = 30.0
c153x = 0
c153y = 0
c153r = 30.0
c154x = 0
c154y = 0
c154r = 30.0
# face side
l201x = 0
l201y = 0
l201x1 = 0
l201y1 = 0
l202x = 0
l202y = 0
l202x1 = 0
l202y1 = 0
l203x = 0
l203y = 0
l203x1 = 0
l203y1 = 0
l204x = 0
l204y = 0
l204x1 = 0
l204y1 = 0
l205x = 0
l205y = 0
l205x1 = 0
l205y1 = 0
l206x = 0
l206y = 0
l206x1 = 0
l206y1 = 0
l207x = 0
l207y = 0
l207x1 = 0
l207y1 = 0
l208x = 0
l208y = 0
l208x1 = 0
l208y1 = 0
l209x = 0
l209y = 0
l209x1 = 0
l209y1 = 0
l210x = 0
l210y = 0
l210x1 = 0
l210y1 = 0
l211x = 0
l211y = 0
l211x1 = 0
l211y1 = 0