Create face from spline curves
Posted: Fri May 29, 2020 3:53 am
Hi,
This is what I am trying to do: I load set of points which describes closed curves. I create a IBSplineCurve_DG and pass the points to the IBSplineCurve_DG.InitFromPoints().
Here is the first question. Is it necessary that the last point is identical to the first point so that dgk really makes a closed curve?
I intend to create edges and wires from the bspline curves. Will it work?
The more important question for me: I want co create a face (and later a solid) from these curves, the first step is to create a face which are limited by two of such closed curves.
How can I create a face from two given closed bspline curves?
Best regards
Ivan
This is what I am trying to do: I load set of points which describes closed curves. I create a IBSplineCurve_DG and pass the points to the IBSplineCurve_DG.InitFromPoints().
Code: Select all
IPointArray_DG points;
curve.InitFromPoints(points,3,8,Continuity_DG.eCont_G2,0.00001);
curve.SetPeriodic();
I intend to create edges and wires from the bspline curves. Will it work?
The more important question for me: I want co create a face (and later a solid) from these curves, the first step is to create a face which are limited by two of such closed curves.
How can I create a face from two given closed bspline curves?
Best regards
Ivan