6.8.0: BRepMesh::Mesh removed (alternative)

Hi,

from release notes:
"Redundant class BRepMesh and static method Mesh have been removed"

but what class or funktion I have to use now in 6.8.0??

Regards
Thorsten

Forum supervisor's picture

Dear Thorsen,

Method BRepMesh::Mesh did nothing more than called BRepMesh_IncrementalMesh with the given parameter, so it had no significant meaning and as result it was removed.
To perform meshing user should use BRepMesh_IncrementalMesh directly, for instance:

#include
...
BRepMesh_IncrementalMesh(aShape, 0.001);
...

It is exactly the same what BRepMesh::Mesh did.

Best regards
FSR