On 27/02/2013 at 07:19, xxxxxxxx wrote:
I have a script where I am creating sweepNURBs objects in python based on imported data. Its all working fine. I have radius information for each point of the imported splines, and I'd like to address the SweepNURBS[c4d.SWEEPOBJECT_SPLINESCALE] spline data parameters to:
- set the spline type to linear
- add spline knots for each data point
- set the y value to reflect the radius at that point
- set the x value to position the knot along the spline proportional to the point's position along the imported spline.
I've searched, but I'm not finding much about this, and I may be wrong, but the c4d.SplineData documentation seems mostly oriented toward making custiom GUIs...
Any insight from the hive mind? Thanks in advance...