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
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
# test script on make volume operation
|
|
# cylinder plane
|
|
|
|
# planar face
|
|
plane pln_f1 -688.33310993156408 -895 1539.8682429696005 -0.95105651629515375 -4.4408920985006262e-016 -0.30901699437494717
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 -2110.49026701 -620 -29.999999999999964 1.110223024625157e-016 1 1.1102230246251563e-016
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 -178.79823340500002 -895 1677.20835547 -1 1.1102230246251568e-016 2.2204460492503131e-016
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 0 -1170 -3.0531133177191805e-014 0 1 1.1102230246251565e-016
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 -265.64370668999999 -895 1615.2543608350002 -2.2204460492503131e-016 1.1102230246251565e-016 -1
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 -790.07290042162936 -895 1571.9532661481319 0.30901699437494717 -1.6653345369377348e-016 -0.95105651629515375
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f7 0 0 -2.0206059048177849e-013 0 -1 1.1102230246251565e-016 1650
|
|
erase cyl_f7
|
|
mkface f7 cyl_f7 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7
|
|
|
|
checkprops result -s 3.20115e+007
|
|
|