Poor angular resolution in BRepPrimAPI_MakeRevol method

The edges of the surface generated by BRepPrimAPI_MakeRevol are not enough circular, looking rather like a polygonal of straight segments. Is there a way to smooth them or increase polygonal resolution? I've tried to make use of BRepMesh_IncrementalMesh with various parameter values but nothing changes.

Timo Roth's picture

If you decrease the 4th parameter (Ang) of the BRepMesh_IncrementalMesh constructor it should become better. This parameter controls the resolution of edges. The third parameter (Relatif) should be false. Second parameter (D) can be decreased to get a smoother shaded surface.