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/bug25408
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
752 B
Plaintext
Executable File

puts "================"
puts "OCC25408"
puts "================"
puts ""
#######################################################################
# Wrong result obtained by General Fuse operator.
#######################################################################
restore [locate_data_file bug25408_bride_cut.brep] b1
restore [locate_data_file bug25408_goujon_part_tool2_cut.brep] b4
restore [locate_data_file bug25408_RevolPart.brep] b5
#
explode b4 f
copy b4_1 b4
#
explode b5 f
copy b5_1 b5
#
bclearobjects
bcleartools
baddobjects b1 b4 b5
bfillds
bbuild result
checkprops result -s 57200.9
checkshape result
checknbshapes result -vertex 54 -edge 129 -wire 95 -face 95 -shell 22 -solid 22 -compsolid 0 -compound 2 -shape 419
set 3dviewer 1