Function extrude_profile

Source
pub fn extrude_profile(
    rings: &Rings,
    direction: Vec3,
    depth: Scalar,
    _tolerance: Tolerance,
) -> GeomResult<TriMesh>
Expand description

Triangulate rings and extrude them in one step.

The loop layout must match triangulate’s vertex order exactly, so the two are derived from the same Rings value here rather than by a caller reconstructing the ranges.