This is a read-only mirror of pymolwiki.org
Difference between revisions of "Stick radius"
Jump to navigation
Jump to search
(→Syntax) |
(→Syntax) |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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> |
| + | Image:Stick_rad_0.05.png|stick_radius set to 0.05 | ||
| + | Image:Stick_radius_default.png|stick_radius set to the default 0.25 | ||
| + | Image:Stick_rad_0.85.png|stick_radius set to 0.85 | ||
| + | </gallery> | ||
| − | ''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. | + | ==Syntax== |
| + | <source lang="python"> | ||
| + | set_bond stick_radius, ''size'', selection | ||
| + | </source> | ||
| + | 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:'' < | + | ''Note:'' <source lang="python">set_bond stick_radius</source> by itself will revert to 1.00. |
| + | ==If the above commands do not work== | ||
| + | You can do something like below | ||
| + | <source lang="python"> | ||
| + | set stick_radius=0.12 | ||
| + | </source> | ||
==Related settings== | ==Related settings== | ||
| − | + | *[[Set_bond]] | |
*[[sphere_scale]] | *[[sphere_scale]] | ||
*[[stick_ball_ratio]] | *[[stick_ball_ratio]] | ||
| + | |||
| + | [[Category:Sticks]] | ||
| + | [[Category:Settings]] | ||
Revision as of 04:11, 31 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.
If the above commands do not work
You can do something like below
set stick_radius=0.12


