Skip to main content

make_thick_solid_with

Function make_thick_solid_with 

Source
pub fn make_thick_solid_with(
    model: &mut Model,
    solid: &Shape,
    removed: &[Shape],
    thickness: f64,
    join: Join,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

make_thick_solid with a choice of how the walls meet across an edge.

Join::Intersection extends the walls until they meet: sharp corners, what make_thick_solid builds. Join::Arc rounds them about each edge that is convex on the side the walls grow toward, a cylinder of the wall thickness about the edge and a ball about a corner where several meet: the rolling ball’s parallel body. Where the growing side is concave the two joins agree, and the opening faces stay flush either way.

§Errors

As make_thick_solid, and for Join::Arc where an opening meets a tangent neighbour or the rounding fails.