Difference between revisions of "Stick radius"

From PyMOLWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
==Overview==
 
==Overview==
 
This setting affects the radius of sticks in the sticks representation. Default scale is set to 0.25.
 
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.
  
 
<gallery>
 
<gallery>
Line 10: Line 12:
 
==Syntax==
 
==Syntax==
 
<source lang="python">
 
<source lang="python">
set stick_radius, ''size'', selection
+
set_bond stick_radius, ''size'', selection
 
</source>
 
</source>
 
where,  
 
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.
 
*''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:'' <source lang="python">set stick_radius</source> by itself will revert to 1.00.
+
''Note:'' <source lang="python">set_bond stick_radius</source> by itself will revert to 1.00.
  
 
==Related settings==
 
==Related settings==
 +
*[[Set_bond]]
 
*[[sphere_scale]]
 
*[[sphere_scale]]
 
*[[stick_ball_ratio]]
 
*[[stick_ball_ratio]]

Revision as of 07:51, 25 August 2009

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.

Related settings