1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0030785: Mesh - protect BRepMesh_IncrementalMesh::Perform from raising exception

IMeshTools_ModelAlgo and IMeshTools_ModelBuilder have been changed to provide exception protected interfaces for performing the operations.
Protect single Edge/Face discretization methods from raising exceptions to skip broken Edges/Faces and allow mesh construction on the whole model.
This commit is contained in:
emv
2019-06-17 16:26:45 +03:00
committed by bugmaster
parent fe525c6f7c
commit c2a25d522b
17 changed files with 235 additions and 140 deletions

15
tests/bugs/mesh/bug30785 Normal file
View File

@@ -0,0 +1,15 @@
puts "========="
puts "0030785: Mesh - protect BRepMesh_IncrementalMesh::Perform from crash"
puts "========="
puts ""
puts "REQUIRED All: Failure"
restore [locate_data_file bug30785.brep] s
# just check if the exception is not raised
if {[catch {incmesh s 0.1}]} {
puts "Error: Exception is raised by BRepMesh_IncrementalMesh"
}
checktrinfo s -tri