1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
occt/tests/bugs/vis/bug21970
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

43 lines
1.0 KiB
Plaintext
Executable File

puts "TODO OCC11111 ALL: Faulty OCC21970"
puts "TODO OCC11111 ALL: Error : The command is not valid. The area is"
puts "TODO OCC11111 ALL: Error : The area of result shape is 0"
puts "TODO OCC11111 ALL: Error : is WRONG because number of"
puts "============"
puts "OCC21970"
puts "============"
puts ""
######################################################
# FPE exception in BRepMesh on degenerate face not handled in OCCT DRAW on WNT built with VC8 by WOK
######################################################
set BugNumber OCC21970
restore [locate_data_file OCC21970-stringers-f485.brep] result
set text [incmesh result 1]
set r [regexp {Failure} $text]
set status1 0
if {$r == 1} {
set status1 1
}
checkprops result -s 624989
checkshape result
checknbshapes result -vertex 3806 -edge 3808 -wire 756 -face 730 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 9101
if { ${status1} != 0} {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}
vinit
tclean result
vsetdispmode 1
vdisplay result
vfit
set 3dviewer 1