How to get TopoDS_Face from Surface(Bspline / Any)

Hi,

We are trying to create a half-space solid from a solid and a surface. Can any one tell me, how to get/create a TopoDS_Face from a Surface (Bspline / Any) which can be passed to "BRepPrimAPI_MakeHalfSpace "?

Thanks and Regards Senthil Kumar

Maxim ZVEREV's picture

Hello!

You can create face from surface with class BRepBuilderAPI_MakeFace.

Best regards,

Maxim Zverev.