Brep.from_extrusion
- classmethod Brep.from_extrusion(curve, vector, cap_ends=True)[source]
Construct a Brep by extruding a closed curve along a direction vector.
- Parameters:
- curve
compas.geometry.Curve
orcompas.geometry.Polyline
The curve to extrude
- vector
compas.geometry.Vector
The vector to extrude the curve by
- cap_endsbool, optional
If True, the plannar ends of the extrusion will be capped, if possible.
- curve
- Returns: