M_Rhino_Geometry_Brep_CreatePipe_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Creates a single walled pipe
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Brep[] CreatePipe(
Curve rail,
double radius,
bool localBlending,
PipeCapMode cap,
bool fitRail,
double absoluteTolerance,
double angleToleranceRadians
)VB
Public Shared Function CreatePipe (
rail As Curve,
radius As Double,
localBlending As Boolean,
cap As PipeCapMode,
fitRail As Boolean,
absoluteTolerance As Double,
angleToleranceRadians As Double
) As Brep()
- rail
- Type: Rhino.Geometry.Curve
the path curve for the pipe - radius
- Type: System.Double
radius of the pipe - localBlending
- Type: System.Boolean
If True, Local (pipe radius stays constant at the ends and changes more rapidly in the middle) is applied. If False, Global (radius is linearly blended from one end to the other, creating pipes that taper from one radius to the other) is applied - cap
- Type: Rhino.Geometry.PipeCapMode
end cap mode - fitRail
- Type: System.Boolean
If the curve is a polycurve of lines and arcs, the curve is fit and a single surface is created; otherwise the result is a polysurface with joined surfaces created from the polycurve segments. - absoluteTolerance
- Type: System.Double
The sweeping and fitting tolerance. If you are unsure what to use, then use the document's absolute tolerance - angleToleranceRadians
- Type: System.Double
The angle tolerance. If you are unsure what to use, then either use the document's angle tolerance in radians
Type: Brep[]
Array of created pipes on success
Supported in: 6.0.16224.21491, 5D58w