Skip to content

Instantly share code, notes, and snippets.

@GerrieWell
Created October 23, 2015 03:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GerrieWell/c495a495ec8a9603fd14 to your computer and use it in GitHub Desktop.
Save GerrieWell/c495a495ec8a9603fd14 to your computer and use it in GitHub Desktop.
My tool auto rigging
from AutoRig import *
scene.addAssetPath('mesh', 'mesh')
scene.addAssetPath('motion', 'ChrBrad')
scene.addAssetPath("script", "behaviorsets")
scene.addAssetPath('script', 'scripts')
scene.loadAssets()
autoRigPawn = scene.createPawn('autoRig0')
autoRigPawn.setStringAttribute('mesh','Garry_Friedman.obj')
autoRigManager = SBAutoRigManager.getAutoRigManager()
autoRigManager.buildAutoRiggingFromPawnMesh("myCharacter",0, 'myCharacter.sk','myCharacter.dae') # convert the object+mesh into a rigged character
Copy link

ghost commented Dec 22, 2017

??

Copy link

ghost commented Dec 22, 2017

the code is not working....where do i get a auto rigging tool...someone please help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment