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
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
# test script on make volume operation
|
|
# cone cylinder plane
|
|
|
|
# planar face
|
|
plane pln_f1 2.3537565147188571e-015 -592.35294118000002 1.1044592656221142e-015 0.90529096719956037 4.7161388709779336e-017 0.42479202523927467
|
|
erase pln_f1
|
|
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f2 0 0 2.9698465908722937e-014 0 1 1.1102230246251565e-016 1750
|
|
erase cyl_f2
|
|
mkface f2 cyl_f2 0 6.2831853071795862 -1000000 1000000
|
|
|
|
# conical face
|
|
cone con_f3 0 -5411.2352941199997 0 0 1 1.1102230246251565e-016 19.885165113840024 0
|
|
erase con_f3
|
|
mkface f3 con_f3 0 6.2831853071795862 0 1000000
|
|
|
|
# planar face
|
|
plane pln_f4 2.6273419411410461e-015 -592.35294118000002 1.448127868774439e-015 0.87578064704701541 5.3591496750491317e-017 0.48270928959147968
|
|
erase pln_f4
|
|
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f5 0 -564.70588236000003 -3.0694401265129993e-015 0 -1 1.1102230246251565e-016
|
|
erase pln_f5
|
|
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
|
|
|
|
# planar face
|
|
plane pln_f6 0 -620 -2.3869795029440866e-014 0 1 1.1102230246251565e-016
|
|
erase pln_f6
|
|
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
|
|
|
|
# cylindrical face
|
|
cylinder cyl_f7 0 0 -4.6157522248790883e-014 0 -1 1.1102230246251565e-016 1720
|
|
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 9.42987e+007
|
|
|