Wiki

Clone wiki

dcSkin / Home

dcSkin Wiki

Welcome to the dcSkin plug-in wiki! Autodesk Maya Plug-in for export and import skin weights, using Maya API.

Author: David Cuéllar. Linkedin profile

This is my first try using Maya API, to develop a plug-in. The idea came from the necessity of create a faster exporter/importer to be implemented in a bigger application that I'm developing. I will need to modify it, in order to make it working inside of that bigger program, but I decide to release a initial version just in case anyone could find it interesting and useful.

I will update the plugin with new features and probably with some modification in order to make it more efficient.

Version 1.0

#####This plugin has been tested only under Windows platforms, and with Autodesk Maya 2014/2015

*On this first release the plugin will allow you to export the skin cluster weights into a file, and import them back when required.

How to install it?

  • Setting up: Copy the dcSkin.py into your Autodesk Maya plugins directory. Load it on the Plug-in Manager Window
  • Configuration: None
  • Dependencies: None

How to run it?

Run it through the UI

  • MEL COMMAND:
    dcSkin
    
  • PYTHON COMMAND:
    #!python
    maya.cmds.dcSkin()
    
    or:
    import maya.cmds as cmds; cmds.dcSkin()
    

Export Skin through the command line

  • MEL COMMAND:
    dcSkin -sm "name of the skin geometry" -p "full path skin data file"
    
  • PYTHON COMMAND:
    #!python
    maya.cmds.dcSkin( sm="name of the skin geometry", p="full path skin data file")
    

Import Skin through the command line

  • MEL COMMAND:
    dcSkin -tm "target mesh" -p "full path skin data file"
    
  • PYTHON COMMAND:
    #!python
    maya.cmds.dcSkin( tm="target mesh", p="full path skin data file")
    

UI version

ui.png

Help Menu:

Wiki site: Open the wiki site of the plugin in a browser

About: Plug-in information

Source/Target Mesh:

Enter the name of the geometry to work on.

The user has the option to get the geometry from the selection

Skin Data File

Enter the full path to the skin data file

The user has the option to use a file browser to save/load the skin data file.

Export Skin Data

Executes the command to save the skin data of the chosen geometry. If the file is not valid or not set a file browser is going to be open to give the user the chance of set the parameter on the correct way.

Import Skin Data

Executes the command to load the skin data selected on the geometry chosen. If the file is not valid or not set a file browser is going to be open to give the user the chance of set the parameter on the correct way.

Updated