DiscussionsIssue archiveOther usage issues

Archived discussion

Optimizing mesh generated by BRepMesh_IncrementalMesh

Other usage issuesTue, 09/13/2016 - 06:162 replies

Browse this forum
QuestionAuthor

It seems that the mesh generated when using BRepMesh_IncrementalMesh on a compound contains a lot of duplicate vertex info. Is there a way to either generate an optimized mesh or to optimize an existing mesh?
 
Thanks,
Author

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hello Author,

How do you check the fact of vertex duplication? Could you share the code you have implemented? Also, would you be able to provide the mentioned compound shape as a BRep file?

By the way, have a look at an alternative meshing solution by OPEN CASCADE - it's our Express Mesh component.

Best regards,

Commenter-1

02Author

As I was collecting everything to submit I realized that I was only comparing the vertex position. This of course would return false positives where vertices might be in the same place but with different normals. Now everything returns perfect. My mistake!

Thanks,
Author