Files
OCCT/tests/bugs/vis/bug23407_2
kgv 7604a15365 0029988: AIS_Shape - SetWidth() and SetColor() has no effect for FaceBoundary
AIS_Shape SetWidth and SetColor methods now propagate modifications to FaceBoundary aspect.
2018-09-11 20:39:21 +03:00

21 lines
437 B
Plaintext
Executable File

puts "============"
puts "CR23407: Draw face outlines for XDE objects"
puts "============"
puts ""
box b 10 10 10
vclear
vinit View1
vdisplay b
vsetdispmode 1
vshowfaceboundary b 1 255 0 0 5 1
vfit
vaspects -setwidth 10
if { "[vreadpixel 314 344 rgb name]" != "RED" ||
"[vreadpixel 26 267 rgb name]" != "RED" } {
puts "Error : Boundary of face is not changed"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png