AddArc

Adds an arc curve to the document.

Syntax

rhinoscriptsyntax.AddArc ( plane, radius, angle_degrees)

rhinoscript.curve.AddArc ( plane, radius, angle_degrees)

Parameters

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.

Returns

Guid

The identifier of the new object if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

plane = rs.WorldXYPlane()

plane = rs.RotatePlane(plane, 45.0, [0,0,1])

rs.AddArc( plane, 5.0, 45.0 )

Also See

AddArc3Pt

ArcAngle

ArcCenterPoint

ArcMidPoint

ArcRadius

IsArc