Skip to main content

boolean

Function boolean 

Source
pub fn boolean(
    topo: &mut Topology,
    op: BooleanOp,
    a: SolidId,
    b: SolidId,
) -> Result<SolidId, OperationsError>
Expand description

Perform a boolean operation on two solids.

Uses the GFA pipeline as the primary engine, with mesh boolean (co-refinement) as a fallback when GFA fails or produces invalid results.

ยงErrors

Returns an error if either solid is invalid or the operation produces an empty or non-manifold result.