36679076 |
1 | puts "============" |
2 | puts "CR26959" |
3 | puts "Visualization - cannot select edge of the shape" |
4 | puts "============" |
5 | puts "" |
6 | |
7 | pload VISUALIZATION MODELING |
8 | |
9 | restore [locate_data_file bug26959.brep] aFace |
10 | |
11 | vinit |
12 | vdisplay aFace |
13 | fixshape aFace1 aFace |
14 | |
15 | vremove aFace |
16 | vdisplay aFace1 |
17 | vaspects aFace1 -setWidth 3 |
18 | vselmode aFace1 2 1 |
19 | |
20 | vfit |
21 | |
22 | vmoveto 142 127 |
23 | if {[vreadpixel 142 127 name] == "CYAN1 1"} { |
24 | puts "OK" |
25 | } elseif {[vreadpixel 142 127 name] == "GREEN 1"} { |
26 | puts "ERROR: the upper edge cannot be highlighted!" |
27 | } else { |
28 | puts "ERROR: the shape was not displayed correctly!" |
29 | } |
30 | |
5747059b |
31 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |