mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Added subgroups volumemaker, gdml_private and gdml_public Moved scripts from public repository ti test cases Added more TODOs to unstable test cases Small corrections for unstable test cases
343 lines
12 KiB
Plaintext
343 lines
12 KiB
Plaintext
# test script for cart01.prt.6.gdml file
|
|
compound result
|
|
|
|
# box
|
|
box sh43A29B0 -381 -635 -444.5 762 1270 889
|
|
|
|
# box
|
|
box sh43FE230 -317.5 -571.5 -393.69999999999999 635 1143 787.39999999999998
|
|
|
|
# copy shape
|
|
copy sh43FE230 sh43FE230_copy
|
|
|
|
# shape transformation
|
|
trotate sh43FE230_copy 0 0 0 1 0 0 6.2725381128105878e-046
|
|
|
|
# shape transformation
|
|
trotate sh43FE230_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh43FE230_copy 0 444.5 0
|
|
|
|
# box
|
|
box sh4401410 -127 -254 -393.69999999999999 254 508 787.39999999999998
|
|
|
|
# box
|
|
box sh4403EF0 -127 -254 -393.69999999999999 254 508 787.39999999999998
|
|
|
|
# copy shape
|
|
copy sh4403EF0 sh4403EF0_copy
|
|
|
|
# shape transformation
|
|
trotate sh4403EF0_copy 0 0 0 5.5511151231257827e-017 -1 -2.7755575615628909e-016 90
|
|
ttranslate sh4403EF0_copy -12.699999999999934 279.39999999999992 192.36237539000012
|
|
|
|
# shape transformation
|
|
trotate sh4403EF0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh4403EF0_copy 0 444.5 0
|
|
|
|
# copy shape
|
|
copy sh4401410 sh4401410_copy
|
|
|
|
# shape transformation
|
|
trotate sh4401410_copy 0 0 0 5.5511151231257827e-017 -1 -2.7755575615628909e-016 90
|
|
ttranslate sh4401410_copy -12.700000000000058 -279.39999999999992 190.49999999999989
|
|
|
|
# shape transformation
|
|
trotate sh4401410_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh4401410_copy 0 444.5 0
|
|
|
|
# fuse operation
|
|
bfuse sh441BB40 sh4401410_copy sh4403EF0_copy; copy sh441BB40 sh441BB40_copy
|
|
|
|
# box
|
|
box sh441C240 -190.5 -317.5 -635 381 635 1270
|
|
|
|
# copy shape
|
|
copy sh441C240 sh441C240_copy
|
|
|
|
# shape transformation
|
|
trotate sh441C240_copy 0 0 0 0.57735026918962573 0.57735026918962562 0.57735026918962573 -120.00000000000001
|
|
ttranslate sh441C240_copy 0 -2.8199664825478976e-014 127
|
|
|
|
# shape transformation
|
|
trotate sh441C240_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh441C240_copy 0 444.5 0
|
|
|
|
# tore
|
|
plane pln_sh441C390 0 0 0 0 0 1 1 0 0
|
|
erase pln_sh441C390
|
|
ptorus sh441C390 pln_sh441C390 63.5 38.100000000000001 360
|
|
settolerance sh441C390 6.3499999999999996e-007
|
|
|
|
# copy shape
|
|
copy sh441C390 sh441C390_copy
|
|
|
|
# shape transformation
|
|
trotate sh441C390_copy 0 0 0 -0.57735026918962562 0.57735026918962584 -0.57735026918962562 120.00000000000001
|
|
ttranslate sh441C390_copy -1.1279865930191585e-013 -507.99999999999977 -533.39999999999998
|
|
|
|
# shape transformation
|
|
trotate sh441C390_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh441C390_copy 0 444.5 0
|
|
|
|
# tore
|
|
plane pln_sh441D200 0 0 0 0 0 1 1 0 0
|
|
erase pln_sh441D200
|
|
ptorus sh441D200 pln_sh441D200 76.200000000000003 38.100000000000001 360
|
|
settolerance sh441D200 7.6199999999999997e-007
|
|
|
|
# tore
|
|
plane pln_sh441E310 0 0 0 0 0 1 1 0 0
|
|
erase pln_sh441E310
|
|
ptorus sh441E310 pln_sh441E310 76.200000000000003 38.100000000000001 360
|
|
settolerance sh441E310 7.6199999999999997e-007
|
|
|
|
# copy shape
|
|
copy sh441E310 sh441E310_copy
|
|
|
|
# shape transformation
|
|
trotate sh441E310_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 -120.00000000000001
|
|
ttranslate sh441E310_copy -380.99999999999989 254.00000000000014 -533.39999999999986
|
|
|
|
# shape transformation
|
|
trotate sh441E310_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh441E310_copy 0 444.5 0
|
|
|
|
# copy shape
|
|
copy sh441D200 sh441D200_copy
|
|
|
|
# shape transformation
|
|
trotate sh441D200_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 -120.00000000000001
|
|
ttranslate sh441D200_copy 381 253.99999999999997 -533.39999999999986
|
|
|
|
# shape transformation
|
|
trotate sh441D200_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh441D200_copy 0 444.5 0
|
|
|
|
# fuse operation
|
|
bfuse sh47A25E0 sh441D200_copy sh441E310_copy; copy sh47A25E0 sh47A25E0_copy
|
|
|
|
# cone
|
|
plane pln_sh47A2730 0 0 11.563231533144203 0 0 1 0.98480775301220802 -0.17364817766693033 0
|
|
erase pln_sh47A2730
|
|
pcone sh47A2730 pln_sh47A2730 163.48776537999987 932.32790832999922 54.378849476855791 10
|
|
settolerance sh47A2730 9.3232790832999917e-006
|
|
|
|
# cone
|
|
plane pln_sh47A4E20 0 0 13171.665397490679 0 0 1 1 0 0
|
|
erase pln_sh47A4E20
|
|
pcone sh47A4E20 pln_sh47A4E20 931.61109825999995 932.32790833000001 10.134682179321317 10
|
|
settolerance sh47A4E20 0.00013181800079669999
|
|
|
|
# copy shape
|
|
copy sh47A4E20 sh47A4E20_copy
|
|
|
|
# shape transformation
|
|
trotate sh47A4E20_copy 0 0 0 -0.70710678118654746 0.70710678118654757 1.1775693440128312e-016 180
|
|
ttranslate sh47A4E20_copy 0 -3.0490008138572815e-012 13731.478929139996
|
|
|
|
# shape transformation
|
|
trotate sh47A4E20_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh47A4E20_copy 0 444.5 0
|
|
|
|
# cone
|
|
plane pln_sh47A6F60 0 0 11.397407360723282 0 0 1 0.98480775301220802 -0.17364817766693033 0
|
|
erase pln_sh47A6F60
|
|
pcone sh47A6F60 pln_sh47A6F60 161.14324575000018 933.23880782000094 54.609100129276726 10
|
|
settolerance sh47A6F60 9.332388078200009e-006
|
|
|
|
# copy shape
|
|
copy sh47A6F60 sh47A6F60_copy
|
|
|
|
# shape transformation
|
|
trotate sh47A6F60_copy 0 0 0 1.6653345369377341e-016 5.5511151231257802e-017 -1 90.000000000000014
|
|
ttranslate sh47A6F60_copy 0 -1.0967274855167016e-013 493.92214950999994
|
|
|
|
# shape transformation
|
|
trotate sh47A6F60_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh47A6F60_copy 0 444.5 0
|
|
|
|
# cone
|
|
plane pln_sh47A9650 0 0 2278.3379438268994 0 0 1 1 0 0
|
|
erase pln_sh47A9650
|
|
pcone sh47A9650 pln_sh47A9650 161.14324575000001 165.11547493 56.161711403100526 10
|
|
settolerance sh47A9650 2.3344996552299997e-005
|
|
|
|
# copy shape
|
|
copy sh47A9650 sh47A9650_copy
|
|
|
|
# shape transformation
|
|
trotate sh47A9650_copy 0 0 0 -0.70710678118654746 0.70710678118654757 1.1775693440128312e-016 180
|
|
ttranslate sh47A9650_copy 0 -6.2323171970746191e-013 2806.7861406399993
|
|
|
|
# shape transformation
|
|
trotate sh47A9650_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh47A9650_copy 0 444.5 0
|
|
|
|
# copy shape
|
|
copy sh47A2730 sh47A2730_copy
|
|
|
|
# shape transformation
|
|
trotate sh47A2730_copy 0 0 0 1.6653345369377341e-016 5.5511151231257802e-017 -1 90.000000000000014
|
|
ttranslate sh47A2730_copy 0 -1.0741113964263244e-013 483.7367684699999
|
|
|
|
# shape transformation
|
|
trotate sh47A2730_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh47A2730_copy 0 444.5 0
|
|
|
|
# fuse operation
|
|
bfuse sh9409FB0 sh47A2730_copy sh47A4E20_copy; copy sh9409FB0 sh9409FB0_copy
|
|
|
|
# cut operation
|
|
bcut sh44D3E40 sh9409FB0_copy sh47A6F60_copy; copy sh44D3E40 sh44D3E40_copy
|
|
|
|
# cut operation
|
|
bcut sh44E0C50 sh44D3E40_copy sh47A9650_copy; copy sh44E0C50 sh44E0C50_copy
|
|
|
|
# cone
|
|
plane pln_sh479B320 0 0 8500.3576709034769 0 0 1 -1 1.2246467991473532e-016 0
|
|
erase pln_sh479B320
|
|
pcone sh479B320 pln_sh479B320 889.00000000000011 890.05680790999997 10.104887766523461 10
|
|
settolerance sh479B320 8.51046255867e-005
|
|
|
|
# cone
|
|
plane pln_sh4799090 0 0 15.938576380529716 0 0 1 -0.98480775301220813 0.17364817766693028 0
|
|
erase pln_sh4799090
|
|
pcone sh4799090 pln_sh4799090 152.39999999999958 890.05680790999759 77.146977529470291 10
|
|
settolerance sh4799090 8.9005680790999752e-006
|
|
|
|
# copy shape
|
|
copy sh4799090 sh4799090_copy
|
|
|
|
# shape transformation
|
|
trotate sh4799090_copy 0 0 0 1.6653345369377341e-016 5.5511151231257802e-017 -1 90.000000000000014
|
|
ttranslate sh4799090_copy 0 -1.0643961792400342e-013 479.36142361999987
|
|
|
|
# shape transformation
|
|
trotate sh4799090_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh4799090_copy 0 444.5 0
|
|
|
|
# cone
|
|
plane pln_sh4797340 0 0 15.669770843494685 0 0 1 -0.98480775301220813 0.17364817766693028 0
|
|
erase pln_sh4797340
|
|
pcone sh4797340 pln_sh4797340 149.82976017000007 890.51343192000058 77.463538556505313 10
|
|
settolerance sh4797340 8.9051343192000058e-006
|
|
|
|
# copy shape
|
|
copy sh4797340 sh4797340_copy
|
|
|
|
# shape transformation
|
|
trotate sh4797340_copy 0 0 0 1.6653345369377341e-016 5.5511151231257802e-017 -1 90.000000000000014
|
|
ttranslate sh4797340_copy 0 -1.0870789522332552e-013 489.57683641999984
|
|
|
|
# shape transformation
|
|
trotate sh4797340_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh4797340_copy 0 444.5 0
|
|
|
|
# cone
|
|
plane pln_sh44D6CA0 0 0 1432.6282915626587 0 0 1 -1 1.2246467991473532e-016 0
|
|
erase pln_sh44D6CA0
|
|
pcone sh44D6CA0 pln_sh44D6CA0 149.82976016999996 153.91343191999997 39.046873437341446 10
|
|
settolerance sh44D6CA0 1.4716751649999999e-005
|
|
|
|
# copy shape
|
|
copy sh44D6CA0 sh44D6CA0_copy
|
|
|
|
# shape transformation
|
|
trotate sh44D6CA0_copy 0 0 0 -0.70710678118654746 0.70710678118654757 1.1775693440128312e-016 180
|
|
ttranslate sh44D6CA0_copy 0 -4.3354301751952195e-013 1952.5041721499997
|
|
|
|
# shape transformation
|
|
trotate sh44D6CA0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh44D6CA0_copy 0 444.5 0
|
|
|
|
# copy shape
|
|
copy sh479B320 sh479B320_copy
|
|
|
|
# shape transformation
|
|
trotate sh479B320_copy 0 0 0 -0.70710678118654746 0.70710678118654757 1.1775693440128312e-016 180
|
|
ttranslate sh479B320_copy 0 -2.0168110595353277e-012 9082.9095361999989
|
|
|
|
# shape transformation
|
|
trotate sh479B320_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh479B320_copy 0 444.5 0
|
|
|
|
# fuse operation
|
|
bfuse sh94048A0 sh479B320_copy sh4799090_copy; copy sh94048A0 sh94048A0_copy
|
|
|
|
# cut operation
|
|
bcut sh434ECF0 sh94048A0_copy sh4797340_copy; copy sh434ECF0 sh434ECF0_copy
|
|
|
|
# cut operation
|
|
bcut sh435AFA0 sh434ECF0_copy sh44D6CA0_copy; copy sh435AFA0 sh435AFA0_copy
|
|
|
|
# cylinder
|
|
plane pln_sh43500A0 -0 -0 -12.699999999999999 0 0 1 1 0 0
|
|
erase pln_sh43500A0
|
|
pcylinder sh43500A0 pln_sh43500A0 57.349299510000002 25.399999999999999 360
|
|
settolerance sh43500A0 5.7349299509999996e-007
|
|
|
|
# cylinder
|
|
plane pln_sh4350F10 -0 -0 -12.699999999999999 0 0 1 1 0 0
|
|
erase pln_sh4350F10
|
|
pcylinder sh4350F10 pln_sh4350F10 57.349299510000002 25.399999999999999 360
|
|
settolerance sh4350F10 5.7349299509999996e-007
|
|
|
|
# copy shape
|
|
copy sh4350F10 sh4350F10_copy
|
|
|
|
# shape transformation
|
|
trotate sh4350F10_copy 0 0 0 1 -1.6653345369377341e-016 -1.6653345369377346e-016 90.000000000000014
|
|
ttranslate sh4350F10_copy 253.9999999999998 -647.69999999999982 -190.50000000000009
|
|
|
|
# shape transformation
|
|
trotate sh4350F10_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh4350F10_copy 0 444.5 0
|
|
|
|
# copy shape
|
|
copy sh43500A0 sh43500A0_copy
|
|
|
|
# shape transformation
|
|
trotate sh43500A0_copy 0 0 0 1 -1.6653345369377341e-016 -1.6653345369377346e-016 90.000000000000014
|
|
ttranslate sh43500A0_copy -254.00000000000009 -647.69999999999982 -190.50000000000009
|
|
|
|
# shape transformation
|
|
trotate sh43500A0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh43500A0_copy 0 444.5 0
|
|
|
|
# fuse operation
|
|
bfuse sh4353BB0 sh43500A0_copy sh4350F10_copy; copy sh4353BB0 sh4353BB0_copy
|
|
|
|
# copy shape
|
|
copy sh43A29B0 sh43A29B0_copy
|
|
|
|
# shape transformation
|
|
trotate sh43A29B0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh43A29B0_copy 0 444.5 0
|
|
|
|
# cut operation
|
|
bcut sh434EDD0 sh43A29B0_copy sh43FE230_copy; copy sh434EDD0 sh434EDD0_copy
|
|
|
|
# cut operation
|
|
bcut sh44B72C0 sh434EDD0_copy sh441BB40_copy; copy sh44B72C0 sh44B72C0_copy
|
|
|
|
# cut operation
|
|
bcut sh9403790 sh44B72C0_copy sh441C240_copy; copy sh9403790 sh9403790_copy
|
|
|
|
# fuse operation
|
|
bfuse sh942BF20 sh9403790_copy sh441C390_copy; copy sh942BF20 sh942BF20_copy
|
|
|
|
# fuse operation
|
|
bfuse sh43697F0 sh942BF20_copy sh47A25E0_copy; copy sh43697F0 sh43697F0_copy
|
|
|
|
# fuse operation
|
|
bfuse sh9416040 sh43697F0_copy sh44E0C50_copy; copy sh9416040 sh9416040_copy
|
|
|
|
# fuse operation
|
|
bfuse sh4369400 sh9416040_copy sh435AFA0_copy; copy sh4369400 sh4369400_copy
|
|
|
|
# fuse operation
|
|
bfuse sh4358060 sh4369400_copy sh4353BB0_copy; copy sh4358060 sh4358060_copy
|
|
|
|
# result
|
|
add sh4358060_copy result
|