Cubes

From PyMOLWiki
Revision as of 21:14, 1 October 2013 by Speleo3 (talk | contribs) (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Type Python Module
Download cubes.py
Author(s) Thomas Holder
License BSD-2-Clause
This code has been put under version control in the project Pymol-script-repo

This script adds the cubes and tetrahedra commands which create CGOs with cube or tetrahedron representations for all atoms in selection.

Usage

cubes [ selection [, name [, state [, scale [, atomcolors ]]]]]
tetrahedra [ selection [, name [, state [, scale [, atomcolors ]]]]]

Example

fetch 1rx1, async=0
cubes solvent & b < 50
tetrahedra solvent & b > 50