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)
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also