mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +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
346 lines
12 KiB
Plaintext
346 lines
12 KiB
Plaintext
# test script for cart_simple.prt.6.gdml file
|
|
compound result
|
|
|
|
# box
|
|
box sh46E7080 -381 -635 -444.5 762 1270 889
|
|
|
|
# box
|
|
box sh477E920 -317.5 -571.5 -393.69999999999999 635 1143 787.39999999999998
|
|
|
|
# copy shape
|
|
copy sh477E920 sh477E920_copy
|
|
|
|
# shape transformation
|
|
trotate sh477E920_copy 0 0 0 1 0 0 6.2725381128105878e-046
|
|
|
|
# shape transformation
|
|
trotate sh477E920_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh477E920_copy 0 444.5 0
|
|
|
|
# box
|
|
box sh4782270 -127 -254 -393.69999999999999 254 508 787.39999999999998
|
|
|
|
# copy shape
|
|
copy sh4782270 sh4782270_copy
|
|
|
|
# shape transformation
|
|
trotate sh4782270_copy 0 0 0 5.5511151231257827e-017 -1 -2.7755575615628909e-016 90
|
|
ttranslate sh4782270_copy -12.700000000000058 -279.39999999999992 190.49999999999989
|
|
|
|
# shape transformation
|
|
trotate sh4782270_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh4782270_copy 0 444.5 0
|
|
|
|
# box
|
|
box sh4785530 -190.5 -317.5 -635 381 635 1270
|
|
|
|
# copy shape
|
|
copy sh4785530 sh4785530_copy
|
|
|
|
# shape transformation
|
|
trotate sh4785530_copy 0 0 0 0.57735026918962573 0.57735026918962562 0.57735026918962573 -120.00000000000001
|
|
ttranslate sh4785530_copy 0 -2.8199664825478976e-014 127
|
|
|
|
# shape transformation
|
|
trotate sh4785530_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh4785530_copy 0 444.5 0
|
|
|
|
# tore
|
|
plane pln_sh46C1C40 0 0 0 0 0 1 1 0 0
|
|
erase pln_sh46C1C40
|
|
ptorus sh46C1C40 pln_sh46C1C40 63.5 38.100000000000001 360
|
|
settolerance sh46C1C40 6.3499999999999996e-007
|
|
|
|
# copy shape
|
|
copy sh46C1C40 sh46C1C40_copy
|
|
|
|
# shape transformation
|
|
trotate sh46C1C40_copy 0 0 0 -0.57735026918962562 0.57735026918962584 -0.57735026918962562 120.00000000000001
|
|
ttranslate sh46C1C40_copy -1.1279865930191585e-013 -507.99999999999977 -533.39999999999998
|
|
|
|
# shape transformation
|
|
trotate sh46C1C40_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh46C1C40_copy 0 444.5 0
|
|
|
|
# tore
|
|
plane pln_sh46C29D0 0 0 0 0 0 1 1 0 0
|
|
erase pln_sh46C29D0
|
|
ptorus sh46C29D0 pln_sh46C29D0 76.200000000000003 38.100000000000001 360
|
|
settolerance sh46C29D0 7.6199999999999997e-007
|
|
|
|
# copy shape
|
|
copy sh46C29D0 sh46C29D0_copy
|
|
|
|
# shape transformation
|
|
trotate sh46C29D0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 -120.00000000000001
|
|
ttranslate sh46C29D0_copy 381 253.99999999999997 -533.39999999999986
|
|
|
|
# shape transformation
|
|
trotate sh46C29D0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh46C29D0_copy 0 444.5 0
|
|
|
|
# cylinder
|
|
plane pln_sh46C35A0 -0 -0 -88.900000000000006 0 0 1 1 0 0
|
|
erase pln_sh46C35A0
|
|
pcylinder sh46C35A0 pln_sh46C35A0 177.80000000000001 177.80000000000001 360
|
|
settolerance sh46C35A0 1.778e-006
|
|
|
|
# copy shape
|
|
copy sh46C35A0 sh46C35A0_copy
|
|
|
|
# shape transformation
|
|
trotate sh46C35A0_copy 0 0 0 1.6653345369377341e-016 5.5511151231257802e-017 -1 90.000000000000014
|
|
ttranslate sh46C35A0_copy 0 -1.087153478351865e-013 489.61039999999991
|
|
|
|
# shape transformation
|
|
trotate sh46C35A0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh46C35A0_copy 0 444.5 0
|
|
|
|
# cone
|
|
plane pln_sh46C4B10 0 0 11.563231533144203 0 0 1 0.98480775301220802 -0.17364817766693033 0
|
|
erase pln_sh46C4B10
|
|
pcone sh46C4B10 pln_sh46C4B10 163.48776537999987 932.32790832999922 54.378849476855791 10
|
|
settolerance sh46C4B10 9.3232790832999917e-006
|
|
|
|
# cone
|
|
plane pln_sh46C7200 0 0 13171.665397490679 0 0 1 1 0 0
|
|
erase pln_sh46C7200
|
|
pcone sh46C7200 pln_sh46C7200 931.61109825999995 932.32790833000001 10.134682179321317 10
|
|
settolerance sh46C7200 0.00013181800079669999
|
|
|
|
# copy shape
|
|
copy sh46C7200 sh46C7200_copy
|
|
|
|
# shape transformation
|
|
trotate sh46C7200_copy 0 0 0 -0.70710678118654746 0.70710678118654757 1.1775693440128312e-016 180
|
|
ttranslate sh46C7200_copy 0 -3.0490008138572815e-012 13731.478929139996
|
|
|
|
# shape transformation
|
|
trotate sh46C7200_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh46C7200_copy 0 444.5 0
|
|
|
|
# cone
|
|
plane pln_sh46C9380 0 0 11.397407360723282 0 0 1 0.98480775301220802 -0.17364817766693033 0
|
|
erase pln_sh46C9380
|
|
pcone sh46C9380 pln_sh46C9380 161.14324575000018 933.23880782000094 54.609100129276726 10
|
|
settolerance sh46C9380 9.332388078200009e-006
|
|
|
|
# copy shape
|
|
copy sh46C9380 sh46C9380_copy
|
|
|
|
# shape transformation
|
|
trotate sh46C9380_copy 0 0 0 1.6653345369377341e-016 5.5511151231257802e-017 -1 90.000000000000014
|
|
ttranslate sh46C9380_copy 0 -1.0967274855167016e-013 493.92214950999994
|
|
|
|
# shape transformation
|
|
trotate sh46C9380_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh46C9380_copy 0 444.5 0
|
|
|
|
# cone
|
|
plane pln_sh46CBA70 0 0 2278.3379438268994 0 0 1 1 0 0
|
|
erase pln_sh46CBA70
|
|
pcone sh46CBA70 pln_sh46CBA70 161.14324575000001 165.11547493 56.161711403100526 10
|
|
settolerance sh46CBA70 2.3344996552299997e-005
|
|
|
|
# copy shape
|
|
copy sh46CBA70 sh46CBA70_copy
|
|
|
|
# shape transformation
|
|
trotate sh46CBA70_copy 0 0 0 -0.70710678118654746 0.70710678118654757 1.1775693440128312e-016 180
|
|
ttranslate sh46CBA70_copy 0 -6.2323171970746191e-013 2806.7861406399993
|
|
|
|
# shape transformation
|
|
trotate sh46CBA70_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh46CBA70_copy 0 444.5 0
|
|
|
|
# copy shape
|
|
copy sh46C4B10 sh46C4B10_copy
|
|
|
|
# shape transformation
|
|
trotate sh46C4B10_copy 0 0 0 1.6653345369377341e-016 5.5511151231257802e-017 -1 90.000000000000014
|
|
ttranslate sh46C4B10_copy 0 -1.0741113964263244e-013 483.7367684699999
|
|
|
|
# shape transformation
|
|
trotate sh46C4B10_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh46C4B10_copy 0 444.5 0
|
|
|
|
# fuse operation
|
|
bfuse sh47B1640 sh46C4B10_copy sh46C7200_copy; copy sh47B1640 sh47B1640_copy
|
|
|
|
# cut operation
|
|
bcut sh47B19C0 sh47B1640_copy sh46C9380_copy; copy sh47B19C0 sh47B19C0_copy
|
|
|
|
# cut operation
|
|
bcut sh4718F10 sh47B19C0_copy sh46CBA70_copy; copy sh4718F10 sh4718F10_copy
|
|
|
|
# cone
|
|
plane pln_sh4715FD0 0 0 8500.3576709034769 0 0 1 -1 1.2246467991473532e-016 0
|
|
erase pln_sh4715FD0
|
|
pcone sh4715FD0 pln_sh4715FD0 889.00000000000011 890.05680790999997 10.104887766523461 10
|
|
settolerance sh4715FD0 8.51046255867e-005
|
|
|
|
# cone
|
|
plane pln_sh471FFF0 0 0 15.938576380529716 0 0 1 -0.98480775301220813 0.17364817766693028 0
|
|
erase pln_sh471FFF0
|
|
pcone sh471FFF0 pln_sh471FFF0 152.39999999999958 890.05680790999759 77.146977529470291 10
|
|
settolerance sh471FFF0 8.9005680790999752e-006
|
|
|
|
# copy shape
|
|
copy sh471FFF0 sh471FFF0_copy
|
|
|
|
# shape transformation
|
|
trotate sh471FFF0_copy 0 0 0 1.6653345369377341e-016 5.5511151231257802e-017 -1 90.000000000000014
|
|
ttranslate sh471FFF0_copy 0 -1.0643961792400342e-013 479.36142361999987
|
|
|
|
# shape transformation
|
|
trotate sh471FFF0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh471FFF0_copy 0 444.5 0
|
|
|
|
# cone
|
|
plane pln_sh471A5D0 0 0 15.669770843494685 0 0 1 -0.98480775301220813 0.17364817766693028 0
|
|
erase pln_sh471A5D0
|
|
pcone sh471A5D0 pln_sh471A5D0 149.82976017000007 890.51343192000058 77.463538556505313 10
|
|
settolerance sh471A5D0 8.9051343192000058e-006
|
|
|
|
# copy shape
|
|
copy sh471A5D0 sh471A5D0_copy
|
|
|
|
# shape transformation
|
|
trotate sh471A5D0_copy 0 0 0 1.6653345369377341e-016 5.5511151231257802e-017 -1 90.000000000000014
|
|
ttranslate sh471A5D0_copy 0 -1.0870789522332552e-013 489.57683641999984
|
|
|
|
# shape transformation
|
|
trotate sh471A5D0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh471A5D0_copy 0 444.5 0
|
|
|
|
# cone
|
|
plane pln_sh47127D0 0 0 1432.6282915626587 0 0 1 -1 1.2246467991473532e-016 0
|
|
erase pln_sh47127D0
|
|
pcone sh47127D0 pln_sh47127D0 149.82976016999996 153.91343191999997 39.046873437341446 10
|
|
settolerance sh47127D0 1.4716751649999999e-005
|
|
|
|
# copy shape
|
|
copy sh47127D0 sh47127D0_copy
|
|
|
|
# shape transformation
|
|
trotate sh47127D0_copy 0 0 0 -0.70710678118654746 0.70710678118654757 1.1775693440128312e-016 180
|
|
ttranslate sh47127D0_copy 0 -4.3354301751952195e-013 1952.5041721499997
|
|
|
|
# shape transformation
|
|
trotate sh47127D0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh47127D0_copy 0 444.5 0
|
|
|
|
# copy shape
|
|
copy sh4715FD0 sh4715FD0_copy
|
|
|
|
# shape transformation
|
|
trotate sh4715FD0_copy 0 0 0 -0.70710678118654746 0.70710678118654757 1.1775693440128312e-016 180
|
|
ttranslate sh4715FD0_copy 0 -2.0168110595353277e-012 9082.9095361999989
|
|
|
|
# shape transformation
|
|
trotate sh4715FD0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh4715FD0_copy 0 444.5 0
|
|
|
|
# fuse operation
|
|
bfuse sh47297D0 sh4715FD0_copy sh471FFF0_copy; copy sh47297D0 sh47297D0_copy
|
|
|
|
# cut operation
|
|
bcut sh47AB910 sh47297D0_copy sh471A5D0_copy; copy sh47AB910 sh47AB910_copy
|
|
|
|
# cut operation
|
|
bcut sh4616970 sh47AB910_copy sh47127D0_copy; copy sh4616970 sh4616970_copy
|
|
|
|
# cylinder
|
|
plane pln_sh4609E70 -0 -0 -12.699999999999999 0 0 1 1 0 0
|
|
erase pln_sh4609E70
|
|
pcylinder sh4609E70 pln_sh4609E70 63.5 25.399999999999999 360
|
|
settolerance sh4609E70 6.3499999999999996e-007
|
|
|
|
# copy shape
|
|
copy sh4609E70 sh4609E70_copy
|
|
|
|
# shape transformation
|
|
trotate sh4609E70_copy 0 0 0 1 -1.6653345369377341e-016 -1.6653345369377346e-016 90.000000000000014
|
|
ttranslate sh4609E70_copy -254.00000000000009 -647.69999999999982 -190.50000000000009
|
|
|
|
# shape transformation
|
|
trotate sh4609E70_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh4609E70_copy 0 444.5 0
|
|
|
|
# cylinder
|
|
plane pln_sh460D830 -0 -0 -12.699999999999999 0 0 1 1 0 0
|
|
erase pln_sh460D830
|
|
pcylinder sh460D830 pln_sh460D830 63.5 25.399999999999999 360
|
|
settolerance sh460D830 6.3499999999999996e-007
|
|
|
|
# copy shape
|
|
copy sh460D830 sh460D830_copy
|
|
|
|
# shape transformation
|
|
trotate sh460D830_copy 0 0 0 1 -1.6653345369377341e-016 -1.6653345369377346e-016 90.000000000000014
|
|
ttranslate sh460D830_copy 253.9999999999998 -647.69999999999982 -190.50000000000009
|
|
|
|
# shape transformation
|
|
trotate sh460D830_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh460D830_copy 0 444.5 0
|
|
|
|
# tore
|
|
plane pln_sh46115E0 0 0 0 0 0 1 1 0 0
|
|
erase pln_sh46115E0
|
|
ptorus sh46115E0 pln_sh46115E0 76.200000000000003 38.100000000000001 360
|
|
settolerance sh46115E0 7.6199999999999997e-007
|
|
|
|
# copy shape
|
|
copy sh46115E0 sh46115E0_copy
|
|
|
|
# shape transformation
|
|
trotate sh46115E0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 -120.00000000000001
|
|
ttranslate sh46115E0_copy -380.99999999999989 254.00000000000014 -533.39999999999986
|
|
|
|
# shape transformation
|
|
trotate sh46115E0_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh46115E0_copy 0 444.5 0
|
|
|
|
# copy shape
|
|
copy sh46E7080 sh46E7080_copy
|
|
|
|
# shape transformation
|
|
trotate sh46E7080_copy 0 0 0 -0.57735026918962573 0.57735026918962573 0.57735026918962584 120.00000000000001
|
|
ttranslate sh46E7080_copy 0 444.5 0
|
|
|
|
# cut operation
|
|
bcut sh4618FF0 sh46E7080_copy sh477E920_copy; copy sh4618FF0 sh4618FF0_copy
|
|
|
|
# cut operation
|
|
bcut sh46238D0 sh4618FF0_copy sh4782270_copy; copy sh46238D0 sh46238D0_copy
|
|
|
|
# cut operation
|
|
bcut sh4633AA0 sh46238D0_copy sh4785530_copy; copy sh4633AA0 sh4633AA0_copy
|
|
|
|
# fuse operation
|
|
bfuse sh4626340 sh4633AA0_copy sh46C1C40_copy; copy sh4626340 sh4626340_copy
|
|
|
|
# fuse operation
|
|
bfuse sh463B8A0 sh4626340_copy sh46C29D0_copy; copy sh463B8A0 sh463B8A0_copy
|
|
|
|
# fuse operation
|
|
bfuse sh46251C0 sh463B8A0_copy sh46C35A0_copy; copy sh46251C0 sh46251C0_copy
|
|
|
|
# fuse operation
|
|
bfuse sh4633AA0 sh46251C0_copy sh4718F10_copy; copy sh4633AA0 sh4633AA0_copy
|
|
|
|
# fuse operation
|
|
bfuse sh463B280 sh4633AA0_copy sh4616970_copy; copy sh463B280 sh463B280_copy
|
|
|
|
# fuse operation
|
|
bfuse sh463E0E0 sh463B280_copy sh4609E70_copy; copy sh463E0E0 sh463E0E0_copy
|
|
|
|
# fuse operation
|
|
bfuse sh4648330 sh463E0E0_copy sh460D830_copy; copy sh4648330 sh4648330_copy
|
|
|
|
# fuse operation
|
|
bfuse sh463ADB0 sh4648330_copy sh46115E0_copy; copy sh463ADB0 sh463ADB0_copy
|
|
|
|
# result
|
|
add sh463ADB0_copy result
|