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/bug28247
oan a939fd40eb 0031853: Mesh - holes in triangulation with large linear deflection
0030442: Mesh - broken triangulation on pipe shape

Scale down min size parameter for NURBS taking into account its U and V resolution in order to prevent comparison of 2d parameters with 3d value involved in filtering process.
2022-09-16 18:35:32 +03:00

41 lines
946 B
Plaintext

puts "========="
puts "OCC28247"
puts "========="
puts ""
################################################################################
# Effect of minSize parameter of BRepMesh_IncrementalMesh seems to be too strong
################################################################################
restore [locate_data_file bug28247_face.brep] result
whatis result
tolerance result
vinit
vdefaults -autoTriang 0
vsetdispmode 1
tclean result
incmesh result 0.59
vdisplay result -redisplay
vfit
checktrinfo result -tri 1863
checkview -screenshot -3d -path ${imagedir}/${test_image}-1.png
tclean result
incmesh result 0.59 -a 11.45
vdisplay result -redisplay
vfit
checktrinfo result -tri 6422
checkview -screenshot -3d -path ${imagedir}/${test_image}-2.png
tclean result
incmesh result 0.59 -a 11.45 -min 0.035
vdisplay result -redisplay
vfit
checktrinfo result -tri 6427
checkview -screenshot -3d -path ${imagedir}/${test_image}-3.png