1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/v3d/bugs/bug319
bugmaster 50174691dc 0032404: Draw - problems with definition of cpulimit in tests
- The maximum value of cpulimit in test cases was limited to 1000 seconds (~ 17 minutes)
- cpulimit 1000 has been added to hlr/begin
2021-06-16 17:10:53 +03:00

33 lines
762 B
Plaintext

puts "========"
puts "OCC319: Wrong shading on a shape"
puts "========"
puts ""
cpulimit 1000
pload MODELING VISUALIZATION
restore [locate_data_file OCC319.brep] result
tclean result
vinit View1
vdisplay result
vsetdispmode result 1
vfit
set scale 16.5593321780929
set proj_X 0.207536488771439
set proj_Y -0.233648166060448
set proj_Z 0.949914216995239
set up_X -0.857990384101868
set up_Y 0.422952175140381
set up_Z 0.291485607624054
set at_X -1.78904829452738
set at_Y 1.90614280957802
set at_Z 6.47028180612483
vviewparams -scale ${scale} -proj ${proj_X} ${proj_Y} ${proj_Z} -up ${up_X} ${up_Y} ${up_Z} -at ${at_X} ${at_Y} ${at_Z}
checktrinfo result -tri -nod
checkprops result -s 8623.6
vdump $imagedir/${casename}.png