M_Rhino_Geometry_Mesh_CreateFromCurvePipe - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a new mesh pipe from a curve.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Mesh CreateFromCurvePipe(
Curve curve,
double radius,
int segments,
int accuracy,
MeshPipeCapStyle capType,
bool faceted,
IEnumerable<Interval> intervals = null
)
VB
Public Shared Function CreateFromCurvePipe (
curve As Curve,
radius As Double,
segments As Integer,
accuracy As Integer,
capType As MeshPipeCapStyle,
faceted As Boolean,
Optional intervals As IEnumerable(Of Interval) = Nothing
) As Mesh
- curve
- Type: Rhino.Geometry.Curve
A curve to pipe. - radius
- Type: System.Double
The radius of the pipe. - segments
- Type: System.Int32
The number of segments in the pipe. - accuracy
- Type: System.Int32
The accuracy of the pipe. - capType
- Type: Rhino.Geometry.MeshPipeCapStyle
The type of cap to be created at the end of the pipe. - faceted
- Type: System.Boolean
Specifies whether the pipe is faceted, or not. - intervals (Optional)
- Type: System.Collections.Generic.IEnumerable(Interval)
A series of intervals to pipe. This value can be null.
Type: Mesh
A new mesh, or null on failure.
Supported in: 6.0.16224.21491