1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/mesh/bug27442
oan 8e509b0ba1 0027442: Rotation sweep can't be rendered in 3D
Do not insert internal nodes for Cylinder in case if it is less than DefFace value or in case of long cylinder with small radius due to protection against overflow during casting to integer.

Small correction of shape name in test case for issue CR27442
2016-05-12 10:17:38 +03:00

21 lines
433 B
Plaintext

puts "========="
puts "OCC27442"
puts "========="
puts ""
#################################
# Rotation sweep can't be rendered in 3D
#################################
cpulimit 20
pload ALL
restore [locate_data_file bug27442_facerot.brep] f
revol result f 444.5 -958.0 4 0 1 0 95
vdisplay result
vsetdispmode 1
vfit
# relative tolerance (%)
set rel_tol 1
set area_eps 0
checkview -screenshot -3d -path ${imagedir}/${test_image}.png