Valence: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
unbond pk1,pk2 | unbond pk1,pk2 | ||
bond pk1,pk2,4 | bond pk1,pk2,4 | ||
# 1: single bond, 2: double bond, triple bond, 4:delocalized | # 1: single bond, 2: double bond, 3:triple bond, 4:delocalized | ||
</source> | </source> | ||
Revision as of 15:51, 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, 3:triple bond, 4:delocalized