1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- 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
2015-12-10 16:56:03 +03:00

44 lines
1.4 KiB
Plaintext

# test script on make volume operation
# cone plane
# planar face
plane pln_f1 -306.53078964627537 -1038.2137499999999 -251.37646071372467 -0.70710678118654746 4.4408920985006262e-016 0.70710678118654768
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 -27.577164468182303 -1038.2137499999999 -27.577164468182389 0.70710678118654768 2.2204460492503131e-016 0.70710678118654746
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# conical face
cone con_f3 0 107.18819999999999 0 0 -1 1.1102230246251565e-016 20.000000000057945 0
erase con_f3
mkface f3 con_f3 0 6.2831853071795862 0 1000000
# planar face
plane pln_f4 -251.37646071372464 -1038.2137499999999 -306.53078964627542 -0.70710678118654746 4.4408920985006262e-016 0.70710678118654768
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 0 -900.49999998788303 1.3190004643924646e-013 0 -1 1.1102230246251565e-016
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 0 -999 1.4283574323314951e-013 0 1 -1.1102230246251565e-016
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# conical face
cone con_f7 0 164.44 0 0 -1 1.1102230246251565e-016 15.140999999959531 0
erase con_f7
mkface f7 con_f7 0 6.2831853071795862 0 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 7.80813e+006