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
54 lines
2.0 KiB
Plaintext
54 lines
2.0 KiB
Plaintext
# test script on make volume operation
|
|
# cylinder plane
|
|
|
|
# planar face
|
|
plane pln_f1 1.1999999990042425 0.31999999413033342 -0.80000000000000016 0.76822127962268527 -0.64018439963410856 -1.2909433957963266e-016
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f2 1.2796533900000004 0.75030347500000016 -0.80000000000000004 9.9920072216264089e-016 1 2.7052603405912097e-016
|
|
erase pln_f2
|
|
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f3 -3.1086244689504381e-016 -0.0099999999999997435 -1.5 -4.4408920985006262e-016 2.2204460492503131e-016 -1
|
|
erase pln_f3
|
|
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 3.1086244689504381e-016 -0.010000000000000056 -0.10000000000000009 -4.4408920985006262e-016 2.2204460492503131e-016 -1
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 -1.1969979199999998 0.1162048950000002 -0.79999999999999982 -4.4408920985006262e-016 1 1.0419471428105878e-016
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 1.1969979147476388 0.47260249268594856 -0.80000000000000016 0.76822127962268527 -0.64018439963410856 -1.2909433957963266e-016
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f7 1.6382686137389917 0.31996510442169662 -0.80000000000000027 -0.98328601660540405 -0.18206759609627698 5.4350981971514161e-017
|
|
erase pln_f7
|
|
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f8 1.2 0 -0.4000000000000003 -6.8996496966039912e-017 -1 -4.4408920985006262e-016 0.20000000000000001
|
|
erase cyl_f8
|
|
mkface f8 cyl_f8 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f9 1.1999999999999997 1.1102230246251565e-016 -1.2000808300000003 -6.8996496966039912e-017 -1 -4.4408920985006262e-016 0.20000000000000001
|
|
erase cyl_f9
|
|
mkface f9 cyl_f9 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# make volume operation
|
|
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8 f9
|
|
|
|
checkprops result -s 16.5007
|
|
|