Generate a face from a wire

Suppose I have a wire contained in the same face and now I am going to generate a face bounded by these wire. Is there some classes available in OCC?

And then how could I generate a solid bounded by a set of close faces?

Is there some idea? Many thanks.

Roman Lygin's picture

Hi Ming,

Your first question - use GeomPlate or GeomFill_xxxCurves (consult the Plate sample).
Second - BRepAlgo_Sewing to create a shell and then BRep_Builder to add a shell into an empty solid.

Good luck.