Adds a 3-point circle curve to the document.
rhinoscriptsyntax.AddCircle3Pt (first, second, third)
rhinoscript.curve.AddCircle3Pt (first, second, third)
first |
The first point of the circle. |
second |
The second point of the circle. |
third |
The third point of the circle. |
Guid |
The identifier of the new object if successful. |
None |
If not successful, or on error. |
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)