1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
occt/tests/bugs/xde/bug25381
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

20 lines
600 B
Plaintext

puts "============"
puts "CR25381"
puts "============"
puts ""
######################################################
# Visualization - XCAFPrs_AISObject ignores visibility flag for sub-shapes
######################################################
ReadStep D [locate_data_file bug25381_test_assembly_invisible.step]
XShow D
vfit
if { "[vreadpixel 198 172 rgb name]" != "WHITE" } {
puts "OK : XCAFPrs_AISObject get visibility flag for sub-shapes"
} else {
puts "Error : XCAFPrs_AISObject ignores visibility flag for sub-shapes"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png