MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031144Open CASCADE[OCCT] OCCT:Meshpublic2019-11-09 08:202019-11-11 12:39
Reporterabv 
Assigned Toabv 
PrioritynormalSeverityblock 
StatusfeedbackResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.4.0 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0031144: Mesh - [regression] BRepMesh hangs on solid obtained from IFC
DescriptionBRepMesh hangs on one of solids created during reading from IFC with OCC reader.
This blocks any possibility to see the model in CAD Assistant or other OCCT-based viewer.

This is regression appeared in OCCT 7.4.0.

The solid is valid according to checkshape but has large tolerance (90 mm, on object of ~ 300 mm size) and visible gaps in edges + misplaced vertex, see attached image.

The IFC files comes from Duraark archives (http://duraark.eu/data-repository/ [^]), archive "A-House Scan September 2014" (https://tib.eu/data/duraark/BuildingData/03_IFC_E57/LTU_A-House_2014-09-25_e57.zip [^]), file LTU_A-House_redesign.ifc, solid 4081 (no information on original entity).
TagsNo tags attached.
Test case number
Attached Files? file icon LTU_A-House_redesign_so4081.brep (17,661 bytes) 2019-11-09 08:20
png file icon LTU_A-House_redesign_so4081.png (8,809 bytes) 2019-11-09 08:21

- Relationships

-  Notes
(0088883)
oan (developer)
2019-11-10 19:04

It is strange that checkshape reports nothing, whereas bopargcheck notifies a lot of failures:

bopargcheck a #F
Made faulty shape: s1si_1
Made faulty shape: s1si_2
Made faulty shape: s1si_3
Made faulty shape: s1si_4
Made faulty shape: s1si_5
Made faulty shape: s1si_6
Made faulty shape: s1si_7
Made faulty shape: s1si_8
Made faulty shape: s1si_9
Made faulty shape: s1si_10
Made faulty shape: s1si_11
Made faulty shape: s1si_12
Made faulty shape: s1si_13
Made faulty shape: s1si_14
Made faulty shape: s1si_15
Made faulty shape: s1si_16
Made faulty shape: s1si_17
Made faulty shape: s1si_18
Made faulty shape: s1si_19
Made faulty shape: s1si_20
Made faulty shape: s1si_21
Made faulty shape: s1si_22
Made faulty shape: s1si_23
Made faulty shape: s1si_24
Made faulty shape: s1si_25
Made faulty shape: s1si_26
Made faulty shape: s1si_27
Made faulty shape: s1si_28
Made faulty shape: s1si_29
Made faulty shape: s1si_30
Made faulty shape: s1si_31
Made faulty shape: s1si_32
Made faulty shape: s1se_1
Made faulty shape: s1se_2
Made faulty shape: s1se_3
Made faulty shape: s1se_4
Faulties for FIRST shape found : 36
---------------------------------
Shapes are not suppotrted by BOP: NO
Self-Intersections : YES Cases(32) Total shapes(64)
Check for SI has been aborted : NO
Too small edges : YES Cases(4) Total shapes(4)
Bad faces : NO
Too close vertices : DISABLED
Too close edges : DISABLED
Shapes with Continuity C0 : NO
Invalid Curve on Surface : NO

Faulties for SECOND shape found : 0

However, issue should be checked in context of BRepMesh anyway.
(0088884)
oan (developer)
2019-11-10 21:07

Dear Andrey,

preliminary analysis has shown that issue with hang on attached model is caused by

ShapeAnalysis::OuterWire (theFace);

called from BRepMesh_ShapeVisitor::Visit (const TopoDS_Face& theFace).

This means that issue by its nature is not a problem of BRepMesh, but Shape Healing regression.

Please move the ticket to Shape Healing category and assign to proper person for further processing.
(0088885)
oan (developer)
2019-11-10 22:17

In details, ShapeAnalysis::OuterWire causes infinite loop if first sub-shape is not a wire due to lack of proper iterator move after this particular check.
(0088886)
oan (developer)
2019-11-10 22:26

Potentially, this issue will cause hang up of any algorithm using ShapeAnalysis::OuterWire, so it should be checked by an expert in order to provide an appropriate fix.

- Issue History
Date Modified Username Field Change
2019-11-09 08:20 abv New Issue
2019-11-09 08:20 abv Assigned To => oan
2019-11-09 08:20 abv File Added: LTU_A-House_redesign_so4081.brep
2019-11-09 08:21 abv File Added: LTU_A-House_redesign_so4081.png
2019-11-10 19:04 oan Note Added: 0088883
2019-11-10 21:07 oan Note Added: 0088884
2019-11-10 21:07 oan Assigned To oan => abv
2019-11-10 21:07 oan Status new => assigned
2019-11-10 22:17 oan Note Added: 0088885
2019-11-10 22:26 oan Note Added: 0088886
2019-11-11 12:39 oan Status assigned => feedback


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker