I need to know how to animate using only the python script. I don’t want static animation but real time animation. Given a 3D model, I want to be able to animate it by programming.
blender has a built-in realtime-engine (often referred to as game-engine). it allows you to simulate real-world movement using rigid-body-physics and add behaviour to objects using the so-called logic bricks and python.
first make sure to check out www.gameblender.org and try getting a copy of the blender gamekit (a book with examples, a reference and a couple of goodies on CD).
for animating objects in “regular” blender using python, have a look at the python scripting documentation here: