Skip to main content

divide_face

Function divide_face 

Source
pub fn divide_face(
    model: &mut Model,
    shape: &Shape,
    face: &Shape,
    line: IsoLine,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

Cut face of shape in two or more along line, and rebuild shape around the pieces. The edges the line crosses are cut where it crosses them, in every face that holds them.

ยงErrors

OgeomError::Construction if the line does not cross the face, runs along one of its edges, or the surface has no closed-form iso-curve.