Skip to main content

thicken_face_sheet

Function thicken_face_sheet 

Source
pub fn thicken_face_sheet(
    surface: &NurbsSurface,
    thickness: f64,
    symmetric: bool,
) -> Result<BrepSolid, String>
Expand description

§5.9 THICKEN a sheet (an open surface patch over its full parameter domain) into a closed solid.

Thin wrapper over thicken_trimmed_sheet passing the full-domain rectangle as the (counter-clockwise) outer loop. The result is a genus-0 solid with 8 vertices, 12 edges, and 6 faces (offset caps + four ruled walls), oriented outward and validated. Refuses (Err) on: zero/non-finite thickness, closed sheets (split at the seam first), degenerate boundaries, and offsets that would self-intersect because a concave curvature radius is smaller than the offset distance.