How to get TopoDS_Face from Surface(Bspline / Any)


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


You can create face from surface with class BRepBuilderAPI_MakeFace.

Best regards,

Maxim Zverev.