Click or drag to resize

MeshCreateFromCurvePipe Method

Constructs a new mesh pipe from a curve.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static Mesh CreateFromCurvePipe(
	Curve curve,
	double radius,
	int segments,
	int accuracy,
	MeshPipeCapStyle capType,
	bool faceted,
	IEnumerable<Interval> intervals = null
)

Parameters

curve
Type: Rhino.GeometryCurve
A curve to pipe.
radius
Type: SystemDouble
The radius of the pipe.
segments
Type: SystemInt32
The number of segments in the pipe.
accuracy
Type: SystemInt32
The accuracy of the pipe.
capType
Type: Rhino.GeometryMeshPipeCapStyle
The type of cap to be created at the end of the pipe.
faceted
Type: SystemBoolean
Specifies whether the pipe is faceted, or not.
intervals (Optional)
Type: System.Collections.GenericIEnumerableInterval
A series of intervals to pipe. This value can be null.

Return Value

Type: Mesh
A new mesh, or null on failure.
See Also