AddArc3Pt

通过三点添加一个圆弧。

语法

rhinoscriptsyntax.AddArc3Pt (start, end, point_on_arc)

rhinoscript.curve.AddArc3Pt (start, end, point_on_arc)

参数

start

圆弧起点。

end

圆弧终点。

point_on_arc

圆弧上的点。

返回值

Guid

执行成功,返回新物件的ID。

None

如果执行不成功或出错,返回空值。

示例

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)

同见

AddArc

ArcAngle

ArcCenterPoint

ArcMidPoint

ArcRadius

IsArc