mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
- 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
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
# test script on make volume operation
|
|
# sphere plane
|
|
|
|
# planar face
|
|
plane pln_f1 -503.03467412999998 27.300000000000001 3.0309088572266766e-015 -1.110223024625157e-016 1 1.1102230246251563e-016
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 -17.608213675459623 -491.58544067385321 -111.17388574694267 -0.15037445914067274 0.27563735581879711 -0.94942696934275683
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 431.33015951945981 1.2520186166709012e-014 103.55320945467923 0.97236992039767667 -2.2204460492503128e-016 0.23344536385590553
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# spherical face
|
|
sphere sph_f4 0 0 0 0 0 1 510
|
|
erase sph_f4
|
|
mkface f4 sph_f4
|
|
|
|
# planar face
|
|
plane pln_f5 169.38660019244185 -3.7886360715333475e-015 480.27376534356694 0.92387953251128674 1.3877787807814457e-016 -0.38268343236509
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 479.78505977673376 -9.0927265716800359e-015 143.26193656685658 0.23344536385590553 3.3306690738754696e-016 -0.97236992039767667
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# spherical face
|
|
sphere sph_f7 0 0 0 0 0 1 500
|
|
erase sph_f7
|
|
mkface f7 sph_f7
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7
|
|
|
|
checkprops result -s 1.90007e+007
|
|
|