Skip to main content

section_face

Function section_face 

Source
pub fn section_face(
    model: &mut Model,
    shape: &Shape,
    plane: &Plane,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

The edges where the faces of shape cross plane, each trimmed to the face it lies on.

shape is a face, a shell, a solid or a compound of them. A curve is exact where the face’s surface and the plane have a closed-form section (a line, a circle, an ellipse) and fitted otherwise. A face lying in the plane gives its own boundary. A plane that misses every face gives an empty compound.

§Errors

As the surface and curve intersectors, and OgeomError::Construction if shape has no faces.