shorten or stretch curve.

7 views
Skip to first unread message

Jung Hun

unread,
Jun 10, 2015, 7:47:39 PM6/10/15
to python_in...@googlegroups.com
Hello There,

I'm wondering if there is anyway to shorten or stretch nurbs curve with sliding button instead of scaling whole curve.

for example if I put slide button to 0, the curve would have original length. and if I put slide button to -1, it would have original leghth * 0.9, if I put slide button to 1, it would have original length * 1.1.

I was testing with below command but it has limitation to go back to original length.
cmds.detachCurve(curve, ch=False, cos=False, rpo=True, p=value)

or are there any api command to do this?

thanks for your help.
-Jun

 
Reply all
Reply to author
Forward
0 new messages