For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Triangulation of an entire TopoDS_Shape

Will Floyd-Jones's picture
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?

Kirill Gavrilov's picture

I understand BRepMesh_FastDiscret​, now deprecated

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

Will Floyd-Jones's picture

Can you provide an example of how to use IMeshTools_ModelBuilder?

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.