mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-13 06:37:18 +08:00
AIS_Shape SetWidth and SetColor methods now propagate modifications to FaceBoundary aspect.
21 lines
437 B
Plaintext
Executable File
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
|