RhinoBrep.from_extrusion classmethod RhinoBrep.from_extrusion(curve, vector, cap_ends=True)[source] Create a RhinoBrep from an extrusion. Parameters: curveCurve or PolylineThe curve to extrude. vectorVectorThe vector to extrude the curve along. cap_endsbool, optionalIf True, the plannar ends of the extrusion will be capped, if possible. Returns: RhinoBrep