Adds a 3-point arc curve to the document.
rhinoscriptsyntax.AddArc3Pt (start, end, point_on_arc)
rhinoscript.curve.AddArc3Pt (start, end, point_on_arc)
start |
The starting point of the arc. |
end |
The ending point of the arc. |
point_on_arc |
A point on the arc. |
Guid |
The identifier of the new object if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
start = rs.GetPoint("Start of arc")
if start is not None:
end = rs.GetPoint("End of arc")
if end is not None:
pton = rs.GetPoint("Point on arc")
if pton is not None:
rs.AddArc3Pt(start, end, pton)