For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Multi-secions surface in OCC

Alexander Luger's picture

Hello guys!

I want to build a surface through a couple of guide curves (green ones in picture) and section curves (red ones in picture). For those who are fimiliar with CATIA, there it is called Multi-sections surface. I looked through the BRepOffsetAPI package, but didn't find a class which satisfies my needs. For example BRepOffsetAPI_ThruSections takes a couple of sections, but no guide curves. BRepOffsetAPI_MakePipeShell takes a couple of profile curves, but only ONE spine.

Is there a way to do that in OCC? Thanks in advance!


Sharjith Naramparambath's picture

Check out this link

Alexander Luger's picture

Hello Sharjith,

thank you for your response. Actually I need two sections and TWO guide curves (spines) between these sections. BRepOffsetAPI_MakePipeShell supports multiple sections but only one spine.


Sharjith Naramparambath's picture

From the documentation, I guess you could set a second spine as an auxiliary spine...

void BRepOffsetAPI_MakePipeShell::SetMode(sonst TopoDS_Wire& AuxiliarySpine,
const Standard_Boolean CurvilinearEquivalence,
const BRepFill_TypeOfContact KeepContact = BRepFill_NoContact)

I haven't tried it though.

Alexander Luger's picture

Thank you very much. I will try this one.

PG's picture

Hello Alexander

Did u try it out ?
How are the results ?

Alexander Luger's picture

Hello PG!

Actually it worked! I was able to build the surface from my attached image with BRepOffsetAPI_MakePipeShell. By using the SetMode function you can add a second spine as Sharjith pointed out.


JiXiang Tsing's picture

Hello Alexander, 

   I have a similar problem about multi section surfaces,my sections are more than two and there are three spines, is there a good function to generate a surface?  

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.