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
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
# test script on make volume operation
|
|
# cylinder plane
|
|
|
|
# planar face
|
|
plane pln_f1 973.57839899499993 -780 1417.99061547 1 1.1102230246251568e-016 2.2204460492503131e-016
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 965.23713319219564 -780.00000000000034 1459.6976661987558 0.55157308145357831 -2.2204460492503123e-016 0.83412657062091267
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f3 0 0 7.2275518903097691e-014 0 1 1.1102230246251565e-016 1750
|
|
erase cyl_f3
|
|
mkface f3 cyl_f3 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 945.99926726850424 -780 1412.4748846758775 0.83412657062091222 2.2204460492503131e-016 -0.55157308145357886
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 0 -770 1.1102230246251565e-015 0 -1 -1.1102230246251565e-016
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 0 -777 -1.7763568394002505e-015 0 1 1.1102230246251565e-016
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f7 937.65800154999999 -780 1370.7678338199999 -2.2204460492503131e-016 -1.1102230246251565e-016 1
|
|
erase pln_f7
|
|
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f8 0 0 -1.0788592241794959e-013 0 -1 1.1102230246251565e-016 1720
|
|
erase cyl_f8
|
|
mkface f8 cyl_f8 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8
|
|
|
|
checkprops result -s 1.95938e+007
|
|
|