
This is related to Blender only, it has nothing to do with indigo besides the fact that I'll end up rendering the scene with it.
Anyway not that the not clear stuff is out of the way, what I'm looking for is a script that will generate a random X,Y,Z rotation for the object that I select. And if at all possible, generate such a rotation for a selection of multiple objects.
So say I have 3 objects, then it'll create a X1,Y1,Z1 rotation for object 1, and so on for the others.
Help?

P.S: By generating I mean, calculate and apply. That way I don't have to do it myself.