Returns the 3-D point that is a specified angle and distance from a 3-D point.
rhinoscriptsyntax.Polar(point, angle_degrees, distance, plane=None)
rhinoscript.utility.Polar(point, angle_degrees, distance, plane=None)
point |
Required. List or tuple of 3 numbers, or Point3d. The 3-D point to transform. |
angle_degrees |
Required. Number. The angle in degrees. |
distance |
Required. Number. The distance. |
plane |
Optional. The plane to base the transformation. If omitted, the world x-y plane is used. The elements of a plane array are as follows: |
Point3d |
The resulting 3-D point if successful. |
None |
On error. |
import rhinoscriptsyntax as rs
point = (1.0, 1.0, 0.0)
result = rs.Polar(point, 45.0, 1.414214)
print result