PDA

View Full Version : Converting wrap to skin in maya


shinyprem
05-28-2007, 08:46 AM
Hi !!

Is there any option/pluigIn/Script to convert a "Wrap Deformer" to "Skin Cluster " as in MAX??


Regards,
Prem

thematt
06-04-2007, 06:51 PM
not that I know of..but this could be scriptable I guess although not easily.
It could be an intersting dev to do, if I wasn't that busy I would look into it.

cheers

shinyprem
06-05-2007, 04:54 AM
but this could be scriptable

Hi..!

Is there a way to get the weight map of the wrap deformer....

rgds,

_stev_
06-05-2007, 06:15 AM
Rather than using a wrap deformer, you're better off just smooth skinning your new mesh, and then copying the skin weights from the mesh that is already skinned.

Select your skinned mesh, then select you new mesh, then run this in the script editor:

string $sel[] = `ls -sl`;
string $cluster = `findRelatedSkinCluster $sel[0]`;
string $joints[] = `listConnections -s 1 -d 0 ($cluster + ".matrix")`;
select -r $sel[1];
select -add $joints;
SmoothBindSkin -tsb -ta;
string $newCluster = `findRelatedSkinCluster $sel[1]`;
copySkinWeights -ss $cluster -ds $newCluster -nm;


To manually do this, just create a smooth bind with you new mesh, and the go to Skin > Edit Smooth Skin > Copy Skin Weights.

Stev

shinyprem
06-05-2007, 08:04 AM
Hi Stev Kalinowski..

Thanks a lot in helping out to find the hidden option....

cheers

refract
06-05-2007, 11:22 PM
Skin wrap equivalent is 'copy weights' in Maya 8.5

CGTalk Moderation
06-05-2007, 11:22 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.