Archived issue #0025061
BRepMesh should skip internal wires with self intersections to produce mesh for the shape anyway
Description
BRepMesh fails to mesh shapes containing self intersected wires. Attached shape contains two problematic faces - 172 and 227. Each of them have internal wires with self intersections and in addition these wires define contours with insignificant areas (see attached screenshot, problematic wires are marked by red). As far as in general BRepMesh is supposed to be used for visualization needs it is preferred to produce discrete presentation of a shape anyway even if it will not contain some details. For this case it is supposed to introduce new flag BRepMesh_SkippedWire.
Note that if the outer wire of the face contains self intersections, mesher should implement its usual behavior, i.e. notify BRepMesh_SelfIntersectingWire and skip the whole face.
Note that if the outer wire of the face contains self intersections, mesher should implement its usual behavior, i.e. notify BRepMesh_SelfIntersectingWire and skip the whole face.
Steps to reproduce
pload ALL
stepread Attachment 1 (STP) a *
explode a_1 f
donly a_1_172 a_1_227
compound a_1_172 a_1_227 c
incmesh c 0.1
# Meshing statuses: SelfIntersectingWire
trinfo c
# This shape contains 0 triangles.
# 0 nodes.
# Maximal deflection 0
stepread Attachment 1 (STP) a *
explode a_1 f
donly a_1_172 a_1_227
compound a_1_172 a_1_227 c
incmesh c 0.1
# Meshing statuses: SelfIntersectingWire
trinfo c
# This shape contains 0 triangles.
# 0 nodes.
# Maximal deflection 0
Public activity
2 archived notes
Participants are labeled by their role within this record.
Problem described in issue is reproduced on current state of OCCT.
Fix #0026106 creates some mesh. But it contains free nodes and free edges.
Related records
- #0027845 · has duplicate · closedBRepMesh produces invalid result on spline cavity
- #0027453 · has duplicate · closedWrongly meshed surface
- #0025044 · related to · closedBRepMesh tweaks
- #0032462 · related to · newMesh - missing face issue, bad surface and bad volume [Regression compared to OCCT 7.3.0]
- #0026106 · child of · closedBRepMesh - revision of data model