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

22 lines
615 B
Plaintext

puts "============"
puts "OCC24430"
puts "============"
puts ""
#######################################################################################
# vviewlist draw command does not added name of viewer created by XShow draw command
#######################################################################################
pload DCAF
NewDocument D XmlXCAF
ReadIges D [locate_data_file bug23921_case2.igs]
XShow D
set info [vviewlist long]
if { $info == "" } {
puts "Error: viewer name was not added"
} else {
puts "OK: viewer name was added"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png