OCCBrep.from_extrusion
- classmethod OCCBrep.from_extrusion(profile, vector, cap_ends=False)
Construct a BRep by extruding a closed curve along a direction vector.
- Parameters:
- profile
OCCBrepEdge
|OCCBrepFace
The base profile of the extrusion.
- vector
Vector
The extrusion vector. The extrusion has the same height as the length vector.
- cap_endsbool, optional
Flag indicating that the ends of the brep should be capped. Currently this flag is not supported.
- profile
- Returns: