RhinoBrep.from_pipe

classmethod RhinoBrep.from_pipe(path, radius, cap_mode='none', tolerance=None, *args, **kwargs)[source]

Construct a Brep by extruding a circle curve along the path curve.

Parameters:
curvecompas.geometry.Curve

The curve to extrude

radiusfloat

The radius of the pipe.

cap_modeliteral(‘none’, ‘flat’, ‘round’), optional

The type of end caps to create. Defaults to ‘none’.

toleranceTolerance, optional

A Tolerance instance to use for the operation. Defaults to TOL.

Returns:
compas.geometry.Brep