Click or drag to resize

SurfaceCreateExtrusion Method

Constructs a surface by extruding a curve along a vector.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Surface CreateExtrusion(
	Curve profile,
	Vector3d direction
)

Parameters

profile
Type: Rhino.GeometryCurve
Profile curve to extrude.
direction
Type: Rhino.GeometryVector3d
Direction and length of extrusion.

Return Value

Type: Surface
A surface on success or null on failure.
See Also