'Rotate the object around the axis specified by (x,y,z).
*angle* is in degrees.'

def rotate(self, angle, x, y, z, local=False):

    tr = Transform3D()
    tr.rotate(angle, x, y, z)
    self.applyTransform(tr, local=local)
