Difference between revisions of "Turn"

From PyMOLWiki
Jump to navigation Jump to search
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
 
+
'''turn''' rotates the camera about one of the three primary axes, centered at the origin.  Also consider [[rotate]].
  "turn" rotates the camera about one of the three primary axes,
+
 
  centered at the origin.
 
 
 
===USAGE===
 
===USAGE===
   
+
  turn axis, angle
  turn axis, angle
+
 
 
 
===EXAMPLES===
 
===EXAMPLES===
   
+
  turn x,90
  turn x,90
+
turn y,45
  turn y,45
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.turn( string axis, float angle )
+
cmd.turn( string axis, float angle )
</source>
+
</source>
+
 
 
===SEE ALSO===
 
===SEE ALSO===
+
[[move]], [[rotate]], [[translate]], [[zoom]], [[center]], [[clip]]
  [[Cmd move]], [[Cmd rotate]], [[Cmd translate]], [[Cmd zoom]], [[Cmd center]], [[Cmd clip]]
 
  
[[Category:Commands|turn]]
+
[[Category:Commands|Turn]]
 +
[[Category:View Module|Turn]]

Latest revision as of 14:44, 17 November 2009

turn rotates the camera about one of the three primary axes, centered at the origin. Also consider rotate.

USAGE

turn axis, angle

EXAMPLES

turn x,90
turn y,45

PYMOL API

cmd.turn( string axis, float angle )

SEE ALSO

move, rotate, translate, zoom, center, clip