Pocket.from_volume_and_element

classmethod Pocket.from_volume_and_element(volume, element, machining_limits=None, ref_side_index=None)[source]

Construct a Pocket feature from a volume and a TimberElement.

Parameters:
volumePolyhedron or Brep or Mesh

The volume of the pocket. Must have 6 faces.

elementBeam or Plate

The element that is cut by this instance.

machining_limitsdict, optional

The machining limits for the cut. Default is None.

ref_side_indexint, optional

The index of the reference side of the element. Default is 0.

Returns:
Pocket

The Pocket feature.