PDA

View Full Version : get curve parametar(or point ws) at lenght?


ginodauri
09-22-2010, 12:00 AM
Hi

I need to get curve parametar or world space position at specific lenght of curve.
Is there node or command for this.

I found in api ,nurbsCurve class ,functions that i need : findParamFromLength,getParamAtPoint.

So this functions are accessible through pymel.So this is my solution.

But i would like to know is this information accessible through regular mel/python.

Thanks

meetar
09-22-2010, 02:41 AM
pointOnCurve will give you worldspace position given the parameter.

http://download.autodesk.com/us/maya/2010help/Commands/pointOnCurve.html

If you must start from length you can use the api call with some Python:

http://forums.cgsociety.org/showpost.php?p=5773154&postcount=9

CGTalk Moderation
09-22-2010, 02:41 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.