University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Autorigging with Python | General SmartBody Discussion | Forum


Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Autorigging with Python
June 16, 2014
6:30 pm
New Member
Forum Posts: 2
Member Since:
June 16, 2014
sp_UserOfflineSmall Offline

First off, great software! I was just wondering if there's any documentation on performing autorigging on a pawn using the python commands rather than manually doing it through the gui.



June 16, 2014
7:09 pm
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

We added a couple of functions in the sbgui/src/pythonbind/SBPythonAutorig.cpp file here:

saveDeformableMesh() :  Save the deformable model to the target directory
setPawnMesh() : Set the deformable model to the target pawn

getAutoRigManager() : gets the autorigging manager
buildAutoRiggingFromPawnMesh() : Build the rigging from a pawn with mesh


The idea would be as follows:

1) Add the model asset to SmartBody

2) Create a pawn

3) Attach the model asset to the pawn

4) Run the autorigging command

5) Save out the character that was generated and rigged from the pawn+model



June 17, 2014
11:57 am
New Member
Forum Posts: 2
Member Since:
June 16, 2014
sp_UserOfflineSmall Offline

Thanks for the quick reply. Managed to track down an example from one of the source forge commits yesterday afternoon and everything seems to be running well. In case anyone else is looking for a quick example, the commit is

Forum Timezone: America/Los_Angeles

Top Posters:

jwwalker: 80

jyambao: 52

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 69

Members: 122211

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 531

Posts: 2495