0030942: Draw Harness, ViewerTest - command vdefaults should abort script on unknown...
[occt.git] / tests / bugs / vis / bug23407_2
CommitLineData
a2d5ab2e 1puts "============"
7604a153 2puts "CR23407: Draw face outlines for XDE objects"
a2d5ab2e 3puts "============"
4puts ""
a2d5ab2e 5
a2d5ab2e 6box b 10 10 10
7604a153 7vclear
8vinit View1
a2d5ab2e 9vdisplay b
10vsetdispmode 1
0493ffd0 11vaspects b -setFaceBoundaryDraw 1 -setFaceBoundaryColor RED -setFaceBoundaryWidth 5 -setFaceBoundaryType dash
a2d5ab2e 12vfit
7604a153 13vaspects -setwidth 10
a2d5ab2e 14
7f83633f 15if { "[vreadpixel 314 344 rgb name]" != "RED" ||
16 "[vreadpixel 26 267 rgb name]" != "RED" } {
a2d5ab2e 17 puts "Error : Boundary of face is not changed"
18}
19
5747059b 20checkview -screenshot -3d -path ${imagedir}/${test_image}.png