mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +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
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
# test script on make volume operation
|
|
# cylinder plane
|
|
|
|
# planar face
|
|
plane pln_f1 335.2331946308351 698.25 -1031.741684575172 -0.95105651629515375 -4.4408920985006262e-016 -0.30901699437494717
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 379.81702147596855 -944.5 -1016.689989615124 0.93679437761793805 -2.2204460492503121e-016 0.34988039965596873
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 0 -199 -3.8302694349567901e-015 0 1 1.1102230246251565e-016
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 -448.0746418400002 -1690.0000000000005 -1379.03194863 -4.566617150598209e-016 -1 3.1642628651144884e-017
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 377.03714586714227 698.25 -1080.1369248874196 -0.32956322072971639 -2.2204460492503131e-016 0.94413350938426943
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f6 0 0 2.0539125955565396e-015 0 1 1.1102230246251565e-016 1144.3199999999999
|
|
erase cyl_f6
|
|
mkface f6 cyl_f6 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6
|
|
|
|
checkprops result -s 3.27453e+007
|
|
|