-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPayload.geo
More file actions
2005 lines (1609 loc) · 114 KB
/
Payload.geo
File metadata and controls
2005 lines (1609 loc) · 114 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
Constant PayloadWallMat Alu6061
Constant PayloadScrewMat Steel_18_8
Constant PayloadPCBMat PCB
Material PBT
PBT.Density 1.31
PBT.Component H 12
PBT.Component C 12
PBT.Component O 4
// Payload Housing
Constant Wall_Thickness 0.4
Constant Wall1_Length 16.51
Constant Wall1_Width 8.89
Constant Wall1_Offset_Width {0.6096 + PCB_Screw_Radius}
Constant Wall1_Offset_Length {3.11912 + PCB_Screw_Radius}
Constant Wall1_2_Offset 16.11376
Constant Wall1_Cutout_Depth .1524
Constant Wall1_Cutout_Width 4.6482
Constant Wall1_Cutout_Offset_Width .8128
Constant Wall1_Cutout_Offset_Length 3.4
Constant Wall1_Cutout_Rim_Width .4
Constant Wall2_Hole_Width 1.524
Constant Wall2_Hole_Length 1.6256
Constant Wall2_Hole_Offset_Width 1.6256
Constant Wall2_Hole_Offset_Length 3.8354
Constant Bottom_Hole_Width 2.54
Constant Bottom_Hole_Length 12.7
Constant Bottom_Hole_Offset_Width 0.3556
Constant Bottom_Hole_Offset_Length 1.524
Constant Foot_Outer_Radius 1.0668
Constant Foot_Height 1.27
Constant Foot_Screw_Hole_Ledge_Depth 0.4064
Constant Foot_Screw_Hole_Ledge_Diameter 0.7874
Constant Foot_Screw_Hole_Diameter 0.4572
Constant Foot_Side_Offset 1.9812
Constant Bottom_Screw_ID 0.1143
Constant Bottom_Screw_OD 0.2794
Constant Bottom_Short_Screw_Height 0.635
Constant Bottom_Short_Screw_Width_Offset 2.2606
Constant Bottom_Short_Screw_Length_Offset 4.18084
Constant Bottom_Short_Screw_Width_Spacing 4.7
Constant Bottom_Short_Screw_Length_Spacing 3.4
Constant Bottom_Tall_Screw_Height 1.27
Constant Bottom_Tall_Screw_Width_Offset 1.3462
Constant Bottom_Tall_Screw_Length_Offset 1.0414
Constant Bottom_Tall_Screw_Width_Spacing 4.826
Constant Bottom_Tall_Screw_Length_Spacing 6.604
Constant BB_Width 5.461
Constant BB_Length 8.636
Constant BB_Depth {PCBThickness}
Constant FPGA_Width 6.4
Constant FPGA_Length 7.5184
Constant FPGA_Depth {PCBThickness}
Constant FPGA_Width_Offset 1.2573
Constant HV_Width 6.4
Constant HV_Length 4.9
Constant HV_Depth {PCBThickness}
Constant FPGA_HV_Offset 1.27
Constant Screw_Head_Diameter 0.436372
Constant Screw_Head_Height 0.27051
Constant Screw_Helix_Length 0.79375
Constant PDU_Wall_Width 2.54
Constant PDU_Wall2_Hole_Center_Width 1.905
Constant PDU_Wall2_Hole_Center_Height 1.0668
Constant PDU_Wall2_Hole_Wing_Width 0.4318
Constant PDU_Wall2_Hole_Wing_Radius 0.2794
Constant PDU_Wall2_Hole_Ledge_Width 0.2286
Constant PDU_Wall2_Hole_Ledge_Depth 0.1524
Constant PDU_Wall2_Hole_Width_Offset 0.381
Constant PDU_Wall2_Hole_Length_Offset 5.207
Constant PDU_Wall2_Hole_Length_Spacing 5.588
Constant PDU_Screw_ID 0.2286
Constant PDU_Screw_OD 0.635
Constant PDU_Screw_Height 0.508
Constant PDU_Screw_Width_Offset 1.9812
Constant PDU_Screw_Length_Offset 0.5334
Constant PDU_Screw_Spacing 5.4864
Constant PDU_Rectangle_Length 1.27
Constant PDU_Rectangle_Width 2.54
Constant PDU_Rectangle_Height .254
Constant PDU_Rectangle_Length_Offset 7.4168
Constant PDU_Rectangle_Width_Offset 3.8862
Constant PDU_Rectangle_Spacing 3.0734
Constant PDU_Width 11.8745
Constant PDU_Length 12.1031
Constant PDU_Height 0.16002
Constant PDU_Offset 1.8034
// Aluminum box, 0.4 cm thick*/
// Wall1 is going to be the side with the detector mounted
Constant Wall1_x {-.5*QCLength + LayerLength - FEELength + .5*OverlapL + .5*QCLength - .5*ActiveAreaLength - DigitalPeriphery - .5*ActiveAreaLength - .5*StructuralPitchL - PCB_Screw_Offset_Length + Wall1_Offset_Length - .5*Wall1_Length}
Constant Wall1_y {3*LayerSpacing - .5*PCBThickness + .5*BBThickness - .5*(ChipThickness-DepletionDepth) - .5*QCThickness + .5*Wall_Thickness}
Constant Wall1_z {-.5*QCWidth + LayerWidth - PCBLeftW + .5*OverlapW - PCB_Screw_Offset_Width + Wall1_Offset_Width - .5*Wall1_Width}
Volume Wall1
Wall1.Material PayloadWallMat
Wall1.Visibility {ShowPayload}
Wall1.Shape Box {.5*Wall1_Length} {.5*Wall_Thickness} {.5*Wall1_Width}
Wall1.Position Wall1_x Wall1_y Wall1_z
Wall1.Mother World
Volume Wall2
Wall2.Material PayloadWallMat
Wall2.Visibility {ShowPayload}
Wall2.Shape Box {.5*Wall1_Length} {.5*Wall_Thickness} {.5*Wall1_Width}
Wall2.Position Wall1_x {Wall1_y - Wall1_2_Offset} Wall1_z
Wall2.Mother World
Volume Wall3
Wall3.Material PayloadWallMat
Wall3.Visibility {ShowPayload}
Wall3.Shape Box {.5*Wall_Thickness} {.5*Wall1_2_Offset - .5*Wall_Thickness} {.5*Wall1_Width}
Wall3.Position {Wall1_x - .5*Wall1_Length + .5*Wall_Thickness} {Wall1_y - .5*Wall1_2_Offset} Wall1_z
Wall3.Mother World
Volume Wall4
Wall4.Material PayloadWallMat
Wall4.Visibility {ShowPayload}
Wall4.Shape Box {.5*Wall_Thickness} {.5*Wall1_2_Offset - .5*Wall_Thickness} {.5*Wall1_Width}
Wall4.Position {Wall1_x + .5*Wall1_Length - .5*Wall_Thickness} {Wall1_y - .5*Wall1_2_Offset} Wall1_z
Wall4.Mother World
// Make Bottom inside of the 4 walls
Volume Bottom
Bottom.Material PayloadWallMat
Bottom.Visibility {ShowPayload}
Bottom.Shape Box {.5*Wall1_Length - Wall_Thickness} {.5*Wall1_2_Offset - .5*Wall_Thickness} {.5*Wall_Thickness}
Bottom.Position Wall1_x {Wall1_y - .5*Wall1_2_Offset} {Wall1_z - .5*Wall1_Width + .5*Wall_Thickness}
Bottom.Mother World
// Need to confirm Top is .4 cm thick
// Top sits on top of the walls
Volume Top
Top.Material PayloadWallMat
Top.Visibility {ShowPayload}
Top.Shape Box {.5*Wall1_Length} {.5*Wall1_2_Offset + .5*Wall_Thickness} {.5*Wall_Thickness}
Top.Position Wall1_x {Wall1_y - .5*Wall1_2_Offset} {Wall1_z + .5*Wall1_Width + .5*Wall_Thickness}
Top.Mother World
// Aluminum Box Features
Volume Wall1_Cutout
Wall1_Cutout.Material Vacuum
Wall1_Cutout.Visibility {ShowPayload}
Wall1_Cutout.Shape BOX {.5*Wall1_Cutout_Width} {.5*Wall1_Cutout_Depth} {.5*Wall1_Cutout_Width}
Wall1_Cutout.Position {.5*Wall1_Length - Wall1_Cutout_Offset_Length - .5*Wall1_Cutout_Width} {.5*Wall_Thickness - .5*Wall1_Cutout_Depth} {.5*Wall1_Width - Wall1_Cutout_Offset_Width - .5*Wall1_Cutout_Width}
Wall1_Cutout.Mother Wall1
Volume Wall1_Hole
Wall1_Hole.Material Vacuum
Wall1_Hole.Visibility {ShowPayload}
Wall1_Hole.Shape BOX {.5*Wall1_Cutout_Width - Wall1_Cutout_Rim_Width} {.5*Wall_Thickness - .5*Wall1_Cutout_Depth} {.5*Wall1_Cutout_Width - Wall1_Cutout_Rim_Width}
Wall1_Hole.Position {.5*Wall1_Length - Wall1_Cutout_Offset_Length - .5*Wall1_Cutout_Width} {-.5*Wall1_Cutout_Depth} {.5*Wall1_Width - Wall1_Cutout_Offset_Width - .5*Wall1_Cutout_Width}
Wall1_Hole.Mother Wall1
Volume Wall2_Hole
Wall2_Hole.Material Vacuum
Wall2_Hole.Visibility {ShowPayload}
Wall2_Hole.Shape BOX {.5*Wall2_Hole_Length} {.5*Wall_Thickness} {.5*Wall2_Hole_Width}
Wall2_Hole.Position {.5*Wall1_Length - Wall2_Hole_Offset_Length - .5*Wall2_Hole_Length} 0 {-.5*Wall1_Width + Wall2_Hole_Offset_Width + .5*Wall2_Hole_Width}
Wall2_Hole.Mother Wall2
Volume Bottom_Hole
Bottom_Hole.Material Vacuum
Bottom_Hole.Visibility {ShowPayload}
Bottom_Hole.Shape BOX {.5*Bottom_Hole_Length} {.5*Bottom_Hole_Width} {.5*Wall_Thickness}
Bottom_Hole.Position {{.5*Wall1_Length - Wall_Thickness} - Bottom_Hole_Offset_Length - .5*Bottom_Hole_Length} {{.5*Wall1_2_Offset - .5*Wall_Thickness} - Bottom_Hole_Offset_Width - .5*Bottom_Hole_Width} 0
Bottom_Hole.Mother Bottom
####################################################################################
Volume FootA
FootA.Material Vacuum
FootA.Visibility 0
FootA.Shape BOX {2*Foot_Outer_Radius} {2*Foot_Outer_Radius} {.5*Foot_Height}
Volume FootA_Subset1
FootA_Subset1.Material PayloadWallMat
FootA_Subset1.Visibility {ShowPayload}
FootA_Subset1.Shape TUBE 0 Foot_Outer_Radius {.5*Foot_Height} 0 180
FootA_Subset1.Position 0 0 0
FootA_Subset1.Mother FootA
Volume FootA_Subset1_Ledge_Subtraction
FootA_Subset1_Ledge_Subtraction.Material PayloadScrewMat
FootA_Subset1_Ledge_Subtraction.Visibility {ShowPayload}
FootA_Subset1_Ledge_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Ledge_Diameter} {.5*Foot_Screw_Hole_Ledge_Depth} 0 180
FootA_Subset1_Ledge_Subtraction.Position 0 0 {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth}
FootA_Subset1_Ledge_Subtraction.Mother FootA_Subset1
Volume FootA_Subset1_Hole_Subtraction
FootA_Subset1_Hole_Subtraction.Material PayloadScrewMat
FootA_Subset1_Hole_Subtraction.Visibility {ShowPayload}
FootA_Subset1_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth} 0 180
FootA_Subset1_Hole_Subtraction.Position 0 0 {-.5*Foot_Screw_Hole_Ledge_Depth}
FootA_Subset1_Hole_Subtraction.Mother FootA_Subset1
Volume FootA_Subset2
FootA_Subset2.Material PayloadWallMat
FootA_Subset2.Visibility {ShowPayload}
FootA_Subset2.Shape BOX {1.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {.5*Foot_Height}
FootA_Subset2.Position {.5*Foot_Outer_Radius} {-.5*Foot_Outer_Radius} 0
FootA_Subset2.Mother FootA
Volume FootA_Subset2_Ledge_Subtraction
FootA_Subset2_Ledge_Subtraction.Material PayloadScrewMat
FootA_Subset2_Ledge_Subtraction.Visibility {ShowPayload}
FootA_Subset2_Ledge_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Ledge_Diameter} {.5*Foot_Screw_Hole_Ledge_Depth} 180 360
FootA_Subset2_Ledge_Subtraction.Position {-.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth}
FootA_Subset2_Ledge_Subtraction.Mother FootA_Subset2
Volume FootA_Subset2_Hole_Subtraction
FootA_Subset2_Hole_Subtraction.Material PayloadScrewMat
FootA_Subset2_Hole_Subtraction.Visibility {ShowPayload}
FootA_Subset2_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth} 180 360
FootA_Subset2_Hole_Subtraction.Position {-.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {-.5*Foot_Screw_Hole_Ledge_Depth}
FootA_Subset2_Hole_Subtraction.Mother FootA_Subset2
Volume FootA_Subset2_Edge_Subtraction
FootA_Subset2_Edge_Subtraction.Material Vacuum
FootA_Subset2_Edge_Subtraction.Visibility {ShowPayload}
FootA_Subset2_Edge_Subtraction.Shape TUBE 0 {Foot_Outer_Radius} {.5*Foot_Height} 180 270
FootA_Subset2_Edge_Subtraction.Position {1.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
FootA_Subset2_Edge_Subtraction.Mother FootA_Subset2
FootA.Copy FootA1
FootA1.Position {Wall1_x - .5*Wall1_Length + Foot_Outer_Radius} {Wall1_y + .5*Wall_Thickness + Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width + .5*Foot_Height}
FootA1.Mother World
FootA.Copy FootA2
FootA2.Position {Wall1_x + .5*Wall1_Length - Foot_Outer_Radius} {Wall1_y - .5*Wall_Thickness - Foot_Outer_Radius - Wall1_2_Offset} {Wall1_z - .5*Wall1_Width + .5*Foot_Height}
FootA2.Rotation 0 0 180
FootA2.Mother World
########################################################################
Volume FootB
FootB.Material Vacuum
FootB.Visibility 0
FootB.Shape BOX {2*Foot_Outer_Radius} {2*Foot_Outer_Radius} {.5*Foot_Height}
Volume FootB_Subset1
FootB_Subset1.Material PayloadWallMat
FootB_Subset1.Visibility {ShowPayload}
FootB_Subset1.Shape TUBE 0 Foot_Outer_Radius {.5*Foot_Height} 0 180
FootB_Subset1.Position 0 0 0
FootB_Subset1.Mother FootB
Volume FootB_Subset1_Ledge_Subtraction
FootB_Subset1_Ledge_Subtraction.Material PayloadScrewMat
FootB_Subset1_Ledge_Subtraction.Visibility {ShowPayload}
FootB_Subset1_Ledge_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Ledge_Diameter} {.5*Foot_Screw_Hole_Ledge_Depth} 0 180
FootB_Subset1_Ledge_Subtraction.Position 0 0 {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth}
FootB_Subset1_Ledge_Subtraction.Mother FootB_Subset1
Volume FootB_Subset1_Hole_Subtraction
FootB_Subset1_Hole_Subtraction.Material PayloadScrewMat
FootB_Subset1_Hole_Subtraction.Visibility {ShowPayload}
FootB_Subset1_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth} 0 180
FootB_Subset1_Hole_Subtraction.Position 0 0 {-.5*Foot_Screw_Hole_Ledge_Depth}
FootB_Subset1_Hole_Subtraction.Mother FootB_Subset1
Volume FootB_Subset2
FootB_Subset2.Material PayloadWallMat
FootB_Subset2.Visibility {ShowPayload}
FootB_Subset2.Shape BOX {1.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {.5*Foot_Height}
FootB_Subset2.Position {-.5*Foot_Outer_Radius} {-.5*Foot_Outer_Radius} 0
FootB_Subset2.Mother FootB
Volume FootB_Subset2_Ledge_Subtraction
FootB_Subset2_Ledge_Subtraction.Material PayloadScrewMat
FootB_Subset2_Ledge_Subtraction.Visibility {ShowPayload}
FootB_Subset2_Ledge_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Ledge_Diameter} {.5*Foot_Screw_Hole_Ledge_Depth} 180 360
FootB_Subset2_Ledge_Subtraction.Position {.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth}
FootB_Subset2_Ledge_Subtraction.Mother FootB_Subset2
Volume FootB_Subset2_Hole_Subtraction
FootB_Subset2_Hole_Subtraction.Material PayloadScrewMat
FootB_Subset2_Hole_Subtraction.Visibility {ShowPayload}
FootB_Subset2_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth} 180 360
FootB_Subset2_Hole_Subtraction.Position {.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {-.5*Foot_Screw_Hole_Ledge_Depth}
FootB_Subset2_Hole_Subtraction.Mother FootB_Subset2
Volume FootB_Subset2_Edge_Subtraction
FootB_Subset2_Edge_Subtraction.Material Vacuum
FootB_Subset2_Edge_Subtraction.Visibility {ShowPayload}
FootB_Subset2_Edge_Subtraction.Shape TUBE 0 {Foot_Outer_Radius} {.5*Foot_Height} 270 360
FootB_Subset2_Edge_Subtraction.Position {-1.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
FootB_Subset2_Edge_Subtraction.Mother FootB_Subset2
FootB.Copy FootB1
FootB1.Position {Wall1_x + .5*Wall1_Length - Foot_Outer_Radius} {Wall1_y + .5*Wall_Thickness + Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width + .5*Foot_Height}
FootB1.Mother World
FootB.Copy FootB2
FootB2.Position {Wall1_x - .5*Wall1_Length + Foot_Outer_Radius} {Wall1_y - .5*Wall_Thickness - Foot_Outer_Radius - Wall1_2_Offset} {Wall1_z - .5*Wall1_Width + .5*Foot_Height}
FootB2.Rotation 0 0 180
FootB2.Mother World
########################################################################
Volume FootC
FootC.Material Vacuum
FootC.Visibility 0
FootC.Shape BOX {2*Foot_Outer_Radius} {2*Foot_Outer_Radius} {.5*Foot_Height}
Volume FootC_Subset1
FootC_Subset1.Material PayloadWallMat
FootC_Subset1.Visibility {ShowPayload}
FootC_Subset1.Shape TUBE 0 Foot_Outer_Radius {.5*Foot_Height} 0 180
FootC_Subset1.Position 0 0 0
FootC_Subset1.Mother FootC
Volume FootC_Subset1_Ledge_Subtraction
FootC_Subset1_Ledge_Subtraction.Material PayloadScrewMat
FootC_Subset1_Ledge_Subtraction.Visibility {ShowPayload}
FootC_Subset1_Ledge_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Ledge_Diameter} {.5*Foot_Screw_Hole_Ledge_Depth} 0 180
FootC_Subset1_Ledge_Subtraction.Position 0 0 {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth}
FootC_Subset1_Ledge_Subtraction.Mother FootC_Subset1
Volume FootC_Subset1_Hole_Subtraction
FootC_Subset1_Hole_Subtraction.Material PayloadScrewMat
FootC_Subset1_Hole_Subtraction.Visibility {ShowPayload}
FootC_Subset1_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth} 0 180
FootC_Subset1_Hole_Subtraction.Position 0 0 {-.5*Foot_Screw_Hole_Ledge_Depth}
FootC_Subset1_Hole_Subtraction.Mother FootC_Subset1
Volume FootC_Subset2
FootC_Subset2.Material PayloadWallMat
FootC_Subset2.Visibility {ShowPayload}
FootC_Subset2.Shape BOX {2*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {.5*Foot_Height}
FootC_Subset2.Position 0 {-.5*Foot_Outer_Radius} 0
FootC_Subset2.Mother FootC
Volume FootC_Subset2_Ledge_Subtraction
FootC_Subset2_Ledge_Subtraction.Material PayloadScrewMat
FootC_Subset2_Ledge_Subtraction.Visibility {ShowPayload}
FootC_Subset2_Ledge_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Ledge_Diameter} {.5*Foot_Screw_Hole_Ledge_Depth} 180 360
FootC_Subset2_Ledge_Subtraction.Position 0 {.5*Foot_Outer_Radius} {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth}
FootC_Subset2_Ledge_Subtraction.Mother FootC_Subset2
Volume FootC_Subset2_Hole_Subtraction
FootC_Subset2_Hole_Subtraction.Material PayloadScrewMat
FootC_Subset2_Hole_Subtraction.Visibility {ShowPayload}
FootC_Subset2_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*Foot_Height - .5*Foot_Screw_Hole_Ledge_Depth} 180 360
FootC_Subset2_Hole_Subtraction.Position 0 {.5*Foot_Outer_Radius} {-.5*Foot_Screw_Hole_Ledge_Depth}
FootC_Subset2_Hole_Subtraction.Mother FootC_Subset2
Volume FootC_Subset2_Edge_Subtraction1
FootC_Subset2_Edge_Subtraction1.Material Vacuum
FootC_Subset2_Edge_Subtraction1.Visibility {ShowPayload}
FootC_Subset2_Edge_Subtraction1.Shape TUBE 0 {Foot_Outer_Radius} {.5*Foot_Height} 270 360
FootC_Subset2_Edge_Subtraction1.Position {-2*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
FootC_Subset2_Edge_Subtraction1.Mother FootC_Subset2
Volume FootC_Subset2_Edge_Subtraction2
FootC_Subset2_Edge_Subtraction2.Material Vacuum
FootC_Subset2_Edge_Subtraction2.Visibility {ShowPayload}
FootC_Subset2_Edge_Subtraction2.Shape TUBE 0 {Foot_Outer_Radius} {.5*Foot_Height} 180 270
FootC_Subset2_Edge_Subtraction2.Position {2*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
FootC_Subset2_Edge_Subtraction2.Mother FootC_Subset2
FootC.Copy FootC1
FootC1.Position {Wall1_x - .5*Wall1_Length - Foot_Outer_Radius} {Wall1_y + .5*Wall_Thickness - Foot_Side_Offset - 2*Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width + .5*Foot_Height}
FootC1.Rotation 0 0 90
FootC1.Mother World
FootC.Copy FootC2
FootC2.Position {Wall1_x - .5*Wall1_Length - Foot_Outer_Radius} {Wall1_y - Wall1_2_Offset - .5*Wall_Thickness + Foot_Side_Offset + 2*Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width + .5*Foot_Height}
FootC2.Rotation 0 0 90
FootC2.Mother World
FootC.Copy FootC3
FootC3.Position {Wall1_x + .5*Wall1_Length + Foot_Outer_Radius} {Wall1_y + .5*Wall_Thickness - Foot_Side_Offset - 2*Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width + .5*Foot_Height}
FootC3.Rotation 0 0 270
FootC3.Mother World
FootC.Copy FootC4
FootC4.Position {Wall1_x + .5*Wall1_Length + Foot_Outer_Radius} {Wall1_y - Wall1_2_Offset - .5*Wall_Thickness + Foot_Side_Offset + 2*Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width + .5*Foot_Height}
FootC4.Rotation 0 0 270
FootC4.Mother World
#############################################################################################
Volume Short_Screw_Hole
Short_Screw_Hole.Material PayloadWallMat
Short_Screw_Hole.Visibility {ShowPayload}
Short_Screw_Hole.Shape TUBE {.5*Bottom_Screw_ID} {.5*Bottom_Screw_OD} {.5*Bottom_Short_Screw_Height} 0 360
Volume Screw_in_Hole
Screw_in_Hole.Material PayloadScrewMat
Screw_in_Hole.Visibility {ShowPayload}
Screw_in_Hole.Shape TUBE 0 {.5*Bottom_Screw_ID} {.5*Screw_Helix_Length - .5*PCBThickness} 0 360
Volume Screw_Middle
Screw_Middle.Material PayloadScrewMat
Screw_Middle.Visibility {ShowPayload}
Screw_Middle.Shape TUBE 0 {.5*Screw_Head_Diameter} {.5*FPGA_HV_Offset - .5*PCBThickness} 0 360
Volume Screw_Top
Screw_Top.Material PayloadScrewMat
Screw_Top.Visibility {ShowPayload}
Screw_Top.Shape TUBE 0 {.5*Screw_Head_Diameter} {.5*Screw_Head_Height} 0 360
For I 2 {Wall1_x - .5*Wall1_Length + Wall_Thickness + Bottom_Short_Screw_Width_Offset + .5*Bottom_Screw_OD} {Bottom_Short_Screw_Width_Spacing}
For J 3 {Wall1_y - .5*Wall_Thickness - Bottom_Short_Screw_Length_Offset - .5*Bottom_Screw_OD} {-Bottom_Short_Screw_Length_Spacing}
Short_Screw_Hole.Copy Short_Screw_Hole_%I_%J
Short_Screw_Hole_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width + Wall_Thickness + .5*Bottom_Short_Screw_Height}
Short_Screw_Hole_%I_%J.Mother World
Screw_in_Hole.Copy Short_Screw_in_Hole_%I_%J
Short_Screw_in_Hole_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width + Wall_Thickness + Bottom_Short_Screw_Height - .5*Screw_Helix_Length + .5*PCBThickness}
Short_Screw_in_Hole_%I_%J.Mother World
Done
Done
For I 2 {Wall1_x - .5*Wall1_Length + Wall_Thickness + Bottom_Short_Screw_Width_Offset + .5*Bottom_Screw_OD} {Bottom_Short_Screw_Width_Spacing}
For J 2 {Wall1_y - .5*Wall_Thickness - Bottom_Short_Screw_Length_Offset - .5*Bottom_Screw_OD - Bottom_Short_Screw_Length_Spacing} {-Bottom_Short_Screw_Length_Spacing}
Screw_Middle.Copy Screw_Middle_%I_%J
Screw_Middle_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width + Wall_Thickness + Bottom_Short_Screw_Height + .5*PCBThickness + .5*FPGA_HV_Offset}
Screw_Middle_%I_%J.Mother World
Screw_Top.Copy Screw_Top_1_%I_%J
Screw_Top_1_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width + Wall_Thickness + Bottom_Short_Screw_Height + 1.5*PCBThickness + FPGA_HV_Offset + .5*Screw_Head_Height}
Screw_Top_1_%I_%J.Mother World
Done
Done
For I 2 {Wall1_x - .5*Wall1_Length + Wall_Thickness + Bottom_Short_Screw_Width_Offset + .5*Bottom_Screw_OD} {Bottom_Short_Screw_Width_Spacing}
Screw_Top.Copy Screw_Top_2_%I
Screw_Top_2_%I.Position $I {Wall1_y - .5*Wall_Thickness - Bottom_Short_Screw_Length_Offset - .5*Bottom_Screw_OD} {Wall1_z - .5*Wall1_Width + Wall_Thickness + Bottom_Short_Screw_Height + .5*PCBThickness + .5*Screw_Head_Height}
Screw_Top_2_%I.Mother World
Done
Volume Tall_Screw_Hole
Tall_Screw_Hole.Material PayloadWallMat
Tall_Screw_Hole.Visibility {ShowPayload}
Tall_Screw_Hole.Shape TUBE {.5*Bottom_Screw_ID} {.5*Bottom_Screw_OD} {.5*Bottom_Tall_Screw_Height} 0 360
For I 2 {Wall1_x + .5*Wall1_Length - Wall_Thickness - Bottom_Tall_Screw_Width_Offset - .5*Bottom_Screw_OD} {-Bottom_Tall_Screw_Width_Spacing}
For J 2 {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + Bottom_Tall_Screw_Length_Offset + .5*Bottom_Screw_OD} {Bottom_Tall_Screw_Length_Spacing}
Tall_Screw_Hole.Copy Tall_Screw_Hole_%I_%J
Tall_Screw_Hole_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width + Wall_Thickness + .5*Bottom_Tall_Screw_Height}
Tall_Screw_Hole_%I_%J.Mother World
Screw_in_Hole.Copy Tall_Screw_in_Hole_%I_%J
Tall_Screw_in_Hole_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width + Wall_Thickness + Bottom_Tall_Screw_Height - .5*Screw_Helix_Length + .5*PCBThickness}
Tall_Screw_in_Hole_%I_%J.Mother World
Screw_Top.Copy Tall_Screw_Top_%I_%J
Tall_Screw_Top_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width + Wall_Thickness + Bottom_Tall_Screw_Height + PCBThickness + .5*Screw_Head_Height}
Tall_Screw_Top_%I_%J.Mother World
Done
Done
####################################################################################
Volume BB_Screw
BB_Screw.Material PayloadScrewMat
BB_Screw.Visibility {ShowPayload}
BB_Screw.Shape TUBE 0 {.5*Bottom_Screw_ID} {.5*PCBThickness} 0 360
Volume BeagleBone
BeagleBone.Visibility {ShowPayload}
BeagleBone.Material PayloadPCBMat
BeagleBone.Color 3
BeagleBone.Shape BOX {.5*BB_Width} {.5*BB_Length} {.5*BB_Depth}
BeagleBone.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - Bottom_Tall_Screw_Width_Offset - .5*Bottom_Screw_OD - .5*Bottom_Tall_Screw_Width_Spacing} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + Bottom_Tall_Screw_Length_Offset + .5*Bottom_Screw_OD + .5*Bottom_Tall_Screw_Length_Spacing} {Wall1_z - .5*Wall1_Width + Wall_Thickness + Bottom_Tall_Screw_Height + .5*BB_Depth}
BeagleBone.Mother World
For I 2 {-.5*Bottom_Tall_Screw_Width_Spacing} {Bottom_Tall_Screw_Width_Spacing}
For J 2 {.5*Bottom_Tall_Screw_Length_Spacing} {-Bottom_Tall_Screw_Length_Spacing}
BB_Screw.Copy BB_Screw_%I_%J
BB_Screw_%I_%J.Position $I $J 0
BB_Screw_%I_%J.Mother BeagleBone
Done
Done
Volume FPGA_Screw
FPGA_Screw.Material PayloadScrewMat
FPGA_Screw.Visibility {ShowPayload}
FPGA_Screw.Shape TUBE 0 {.5*Bottom_Screw_ID} {.5*PCBThickness} 0 360
Volume FPGA
FPGA.Visibility {ShowPayload}
FPGA.Material PayloadPCBMat
FPGA.Color 3
FPGA.Shape BOX {.5*FPGA_Width} {.5*FPGA_Length} {.5*FPGA_Depth}
FPGA.Position {Wall1_x - .5*Wall1_Length + Wall_Thickness + Bottom_Short_Screw_Width_Offset + .5*Bottom_Screw_OD - FPGA_Width_Offset + .5*FPGA_Width} {Wall1_y - .5*Wall_Thickness - Bottom_Short_Screw_Length_Offset - .5*Bottom_Screw_OD - Bottom_Short_Screw_Length_Spacing} {Wall1_z - .5*Wall1_Width + Wall_Thickness + Bottom_Short_Screw_Height + .5*FPGA_Depth}
FPGA.Mother World
For I 2 {-.5*FPGA_Width + FPGA_Width_Offset} {Bottom_Short_Screw_Width_Spacing}
For J 3 {Bottom_Short_Screw_Length_Spacing} {-Bottom_Short_Screw_Length_Spacing}
FPGA_Screw.Copy FPGA_Screw_%I_%J
FPGA_Screw_%I_%J.Position $I $J 0
FPGA_Screw_%I_%J.Mother FPGA
Done
Done
Volume HV_Screw
HV_Screw.Material PayloadScrewMat
HV_Screw.Visibility {ShowPayload}
HV_Screw.Shape TUBE 0 {.5*Bottom_Screw_ID} {.5*PCBThickness} 0 360
Volume HV
HV.Visibility {ShowPayload}
HV.Material PayloadPCBMat
HV.Color 3
HV.Shape BOX {.5*HV_Width} {.5*HV_Length} {.5*HV_Depth}
HV.Position {Wall1_x - .5*Wall1_Length + Wall_Thickness + Bottom_Short_Screw_Width_Offset + .5*Bottom_Screw_OD - FPGA_Width_Offset + .5*HV_Width} {Wall1_y - .5*Wall_Thickness - Bottom_Short_Screw_Length_Offset - .5*Bottom_Screw_OD - 1.5*Bottom_Short_Screw_Length_Spacing} {Wall1_z - .5*Wall1_Width + Wall_Thickness + Bottom_Short_Screw_Height + FPGA_HV_Offset + .5*HV_Depth}
HV.Mother World
For I 2 {-.5*HV_Width + FPGA_Width_Offset} {Bottom_Short_Screw_Width_Spacing}
For J 2 {.5*Bottom_Short_Screw_Length_Spacing} {-Bottom_Short_Screw_Length_Spacing}
HV_Screw.Copy HV_Screw_%I_%J
HV_Screw_%I_%J.Position $I $J 0
HV_Screw_%I_%J.Mother HV
Done
Done
##############################################################################
Volume PDU_Wall1
PDU_Wall1.Material PayloadWallMat
PDU_Wall1.Visibility {ShowPayload}
PDU_Wall1.Shape Box {.5*Wall1_Length} {.5*Wall_Thickness} {.5*PDU_Wall_Width}
PDU_Wall1.Position Wall1_x Wall1_y {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_Wall1.Mother World
Volume PDU_Wall2
PDU_Wall2.Material PayloadWallMat
PDU_Wall2.Visibility {ShowPayload}
PDU_Wall2.Shape Box {.5*Wall1_Length} {.5*Wall_Thickness} {.5*PDU_Wall_Width}
PDU_Wall2.Position Wall1_x {Wall1_y - Wall1_2_Offset} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_Wall2.Mother World
Volume PDU_Wall3
PDU_Wall3.Material PayloadWallMat
PDU_Wall3.Visibility {ShowPayload}
PDU_Wall3.Shape Box {.5*Wall_Thickness} {.5*Wall1_2_Offset - .5*Wall_Thickness} {.5*PDU_Wall_Width}
PDU_Wall3.Position {Wall1_x - .5*Wall1_Length + .5*Wall_Thickness} {Wall1_y - .5*Wall1_2_Offset} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_Wall3.Mother World
Volume PDU_Wall4
PDU_Wall4.Material PayloadWallMat
PDU_Wall4.Visibility {ShowPayload}
PDU_Wall4.Shape Box {.5*Wall_Thickness} {.5*Wall1_2_Offset - .5*Wall_Thickness} {.5*PDU_Wall_Width}
PDU_Wall4.Position {Wall1_x + .5*Wall1_Length - .5*Wall_Thickness} {Wall1_y - .5*Wall1_2_Offset} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_Wall4.Mother World
Volume PDU_Bottom
PDU_Bottom.Material PayloadWallMat
PDU_Bottom.Visibility {ShowPayload}
PDU_Bottom.Shape Box {.5*Wall1_Length - Wall_Thickness} {.5*Wall1_2_Offset - .5*Wall_Thickness} {.5*Wall_Thickness}
PDU_Bottom.Position Wall1_x {Wall1_y - .5*Wall1_2_Offset} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + .5*Wall_Thickness}
PDU_Bottom.Mother World
############################################################################
Volume PDU_FootA
PDU_FootA.Material Vacuum
PDU_FootA.Visibility 0
PDU_FootA.Shape BOX {2*Foot_Outer_Radius} {2*Foot_Outer_Radius} {.5*PDU_Wall_Width}
Volume PDU_FootA_Subset1
PDU_FootA_Subset1.Material PayloadWallMat
PDU_FootA_Subset1.Visibility {ShowPayload}
PDU_FootA_Subset1.Shape TUBE 0 Foot_Outer_Radius {.5*PDU_Wall_Width} 0 180
PDU_FootA_Subset1.Position 0 0 0
PDU_FootA_Subset1.Mother PDU_FootA
Volume PDU_FootA_Subset1_Hole_Subtraction
PDU_FootA_Subset1_Hole_Subtraction.Material PayloadScrewMat
PDU_FootA_Subset1_Hole_Subtraction.Visibility {ShowPayload}
PDU_FootA_Subset1_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*PDU_Wall_Width} 0 180
PDU_FootA_Subset1_Hole_Subtraction.Position 0 0 0
PDU_FootA_Subset1_Hole_Subtraction.Mother PDU_FootA_Subset1
Volume PDU_FootA_Subset2
PDU_FootA_Subset2.Material PayloadWallMat
PDU_FootA_Subset2.Visibility {ShowPayload}
PDU_FootA_Subset2.Shape BOX {1.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {.5*PDU_Wall_Width}
PDU_FootA_Subset2.Position {.5*Foot_Outer_Radius} {-.5*Foot_Outer_Radius} 0
PDU_FootA_Subset2.Mother PDU_FootA
Volume PDU_FootA_Subset2_Hole_Subtraction
PDU_FootA_Subset2_Hole_Subtraction.Material PayloadScrewMat
PDU_FootA_Subset2_Hole_Subtraction.Visibility {ShowPayload}
PDU_FootA_Subset2_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*PDU_Wall_Width} 180 360
PDU_FootA_Subset2_Hole_Subtraction.Position {-.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
PDU_FootA_Subset2_Hole_Subtraction.Mother PDU_FootA_Subset2
Volume PDU_FootA_Subset2_Edge_Subtraction
PDU_FootA_Subset2_Edge_Subtraction.Material Vacuum
PDU_FootA_Subset2_Edge_Subtraction.Visibility {ShowPayload}
PDU_FootA_Subset2_Edge_Subtraction.Shape TUBE 0 {Foot_Outer_Radius} {.5*PDU_Wall_Width} 180 270
PDU_FootA_Subset2_Edge_Subtraction.Position {1.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
PDU_FootA_Subset2_Edge_Subtraction.Mother PDU_FootA_Subset2
PDU_FootA.Copy PDU_FootA1
PDU_FootA1.Position {Wall1_x - .5*Wall1_Length + Foot_Outer_Radius} {Wall1_y + .5*Wall_Thickness + Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_FootA1.Mother World
PDU_FootA.Copy PDU_FootA2
PDU_FootA2.Position {Wall1_x + .5*Wall1_Length - Foot_Outer_Radius} {Wall1_y - .5*Wall_Thickness - Foot_Outer_Radius - Wall1_2_Offset} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_FootA2.Rotation 0 0 180
PDU_FootA2.Mother World
############################################################################
Volume PDU_FootB
PDU_FootB.Material Vacuum
PDU_FootB.Visibility 0
PDU_FootB.Shape BOX {2*Foot_Outer_Radius} {2*Foot_Outer_Radius} {.5*PDU_Wall_Width}
Volume PDU_FootB_Subset1
PDU_FootB_Subset1.Material PayloadWallMat
PDU_FootB_Subset1.Visibility {ShowPayload}
PDU_FootB_Subset1.Shape TUBE 0 Foot_Outer_Radius {.5*PDU_Wall_Width} 0 180
PDU_FootB_Subset1.Position 0 0 0
PDU_FootB_Subset1.Mother PDU_FootB
Volume PDU_FootB_Subset1_Hole_Subtraction
PDU_FootB_Subset1_Hole_Subtraction.Material PayloadScrewMat
PDU_FootB_Subset1_Hole_Subtraction.Visibility {ShowPayload}
PDU_FootB_Subset1_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*PDU_Wall_Width} 0 180
PDU_FootB_Subset1_Hole_Subtraction.Position 0 0 0
PDU_FootB_Subset1_Hole_Subtraction.Mother PDU_FootB_Subset1
Volume PDU_FootB_Subset2
PDU_FootB_Subset2.Material PayloadWallMat
PDU_FootB_Subset2.Visibility {ShowPayload}
PDU_FootB_Subset2.Shape BOX {1.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {.5*PDU_Wall_Width}
PDU_FootB_Subset2.Position {-.5*Foot_Outer_Radius} {-.5*Foot_Outer_Radius} 0
PDU_FootB_Subset2.Mother PDU_FootB
Volume PDU_FootB_Subset2_Hole_Subtraction
PDU_FootB_Subset2_Hole_Subtraction.Material PayloadScrewMat
PDU_FootB_Subset2_Hole_Subtraction.Visibility {ShowPayload}
PDU_FootB_Subset2_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*PDU_Wall_Width} 180 360
PDU_FootB_Subset2_Hole_Subtraction.Position {.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
PDU_FootB_Subset2_Hole_Subtraction.Mother PDU_FootB_Subset2
Volume PDU_FootB_Subset2_Edge_Subtraction
PDU_FootB_Subset2_Edge_Subtraction.Material Vacuum
PDU_FootB_Subset2_Edge_Subtraction.Visibility {ShowPayload}
PDU_FootB_Subset2_Edge_Subtraction.Shape TUBE 0 {Foot_Outer_Radius} {.5*PDU_Wall_Width} 270 360
PDU_FootB_Subset2_Edge_Subtraction.Position {-1.5*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
PDU_FootB_Subset2_Edge_Subtraction.Mother PDU_FootB_Subset2
PDU_FootB.Copy PDU_FootB1
PDU_FootB1.Position {Wall1_x + .5*Wall1_Length - Foot_Outer_Radius} {Wall1_y + .5*Wall_Thickness + Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_FootB1.Mother World
PDU_FootB.Copy PDU_FootB2
PDU_FootB2.Position {Wall1_x - .5*Wall1_Length + Foot_Outer_Radius} {Wall1_y - .5*Wall_Thickness - Foot_Outer_Radius - Wall1_2_Offset} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_FootB2.Rotation 0 0 180
PDU_FootB2.Mother World
########################################################################
Volume PDU_FootC
PDU_FootC.Material Vacuum
PDU_FootC.Visibility 0
PDU_FootC.Shape BOX {2*Foot_Outer_Radius} {2*Foot_Outer_Radius} {.5*PDU_Wall_Width}
Volume PDU_FootC_Subset1
PDU_FootC_Subset1.Material PayloadWallMat
PDU_FootC_Subset1.Visibility {ShowPayload}
PDU_FootC_Subset1.Shape TUBE 0 Foot_Outer_Radius {.5*PDU_Wall_Width} 0 180
PDU_FootC_Subset1.Position 0 0 0
PDU_FootC_Subset1.Mother PDU_FootC
Volume PDU_FootC_Subset1_Hole_Subtraction
PDU_FootC_Subset1_Hole_Subtraction.Material PayloadScrewMat
PDU_FootC_Subset1_Hole_Subtraction.Visibility {ShowPayload}
PDU_FootC_Subset1_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*PDU_Wall_Width} 0 180
PDU_FootC_Subset1_Hole_Subtraction.Position 0 0 0
PDU_FootC_Subset1_Hole_Subtraction.Mother PDU_FootC_Subset1
Volume PDU_FootC_Subset2
PDU_FootC_Subset2.Material PayloadWallMat
PDU_FootC_Subset2.Visibility {ShowPayload}
PDU_FootC_Subset2.Shape BOX {2*Foot_Outer_Radius} {.5*Foot_Outer_Radius} {.5*PDU_Wall_Width}
PDU_FootC_Subset2.Position 0 {-.5*Foot_Outer_Radius} 0
PDU_FootC_Subset2.Mother PDU_FootC
Volume PDU_FootC_Subset2_Hole_Subtraction
PDU_FootC_Subset2_Hole_Subtraction.Material PayloadScrewMat
PDU_FootC_Subset2_Hole_Subtraction.Visibility {ShowPayload}
PDU_FootC_Subset2_Hole_Subtraction.Shape TUBE 0 {.5*Foot_Screw_Hole_Diameter} {.5*PDU_Wall_Width} 180 360
PDU_FootC_Subset2_Hole_Subtraction.Position 0 {.5*Foot_Outer_Radius} 0
PDU_FootC_Subset2_Hole_Subtraction.Mother PDU_FootC_Subset2
Volume PDU_FootC_Subset2_Edge_Subtraction1
PDU_FootC_Subset2_Edge_Subtraction1.Material Vacuum
PDU_FootC_Subset2_Edge_Subtraction1.Visibility {ShowPayload}
PDU_FootC_Subset2_Edge_Subtraction1.Shape TUBE 0 {Foot_Outer_Radius} {.5*PDU_Wall_Width} 270 360
PDU_FootC_Subset2_Edge_Subtraction1.Position {-2*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
PDU_FootC_Subset2_Edge_Subtraction1.Mother PDU_FootC_Subset2
Volume PDU_FootC_Subset2_Edge_Subtraction2
PDU_FootC_Subset2_Edge_Subtraction2.Material Vacuum
PDU_FootC_Subset2_Edge_Subtraction2.Visibility {ShowPayload}
PDU_FootC_Subset2_Edge_Subtraction2.Shape TUBE 0 {Foot_Outer_Radius} {.5*PDU_Wall_Width} 180 270
PDU_FootC_Subset2_Edge_Subtraction2.Position {2*Foot_Outer_Radius} {.5*Foot_Outer_Radius} 0
PDU_FootC_Subset2_Edge_Subtraction2.Mother PDU_FootC_Subset2
PDU_FootC.Copy PDU_FootC1
PDU_FootC1.Position {Wall1_x - .5*Wall1_Length - Foot_Outer_Radius} {Wall1_y + .5*Wall_Thickness - Foot_Side_Offset - 2*Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_FootC1.Rotation 0 0 90
PDU_FootC1.Mother World
PDU_FootC.Copy PDU_FootC2
PDU_FootC2.Position {Wall1_x - .5*Wall1_Length - Foot_Outer_Radius} {Wall1_y - Wall1_2_Offset - .5*Wall_Thickness + Foot_Side_Offset + 2*Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_FootC2.Rotation 0 0 90
PDU_FootC2.Mother World
PDU_FootC.Copy PDU_FootC3
PDU_FootC3.Position {Wall1_x + .5*Wall1_Length + Foot_Outer_Radius} {Wall1_y + .5*Wall_Thickness - Foot_Side_Offset - 2*Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_FootC3.Rotation 0 0 270
PDU_FootC3.Mother World
PDU_FootC.Copy PDU_FootC4
PDU_FootC4.Position {Wall1_x + .5*Wall1_Length + Foot_Outer_Radius} {Wall1_y - Wall1_2_Offset - .5*Wall_Thickness + Foot_Side_Offset + 2*Foot_Outer_Radius} {Wall1_z - .5*Wall1_Width - .5*PDU_Wall_Width}
PDU_FootC4.Rotation 0 0 270
PDU_FootC4.Mother World
#################################################################################
Volume PDU_Wall2_Hole
PDU_Wall2_Hole.Material PayloadWallMat
PDU_Wall2_Hole.Visibility {ShowPayload}
PDU_Wall2_Hole.Shape Box {PDU_Wall2_Hole_Ledge_Width + PDU_Wall2_Hole_Wing_Radius + PDU_Wall2_Hole_Wing_Width + .5*PDU_Wall2_Hole_Center_Width} {.5*Wall_Thickness} {.5*PDU_Wall2_Hole_Center_Height}
Volume PDU_Wall2_Hole_Center
PDU_Wall2_Hole_Center.Material Vacuum
PDU_Wall2_Hole_Center.Visibility {ShowPayload}
PDU_Wall2_Hole_Center.Shape Box {.5*PDU_Wall2_Hole_Center_Width} {.5*Wall_Thickness} {.5*PDU_Wall2_Hole_Center_Height}
PDU_Wall2_Hole_Center.Position 0 0 0
PDU_Wall2_Hole_Center.Mother PDU_Wall2_Hole
Volume PDU_Wall2_Hole_Wing1_Rectangle
PDU_Wall2_Hole_Wing1_Rectangle.Material Vacuum
PDU_Wall2_Hole_Wing1_Rectangle.Visibility {ShowPayload}
PDU_Wall2_Hole_Wing1_Rectangle.Shape Box {.5*PDU_Wall2_Hole_Wing_Width} {.5*Wall_Thickness} {PDU_Wall2_Hole_Wing_Radius}
PDU_Wall2_Hole_Wing1_Rectangle.Position {-.5*PDU_Wall2_Hole_Center_Width - .5*PDU_Wall2_Hole_Wing_Width} 0 0
PDU_Wall2_Hole_Wing1_Rectangle.Mother PDU_Wall2_Hole
Volume PDU_Wall2_Hole_Wing2_Rectangle
PDU_Wall2_Hole_Wing2_Rectangle.Material Vacuum
PDU_Wall2_Hole_Wing2_Rectangle.Visibility {ShowPayload}
PDU_Wall2_Hole_Wing2_Rectangle.Shape Box {.5*PDU_Wall2_Hole_Wing_Width} {.5*Wall_Thickness} {PDU_Wall2_Hole_Wing_Radius}
PDU_Wall2_Hole_Wing2_Rectangle.Position {.5*PDU_Wall2_Hole_Center_Width + .5*PDU_Wall2_Hole_Wing_Width} 0 0
PDU_Wall2_Hole_Wing2_Rectangle.Mother PDU_Wall2_Hole
Volume PDU_Wall2_Hole_Wing1_Circle
PDU_Wall2_Hole_Wing1_Circle.Material Vacuum
PDU_Wall2_Hole_Wing1_Circle.Visibility {ShowPayload}
PDU_Wall2_Hole_Wing1_Circle.Shape Tube {0} {PDU_Wall2_Hole_Wing_Radius} {.5*Wall_Thickness} 90 270
PDU_Wall2_Hole_Wing1_Circle.Position {-.5*PDU_Wall2_Hole_Center_Width - PDU_Wall2_Hole_Wing_Width} 0 0
PDU_Wall2_Hole_Wing1_Circle.Rotation 90 0 0
PDU_Wall2_Hole_Wing1_Circle.Mother PDU_Wall2_Hole
Volume PDU_Wall2_Hole_Wing2_Circle
PDU_Wall2_Hole_Wing2_Circle.Material Vacuum
PDU_Wall2_Hole_Wing2_Circle.Visibility {ShowPayload}
PDU_Wall2_Hole_Wing2_Circle.Shape Tube {0} {PDU_Wall2_Hole_Wing_Radius} {.5*Wall_Thickness} 90 270
PDU_Wall2_Hole_Wing2_Circle.Position {.5*PDU_Wall2_Hole_Center_Width + PDU_Wall2_Hole_Wing_Width} 0 0
PDU_Wall2_Hole_Wing2_Circle.Rotation 90 0 180
PDU_Wall2_Hole_Wing2_Circle.Mother PDU_Wall2_Hole
Volume PDU_Wall2_Hole_Wing1_Edge
PDU_Wall2_Hole_Wing1_Edge.Material Vacuum
PDU_Wall2_Hole_Wing1_Edge.Visibility {ShowPayload}
PDU_Wall2_Hole_Wing1_Edge.Shape Tube {PDU_Wall2_Hole_Wing_Radius} {PDU_Wall2_Hole_Wing_Radius + PDU_Wall2_Hole_Ledge_Width} {.5*PDU_Wall2_Hole_Ledge_Depth} 90 270
PDU_Wall2_Hole_Wing1_Edge.Position {-.5*PDU_Wall2_Hole_Center_Width - PDU_Wall2_Hole_Wing_Width} {-.5*Wall_Thickness + .5*PDU_Wall2_Hole_Ledge_Depth} 0
PDU_Wall2_Hole_Wing1_Edge.Rotation 90 0 0
PDU_Wall2_Hole_Wing1_Edge.Mother PDU_Wall2_Hole
Volume PDU_Wall2_Hole_Wing2_Edge
PDU_Wall2_Hole_Wing2_Edge.Material Vacuum
PDU_Wall2_Hole_Wing2_Edge.Visibility {ShowPayload}
PDU_Wall2_Hole_Wing2_Edge.Shape Tube {PDU_Wall2_Hole_Wing_Radius} {PDU_Wall2_Hole_Wing_Radius + PDU_Wall2_Hole_Ledge_Width} {.5*PDU_Wall2_Hole_Ledge_Depth} 90 270
PDU_Wall2_Hole_Wing2_Edge.Position {.5*PDU_Wall2_Hole_Center_Width + PDU_Wall2_Hole_Wing_Width} {-.5*Wall_Thickness + .5*PDU_Wall2_Hole_Ledge_Depth} 0
PDU_Wall2_Hole_Wing2_Edge.Rotation 90 0 180
PDU_Wall2_Hole_Wing2_Edge.Mother PDU_Wall2_Hole
PDU_Wall2_Hole.Copy PDU_Wall2_Hole1
PDU_Wall2_Hole1.Position {.5*Wall1_Length - PDU_Wall2_Hole_Length_Offset} 0 {.5*PDU_Wall_Width - PDU_Wall2_Hole_Width_Offset - .5*PDU_Wall2_Hole_Center_Height}
PDU_Wall2_Hole1.Mother PDU_Wall2
PDU_Wall2_Hole.Copy PDU_Wall2_Hole2
PDU_Wall2_Hole2.Position {.5*Wall1_Length - PDU_Wall2_Hole_Length_Offset - PDU_Wall2_Hole_Length_Spacing} 0 {.5*PDU_Wall_Width - PDU_Wall2_Hole_Width_Offset - .5*PDU_Wall2_Hole_Center_Height}
PDU_Wall2_Hole2.Mother PDU_Wall2
################################################################################
Volume PDU_Screw_Hole
PDU_Screw_Hole.Material PayloadWallMat
PDU_Screw_Hole.Visibility {ShowPayload}
PDU_Screw_Hole.Shape Tube {.5*PDU_Screw_ID} {.5*PDU_Screw_OD} {.5*PDU_Screw_Height} 0 360
Volume PDU_Screw_Insert
PDU_Screw_Insert.Material PayloadScrewMat
PDU_Screw_Insert.Visibility {ShowPayload}
PDU_Screw_Insert.Shape Tube 0 {.5*PDU_Screw_ID} {.5*Screw_Helix_Length - .5*PDU_Height} 0 360
Volume PDU_Screw_Head
PDU_Screw_Head.Material PayloadScrewMat
PDU_Screw_Head.Visibility {ShowPayload}
PDU_Screw_Head.Shape Tube 0 {.5*Screw_Head_Diameter} {.5*Screw_Head_Height} 0 360
For I 3 {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Screw_Width_Offset - .5*PDU_Screw_OD} {-PDU_Screw_Spacing}
For J 3 {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD} {PDU_Screw_Spacing}
PDU_Screw_Hole.Copy PDU_Screw_Hole_%I_%J
PDU_Screw_Hole_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + .5*PDU_Screw_Height}
PDU_Screw_Hole_%I_%J.Mother World
PDU_Screw_Insert.Copy PDU_Screw_Insert_%I_%J
PDU_Screw_Insert_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height - .5*Screw_Helix_Length + .5*PDU_Height}
PDU_Screw_Insert_%I_%J.Mother World
PDU_Screw_Head.Copy PDU_Screw_Head_%I_%J
PDU_Screw_Head_%I_%J.Position $I $J {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + PDU_Height + .5*Screw_Head_Height}
PDU_Screw_Head_%I_%J.Mother World
Done
Done
################################################################################
Volume PDU_Rectangle
PDU_Rectangle.Material PayloadWallMat
PDU_Rectangle.Visibility {ShowPayload}
PDU_Rectangle.Shape BOX {.5*PDU_Rectangle_Width} {.5*PDU_Rectangle_Length} {.5*PDU_Rectangle_Height}
For I 2 {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Rectangle_Width_Offset - .5*PDU_Rectangle_Width} {-PDU_Rectangle_Spacing - PDU_Rectangle_Width}
PDU_Rectangle.Copy PDU_Rectangle_%I
PDU_Rectangle_%I.Position $I {Wall1_y - .5*Wall_Thickness - PDU_Rectangle_Length_Offset - .5*PDU_Rectangle_Length} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + .5*PDU_Rectangle_Height}
PDU_Rectangle_%I.Mother World
Done
Done
Volume PDU
PDU.Material PayloadPCBMat
PDU.Visibility {ShowPayload}
PDU.Color 3
PDU.Shape BOX {.5*PDU_Width} {.5*PDU_Length} {.5*PDU_Height}
PDU.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Offset - .5*PDU_Width} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD + PDU_Screw_Spacing} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + .5*PDU_Height}
PDU.Mother World
Volume PDU_Screw
PDU_Screw.Material PayloadScrewMat
PDU_Screw.Visibility {ShowPayload}
PDU_Screw.Shape Tube 0 {.5*PDU_Screw_ID} {.5*PDU_Height} 0 360
For I 3 {PDU_Screw_Spacing} {-PDU_Screw_Spacing}
For J 3 {PDU_Screw_Spacing} {-PDU_Screw_Spacing}
PDU_Screw.Copy PDU_Screw_%I_%J
PDU_Screw_%I_%J.Position $I $J 0
PDU_Screw_%I_%J.Mother PDU
Done
Done
################################################################################
Constant DB9_Width 3.0734
Constant DB9_Length 1.143
Constant DB9_Height 1.0668
Constant DB9_Steel_Face_Thickness 0.1016
Constant DB9_Width_Offset 1.4732
Constant DB9_Width_Spacing 5.588
Volume DB9
DB9.Material Vacuum
DB9.Visibility 0
DB9.Shape BOX {.5*DB9_Width} {.5*DB9_Length + .5*DB9_Steel_Face_Thickness} {.5*DB9_Height}
Volume DB9_PBT
DB9_PBT.Material PBT
DB9_PBT.Visibility {ShowPayload}
DB9_PBT.Shape BOX {.5*DB9_Width} {.5*DB9_Length} {.5*DB9_Height}
DB9_PBT.Position 0 {-.5*DB9_Steel_Face_Thickness} 0
DB9_PBT.Mother DB9
Volume DB9_Steel
DB9_Steel.Material Steel_18_8
DB9_Steel.Visibility {ShowPayload}
DB9_Steel.Shape BOX {.5*DB9_Width} {.5*DB9_Steel_Face_Thickness} {.5*DB9_Height}
DB9_Steel.Position 0 {.5*DB9_Length} 0
DB9_Steel.Mother DB9
DB9.Copy DB9_1
DB9_1.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Offset - DB9_Width_Offset - .5*DB9_Width} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD + PDU_Screw_Spacing + .5*PDU_Length - .5*DB9_Length} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + PDU_Height + .5*DB9_Height}
DB9_1.Mother World
DB9.Copy DB9_2
DB9_2.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Offset - DB9_Width_Offset - .5*DB9_Width - DB9_Width_Spacing} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD + PDU_Screw_Spacing + .5*PDU_Length - .5*DB9_Length} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + PDU_Height + .5*DB9_Height}
DB9_2.Mother World
DB9.Copy DB9_3
DB9_3.Rotation 0 0 180
DB9_3.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Offset - DB9_Width_Offset - .5*DB9_Width} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD + PDU_Screw_Spacing - .5*PDU_Length + .5*DB9_Length} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + PDU_Height + .5*DB9_Height}
DB9_3.Mother World
DB9.Copy DB9_4
DB9_4.Rotation 0 0 180
DB9_4.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Offset - DB9_Width_Offset - .5*DB9_Width - DB9_Width_Spacing} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD + PDU_Screw_Spacing - .5*PDU_Length + .5*DB9_Length} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + PDU_Height + .5*DB9_Height}
DB9_4.Mother World
Constant PDU_Box2_Width 0.508
Constant PDU_Box2_Length 0.9398
Constant PDU_Box2_Height 0.4064
Constant PDU_Box2_Width_Offset 2.7432
Constant PDU_Box2_Length_Offset 2.2352
Volume PDU_Box2
PDU_Box2.Material PBT
PDU_Box2.Visibility {ShowPayload}
PDU_Box2.Shape BOX {.5*PDU_Box2_Width} {.5*PDU_Box2_Length} {.5*PDU_Box2_Height}
PDU_Box2.Copy PDU_Box2_1
PDU_Box2_1.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Offset - PDU_Box2_Width_Offset - .5*PDU_Box2_Width} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD + PDU_Screw_Spacing - .5*PDU_Length + PDU_Box2_Length_Offset + .5*PDU_Box2_Length} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + PDU_Height + .5*PDU_Box2_Height}
PDU_Box2_1.Mother World
PDU_Box2.Copy PDU_Box2_2
PDU_Box2_2.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Offset - PDU_Box2_Width_Offset - .5*PDU_Box2_Width - DB9_Width_Spacing} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD + PDU_Screw_Spacing - .5*PDU_Length + PDU_Box2_Length_Offset + .5*PDU_Box2_Length} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + PDU_Height + .5*PDU_Box2_Height}
PDU_Box2_2.Mother World
Constant PDU_Box3_Width 0.6858
Constant PDU_Box3_Length 0.4064
Constant PDU_Box3_Height 0.127
Constant PDU_Box3_Width_Offset 2.921
Constant PDU_Box3_Length_Offset 3.7592
Volume PDU_Box3
PDU_Box3.Material PBT
PDU_Box3.Visibility {ShowPayload}
PDU_Box3.Shape BOX {.5*PDU_Box3_Width} {.5*PDU_Box3_Length} {.5*PDU_Box3_Height}
PDU_Box3.Copy PDU_Box3_1
PDU_Box3_1.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Offset - PDU_Box3_Width_Offset - .5*PDU_Box3_Width} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD + PDU_Screw_Spacing - .5*PDU_Length + PDU_Box3_Length_Offset + .5*PDU_Box3_Length} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + PDU_Height + .5*PDU_Box3_Height}
PDU_Box3_1.Mother World
PDU_Box3.Copy PDU_Box3_2
PDU_Box3_2.Position {Wall1_x + .5*Wall1_Length - Wall_Thickness - PDU_Offset - PDU_Box3_Width_Offset - .5*PDU_Box3_Width - DB9_Width_Spacing} {Wall1_y - Wall1_2_Offset + .5*Wall_Thickness + PDU_Screw_Length_Offset + .5*PDU_Screw_OD + PDU_Screw_Spacing - .5*PDU_Length + PDU_Box3_Length_Offset + .5*PDU_Box3_Length} {Wall1_z - .5*Wall1_Width - PDU_Wall_Width + Wall_Thickness + PDU_Screw_Height + PDU_Height + .5*PDU_Box3_Height}
PDU_Box3_2.Mother World
Constant PDU_Box4_Width 0.7112
Constant PDU_Box4_Length 0.6858
Constant PDU_Box4_Height 0.381
Constant PDU_Box4_Width_Offset 2.4638
Constant PDU_Box4_Length_Offset 4.699
Constant PDU_Box4_Width_Spacing 0.889
Volume PDU_Box4
PDU_Box4.Material PBT
PDU_Box4.Visibility {ShowPayload}
PDU_Box4.Shape BOX {.5*PDU_Box4_Width} {.5*PDU_Box4_Length} {.5*PDU_Box4_Height}