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/pro20342
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

23 lines
654 B
Plaintext
Executable File

puts "============="
puts "PRO20342"
puts "============="
##############################################################################
## Calling of the function "vsetshading" with argument less than 1.0 calls exception "Segmentation Fault". Command
## works properly in C30. There is line in the file "C40/Gallery/ViewerTest.cxx" in the function "Vshading":
##############################################################################
pload XDE
igesbrep [locate_data_file fra62523a.igs] result *
checkshape result r
vinit
tclean result
vdisplay result
vsetshading result 0.1
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png