ExtrudeCurveTapered - PYTHON 不支持

Creates a surface by extruding a curve to a taper.Unlike Lofts and Sweeps, the initial orientation of the profile curve is maintained through the extrusion.

语法

Rhino.ExtrudeCurveTapered (strCurve, dblDistance, arrDirection, arrBasePoint, dblAngle [, intCornerType])

参数

参数

strCurve

Required.字符串。The identifier of the curve object to extrude.

dblDistance

Required.Number.The extrusion distance.

arrDirection

Required.Array.A 3-D vector that specifies the extrusion direction.

arrBasePoint

Required.Array.A 3-D point that specifies the base point of the extrusion.

dblAngle

Required.Number.The angle of the extrusion.

intCornerType

可选参数。Number.The corner type of the extrusion, where:

描述

0 (Default)

No corner

1

Sharp - Offsets and extends curves with a straight line until they intersect.

2

Round - Offsets and fillets curves with an arc of radius equal to the offset distance.

3

Smooth - Offsets and connects curves with a smooth (G1 continuity) curve.

4

Chamfer - Offsets and connects curves with a straight line between their endpoints.

返回值

Array

An array of strings identifying the newly created surface objects if successful.

Null

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

示例

Dim strCurve

strCurve = Rhino.AddCircle(Rhino.WorldXYPlane, 5)

Rhino.ExtrudeCurveTapered strCurve, 5.0, Array(0,0,1), Array(0,0,0), 20

同见

ExtrudeCurve

ExtrudeCurvePoint

ExtrudeCurveStraight

ExtrudeSurface