How to make GeomFill_Pipe object (NURBS) solid?

Hello, I am new to OCCT and struggle to find information on a possibly trivial problem.
I think I managed to use GeomFill_Pipe to sweep between two circles of different radii along a parabolic path (in pyOCCT).
Now I would like to convert this surface (it is a surface, right?) to a solid in order to save it as .step.
How could this be done or is it even possible? I looked at many examples but could not find a matching one.

Best regards!

Dmitrii Pasukhin's picture

Dear Thomas,

GeomFill_Pipe  generated surface. You are almost ready to export. STP export support export of Topology. You are free to create topology from surface (with natural bounds of BSpline).

The main tools are BRepBuilderAPI_MakeFace and BRep_Builder.

As soon as you prepare TopoDS_Face, you are free to sent it into StepControl_Writer.

Best regards, Dmitrii.