In maya 2013(*64) ,it's wrong with that # Error: unexpected indent #
Is there anybody same with me?
af Align Vertices 0.0.2 for Maya (maya script)
Align vertices to straight line based on 2 vertices.
1-6 of 6
Previous
Next
Reviews Love it? Or maybe you want to share some creative ways you're putting this item to use.
-

-
I'm running 2014, and it's working fine. Are you running it in Python; if it's a shelf icon, is it Python as well? Are you selecting all of your verts at once, or are you selecting the first, middle, then end? If the latter, you'll run it after selecting them. -
This doe swork well; but I see the end vert also moves. It gets me 90% of the way there; but having the end vert move is kind of a pain. -
# Error: NameError: file C:/Users/Documents/maya/scripts\af_alignVert.py line 11: global name 'cmds' is not defined # maya 2014 64 -
It's missing an "import math" in the code, but it works great !! Thanks a lot. You need to select your first vertex, mid vertices and last vertex before running. It doesn't move the end vertex if you use it as explained. If you just select all the vertices at once, the script won't know to which vertex do you want to align so you'll have random results.
Please confirm your email before commenting.