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

33 lines
602 B
Plaintext
Executable File

puts "================"
puts "OCC23172"
puts "================"
puts ""
######################################
# vexport failed on some Intel GPUs
######################################
set BugNumber OCC23172
box b 1 2 3
vinit
vdisplay b
vfit
set aFile $imagedir/${test_image}.svg
if { [file exists ${aFile}] } {
file delete ${aFile}
}
vexport $aFile SVG
if { [file exists ${aFile}] } {
puts "Export to SVG file was done"
puts "OK : Export to SVG file was done"
} else {
puts "Faulty : Export to SVG file was not done"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png