xyShrinkWrap is one great tool.
It makes the selected vertexes shrink wrapped onto a selected mesh. This is great for eg. fitting cloth on a body etc.
Now, since its a MEL it has a limitation. You cant just select thousands of vertexes and suppose they all get shrink wrapped. What you can suppose is, that maya will definitivly die
Now, I am wondering, if there is a way to make a MEL that does:
- First you select a bunch of vertexes.
- The MEL kind of groups the selected vertexes eg. by 100 vtx.
- First group is selected, then it calls xyShrinkwrap;
- Sec. group is selected, and so on, like a batch process, until all the vertexes are worked up.
I am sure this is possible.
Another thing could be that xyShrinkwrap could be applied per vertex; since vertexes are numbered, this MEL could build a list and then apply Shrinkwrap one and one, but thats maybe slower?
Give me your point of view / ideas / suggestions
ps. I am no MEL:er, but I understand the basics.