I need help with curves. Does anybody knows what type of splines are available in DGK? What is IBSplineCurve_DG? And how i can create this splines by set of points?
Thank you!
Curves
-
- Posts: 121
- Joined: Mon Apr 04, 2016 4:55 am
Re: Curves
Hi Felix
A good way to start is to look at the interface list: http://dynoinsight.com/Help/V6_0/Interf ... eList.aspx and search for it in the samples
The IBSplineCurve_DG most often is all you need. It is a general bspline curve. You can control all its attributes. Look at its documentation: http://dynoinsight.com/Help/V6_0/Interf ... ve_DG.aspx
Curves sample gives an example of its creation and interpolation of a point array.
There is also a bit older, but simpler IArcSpline3DCurve which consists or arcs and/or straight lines
There is also ICurveFreeForm which is simple a set of segments connecting an array of points
Have a look at the other interfaces which have curve word in its name. There could be useful links
Shoot more questions
Good luck
A good way to start is to look at the interface list: http://dynoinsight.com/Help/V6_0/Interf ... eList.aspx and search for it in the samples
The IBSplineCurve_DG most often is all you need. It is a general bspline curve. You can control all its attributes. Look at its documentation: http://dynoinsight.com/Help/V6_0/Interf ... ve_DG.aspx
Curves sample gives an example of its creation and interpolation of a point array.
There is also a bit older, but simpler IArcSpline3DCurve which consists or arcs and/or straight lines
There is also ICurveFreeForm which is simple a set of segments connecting an array of points
Have a look at the other interfaces which have curve word in its name. There could be useful links
Shoot more questions
Good luck