DiscussionsIssue archiveModeling Data and Algorithms

Archived discussion

How to make GeomFill_Pipe object (NURBS) solid?

Modeling Data and AlgorithmsMon, 03/31/2025 - 16:301 reply

Browse this forum
QuestionAuthor

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!

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Dear Author,

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, Commenter-1.