Is there a possibility to convert set of Curves to NURBS in Opencascade!
Any hint?
Game
SunHongLei Mon, 12/10/2012 - 16: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
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) ?
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
Mon, 12/10/2012 - 16: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
Mon, 12/10/2012 - 20: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!
Regards
Game
Tue, 12/11/2012 - 13: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