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
69 lines
2.7 KiB
Plaintext
69 lines
2.7 KiB
Plaintext
# test script on make volume operation
|
|
# cylinder plane
|
|
|
|
# planar face
|
|
plane pln_f1 -0.80000000000000004 -1.1969506538713359e-032 -0.79999999999999993 1 1.4961883173391698e-032 -1.2217304763960305e-016
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 1.1999999999999995 1.4200000000000004 3.330669073875467e-017 -2.5254770070057677e-016 -1 -2.2204460492503128e-016
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 1.1999999999999997 1.4400000000000004 0.80000000000000027 -4.4408920985006262e-016 1 1.0419471428105878e-016
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 -1.6000000000000001 0.95999999999999985 -1.2 1 2.2204460492503126e-016 4.9303806576313216e-032
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 -1.3122025799999999 0.45464310000000052 -1.5999999999999999 9.7738438111682373e-017 -2.7052603405912107e-016 1
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 1.2 1.28 3.2000000000000002 -6.8996496966039912e-017 1.0419471428105876e-016 -1
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f7 -1.2000000000000008 2.2204460492503131e-016 -0.40000000000000024 2.5254770070057677e-016 1 2.2204460492503128e-016 0.14999999999999999
|
|
erase cyl_f7
|
|
mkface f7 cyl_f7 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f8 -1.2000000000000006 2.2204460492503131e-016 0.40000000000000008 2.5254770070057677e-016 1 2.2204460492503128e-016 0.14999999999999999
|
|
erase cyl_f8
|
|
mkface f8 cyl_f8 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f9 -1.2000000000000004 2.2204460492503131e-016 -1.2000000000000002 1.110223024625157e-016 1 1.1102230246251563e-016 0.14999999999999999
|
|
erase cyl_f9
|
|
mkface f9 cyl_f9 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f10 -1.2000000000000006 2.2204460492503131e-016 1.2 2.5254770070057677e-016 1 2.2204460492503128e-016 0.14999999999999999
|
|
erase cyl_f10
|
|
mkface f10 cyl_f10 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f11 -1.2000000000000006 2.2204460492503131e-016 1.9999999999999998 2.5254770070057677e-016 1 2.2204460492503128e-016 0.14999999999999999
|
|
erase cyl_f11
|
|
mkface f11 cyl_f11 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f12 -1.2000000000000004 2.2204460492503131e-016 2.7999999999999998 2.5254770070057677e-016 1 2.2204460492503128e-016 0.14999999999999999
|
|
erase cyl_f12
|
|
mkface f12 cyl_f12 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
|
|
|
|
checkprops result -s 8.13019
|
|
|