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

24 lines
816 B
Plaintext

# test script on make volume operation
# cone plane
# planar face
plane pln_f1 670.97596720634715 3.2079534447360114e-015 -573.06761400170967 -0.76040596560003137 -7.9534447360005325e-017 0.64944804833018333
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# conical face
cone con_f2 731.30150714141485 5.8000000000000004e-015 -624.59049250040596 -0.76040596560003104 2.4874806615124344e-018 0.64944804833018366 4.8990924536466087 0
erase con_f2
mkface f2 con_f2 0 6.2831853071795862 0 1000000
# planar face
plane pln_f3 670.97596723162394 5.9973401323890082e-015 -573.06761402329801 -0.76040596560003104 2.4874806615124344e-018 0.64944804833018366
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# make volume operation
mkvolume result f1 f2 f3
checkprops result -s 1846.27