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
|
# test script for hole_prism_rect.prt.2.gdml file
compound result
# box
box sh4A2C530 -321.87638082500001 -263.17581868000002 -254 643.75276165000002 526.35163736000004 508
# cylinder
plane pln_sh4C82480 -0 -0 -254 0 0 1 1 0 0
erase pln_sh4C82480
pcylinder sh4C82480 pln_sh4C82480 76.200000000000003 508 360
settolerance sh4C82480 5.0799999999999996e-006
# copy shape
copy sh4C82480 sh4C82480_copy
# shape transformation
trotate sh4C82480_copy 0 0 0 -0.70710677745571249 3.6866829955513545e-009 0.70710678491738266 -179.99999957753724
ttranslate sh4C82480_copy -67.876379483809757 -136.17581735118694 127.0000021362337
# shape transformation
trotate sh4C82480_copy 0 0 0 -0.679047659633503 -0.27890596661104489 0.67904766970737829 148.8317924119616
ttranslate sh4C82480_copy 0 -309.31813764999998 -164.27444069000001
# copy shape
copy sh4A2C530 sh4A2C530_copy
# shape transformation
trotate sh4A2C530_copy 0 0 0 -0.679047659633503 -0.27890596661104489 0.67904766970737829 148.8317924119616
ttranslate sh4A2C530_copy 0 -309.31813764999998 -164.27444069000001
# cut operation
bcut sh4C74CC0 sh4A2C530_copy sh4C82480_copy; copy sh4C74CC0 sh4C74CC0_copy
# result
add sh4C74CC0_copy result
|