MeshCreateExtrusion Method (Curve, Vector3d, MeshingParameters) |
Constructs a mesh by extruding a curve along a vector.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax public static Mesh CreateExtrusion(
Curve profile,
Vector3d direction,
MeshingParameters parameters
)
Public Shared Function CreateExtrusion (
profile As Curve,
direction As Vector3d,
parameters As MeshingParameters
) As Mesh
Parameters
- profile
- Type: Rhino.GeometryCurve
Profile curve to extrude. - direction
- Type: Rhino.GeometryVector3d
Direction and length of extrusion. - parameters
- Type: Rhino.GeometryMeshingParameters
Parameters used to create the mesh.
Return Value
Type:
MeshA mesh on success or null on failure.
See Also