809eca9d |
1 | pload QAcommands |
2 | |
3 | puts "============" |
4 | puts "OCC22884" |
5 | puts "============" |
6 | puts "" |
7 | ############################################################################# |
8 | # The attached face cannot be displayed in shading mode |
9 | ############################################################################# |
10 | |
11 | set BugNumber OCC22884 |
12 | |
13 | set x1 136 |
14 | set y1 176 |
15 | |
16 | restore [locate_data_file bug22884_Face_1.brep] result |
17 | vinit |
18 | vdisplay result |
19 | vfit |
20 | vsetdispmode 1 |
21 | |
58cf74e0 |
22 | checkprops result -s 697.812 |
23 | checkshape result |
809eca9d |
24 | |
a4eba920 |
25 | checknbshapes result -vertex 46 -edge 46 -wire 3 -face 1 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 96 |
ccadc126 |
26 | if { "[vreadpixel $x1 $y1 rgb name]" == "BLACK" } { |
27 | puts "Faulty ${BugNumber}" |
809eca9d |
28 | } else { |
ccadc126 |
29 | puts "OK ${BugNumber}" |
809eca9d |
30 | } |
31 | |
5747059b |
32 | checkview -display result -3d -path ${imagedir}/${test_image}.png |