puts "TODO OCC11111 ALL: Faulty OCC21970"
puts "TODO OCC11111 ALL: Meshing statuses: Failure"
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

checkview -screenshot -3d -path ${imagedir}/${test_image}.png
