Tip: pydrivers.py
Here's a great tip from the BlenderWiki:
If you create a text in Blender called pydrivers.py
, any functions or variables you define there will be available (under the p
namespace) from a pydriver that's controlling an IPO channel. Great for keeping those pydrivers concise!