Skip to main content

make_face

Function make_face 

Source
pub fn make_face(
    model: &mut Model,
    surface: SurfaceGeometry,
    wires: &[Shape],
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

Build a face on surface, bounded by wires.

The first wire is the outer boundary; any others are holes. Every wire must be closed, since an open boundary encloses nothing.

ยงErrors

OgeomError::Construction if a wire is open or is not a wire.