3d top view to 2d sketch

Hi. I am working on a project to convert 3d model's top view into a 2d sketch.
It would be very helpful, if you can point me to the right way to do it. Does opencascade has any inbuilt api to achieve this?