User Tools

Site Tools


api:cmd:rotate

cmd.rotate

“cmd.rotate” rotates the atomic coordinates of atoms in a selection about an axis. Alternatively, it modifies the matrix associated with a particular object or object state.

Parameters

cmd.rotate(list-or-string axis, float angle, string selection, 
           int state, int camera, string object)

    

Implementation

def rotate(axis='x', angle=0.0, selection="all", state=-1, camera=1, 
           object=None, origin=None, object_mode=0):

See Also

api/cmd/rotate.txt · Last modified: 2013/08/19 21:01 (external edit)