This is a read-only mirror of pymolwiki.org
Difference between revisions of "Half bonds"
Jump to navigation
Jump to search
m (4 revisions) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
==Overview== | ==Overview== | ||
The half_bonds setting determines whether a half bond will be drawn between visible and hidden atoms. | The half_bonds setting determines whether a half bond will be drawn between visible and hidden atoms. | ||
+ | |||
+ | {| | ||
+ | |- | ||
+ | | valign="top"| | ||
+ | [[Image:Half-yes.png|frame|thumb|Stick representation of a glycine showing half bond.]] | ||
+ | | valign="top"| | ||
+ | [[Image:Halfbond-off.jpg|frame|thumb|Stick representation of a glycine without half bond (default).]] | ||
+ | |- | ||
+ | |} | ||
==Syntax== | ==Syntax== | ||
− | set half_bonds ''boolean'' | + | set half_bonds, ''boolean'' |
Where ''boolean'' may be one of: | Where ''boolean'' may be one of: | ||
− | 0 | + | 0 0.0 off false |
+ | |||
+ | or: | ||
+ | |||
+ | 1 1.0 on true | ||
==Example== | ==Example== | ||
Line 15: | Line 28: | ||
To turn off half bonds (default): | To turn off half bonds (default): | ||
<source lang="python">set half_bonds, off</source> | <source lang="python">set half_bonds, off</source> | ||
+ | |||
+ | [[Category:Settings]] |
Latest revision as of 01:47, 28 March 2014
Overview
The half_bonds setting determines whether a half bond will be drawn between visible and hidden atoms.
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