M_Rhino_Geometry_Extrusion_CreatePipeExtrusion - mcneel/rhinocommon-api-docs GitHub Wiki
Gets an extrusion form of a pipe.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Extrusion CreatePipeExtrusion(
Cylinder cylinder,
double otherRadius,
bool capTop,
bool capBottom
)
VB
Public Shared Function CreatePipeExtrusion (
cylinder As Cylinder,
otherRadius As Double,
capTop As Boolean,
capBottom As Boolean
) As Extrusion
- cylinder
- Type: Rhino.Geometry.Cylinder
IsFinite must be true. - otherRadius
- Type: System.Double
If cylinder.Radius is less than other radius, then the cylinder will be the inside of the pipe. - capTop
- Type: System.Boolean
If true, the end at cylinder.Height2 will be capped. - capBottom
- Type: System.Boolean
If true, the end at cylinder.Height1 will be capped.
Type: Extrusion
Extrusion on success. null on failure.
Supported in: 6.0.16224.21491, 5D58w