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.3 KiB
Plaintext

# test script on make volume operation
# sphere plane
# planar face
plane pln_f1 548.64325384999995 27.299999999999997 -3.6783467500131954e-015 -4.4408920985006262e-016 1 -1.3473797619095955e-016
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 486.6025401200996 2.0625399133056258e-014 116.82293399833648 0.97236992039767656 -4.4408920985006271e-016 0.23344536385590584
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# spherical face
sphere sph_f3 0 0 0 0 0 1 550
erase sph_f3
mkface f3 sph_f3
# planar face
plane pln_f4 374.64624787088081 -1.5154544286133377e-015 396.61870189058595 0.76040596560003082 -5.5511151231257839e-017 -0.64944804833018399
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 531.76355117000003 -27.299999999999997 127.66513349000002 5.7436601950102579e-016 1 -4.9008054356520772e-016
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 321.42888552646951 -5.5487008260301958e-015 376.34487115994881 0.64944804833018377 1.1102230246251565e-016 0.76040596560003071
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# spherical face
sphere sph_f7 0 0 0 0 0 1 535
erase sph_f7
mkface f7 sph_f7
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 1.73885e+007