RhinoBrep.from_extrusion

classmethod RhinoBrep.from_extrusion(curve, vector, cap_ends=True)[source]

Create a RhinoBrep from an extrusion.

Parameters:
curveCurve

The curve to extrude.

vectorVector

The vector to extrude the curve along.

cap_endsbool, optional

If True, the plannar ends of the extrusion will be capped, if possible.

Returns:
RhinoBrep