This is a read-only mirror of pymolwiki.org

Difference between revisions of "Stick radius"

From PyMOL Wiki
Jump to navigation Jump to search
 
m (7 revisions)
 
(One intermediate revision by one other user not shown)
Line 21: Line 21:
 
You can do something like below
 
You can do something like below
 
<source lang="python">
 
<source lang="python">
 +
 +
To set on the entire object
 +
 
set stick_radius=0.12
 
set stick_radius=0.12
 +
 +
OR
 +
 +
create myObj, <selection>
 +
 +
Ex : create myObj, hetatm
 +
 +
set stick_radius,0.2,myObj
 +
 +
 
</source>
 
</source>
  

Latest revision as of 03:36, 28 March 2014

Overview

This setting affects the radius of sticks in the sticks representation. Default scale is set to 0.25.

In newer versions of PyMOL, one may set the Stick_radius on a per-bond basis. So, you can set for example, the radius of only selected bonds if you want. This is done through the Set_bond command.

Syntax

set_bond stick_radius, ''size'', selection

where,

  • size can be any float number. Using 0.25 (default value) is usually appropriate for most representations, although 0.15 migh be preferred for comparing closely related structures, e.g., conformers.

Note:

set_bond stick_radius

by itself will revert to 1.00.

If the above commands do not work

You can do something like below

To set on the entire object

set stick_radius=0.12

OR

create myObj, <selection>

Ex : create myObj, hetatm

set stick_radius,0.2,myObj

Related settings