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))