Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

Set of Curves to NURBS?

Set of Curves to NURBS?
Game Milky 2012/12/10 12:23

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

Any hint?

SunHongLei 2012/12/10 13:41
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 2012/12/10 17:07
      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 2012/12/11 10:16
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     
Latest news
  • JT Assistant Linux and CAD Assistant
  • Open CASCADE JT Assistant
  • OCCT Applications

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map