M_Rhino_Geometry_Surface_CreateExtrusion - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a surface by extruding a curve along a vector.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Surface CreateExtrusion(
Curve profile,
Vector3d direction
)
VB
Public Shared Function CreateExtrusion (
profile As Curve,
direction As Vector3d
) As Surface
- profile
- Type: Rhino.Geometry.Curve
Profile curve to extrude. - direction
- Type: Rhino.Geometry.Vector3d
Direction and length of extrusion.
Type: Surface
A surface on success or null on failure.
Supported in: 6.0.16224.21491, 5D58w