MantisBT - Open CASCADE
View Issue Details
0025061Open CASCADE[OCCT] OCCT:Meshpublic2014-07-09 12:362019-09-04 15:43
oan 
oan 
normalfeature 
newopen 
 
[OCCT] 7.5.0* 
bugs mesh bug25061
0025061: BRepMesh should skip internal wires with self intersections to produce mesh for the shape anyway
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.
pload ALL
stepread curved_box.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
No tags attached.
has duplicate 0027845closed bugmaster Open CASCADE BRepMesh produces invalid result on spline cavity 
has duplicate 0027453closed bugmaster Community Wrongly meshed surface 
related to 0025044closed bugmaster Community BRepMesh tweaks 
child of 0026106closed bugmaster Open CASCADE BRepMesh - revision of data model 
? curved_box.stp (1,144,921) 2014-07-09 12:36
https://tracker.dev.opencascade.org/
png insignificant_internal_wires_with_self_intersection.png (13,539) 2014-07-09 12:39
https://tracker.dev.opencascade.org/
Issue History
2014-07-09 12:36oanNew Issue
2014-07-09 12:36oanAssigned To => oan
2014-07-09 12:36oanFile Added: curved_box.stp
2014-07-09 12:39oanFile Added: insignificant_internal_wires_with_self_intersection.png
2014-07-09 12:39oanDescription Updatedbug_revision_view_page.php?rev_id=7686#r7686
2014-09-12 10:05abvTarget Version => 6.8.0
2014-09-12 19:20oanTarget Version6.8.0 => 7.1.0
2016-09-06 18:40oanRelationship addedhas duplicate 0027845
2016-10-12 18:19oanRelationship addedhas duplicate 0027453
2016-10-17 11:26oanRelationship addedchild of 0026106
2016-11-03 17:49abvTarget Version7.1.0 => 7.2.0
2017-07-20 12:43oanTarget Version7.2.0 => 7.3.0
2017-08-02 11:44apvTest case number => bugs mesh bug25061
2017-08-02 11:44apvNote Added: 0069045
2018-02-25 21:09abvTarget Version7.3.0 => 7.4.0
2018-08-15 11:51nbvNote Added: 0078621
2018-11-16 22:31oanRelationship addedrelated to 0025044
2019-09-04 15:43abvTarget Version7.4.0 => 7.5.0*

Notes
(0069045)
apv   
2017-08-02 11:44   
Problem described in issue is reproduced on current state of OCCT.
(0078621)
nbv   
2018-08-15 11:51   
Fix 0026106 creates some mesh. But it contains free nodes and free edges.