I am a total beginner in Python but know programming basics.

I have a problem which is absurdly simple *in principle *and therefore strikes me best solved in Python.

Here’s the problem.

A cube, side 2 units, sits in the x,y plane with bottom face centred at the origin (0,0,0).

The idea is to roll the cube along the x-axis about the edges parallel to the Y-axis in succession.

The first edge (along the line x=1, z=0) starts off as the axis of rotation turning the cube by 90 degrees, so the next edge gets into position x=3.

This then is the next axis of rotation through 90 degrees and so on.

I’ve worked the problem using bones but surely using Python would be simpler (without bones?) - all one needs is define a loop and carry out two operations:

identify the new axis of rotation and turn the cube through 90 degrees.

Wouldn’t Python be able to handle these two ops with ease - without bones? Or am I talking nonsense because of ignorance of Python?