This is a read-only mirror of pymolwiki.org

Difference between revisions of "Stick nub"

From PyMOL Wiki
Jump to navigation Jump to search
 
m (9 revisions)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
==Overview==
 
==Overview==
  
stick_nub controls the height of the cones at the end of the sticks in stick representation.
+
The stick_nub setting controls the height of the cones at the end of the sticks in stick representation.  This only affects the simple representation: this setting doesn't have any effect for ray tracing.
  
===Syntax===
+
<gallery heights="250px" widths="250px">
 +
Image:Sticknub default.png|Default stick_nub setting.
 +
Image:Sticknub 0.png|Stubby nubs--stick nub set to 0.
 +
Image:Sticknub 2.png|Nub spears: stick_nub=2.0
 +
</gallery>
  
 +
==Syntax==
 +
<source lang="python">
 
set stick_nub, ''float''
 
set stick_nub, ''float''
 +
</source>
  
Where ''float'' is a floating point number.
+
Where ''float'' is a floating point number. The default value is 0.7.
 +
==Example==
  
0.7 is the default value.
+
<source lang="python">set stick_nub, 0</source>
 
 
==Example==
 
  
set stick_nub, 0
+
[[Category:Settings]]
 +
[[Category:Sticks]]

Latest revision as of 01:44, 28 March 2014

Overview

The stick_nub setting controls the height of the cones at the end of the sticks in stick representation. This only affects the simple representation: this setting doesn't have any effect for ray tracing.

Syntax

set stick_nub, ''float''

Where float is a floating point number. The default value is 0.7.

Example

set stick_nub, 0