MakeCurvePeriodic - PYTHON 不支持此函数

Makes an existing curve a periodic NURBS curve.A periodic NURBS curve is a closed curve with a simple knot at the seam.If a joined curve is made periodic, it becomes a single-span curve and can no longer be exploded.

语法

Rhino.MakeCurvePeriodic (strObject [, blnDelete])

参数

strObject

Required.字符串。The object's identifier.

blnDelete

可选参数。Boolean.Delete input curve.If omitted, the input curve will not be deleted (False).

返回值

String

If blnDelete is False, the identifier of the new object if successful.

String

If blnDelete is True, the identifier of the modified object if successful.

Null

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

示例

Const rhObjectCurve = 4

Dim strObject

strObject = Rhino.GetObject("Select a curve", rhObjectCurve)

If Not Rhino.IsCurvePeriodic(strObject) Then

Rhino.MakeCurvePeriodic strObject

End If

同见

IsCurvePeriodic

MakeCurveNonPeriodic