Pocket.volume_from_params_and_element

Pocket.volume_from_params_and_element(element)[source]

Calculates the subtracting volume from the machining parameters in this instance and the given element, ensuring correct face orientation.

Parameters:
elementcompas_timber.elements.Beam or compas_timber.elements.Plate

The element that is cut by this instance.

Returns:
compas.geometry.Polyhedron

The correctly oriented subtracting volume of the pocket.