Brep.ExtrudeWithTwist (ICurve, Vector3D, Point3D, Double, Int32, Boolean, Double) Method
Public Shared Function ExtrudeWithTwist( _
ByVal curve As ICurve, _
ByVal direction As Vector3D, _
ByVal center As Point3D, _
ByVal angle As Double, _
ByVal numberOfSections As Integer, _
Optional ByVal endCaps As Boolean = true, _
Optional ByVal rebuildTol As Double = REBUILD_FACTOR _
) As Brep
This language is not supported or no code example is available.
Parameters
- curve
- ICurve
The curve to extrude
- direction
- Vector3D
Extrusion direction, normal to the plane of the curve
- center
- Point3D
Point of application for the direction, on the plane of the curve
- angle
- double
Twist angle in radians
- numberOfSections
- int
Number of internal sections to be interpolated, it corresponds to the number of distinct internal knots in the extrusion surface's U direction.
- endCaps
- bool
If true, creates a closed Brep
- rebuildTol
- double
The regeneration tolerance
Return Value
BrepThe resulting Brep if the operation succeeds, null/Nothing otherwise.