This is a read-only mirror of pymolwiki.org

Difference between revisions of "Cartoon Helix Settings"

From PyMOL Wiki
Jump to navigation Jump to search
m (2 revisions)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
==Overview==
 
==Overview==
This is a display setting.
+
This setting sets the style in which [[Cartoon|cartoon]] helices are rendered. The default is a helix with an ellipsoid cross section. '''Fancy''' mode helices are ribbons with tubular edges à la [[MolScript]].  Cylindicial mode renders helices as solid cylinders.
 
 
It acts on the section of cartoon-represented helices. When turned off, the section is an ellipsoid. When turned on, the section is a line with circles on each end. The resulting helices are pretty slick ribbons with tubular edges &agrave la MolScript.
 
  
 
==Syntax==
 
==Syntax==
Turn on:
+
To turn on Fancy Helices:
 
  set cartoon_fancy_helices, 1
 
  set cartoon_fancy_helices, 1
  
Turn off:
+
To turn on Cylindrical Helices:
 +
set cartoon_cylindrical_helices, 1
 +
 
 +
To return to default helices:
 
  set cartoon_fancy_helices, 0
 
  set cartoon_fancy_helices, 0
 +
set cartoon_cylindrical_helices, 0
  
 
==Result==
 
==Result==
[[image:Fancy.JPG|frame|fancy helices|left]]
+
<gallery>
[[image:default.JPG|frame|default representation|center]]
+
image:Fancy.JPG|Fancy helix
 +
image:Cylindre.JPG|Cylindrical helix
 +
image:default.JPG|Default representation
 +
</gallery>
 +
 
 +
==Change size of default cartoon helix==
 +
To change the size of the cartoon helices when not in the fancy helix mode you change the dimensions of the oval that represents the cross section of the default cartoon representation.
 +
 
 +
[[Image:Cartoon_oval_length.png]]
 +
 
 +
<source lang="python">
 +
set cartoon_oval_length , 0.8 # default is 1.20
 +
</source>
 +
and
 +
<source lang="python">
 +
set cartoon_oval_width , 0.2  # default is 0.25
 +
</source>
 +
 
 +
==See also==
 +
[[Cartoon_oval_width]], [[Cartoon_oval_length]], [[Cartoon_oval_quality]], [[Cartoon_helix_radius]], [[Cartoon_dumbbell_radius]], [[Cartoon_dumbbell_length]], [[Cartoon_dumbbell_width]], [[Cartoon_sampling]].
  
==edit request==
+
[[Category:Settings|Cartoon helix settings]]
I can't have the &agrave character display properly.
 

Latest revision as of 03:11, 20 October 2015

Overview

This setting sets the style in which cartoon helices are rendered. The default is a helix with an ellipsoid cross section. Fancy mode helices are ribbons with tubular edges à la MolScript. Cylindicial mode renders helices as solid cylinders.

Syntax

To turn on Fancy Helices:

set cartoon_fancy_helices, 1

To turn on Cylindrical Helices:

set cartoon_cylindrical_helices, 1

To return to default helices:

set cartoon_fancy_helices, 0
set cartoon_cylindrical_helices, 0

Result

Change size of default cartoon helix

To change the size of the cartoon helices when not in the fancy helix mode you change the dimensions of the oval that represents the cross section of the default cartoon representation.

Cartoon oval length.png

set cartoon_oval_length , 0.8 # default is 1.20

and

set cartoon_oval_width , 0.2  # default is 0.25

See also

Cartoon_oval_width, Cartoon_oval_length, Cartoon_oval_quality, Cartoon_helix_radius, Cartoon_dumbbell_radius, Cartoon_dumbbell_length, Cartoon_dumbbell_width, Cartoon_sampling.