BRep_Tool::Triangulation Issue

By using BRep_Tool::Triangulation to discretize the surface, the triangle meshes can be achieved. But it is too sparse, how can make the triangulation much more dense ??? Is there any parameter which can be set to get dense triangle mesh? Thanks.

tmacedo29's picture

Hello Jun WANG,

when you create the triangle meshes, you can setup the deflection parameter:

BRepMesh::Mesh(aFace,0.01);

I hope it'll help you.
Regards,

Jun WANG's picture

It works!!! Thank you so much!