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
|
# test script for keyhole01.prt.1.gdml file
compound result
# box
box sh43F4520 -19.794870960000001 -17.143051660000001 -0.75 39.589741920000002 34.286103320000002 1.5
# box
box sh43F6E40 -17.667114694999999 -17.667114694999999 -0.78000000000000003 35.334229389999997 35.334229389999997 1.5600000000000001
# copy shape
copy sh43F6E40 sh43F6E40_copy
# shape transformation
trotate sh43F6E40_copy 0 0 0 -1.8495309507267244e-016 -6.8192784064348704e-017 -1 98.213120669999995
ttranslate sh43F6E40_copy 34.806424699999994 -2.5238460499999946 -7.6605388699135801e-015
# shape transformation
trotate sh43F6E40_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh43F6E40_copy -0.75 0.00016331000000000001 -20
# box
box sh47B98E0 -17.667114694999999 -17.667114694999999 -0.81000000000000005 35.334229389999997 35.334229389999997 1.6200000000000001
# copy shape
copy sh47B98E0 sh47B98E0_copy
# shape transformation
trotate sh47B98E0_copy 0 0 0 -2.687373971602013e-016 1.5073942782538046e-017 -1 81.786879330000019
ttranslate sh47B98E0_copy -34.806424699999994 -2.5238460500000048 7.7715611723760958e-015
# shape transformation
trotate sh47B98E0_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh47B98E0_copy -0.75 0.00016331000000000001 -20
# cylinder
plane pln_sh47BC9E0 -0 -0 -0.75 0 0 1 1 0 0
erase pln_sh47BC9E0
pcylinder sh47BC9E0 pln_sh47BC9E0 20 1.5 360
settolerance sh47BC9E0 1.9999999999999999e-007
# box
box sh47BD930 -20.199999999999999 -8.6571585649999996 -0.76500000000000001 40.399999999999999 17.314317129999999 1.53
# copy shape
copy sh47BD930 sh47BD930_copy
# shape transformation
trotate sh47BD930_copy 0 0 0 -0.16910197872576244 -2.4997998108697394e-017 0.98559855965348897 1.7187357454852528e-014
ttranslate sh47BD930_copy 0 8.48589299 -2.2204460492503131e-016
# shape transformation
trotate sh47BD930_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh47BD930_copy -0.75 0.00016331000000000001 -20
# copy shape
copy sh47BC9E0 sh47BC9E0_copy
# shape transformation
trotate sh47BC9E0_copy 0 0 0 5.5511151231257802e-017 1.2681632833090816e-017 1 -180
ttranslate sh47BC9E0_copy -3.5527136788005009e-015 20.000163309999998 -5.5511151231257827e-016
# shape transformation
trotate sh47BC9E0_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh47BC9E0_copy -0.75 0.00016331000000000001 -20
# cut operation
bcut sh478C800 sh47BC9E0_copy sh47BD930_copy; copy sh478C800 sh478C800_copy
# cylinder
plane pln_sh4788C10 -0 -0 -0.75 0 0 1 1 0 0
erase pln_sh4788C10
pcylinder sh4788C10 pln_sh4788C10 15 1.5 360
settolerance sh4788C10 1.4999999999999999e-007
# box
box sh478DBB0 -15.15 -8.6571310750000006 -0.76500000000000001 30.300000000000001 17.314262150000001 1.53
# copy shape
copy sh478DBB0 sh478DBB0_copy
# shape transformation
trotate sh478DBB0_copy 0 0 0 5.5511151231257802e-017 1.2681632833090816e-017 1 -180
ttranslate sh478DBB0_copy 0 -8.4859204799999972 2.2204460492503131e-016
# shape transformation
trotate sh478DBB0_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh478DBB0_copy -0.75 0.00016331000000000001 -20
# copy shape
copy sh4788C10 sh4788C10_copy
# shape transformation
trotate sh4788C10_copy 0 0 0 5.5511151231257802e-017 1.2681632833090816e-017 1 -180
ttranslate sh4788C10_copy 3.5527136788005009e-015 -15.000217749999996 3.3306690738754696e-016
# shape transformation
trotate sh4788C10_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh4788C10_copy -0.75 0.00016331000000000001 -20
# cut operation
bcut sh4777C10 sh4788C10_copy sh478DBB0_copy; copy sh4777C10 sh4777C10_copy
# box
box sh4774100 -7.5000001000000003 -13.0050001 -0.75 15.000000200000001 26.0100002 1.5
# box
box sh4778D20 -2.8849958099999999 -2.8849958099999999 -0.78000000000000003 5.7699916199999999 5.7699916199999999 1.5600000000000001
# copy shape
copy sh4778D20 sh4778D20_copy
# shape transformation
trotate sh4778D20_copy 0 0 0 1.1627520677501779e-016 -3.3305310572771004e-017 1 -135
ttranslate sh4778D20_copy 7.5400001000000003 -19.040217849999994 -1.2212453270876722e-015
# shape transformation
trotate sh4778D20_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh4778D20_copy -0.75 0.00016331000000000001 -20
# box
box sh477AD80 -2.8849958099999999 -2.8849958099999999 -0.81000000000000005 5.7699916199999999 5.7699916199999999 1.6200000000000001
# copy shape
copy sh477AD80 sh477AD80_copy
# shape transformation
trotate sh477AD80_copy 0 0 0 -3.8667654906916162e-016 4.2829518398167079e-017 -1 44.999999999999986
ttranslate sh477AD80_copy -7.5400000999999968 -19.040217849999994 2.1094237467877974e-015
# shape transformation
trotate sh477AD80_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh477AD80_copy -0.75 0.00016331000000000001 -20
# cylinder
plane pln_sh439BB00 -0 -0 -0.75 0 0 1 1 0 0
erase pln_sh439BB00
pcylinder sh439BB00 pln_sh439BB00 15 1.5 360
settolerance sh439BB00 1.4999999999999999e-007
# box
box sh439EC70 -15.15 -1.014857565 -0.76500000000000001 30.300000000000001 2.02971513 1.53
# copy shape
copy sh439EC70 sh439EC70_copy
# shape transformation
trotate sh439EC70_copy 0 0 0 0.99999999999999989 0 0 6.1419313667991844e-032
ttranslate sh439EC70_copy 0 5.9949246899999986 -1.1102230246251565e-016
# shape transformation
trotate sh439EC70_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh439EC70_copy -0.75 0.00016331000000000001 -20
# copy shape
copy sh439BB00 sh439BB00_copy
# shape transformation
trotate sh439BB00_copy 0 0 0 5.5511151231257802e-017 1.2681632833090816e-017 1 -180
ttranslate sh439BB00_copy -3.5527136788005009e-015 20.000163309999998 -5.5511151231257827e-016
# shape transformation
trotate sh439BB00_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh439BB00_copy -0.75 0.00016331000000000001 -20
# cut operation
bcut sh47D4240 sh439BB00_copy sh439EC70_copy; copy sh47D4240 sh47D4240_copy
# cylinder
plane pln_sh47D6000 -0 -0 -0.75 0 0 1 1 0 0
erase pln_sh47D6000
pcylinder sh47D6000 pln_sh47D6000 4 1.5 360
# box
box sh47D3830 -4.04 -3.4483557 -0.76500000000000001 8.0800000000000001 6.8967114 1.53
# copy shape
copy sh47D3830 sh47D3830_copy
# shape transformation
trotate sh47D3830_copy 0 0 0 1.0576939815001346e-016 5.8668576238952654e-017 1 135.00000000000003
ttranslate sh47D3830_copy -3.0616442999999975 -14.561862049999997 9.9920072216264089e-016
# shape transformation
trotate sh47D3830_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh47D3830_copy -0.75 0.00016331000000000001 -20
# copy shape
copy sh47D6000 sh47D6000_copy
# shape transformation
trotate sh47D6000_copy 0 0 0 5.5511151231257802e-017 1.2681632833090816e-017 1 -180
ttranslate sh47D6000_copy -3.4999999999999964 -15.000217749999997 1.1102230246251565e-015
# shape transformation
trotate sh47D6000_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh47D6000_copy -0.75 0.00016331000000000001 -20
# cut operation
bcut sh440C690 sh47D6000_copy sh47D3830_copy; copy sh440C690 sh440C690_copy
# cylinder
plane pln_sh44373D0 -0 -0 -0.75 0 0 1 1 0 0
erase pln_sh44373D0
pcylinder sh44373D0 pln_sh44373D0 4 1.5 360
# box
box sh4437440 -4.04 -3.4483557 -0.76500000000000001 8.0800000000000001 6.8967114 1.53
# copy shape
copy sh4437440 sh4437440_copy
# shape transformation
trotate sh4437440_copy 0 0 0 1.1627520677501779e-016 -3.3305310572771004e-017 1 -135
ttranslate sh4437440_copy 3.0616443000000046 -14.561862049999995 -3.3306690738754696e-016
# shape transformation
trotate sh4437440_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh4437440_copy -0.75 0.00016331000000000001 -20
# copy shape
copy sh44373D0 sh44373D0_copy
# shape transformation
trotate sh44373D0_copy 0 0 0 5.5511151231257802e-017 1.2681632833090816e-017 1 -180
ttranslate sh44373D0_copy 3.5000000000000036 -15.000217749999996 -4.4408920985006262e-016
# shape transformation
trotate sh44373D0_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh44373D0_copy -0.75 0.00016331000000000001 -20
# cut operation
bcut sh440EBC0 sh44373D0_copy sh4437440_copy; copy sh440EBC0 sh440EBC0_copy
# copy shape
copy sh4774100 sh4774100_copy
# shape transformation
trotate sh4774100_copy 0 0 0 0.99999999999999989 0 0 6.1419313667991844e-032
ttranslate sh4774100_copy 0 -5.9952177499999992 1.1102230246251565e-016
# shape transformation
trotate sh4774100_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh4774100_copy -0.75 0.00016331000000000001 -20
# cut operation
bcut sh443DA30 sh4774100_copy sh4778D20_copy; copy sh443DA30 sh443DA30_copy
# cut operation
bcut sh443B6C0 sh443DA30_copy sh477AD80_copy; copy sh443B6C0 sh443B6C0_copy
# fuse operation
bfuse sh4453170 sh443B6C0_copy sh47D4240_copy; copy sh4453170 sh4453170_copy
# fuse operation
bfuse sh4447B30 sh4453170_copy sh440C690_copy; copy sh4447B30 sh4447B30_copy
# fuse operation
bfuse sh443C7D0 sh4447B30_copy sh440EBC0_copy; copy sh443C7D0 sh443C7D0_copy
# cylinder
plane pln_sh440C150 -0 -0 -0.75 0 0 1 1 0 0
erase pln_sh440C150
pcylinder sh440C150 pln_sh440C150 2 1.5 360
# copy shape
copy sh440C150 sh440C150_copy
# shape transformation
trotate sh440C150_copy 0 0 0 5.5511151231257802e-017 1.2681632833090816e-017 1 -180
ttranslate sh440C150_copy 12.499999999999996 0.00016331000000184781 -2.7755575615628914e-015
# shape transformation
trotate sh440C150_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh440C150_copy -0.75 0.00016331000000000001 -20
# cylinder
plane pln_sh440F640 -0 -0 -0.75 0 0 1 1 0 0
erase pln_sh440F640
pcylinder sh440F640 pln_sh440F640 2 1.5 360
# copy shape
copy sh440F640 sh440F640_copy
# shape transformation
trotate sh440F640_copy 0 0 0 5.5511151231257802e-017 1.2681632833090816e-017 1 -180
ttranslate sh440F640_copy -12.499999999999998 0.00016330999999815212 2.7755575615628914e-015
# shape transformation
trotate sh440F640_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh440F640_copy -0.75 0.00016331000000000001 -20
# copy shape
copy sh43F4520 sh43F4520_copy
# shape transformation
trotate sh43F4520_copy 0 0 0 -0.70710678118654746 -4.3297802811774677e-017 0.70710678118654757 180
ttranslate sh43F4520_copy -0.75 0.00016331000000000001 -20
# cut operation
bcut sh4454210 sh43F4520_copy sh43F6E40_copy; copy sh4454210 sh4454210_copy
# cut operation
bcut sh4450380 sh4454210_copy sh47B98E0_copy; copy sh4450380 sh4450380_copy
# fuse operation
bfuse sh4357260 sh4450380_copy sh478C800_copy; copy sh4357260 sh4357260_copy
# fuse operation
bfuse sh435A520 sh4357260_copy sh4777C10_copy; copy sh435A520 sh435A520_copy
# cut operation
bcut sh9489A80 sh435A520_copy sh443C7D0_copy; copy sh9489A80 sh9489A80_copy
# cut operation
bcut sh4364AF0 sh9489A80_copy sh440C150_copy; copy sh4364AF0 sh4364AF0_copy
# cut operation
bcut sh4368440 sh4364AF0_copy sh440F640_copy; copy sh4368440 sh4368440_copy
# result
add sh4368440_copy result
|