0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / bugs / bug23407_2
CommitLineData
a2d5ab2e 1puts "============"
7604a153 2puts "CR23407: Draw face outlines for XDE objects"
a2d5ab2e 3puts "============"
4puts ""
a2d5ab2e 5
0d828ac8 6pload MODELING VISUALIZATION
a2d5ab2e 7box b 10 10 10
7604a153 8vclear
9vinit View1
a2d5ab2e 10vdisplay b
11vsetdispmode 1
0493ffd0 12vaspects b -setFaceBoundaryDraw 1 -setFaceBoundaryColor RED -setFaceBoundaryWidth 5 -setFaceBoundaryType dash
a2d5ab2e 13vfit
7604a153 14vaspects -setwidth 10
a2d5ab2e 15
7f83633f 16if { "[vreadpixel 314 344 rgb name]" != "RED" ||
17 "[vreadpixel 26 267 rgb name]" != "RED" } {
0d828ac8 18 puts "Error : Boundary of face is not changed"
a2d5ab2e 19}
20
0d828ac8 21vdump $imagedir/${casename}.png