Tue, 01/14/2020 - 00:16
Forums:
I'm using 7.4.0. I'd like to take a TopoDS_Shape and convert it to a reasonably coarse triangulation- one in which smaller faces are entirely glossed over. Imagine a shape which includes everything down to the threads for a small screw; ideally I'd like to have a triangulation which ignores those threads since they are dramatically smaller than the overall shape. Does OpenCASCADE provide such a function? I understand BRepMesh_FastDiscret, now deprecated, was for a similar purpose. Can you provide an example of the recommended replacement?
Tue, 01/14/2020 - 18:41
BRepMesh_FastDiscret was an internal detail for BRepMesh_IncrementalMesh implementation.
The logic was not removed - it was improved, so that there are now IMeshTools/IMeshData tools.
BRepMesh_IncrementalMesh is still there and not deprecated.
The following article elaborates BRepMesh refactoring:
https://dev.opencascade.org/index.php?q=node/1237
Tue, 01/14/2020 - 04:05
Can you provide an example of how to use IMeshTools_ModelBuilder?