Hi Howard,
The following example will rotate a model 45 degrees along the absolute y axis:
Code:
model.rotate(0,1,0,45,viz.RELATIVE)
The following example will rotate a model 45 degrees along its local y axis:
Code:
viz.rotate(model,viz.YAXIS,45)
If you need more advanced control you could use the Transform class. Here's a simple example:
Code:
import vizmat
X = vizmat.Transform()
X.makeRot(0,1,0,90)
X.postRot(0,1,45)
model.update(X)
Hope this helps!