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

42 lines
1.0 KiB
Plaintext
Executable File

puts "========"
puts "OCC21261"
puts "========"
puts ""
######################################################
# Implementation of thickening of shell functionality
######################################################
set BugNumber OCC21261
restore [locate_data_file OCC21261-5.brep] s
thickshell result s -5
checkprops result -s 29923.6
checkshape result
checknbshapes result -vertex 4 -edge 10 -wire 4 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 24
vinit
vdisplay result
vsetdispmode 0
vfit
set scale 6.3723487126883533
set center_X -4.2632564145606011e-14
set proj_X 0.57735025882720947
set proj_Y -0.57735025882720947
set proj_Z 0.57735025882720947
set up_X -0.40824827551841736
set up_Y 0.40824827551841736
set up_Z 0.81649655103683472
set at_X 6.14255753835228
set at_Y -12.171712579698
set at_Z -18.3142701180503
vviewparams -scale ${scale} -proj ${proj_X} ${proj_Y} ${proj_Z} -up ${up_X} ${up_Y} ${up_Z} -at ${at_X} ${at_Y} ${at_Z}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png