Util.mroll: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
 
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 17: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