polyunite_merge_convertToSubD
first attempt - not really a script, but it´s WORKING!
I use to convert from poly to subD a lot when modeling and sometimes need to make a "complete" geometry out of the half one but forget to keep a original version. this script is not really neccesary but prevents me from pressing some extra shelf buttons. my intention is to build a gui which too offers the possibility to automatcally snap-move all borderVerts to the mirrored axis. I still need to figure out.. cause this script isn´t working in case the borderVerts are just somewhere in space. this is of course free for everyone to try. // take your half geometry and create a full one - leaving the original mesh beside// // select the geometry - make sure all borderVerts are snaped to zero on x-axis// rename tmpOrig_1; duplicate -n tmpSide1 tmpOrig_1 ; duplicate -n tmpSide2 tmpSide1 ; setAttr "tmpSide2.scaleX" -1 ; // unite side1 and side2// polyUnite -n tmpUnite tmpSide1 tmpSide2 ; select -r tmpSide1 tmpSide2 ; doDelete; // merge united objects CVs// select tmpUnite; ConvertSelectionToVertices; polyMergeVertex -d 0.0001 -ch 0; select -r tmpUnite ; DeleteHistory; doSubdivCreate ( "2", { "1","1","100000","10"} ) ; pickWalk -d up; rename sDivUnite_1; setDisplaySmoothness 3; hide tmpOrig_1; |
All times are GMT. The time now is 12:40 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018