Curvature of solid generated with BRepPrimAPI_MakeRevol is not precise

The solid generated with BRepPrimAPI_MakeRevol is not curved but rather a string of straight objects. Is there some way the control the curvature ? (make the straight parts, composing the curve, smaller)
Thank you

Stephane Routelous's picture

Are you sure it is not only a display problem ?
try to explode your shape in faces, and check the surface types of each face (TopExp_Explorer,BRep_Tool::Surface,BRepAdaptor_Surface::getType, etc...)

HTH,

Stephane
http://www.exotk.org