This is a read-only mirror of pymolwiki.org

Difference between revisions of "Util.mroll"

From PyMOL Wiki
Jump to navigation Jump to search
m
 
Line 12: Line 12:
 
  mset 1 x120                  # define the movie
 
  mset 1 x120                  # define the movie
 
  util.mroll(1,120,1)          # issues [[mdo]] commands to create full rotation over 120 frames
 
  util.mroll(1,120,1)          # issues [[mdo]] commands to create full rotation over 120 frames
 +
mpng                        # outputs png files of rotation

Revision as of 22:27, 20 March 2006

DESCRIPTION

util.mroll issues mdo commands to create full rotation

USAGE

util.mroll(start, finish, loop-flag)

EXAMPLE

In this next example, the protein is rotated through a full 360 sweep about the Y-axis over 120 frames

load test/dat/pept.pdb       # load a structure
mset 1 x120                  # define the movie
util.mroll(1,120,1)          # issues mdo commands to create full rotation over 120 frames
mpng                         # outputs png files of rotation