Get U-position of nurbs curve point? 2004-06-18 - By Schoenberger
Back
Hi
I'm trying to get the position of a nurbs point on a curve. Someting like a length from start of the curve to the point. I have a little script, that does it, but I need something that works with the object model. What I have: GetCurvePercentageAtKnotIndex "crvlist", MyPointIndex, perc clength = GetCurveLength("crvlist") PostionOnCurve = clength*perc/100
Now I want that result, but with the object model. What I have found till now is: .Geometry.length .Geometry.curves(0).GetPercentageFromU .Geometry.curves(0).ControlPoints
Perhaps I am stupid or missed something in the docs, but how to get the U position of a Control point? With the U position I could get the percentage and everything would be fine.
Holger Sch�nberger technical director The day has 24 hours, if that does not suffice, I will take the night
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|