Adds an arc curve to the document.
rhinoscriptsyntax.AddArc ( plane, radius, angle_degrees)
rhinoscript.curve.AddArc ( plane, radius, angle_degrees)
plane |
The plane on which the arc will lie. The origin of the plane will be the center point of the arc. The X-axis of the plane will define the 0 angle direction. |
radius |
The radius arc. |
angle_degrees |
A angle or interval, in degrees, of the arc. |
Guid |
The identifier of the new object if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
plane = rs.WorldXYPlane()
plane = rs.RotatePlane(plane, 45.0, [0,0,1])
rs.AddArc( plane, 5.0, 45.0 )