0027860: Visualization - clean up Transformation Persistence API
[occt.git] / tests / bugs / vis / bug25060
CommitLineData
347423b2 1puts "============"
2puts "CR25060"
3puts "============"
4puts ""
5#######################################################################
6# Capping breaks highlighting of shaded AIS_Shape with displayed edges.
7#######################################################################
8vinit View1
9box b 10 10 10
10vdisplay b
11vshowfaceboundary b 1
12vclipplane create pln1
13vclipplane set pln1 object b
14vclipplane change pln1 equation 0 1 0 -5
15vclipplane change pln1 capping on
16vsetdispmode 1
17vfit
18vmoveto 304 146
19
20set x_coord 304
21set y_coord 146
22checkcolor $x_coord $y_coord 0 1 1
23if { $stat != 1 } {
24 puts "Error : Highlighting is broken."
25}
26
5747059b 27checkview -screenshot -3d -path ${imagedir}/${test_image}.png