Skip to main content

boolean_with_shape

Function boolean_with_shape 

Source
pub fn boolean_with_shape(
    mesh: &Triangulation,
    model: &Model,
    shape: &Shape,
    op: BoolKind,
    chord: f64,
    tol: Tolerances,
) -> OgeomResult<MeshBoolean>
Expand description

The boolean op of a closed mesh and a solid, the solid meshed first to chord: triangulate with Deflection::with_chord, then boolean with the mesh as the first operand.

§Errors

As Deflection::with_chord, triangulate and boolean; the solid’s mesh is the second operand in boolean’s messages.