There is Blender, it's a 3D editor for 3D artists and it uses Python 3.x for everything, you can basically script pretty much anything you want from widgets, extensions, 3D objects and movements .
It's free and multiplatform, also being a 3D editor you can basically render your animation any...