add info about units for rotation IPOs and Object Euler angles.

This commit is contained in:
Stephen Swaney 2004-03-25 06:18:56 +00:00
parent e418052d85
commit 29baa5026e
2 changed files with 6 additions and 2 deletions

@ -177,6 +177,10 @@ class IpoCurve:
The IpoCurve object
===================
This object gives access to generic data from all ipocurves objects in Blender.
Important Notes for Rotation Curves:\n
For the rotation IpoCurves, the y values for points are in units of 10 degrees. example: 45.0 degrees is stored as 4.50 degrees. These are the same numbers you see in the Transform Properties pupmenu ( NKey ) in the IPO Curve Editor window. Positive rotations are in a counter-clockwise direction, just like in math class.
@cvar name: The Curve Data name.
@cvar bezierPoints : The list of the Bezier points.
"""

@ -213,8 +213,8 @@ class Object:
def getEuler():
"""
Returns the object's rotation as Euler rotation vector (rotX, rotY, rotZ).
@rtype: A vector triple
Returns the object's rotation as Euler rotation vector (rotX, rotY, rotZ). Angles are in radians.
@rtype: A vector triple of floats
@return: (rotX, rotY, rotZ)
"""