AddCircle

Adds a circle curve to the document.

Syntax

rhinoscriptsyntax.AddCircle( plane_or_center, radius )

rhinoscript.curve.AddCircle( plane_or_center, radius )

Parameters

plane_or_center

Required. Plane, Point3d, list of 3 numbers, or identifier of a point object.  The plane on which the circle will lie. The origin of the plane will be the center point of the circle. If the input is a "point" and not a plane, the active view plane is used

radius

Required. Number.  The radius of the circle.

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()

rs.AddCircle( plane, 5.0 )

Also See

AddCircle3Pt

CircleCenterPoint

CircleCircumference

CircleRadius

IsCircle