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
79 lines
2.9 KiB
Plaintext
79 lines
2.9 KiB
Plaintext
# test script for cone_trunc.prt.1.gdml file
|
|
compound result
|
|
|
|
# cone
|
|
plane pln_sh2860860 0 0 323.93388673042631 0 0 1 1 0 0
|
|
erase pln_sh2860860
|
|
pcone sh2860860 pln_sh2860860 148.69096439999998 515.32406046000006 798.7363878495737 360
|
|
settolerance sh2860860 1.12267027458e-005
|
|
|
|
# cone
|
|
plane pln_sh285FDE0 0 0 0.00021224461522251307 0 0 1 1 0 0
|
|
erase pln_sh285FDE0
|
|
pcone sh285FDE0 pln_sh285FDE0 2.9651215899955146 148.69096439977511 0.010431115384777485 360
|
|
settolerance sh285FDE0 1.4869096439977511e-006
|
|
|
|
# copy shape
|
|
copy sh285FDE0 sh285FDE0_copy
|
|
|
|
# shape transformation
|
|
trotate sh285FDE0_copy 0 0 0 -0.37211395835926747 0.76355699062743898 0.52774228943506762 6.0267193763611507e-015
|
|
ttranslate sh285FDE0_copy 2.2054877035770915e-008 1.0123585525434464e-008 323.92324335930391
|
|
|
|
# shape transformation
|
|
trotate sh285FDE0_copy 0 0 0 0.90882954575006403 0.41716766026590796 2.7755575615628907e-017 90.000000000000014
|
|
ttranslate sh285FDE0_copy -194.94499999999999 678.75574884000002 127
|
|
|
|
# cone
|
|
plane pln_sh2862A10 0 0 0.00020607070595257852 0 0 1 1 0 0
|
|
erase pln_sh2862A10
|
|
pcone sh2862A10 pln_sh2862A10 2.8788700799980997 515.35313995965976 0.036683119294047425 360
|
|
settolerance sh2862A10 5.1535313995965974e-006
|
|
|
|
# copy shape
|
|
copy sh2862A10 sh2862A10_copy
|
|
|
|
# shape transformation
|
|
trotate sh2862A10_copy 0 0 0 -0.37211395835926747 0.76355699062743898 0.52774228943506762 6.0267193763611507e-015
|
|
ttranslate sh2862A10_copy 7.4577883424353786e-008 3.4232556345159537e-008 1122.6333874656173
|
|
|
|
# shape transformation
|
|
trotate sh2862A10_copy 0 0 0 0.90882954575006403 0.41716766026590796 2.7755575615628907e-017 90.000000000000014
|
|
ttranslate sh2862A10_copy -194.94499999999999 678.75574884000002 127
|
|
|
|
# cylinder
|
|
plane pln_sh2863C70 -0 -0 -399.35507001000002 0 0 1 1 0 0
|
|
erase pln_sh2863C70
|
|
pcylinder sh2863C70 pln_sh2863C70 2.9079495799999999 798.71014002000004 360
|
|
settolerance sh2863C70 7.987101400199999e-006
|
|
|
|
# copy shape
|
|
copy sh2863C70 sh2863C70_copy
|
|
|
|
# shape transformation
|
|
trotate sh2863C70_copy 0 0 0 0.90882954575006414 0.41716766026590807 -4.4660810088114466e-017 180
|
|
ttranslate sh2863C70_copy 4.9805848334472103e-008 2.2861769366500084e-008 723.27852561214502
|
|
|
|
# shape transformation
|
|
trotate sh2863C70_copy 0 0 0 0.90882954575006403 0.41716766026590796 2.7755575615628907e-017 90.000000000000014
|
|
ttranslate sh2863C70_copy -194.94499999999999 678.75574884000002 127
|
|
|
|
# copy shape
|
|
copy sh2860860 sh2860860_copy
|
|
|
|
# shape transformation
|
|
trotate sh2860860_copy 0 0 0 0.90882954575006403 0.41716766026590796 2.7755575615628907e-017 90.000000000000014
|
|
ttranslate sh2860860_copy -194.94499999999999 678.75574884000002 127
|
|
|
|
# fuse operation
|
|
bfuse sh4B4C5E0 sh2860860_copy sh285FDE0_copy; copy sh4B4C5E0 sh4B4C5E0_copy
|
|
|
|
# cut operation
|
|
bcut sh4B4CAB0 sh4B4C5E0_copy sh2862A10_copy; copy sh4B4CAB0 sh4B4CAB0_copy
|
|
|
|
# cut operation
|
|
bcut sh2866C90 sh4B4CAB0_copy sh2863C70_copy; copy sh2866C90 sh2866C90_copy
|
|
|
|
# result
|
|
add sh2866C90_copy result
|