Half bonds

From PyMOLWiki
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.

Overview

The half_bonds setting determines whether a half bond will be drawn between visible and hidden atoms.

Stick representation of a glycine showing half bond.
Stick representation of a glycine without half bond (default).

Syntax

set half_bonds, boolean

Where boolean may be one of:

0 0.0 off false

or:

1 1.0 on true

Example

To turn on half bonds:

set half_bonds, 1

To turn off half bonds (default):

set half_bonds, off