MakeSurfaceNonPeriodic - PYTHON 不支持

Makes a periodic surface non-periodic.Non-periodic surfaces can develop kinks when deformed.

语法

Rhino.MakeSurfaceNonPeriodic (strObject, intDirection [, blnDelete])

参数

strObject

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

intDirection

Required.Number.The direction to make non-periodic, either 0 = U, or 1 = V.

blnDelete

可选参数。Boolean.Delete input surface.If omitted, the input surface 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 rhObjectSurface = 8

Dim strObject

strObject = Rhino.GetObject("Select a surface", rhObjectSurface)

If Rhino.IsSurfacePeriodic(strObject, 0) Then

Rhino.MakeSurfaceNonPeriodic strObject, 0

End If

If Rhino.IsSurfacePeriodic(strObject, 1) Then

Rhino.MakeSurfaceNonPeriodic strObject, 1

End If

同见

IsSurfacePeriodic

MakeSurfacePeriodic