Brep.ExtrudeWithTwist (ICurve, Vector3D, Point3D, Double, Int32, Boolean, Double) Method

Creates a brep extruding and twisting a planar curve..
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.
public static Brep ExtrudeWithTwist( 
ICurve curve
Vector3D direction
Point3D center
double angle
int numberOfSections
bool endCaps = true, 
double rebuildTol = REBUILD_FACTOR 
)
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

Brep

The resulting Brep if the operation succeeds, null/Nothing otherwise.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition