Python - cPoC
So what is *up* with maya not including a proc or node that gives you the closest point on a curve (from a given point)? You get a node that will give you the closestPointOnSurface... and a node that will give you the closestPointOnMesh... so why leave curves out?
It makes no sense... they even give you an example .cpp plugin source to create that node yourself! crazy, huh?
well, i needed to get the info of a closestPointOnCurve in one of my rig scripts, so tossing out the idea of requiring plugins (i try to do as much as i can without them... mostly), i opted to just write something quickly for this. i'll mess with making it into a node/python plug later, but for now i just wanted to get that info and use it.
if anyone is interested in the script, gimme a shout. i'll toss it on highend3d sooner or later, when i have a moment.
OR, maybe i can train myself to blog more and actually post it with a description later... :)
It makes no sense... they even give you an example .cpp plugin source to create that node yourself! crazy, huh?
well, i needed to get the info of a closestPointOnCurve in one of my rig scripts, so tossing out the idea of requiring plugins (i try to do as much as i can without them... mostly), i opted to just write something quickly for this. i'll mess with making it into a node/python plug later, but for now i just wanted to get that info and use it.
if anyone is interested in the script, gimme a shout. i'll toss it on highend3d sooner or later, when i have a moment.
OR, maybe i can train myself to blog more and actually post it with a description later... :)
Labels: maya, programming, python
0 Comments:
Post a Comment
<< Home