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

34 lines
1.1 KiB
Plaintext

# test script on make volume operation
# cone plane
# planar face
plane pln_f1 1.8446341100608551e-014 112.0915332 -696.20434566999995 0.86602540378443893 -0.47367733686073005 -0.16009303715192008
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# conical face
cone con_f2 0 112.0915332 -696.20434566999995 0 -0.32018607430384038 0.94735467372146087 79.818517025525367 0
erase con_f2
mkface f2 con_f2 0 6.2831853071795862 0 1000000
# planar face
plane pln_f3 0 85.262913594124683 -616.82482165921328 0 0.32018607430384038 -0.94735467372146087
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 0 101.92376450277938 -666.12032900071165 0 -0.32018607430384038 0.94735467372146087
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# conical face
cone con_f5 0 -213.31402524999999 266.59354373999997 0 0.32018607430384038 -0.94735467372146098 10.181482974667482 0
erase con_f5
mkface f5 con_f5 0 6.2831853071795862 0 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5
checkprops result -s 2.66661e+006