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:
profileOCCBrepEdge | OCCBrepFace

The base profile of the extrusion.

vectorVector

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.

Returns:
OCCBrep