THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/06/2011 at 02:41, xxxxxxxx wrote:
Does any kind soul know how to get the vector position for a spline using Py?
I have spent all night without any luck and cannot for the life of me
manage to get it.
In coffee I do as shown but whatever I try in Python can't get past
the init part as I don't understand what class does what.
var splineobject = object(); // a selected splineobject
var realspline = splineobject->GetRealSpline(); // the realspline
var sldata = new(SplineLengthData); // the data to use
sldata->Init(realspline,0); // the init spline first segment
var pos = realspline->GetSplinePoint(0.5,0); // The vector position in space at 50% of segment
Cheers
Lennart