0031189: Draw Harness, ViewerTest - send messages to Message::DefaultMessenger()
[occt.git] / tests / bugs / vis / bug21970
1 puts "TODO OCC11111 ALL: Faulty OCC21970"
2 puts "TODO OCC11111 ALL: Meshing statuses: Failure"
3 puts "TODO OCC11111 ALL: Error : The command is not valid. The area is"
4 puts "TODO OCC11111 ALL: Error : The area of result shape is 0"
5 puts "TODO OCC11111 ALL: Error :  is WRONG because number of"
6
7 puts "============"
8 puts "OCC21970"
9 puts "============"
10 puts ""
11 ######################################################
12 # FPE exception in BRepMesh on degenerate face not handled in OCCT DRAW on WNT built with VC8 by WOK
13 ######################################################
14
15 set BugNumber OCC21970
16
17 restore [locate_data_file OCC21970-stringers-f485.brep] result
18
19 set text [incmesh result 1]
20 set r [regexp {Failure} $text]
21
22 set status1 0
23 if {$r == 1} {
24    set status1 1
25 }
26
27 checkprops result -s 624989 
28 checkshape result
29
30 checknbshapes result -vertex 3806 -edge 3808 -wire 756 -face 730 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 9101
31 if { ${status1} != 0} {
32    puts "Faulty ${BugNumber}"
33 } else {
34    puts "OK ${BugNumber}"
35 }
36
37 vinit
38 tclean result
39 vsetdispmode 1
40 vdisplay result
41 vfit
42
43 checkview -screenshot -3d -path ${imagedir}/${test_image}.png