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

19 lines
574 B
Plaintext
Executable File

puts "============"
puts "CR23416"
puts "============"
puts ""
#######################################################################
# Regression of current version in compare with occt-653: crash while visualizing the shape
#######################################################################
isos 2
smallview
set info [restore [locate_data_file CR23416-ProblemFace.brep] result]
set check_error [lsearch $info exception]
if { $check_error != -1 } {
puts "Error : crashes during visualization"
}
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png