Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 04-03-2006, 10:49 AM   #1
Registered User
Falott's Avatar
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default 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 ;

// merge united objects CVs//
select tmpUnite;
polyMergeVertex -d 0.0001 -ch 0;

select -r tmpUnite ;
doSubdivCreate ( "2", { "1","1","100000","10"} ) ;
pickWalk -d up;
rename sDivUnite_1;
setDisplaySmoothness 3;

hide tmpOrig_1;
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.