Looks like I needed to add the iterator instead of multiplying, noob 
mistake.





*width = 7height = 3for i in range(4):    my_circle = cmds.circle()    
cmds.scale(width+i,height+i,my_circle, xy=1)    *

Cheers
    

A terça-feira, 11 de outubro de 2022 à(s) 19:31:54 UTC+1, johancc escreveu:

> Hey all. So I need to keep the same space when duplicating and scaling a 
> nurbs circle(turned into ellipse). The curves on the right of the image are 
> the target(tweaked manually). On the left I just duplicated and scaled 
> uniformly. I wonder what is the math to keep them with even width and 
> height. Something to do with aspect ratio maybe? Thanks.
>
> [image: even.png]
>
>
>
> *for i in range(4):    my_circle = cmds.circle()    
> cmds.scale(7*i,3*i,my_circle, xy=1)   *
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/15731698-084f-4e64-9844-30ca0fcaf52dn%40googlegroups.com.

Reply via email to