Skip to main content

section

Function section 

Source
pub fn section(
    model: &mut Model,
    solid: &Shape,
    plane: &Plane,
    deflection: Deflection,
    tol: Tolerances,
) -> OgeomResult<SectionView>
Expand description

Cut solid at plane and draw the section.

Material on the plane’s +z side is removed. The outline loops are the cut faces’ boundaries in the plane’s (x, y). The drawing views the remainder along the plane’s normal.

§Errors

As the boolean cut and project(); and OgeomError::Construction if the plane misses the solid entirely.