This is a read-only mirror of pymolwiki.org
Difference between revisions of "Valence"
Jump to navigation
Jump to search
m (3 revisions) |
|||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | Turning on '''valence''' will | + | Turning on '''valence''' will enable the display of double bonds.<br> |
+ | Toggling '''valence_mode''' alters the positioning of double bonds (for representation as [[Lines]])<br> | ||
+ | Note that bonds can be edited to be delocalized using [[Unond]] and [[Bond]]. | ||
== Examples == | == Examples == | ||
− | <gallery> | + | <gallery heights="200px" widths="200px" align="left" perrow="4"> |
− | Image: | + | Image:PHE_valence_0.png|set valence, 0<br>#(no double bonds) |
− | Image: | + | Image:PHE_valence_1_mode_1.png|set valence, 1<br>set valence_mode, 1<br>#bonds inside |
+ | Image:PHE_valence_1_mode_0.png|set valence, 1<br>set valence_mode, 0<br>#bonds centered | ||
+ | Image:PHE_delocalized.png|set valence, 1<br>#delocalized bonds<br>#(edited: see [[Bond]]) | ||
</gallery> | </gallery> | ||
Line 13: | Line 17: | ||
set valence, 0 # off | set valence, 0 # off | ||
set valence, 1 # on | set valence, 1 # on | ||
+ | |||
+ | set valence_mode, 0 # centered | ||
+ | set valence_mode, 1 # inside | ||
+ | |||
+ | # In editing mode: | ||
+ | # select the bond using Ctrl-right-click, then enter: | ||
+ | unbond pk1,pk2 | ||
+ | bond pk1,pk2,4 | ||
+ | # 1: single bond, 2: double bond, triple bond, 4:delocalized | ||
</source> | </source> | ||
+ | |||
+ | |||
+ | =SEE ALSO= | ||
+ | [[Bond]], [[Unond]] | ||
[[Category:Settings|Valence]] | [[Category:Settings|Valence]] |
Revision as of 20:49, 29 May 2014
Overview
Turning on valence will enable the display of double bonds.
Toggling valence_mode alters the positioning of double bonds (for representation as Lines)
Note that bonds can be edited to be delocalized using Unond and Bond.
Examples
set valence, 1
#delocalized bonds
#(edited: see Bond)
Syntax
set valence, 0 # off
set valence, 1 # on
set valence_mode, 0 # centered
set valence_mode, 1 # inside
# In editing mode:
# select the bond using Ctrl-right-click, then enter:
unbond pk1,pk2
bond pk1,pk2,4
# 1: single bond, 2: double bond, triple bond, 4:delocalized