pub fn cut(
model: &mut Model,
a: &Shape,
b: &Shape,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
The first solid with the second removed.
The pieces of b that close the cut into a’s material bound the removed
volume from b’s side, so they join the result with their material side
flipped.
a may instead be a sheet (a face, a shell or a compound of those) when
b is a solid or a half space: the result is then the part of the sheet
outside b, made as common makes the part inside.
§Errors
As common.
OgeomError::Construction where
b is a sheet, which bounds no volume to remove.