Sticks: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
</gallery>
</gallery>


==Sticks Settings==
==Settings==
=== Sticks Radius  (Sticks Weight)===
*[[stick_ball]]         
*[[stick_nub]]           
*[[stick_transparency]]
*[[stick_ball_ratio]]   
*[[stick_overlap]]       
*[[stick_valence_scale]]
*[[stick_color]]         
*[[stick_quality]]     
*[[stick_fixed_radius]] 
*[[stick_radius]]     
 
===Example Settings===
==== Sticks Radius  (Sticks Weight)====
To change the radius for sticks, enter the following:
To change the radius for sticks, enter the following:
<source lang="python">
<source lang="python">
Line 27: Line 39:
*The default value is: ~0.3
*The default value is: ~0.3


===Sticks Transparency===
====Sticks Transparency====
To enable transparency for sticks, enter the following:
To enable transparency for sticks, enter the following:
<source lang="python">
<source lang="python">
Line 37: Line 49:
*'''0.0''' is 0% transparent -- so opaque
*'''0.0''' is 0% transparent -- so opaque


====Example====
<source lang="python">
<source lang="python">
set stick_transparency, 0.45
set stick_transparency, 0.45

Revision as of 15:51, 28 August 2008

Overview

A simple PyMol representation where bonds are drawn as sticks. Use

# using the show command, for some SELECTION
show sticks, SELECTION

# using the as command
as sticks, SELECTION

where SELECTION is a valid selection or previously defined selection name.

Settings

Example Settings

Sticks Radius (Sticks Weight)

To change the radius for sticks, enter the following:

set stick_radius, VALUE

where

0.0<=VALUE<=1.0
  • 1.0 is 100% or full radius
  • 0.0 is 0% or invisible -- so use at least 0.1 or greater
  • The default value is: ~0.3

Sticks Transparency

To enable transparency for sticks, enter the following:

set stick_transparency, VALUE

where 0.0<=VALUE<=1.0

  • 1.0 is 100% transparent -- so invisible
  • 0.0 is 0% transparent -- so opaque
set stick_transparency, 0.45