MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031562Community[OCCT] OCCT:Meshpublic2020-05-14 05:122020-05-18 12:14
ReporterVico Liang 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0031562: A surface mesh failure
DescriptionThe uploaded file surface-mesh-issue.brep can't be visualized correctly.It seems a meshing issue.
Steps To Reproducerestore surface-mesh-issue.brep a
checkshape a
fixshape a a
checkshape a
vinit
vsetdispmode 1
vdisplay a
TagsNo tags attached.
Test case number
Attached Files? file icon surface-mesh-issue.brep (6,484 bytes) 2020-05-14 05:12
png file icon surface-mesh-issue.png (10,805 bytes) 2020-05-14 05:12
png file icon fixed_mesh_issue.png (26,994 bytes) 2020-05-14 12:14

- Relationships

-  Notes
(0092108)
oan (developer)
2020-05-14 12:13

Hello Vico,

aforementioned shape contains numerous faulties according to checkshape:

On Shape faulty_1 :
BRepCheck_UnorientableShape
Shape faulty_2 on shape faulty_1 :
BRepCheck_NoCurveOnSurface
Shape faulty_3 on shape faulty_1 :
BRepCheck_NoCurveOnSurface
On Shape faulty_4 :
BRepCheck_UnorientableShape
Shape faulty_5 on shape faulty_4 :
BRepCheck_NoCurveOnSurface
Shape faulty_6 on shape faulty_4 :
BRepCheck_NoCurveOnSurface

Faulty shapes in variables faulty_1 to faulty_6

As far as BRepMesh relies on valid input, this is actually the cause of the described issue.

It could easily be fixed by calling fixshape functionality, e.g.:
restore surface-mesh-issue.brep a
checkshape a
fixshape a a
checkshape a
vinit
vsetdispmode 1
vdisplay a

Best regards,
Oleg.
(0092162)
Vico Liang (developer)
2020-05-15 19:48

Hello Oleg,

I see that it might be a bug of the modeling algorithm which produce this invalid shape.Thanks for checking this.Please close this issue.

Best regards.
(0092225)
oan (developer)
2020-05-18 12:14

Dear Bugmaster,

Please add test case and close the issue.

- Issue History
Date Modified Username Field Change
2020-05-14 05:12 Vico Liang New Issue
2020-05-14 05:12 Vico Liang Assigned To => oan
2020-05-14 05:12 Vico Liang File Added: surface-mesh-issue.brep
2020-05-14 05:12 Vico Liang File Added: surface-mesh-issue.png
2020-05-14 12:13 oan Note Added: 0092108
2020-05-14 12:13 oan Assigned To oan => Vico Liang
2020-05-14 12:13 oan Status new => feedback
2020-05-14 12:14 oan File Added: fixed_mesh_issue.png
2020-05-14 12:14 oan File Deleted: fixed_mesh_issue.png
2020-05-14 12:14 oan File Added: fixed_mesh_issue.png
2020-05-15 19:48 Vico Liang Note Added: 0092162
2020-05-16 16:24 Vico Liang Assigned To Vico Liang => oan
2020-05-18 12:13 oan Steps to Reproduce Updated View Revisions
2020-05-18 12:14 oan Note Added: 0092225
2020-05-18 12:14 oan Assigned To oan => bugmaster
2020-05-18 12:14 oan Status feedback => assigned


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker