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