[Bf-python] BVH & New actions for armatures
Toni Alatalo
antont at kyperjokki.fi
Sat Apr 8 14:41:31 CEST 2006
On Saturday 08 April 2006 12:14, Campbell Barton wrote:
> Is python capable of creating and assigning IPO's to actions?
> Id like to be able to import BVH animations as actions.
i seem to have used a workaround when creating new actions based on existing
ones:
copy = NLA.CopyAction(sourceact) #only 'cause there is no Action.addChannel,
urgh! (that is from http://www.blender.org/~antont/makewireipos.py)
.. that way i got a new action, that had the same channels (ipo curves) as the
source one. i guess adding action.addChannel() or something like that to the
api would be straightforward, then your action creation can just add
necessary channels to the action ipo as it goes..
> - Cam
~Toni
More information about the Bf-python
mailing list