graphics/blender/ SimplePythonRecipes1
Manipulating Objects
Rotate an object:
import math
theta_degrees = 30 # degrees
theta_radians = math.radians(theta_degrees)
bpy.context.active_object.rotation_euler[0] = theta_radians
and
bpy.context.active_object.rotation_euler = Euler((0,0,0),'XYZ')
bpy.context.active_object.rotation_euler = Euler((0,0,30),'XYZ')
bpy.context.active_object.rotation_euler = Euler((0,45,30),'XYZ')
so we can use a hedgehog to control these values in increments of e.g. 0.2 radians. Enough for an initial concept demo.