Difference between revisions of "Grid mode"

From PyMOLWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
'''grid_mode''' partitions the screen into a grid and displays each molecule in one grid location.  Each molecule rotates, zooms, etc in that grid.    A possibly very useful option for PyMOL.
+
'''grid_mode''' partitions the screen into a grid and displays each molecule in one grid location.  Each molecule rotates, zooms, etc in that grid.    A possibly very useful option for PyMOL.  Each grid area is assigned a [[grid_slot]] number.  This allows you to assign objects to certain grids; very helpful.
  
 
'''Hint:''' When using grid_mode with many molecules, it's sometimes good to align their centers of mass.  This puts them all squarely in the middle of their grid element.  The '''alignto''' command from [[cealign]] can do this for you.
 
'''Hint:''' When using grid_mode with many molecules, it's sometimes good to align their centers of mass.  This puts them all squarely in the middle of their grid element.  The '''alignto''' command from [[cealign]] can do this for you.

Revision as of 16:14, 5 March 2008

Overview

grid_mode partitions the screen into a grid and displays each molecule in one grid location. Each molecule rotates, zooms, etc in that grid. A possibly very useful option for PyMOL. Each grid area is assigned a grid_slot number. This allows you to assign objects to certain grids; very helpful.

Hint: When using grid_mode with many molecules, it's sometimes good to align their centers of mass. This puts them all squarely in the middle of their grid element. The alignto command from cealign can do this for you.

Syntax

# turn on grid mode
set grid_mode,1

# turn off grid mode
set grid_mode,0


Example


See Also

grid_slot