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
# plane sphere
# planar face
plane pln_f1 -1.9428902930940247e-015 0 -1.9428902930940236e-015 1.110223024625157e-016 -1 1.1102230246251563e-016
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 -6.6613381477509392e-015 78.75 10.00000000000006 -6.6613381477509392e-016 6.106226635438361e-016 1
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f3 10 78.75 6.6861338147750938e-014 1 -2.2204460492503128e-016 6.6613381477509402e-016
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 6.6613381477509392e-015 78.75 -9.9999999999999396 -6.6613381477509392e-016 6.106226635438361e-016 1
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 11.149999999999999 75 6.0171246429124051e-014 -1 4.4408920985006262e-016 3.8453235056139087e-017
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 3.3306690738754696e-014 150 5.0494651785678038e-014 -4.4408920985006262e-016 -1 1.3473797619095955e-016
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# spherical face
sphere sph_f7 0 570 0 0 -1.2246467991473532e-016 -1 500
erase sph_f7
mkface f7 sph_f7
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 9.88757e+006