0027322: geom/revolution_00/A1: Incorrect pcurve creation
[occt.git] / tests / bugs / vis / bug26959
CommitLineData
36679076 1puts "============"
2puts "CR26959"
3puts "Visualization - cannot select edge of the shape"
4puts "============"
5puts ""
6
7pload VISUALIZATION MODELING
8
9restore [locate_data_file bug26959.brep] aFace
10
11vinit
12vdisplay aFace
13fixshape aFace1 aFace
14
15vremove aFace
16vdisplay aFace1
17vaspects aFace1 -setWidth 3
18vselmode aFace1 2 1
19
20vfit
21
22vmoveto 142 127
23if {[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 31checkview -screenshot -3d -path ${imagedir}/${test_image}.png