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

28 lines
602 B
Plaintext
Executable File

puts "========================"
puts " BUC60956 "
puts " OCC112 "
puts "========================"
restore [locate_data_file OCC20.brep] res
checkshape res
set first [trinfo res]
tclean res
######################################################################
catch {file delete ${imagedir}/vrem.brep}
save res ${imagedir}/vrem.brep
vinit
restore ${imagedir}/vrem.brep result
vdisplay result
vsetdispmode result 1
set second [trinfo result]
if {$first == $second} {
puts "Faulty OCC112 : Mesh for shading was recalculated !!!"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png