Skip to main content

thick_solid

Function thick_solid 

Source
pub fn thick_solid(
    topo: &mut Topology,
    solid: SolidId,
    distance: f64,
    exclude: &[FaceId],
    options: OffsetOptions,
) -> Result<SolidId, OffsetError>
Expand description

Offset a solid while excluding specific faces, producing a thick (hollowed) solid.

Excluded faces are left at their original positions, and side walls connect them to the offset faces.

ยงErrors

Returns OffsetError if the offset collapses the solid, any intersection fails, or the result cannot be assembled into a valid solid.