Skip to main content

remove_small_solids

Function remove_small_solids 

Source
pub fn remove_small_solids(
    model: &mut Model,
    shape: &Shape,
    volume: f64,
    tol: Tolerances,
) -> OgeomResult<(Built, usize)>
Expand description

Remove every solid of shape enclosing less than volume: the debris an exchange or a boolean leaves beside the part.

§Errors

OgeomError::Construction if volume is not positive, a solid’s volume cannot be measured, or every solid would go.