AddRailRevSrf - PYTHON 不支持此函数

Create a surface by revolving a profile curve along a rail curve.

语法

Rhino.AddRailRevSrf (strProfile, strRail, arrAxis)

参数

strProfile

Required.字符串。The identifier of the profile curve.

strRail

Required.字符串。The identifier of the rail curve.

arrAxis

Required.Array.An array of two 3-D points identifying the start point and end point of the rail revolve axis.

返回值

String

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

Null

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

示例

Dim strProfile, strRail

strProfile = Rhino.AddLine(Array(5,0,0), Array(10,0,10))

strRail = Rhino.AddCircle(Array(0,0,0), 5)

Rhino.AddRailRevSrf strProfile, strRail, Array(Array(0,0,0), Array(0,0,1))

同见

AddRevSrf