mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0026692: BRepMesh hangs on the attached shape due to tessellation points produced out of surface range
BRepMesh_EdgeTessellator: do not use points out of face range and edge tolerance. Test cases for issue CR26692
This commit is contained in:
18
tests/bugs/mesh/bug26692_1
Normal file
18
tests/bugs/mesh/bug26692_1
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "========"
|
||||
puts "OCC26692"
|
||||
puts "========"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# BRepMesh hangs on the attached shape due to tessellation points produced out of surface range
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug26692_face_bad_shading.brep] a
|
||||
|
||||
vinit
|
||||
vclear
|
||||
|
||||
incmesh a 0.1 -a 2
|
||||
|
||||
vdisplay a
|
||||
vfit
|
||||
vdump ${imagedir}/${casename}.png
|
18
tests/bugs/mesh/bug26692_2
Normal file
18
tests/bugs/mesh/bug26692_2
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "========"
|
||||
puts "OCC26692"
|
||||
puts "========"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# BRepMesh hangs on the attached shape due to tessellation points produced out of surface range
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug26692_face_bad_shading.brep] a
|
||||
|
||||
vinit
|
||||
vclear
|
||||
|
||||
incmesh a 100
|
||||
|
||||
vdisplay a
|
||||
vfit
|
||||
vdump ${imagedir}/${casename}.png
|
Reference in New Issue
Block a user