University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Running SmartBody as an Embedded Python Library in Blender | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

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
Running SmartBody as an Embedded Python Library in Blender
January 2, 2015
9:52 am
Avatar
Member
Members
Forum Posts: 8
Member Since:
July 8, 2014
sp_UserOfflineSmall Offline

I'm trying to use SmartBody in Blender, but it seems Blender only support Python 3.x instead of 2.7

Is it possible to update Python library from 2.7 to 3.x in SmartBody, so we can load it in Blender?

January 2, 2015
3:48 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

I would love to get SmartBody working with Blender. I haven't tried to use Python 3.x, though, and I'm not sure how it differs with Python 2.7.

SmartBody uses Python via boost-python, which converts a meta-description into the Python glue that ties it to the C++ API.

If boost-python works in the same way for 3.x as it does for 2.7, then SmartBody might work with only a rebuild.

To do this, you would need to download SmartBody from the source code repository (sourceforge.net/projects/smartbody), download Python 3.x, replace all the references in the SmartBody project (header and library locations) from Python2.7 to Python3.x.

 

Ari