1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- 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
2015-12-10 16:56:03 +03:00

48 lines
1.6 KiB
Plaintext

# test script on make volume operation
# plane unstable
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26020 ALL: Error : The area of result shape is"
puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
# planar face
plane pln_f1 0 1960 8.8817841970012523e-015 0 -1 -1.1102230246251565e-016
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 2110.4902670099996 1965.0000000000002 -2000.0000001000003 -2.2204460492503131e-016 1.1102230246251565e-016 -1
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f3 1480.0000000035091 1965 -2029.9999999964912 0.70710678118654757 3.3306690738754696e-016 0.70710678118654746
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 1403.3086479052927 1965 -1953.3086479047072 0.70710678118654757 3.3306690738754696e-016 0.70710678118654746
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 1510 1965 -1999.9999998999997 -2.2204460492503131e-016 1.1102230246251565e-016 -1
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 0 2180 2.0539125955565396e-014 0 -1 -1.1102230246251565e-016
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f7 1539.9999999964916 1965 -2029.9999999964919 -0.70710678118654757 3.3306690738754696e-016 0.70710678118654746
erase pln_f7
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
checkprops result -s 4.00252e+012