1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
occt/tests/bugs/modalg_5/bug24656
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

33 lines
953 B
Plaintext
Executable File

puts "========="
puts "OCC24656"
puts "========="
puts ""
###########################################################
# Exception on current version of OCC libraries during perform of boolean operation (Regression)
###########################################################
pload XSDRAW
restore [locate_data_file bug24656_Surface_1.brep] s1
restore [locate_data_file bug24656_Surface_2.brep] s2
restore [locate_data_file bug24656_Surface_3.brep] s3
restore [locate_data_file bug24656_Surface_4.brep] s4
restore [locate_data_file bug24656_Surface_5.brep] s5
restore [locate_data_file bug24656_Surface_6.brep] s6
restore [locate_data_file bug24656_Surface_7.brep] s7
bclearobjects
bcleartools
baddobjects s1 s2 s3 s4 s5 s6 s7
bfillds
bbuild res
fixshape result res
checkprops result -s 337959
checkshape result
checknbshapes result -vertex 300 -edge 443 -wire 171 -face 149 -shell 85 -solid 12 -compsolid 0 -compound 2 -shape 1162
set 2dviewer 1