Cartoon cylindrical helices: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
(cartoon_smooth_cylinder_* settings)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Overview==
The [[cartoon_cylindrical_helices]] setting makes [[cartoon]] helices appear as simple cylinders.


This is a display setting. It replaces cartoon-represented helices by cylinders.
''Changed in PyMOL 2.5: Cylinders are not straight anymore but follow the actual curved shape of a helix. Straight helices are still available as mode 2.''


==Syntax==
== Modes ==


set cartoon_cylindrical_helices, 1 to turn on
* 0: Off (helices will be rendered according to the [[cartoon]] property or settings like [[cartoon_fancy_helices]])
* 1: Curved helices (since PyMOL 2.5)
* 2: Straight helices


set cartoon_cylindrical_helices, 0 to turn off
== Example ==


==Result==
fetch 1bb1
[[image:Notcylindre.JPG|frame|Default representation|left]]
set cartoon_cylindrical_helices, 1
[[image:Cylindre.JPG|frame|Cylindre helix|center]]
as cartoon
 
{|class="wikitable"
! set cartoon_cylindrical_helices, 1
! set cartoon_cylindrical_helices, 2
|-
| [[File:cartoon_cylindrical_helices-1.png]]
| [[File:cartoon_cylindrical_helices-2.png]]
|}
 
== Related Settings ==
 
* [[cartoon_smooth_cylinder_window]]: half-window size for window average smoothing (mode 1)
* [[cartoon_smooth_cylinder_cycles]]: number of cycles for window average smoothing (mode 1)
* [[cartoon_loop_quality]] affects "roundness" of mode 1 curved cylindrical helices (and loops of course).
 
== See Also ==
 
* [[Cartoon Helix Settings]]
* [[cartoon_smooth_loops]]
 
[[Category:Settings]]

Latest revision as of 03:25, 30 September 2020

The cartoon_cylindrical_helices setting makes cartoon helices appear as simple cylinders.

Changed in PyMOL 2.5: Cylinders are not straight anymore but follow the actual curved shape of a helix. Straight helices are still available as mode 2.

Modes

  • 0: Off (helices will be rendered according to the cartoon property or settings like cartoon_fancy_helices)
  • 1: Curved helices (since PyMOL 2.5)
  • 2: Straight helices

Example

fetch 1bb1
set cartoon_cylindrical_helices, 1
as cartoon
set cartoon_cylindrical_helices, 1 set cartoon_cylindrical_helices, 2
Cartoon cylindrical helices-1.png Cartoon cylindrical helices-2.png

Related Settings

See Also