PocketProxy.from_volume_and_element
- classmethod PocketProxy.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:
- volume
PolyhedronorBreporMesh The volume of the pocket. Must have 6 faces.
- element
BeamorPlate 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.
- volume
- Returns:
PocketThe Pocket feature.