View Issue Details

IDProjectCategoryView StatusLast Update
0025061Open CASCADEOCCT:Meshpublic2022-08-31 18:19
Reporteroan Assigned Tooan  
PrioritynormalSeverityfeature 
Status newResolutionopen 
Target VersionUnscheduled 
Summary0025061: BRepMesh should skip internal wires with self intersections to produce mesh for the shape anyway
DescriptionBRepMesh 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.
Steps To Reproducepload 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
TagsNo tags attached.
Test case numberbugs mesh bug25061

Attached Files

  • curved_box.stp (1,144,921 bytes)
  • insignificant_internal_wires_with_self_intersection.png (13,539 bytes)

Relationships

has duplicate 0027845 closedbugmaster Open CASCADE BRepMesh produces invalid result on spline cavity 
has duplicate 0027453 closedbugmaster Community Wrongly meshed surface 
related to 0025044 closedbugmaster Community BRepMesh tweaks 
related to 0032462 newoan Community Mesh - missing face issue, bad surface and bad volume [Regression compared to OCCT 7.3.0] 
child of 0026106 closedbugmaster Open CASCADE BRepMesh - revision of data model 

Activities

oan

2014-07-09 12:36

developer  

curved_box.stp (1,144,921 bytes)

oan

2014-07-09 12:39

developer  

insignificant_internal_wires_with_self_intersection.png (13,539 bytes)

apv

2017-08-02 11:44

tester   ~0069045

Problem described in issue is reproduced on current state of OCCT.

nbv

2018-08-15 11:51

developer   ~0078621

Fix 0026106 creates some mesh. But it contains free nodes and free edges.

Issue History

Date Modified Username Field Change
2014-07-09 12:36 oan New Issue
2014-07-09 12:36 oan Assigned To => oan
2014-07-09 12:36 oan File Added: curved_box.stp
2014-07-09 12:39 oan File Added: insignificant_internal_wires_with_self_intersection.png
2014-07-09 12:39 oan Description Updated
2014-09-12 10:05 abv Target Version => 6.8.0
2014-09-12 19:20 oan Target Version 6.8.0 => 7.1.0
2016-09-06 18:40 oan Relationship added has duplicate 0027845
2016-10-12 18:19 oan Relationship added has duplicate 0027453
2016-10-17 11:26 oan Relationship added child of 0026106
2016-11-03 17:49 abv Target Version 7.1.0 => 7.2.0
2017-07-20 12:43 oan Target Version 7.2.0 => 7.3.0
2017-08-02 11:44 apv Test case number => bugs mesh bug25061
2017-08-02 11:44 apv Note Added: 0069045
2018-02-25 21:09 abv Target Version 7.3.0 => 7.4.0
2018-08-15 11:51 nbv Note Added: 0078621
2018-11-16 22:31 oan Relationship added related to 0025044
2019-09-04 15:43 abv Target Version 7.4.0 => 7.5.0
2020-08-28 15:51 oan Target Version 7.5.0 => 7.6.0
2021-06-28 15:22 kgv Relationship added related to 0032462
2021-10-07 12:13 szy Target Version 7.6.0 => 7.7.0
2022-08-31 18:19 oan Target Version 7.7.0 => Unscheduled