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

Set of Curves to NURBS?

Game Milky's picture

Is there a possibility to convert set of Curves to NURBS in Opencascade!

Any hint?


SunHongLei's picture

Hi,Game. You want to convert set of Curves to NURBS one by one or merge them together?
Try GeomConvert::CurveToBSplineCurve(Curve)// curve is Geom_Curve

hope this will help you

Game Milky's picture

Dear SunHongLei,

Thank you for the information, i look up in documentation and GeomConvert::CurveToBSplineCurve(Curve) is used to approximate 3D curve to a 3D BSpline. Well, thank you for the information but my question was, how to get BSpline Surface from a set of curves (BSpline or any 3D curves) ?

Do you have any idea?

Any info would be appreciated!



SunHongLei's picture

you can make a wire use BRepBuilderAPI_MakeWire and then make a face use BRepBuilderAPI_MakeFace
and then transfer it to BSpline Surface use BrepTool::Surface

Hope this will help