AddCircle3Pt

Adds a 3-point circle curve to the document.

Syntax

rhinoscriptsyntax.AddCircle3Pt (first, second, third)

rhinoscript.curve.AddCircle3Pt (first, second, third)

Parameters

first

The first point of the circle.

second

The second point of the circle.

third

The third point 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

point1 = rs.GetPoint("First point on circle")

if point1:

    point2 = rs.GetPoint("Second point on circle")

    if point2:

        point3 = rs.GetPoint("Third point on circle")

        if point3:

            rs.AddCircle3Pt(point1, point2, point3)

Also See

AddCircle

CircleCenterPoint

CircleCircumference

CircleRadius

IsCircle