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

57 lines
1.8 KiB
Plaintext

# test script on make volume operation
# plane
puts "TODO OCC26560 ALL: Faulty shapes in variables faulty_1 to faulty_"
puts "TODO OCC26020 ALL: Error: bopcheck failed"
puts "TODO OCC26560 ALL: Error : The area of result shape is"
# planar face
plane pln_f1 18.855982726712998 17.500000000800412 0 -0.96152394764524818 -0.27472112788189063 0
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 0 17.5 23.855982730000001 0 0 1
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f3 3.0915737178616186e-015 17.500000000800409 -19.999999996712987 -1.6653345369377348e-016 0.27472112788189057 -0.96152394764524818
erase pln_f3
mkface f3 pln_f3 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f4 1.9428903041962543e-015 35.000000100000001 0 1.1102230246251565e-016 1 0
erase pln_f4
mkface f4 pln_f4 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f5 -1.9428903041962543e-015 -1.0000000116860974e-007 0 1.1102230246251565e-016 1 0
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 0 17.5 -23.855982730000001 0 0 1
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f7 23.855982829999999 17.499999999999996 0 -1 1.1102230246251565e-016 0
erase pln_f7
mkface f7 pln_f7 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f8 0 17.500000000800412 19.999999996712987 0 -0.27472112788189046 -0.96152394764524818
erase pln_f8
mkface f8 pln_f8 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f9 19.999999996712994 17.500000000800409 0 -0.96152394764524818 -0.27472112788189063 0
erase pln_f9
mkface f9 pln_f9 -1000000 1000000 -1000000 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7 f8 f9
checkprops result -s 1.3412e+013