This is a read-only mirror of pymolwiki.org

Difference between revisions of "Turn"

From PyMOL Wiki
Jump to navigation Jump to search
 
m (6 revisions)
 
(5 intermediate revisions by one other user 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 03:36, 28 March 2014

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