Python Geodesic Voxel bind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to perform Maya's Geodesic Voxel bind using Python, but I'm having trouble finding the right commands.
In the Maya (2015) application it's done very easily. You move to Skin -> Smooth Bind (Options) -> select all of your settings -> Bind skin. I've tried looking in the Script Editor, but it does not show any commands that are related to a smooth bind, even though it has been executed. Here's what I get for commands:
select SpineBaseselect TheBoss:Mesh #This is where the smooth bind took place
select -r RightHipAnkle
After echoing all of the executed commands again I got the following:
SmoothBindSkinOptions;
performSkinCluster true;
Those are the MEL commands, but don't tell me anything about how to perform a Geodesic Voxel bind. I have looked around the documentation a bit and found the following two that might be of use to me:
The bindSkin command is only used for "rigid" binds, and therefor of no use to me. The skinCluster command seems to be getting close to what I'm looking for, but still does not have the type of options I'm looking for (mainly Geodesic Voxel bind). It does have some options that are also available in the Smooth Bind Options window. For example the skinMethod, but that only indicates the linear, dual quaternion and weight blended options.
Of course I've also looked around on Google, but haven't found anything related to the Python commands I'm looking for. I found some references to PyMel, but would like to avoid that if possible (even that reference was not what I was looking for though).
How to perform Maya's Geodesic Voxel smooth bind using Python?
Note: I reposted this here from StackOverflow, because I thought I may get more answers here. Original link: http://stackoverflow.com/questions/31581686/mayas-geodesic-voxel-bind-in-python