mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
- Added function checkprops, set default tolerance parameter to 1.0e-4 - Using "area" instead of "square". - Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases. - Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1) - Corrected test cases to use checkprops proc. - Correct image difference - Updated TODOs in test cases. - Updated test cases to get correct images of result shape
49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
# test script on make volume operation
|
|
# cylinder plane
|
|
|
|
# planar face
|
|
plane pln_f1 -253.99999999999997 -309.31813765000004 -164.27444069000006 -1 -1.9742628343647336e-016 -1.9508987770756001e-016
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 7.3045963355777887e-014 -496.51592627408689 -349.25687086146246 2.7755575615628914e-016 -0.71130314921411464 -0.7028853604380183
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 -7.3045963355777887e-014 -122.12034902591307 20.707989481462448 2.7755575615628914e-016 -0.71130314921411464 -0.7028853604380183
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 -127 -81.632281828743373 -200.94876776038524 0 -0.70288536043801819 0.71130314921411486
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 253.99999999999997 -309.31813764999993 -164.27444068999995 -1 -1.9742628343647336e-016 -1.9508987770756001e-016
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 -127 -438.69804493125667 160.39323204038519 0 0.70288536043801819 -0.71130314921411486
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f7 0 -535.56033360266497 64.677242648464215 0 0.7028853604380183 -0.71130314921411464
|
|
erase pln_f7
|
|
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f8 -127 -141.76929448894901 -140.09155135332165 0 -0.70288536043801819 0.71130314921411486 76.200000000000003
|
|
erase cyl_f8
|
|
mkface f8 cyl_f8 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8
|
|
|
|
checkprops result -s 2.07211e+006
|
|
|