Difference between revisions of "Cartoon Helix Settings"

From PyMOLWiki
Jump to: navigation, search
Line 12: Line 12:
 
  set cartoon_fancy_helices, 0
 
  set cartoon_fancy_helices, 0
 
  set cartoon_cylindrical_helices, 0
 
  set cartoon_cylindrical_helices, 0
 
To change the size of the cartoon helices when not in the fancy helix mode
 
set cartoon_oval_radius , 0.8
 
and
 
set cartoon_oval_width , 0.2
 
  
 
==Result==
 
==Result==
Line 26: Line 21:
 
</gallery>
 
</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]]
 +
 +
set cartoon_oval_length , 0.8 # default is 1.20
 +
and
 +
set cartoon_oval_width , 0.2  # default is 0.25
 +
 +
 +
Also see [[Cartoon_oval_width]] and [[Cartoon_oval_length]]
 
[[Category:Settings|Cartoon helix settings]]
 
[[Category:Settings|Cartoon helix settings]]

Revision as of 15:46, 16 May 2008

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


Also see Cartoon_oval_width and Cartoon_oval_length