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.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
# test script on make volume operation
|
|
# sphere plane
|
|
|
|
# planar face
|
|
plane pln_f1 -176.68935041632815 -136.40000000000003 561.3921855049216 -0.96814764037810808 -6.8091391435688272e-018 -0.25038000405444022
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 -112.59552164700079 1.0295987166949039e-014 561.18334660015273 0.96814764037810797 1.8717419577616017e-016 0.25038000405444111
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 -123.93810200999999 -33.500000000000007 479.23308199000002 -8.1345814275900847e-017 -1 9.4975092332914232e-017
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 -189.13079556159209 -31.5 731.31452385509169 -1.195351741235474e-016 -1 -3.0786269887577617e-017
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 -105.15960170591688 -8.4237957633761796e-015 406.62200896164194 -0.2503800040544415 1.1231727684501573e-016 0.96814764037810774
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 -142.71660231371661 5.1487492657709883e-014 551.84415500900138 0.25038000405444183 -5.3742990079214548e-016 -0.96814764037810774
|
|
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 9.87124e+006
|
|
|