Skip to main content

compile_product_mesh_net

Function compile_product_mesh_net 

Source
pub fn compile_product_mesh_net(
    model: &Model,
    product: EntityId,
    tolerance: Tolerance,
) -> GeometryResult<Option<NetMesh>>
Expand description

Compile one product’s Body with every voiding opening subtracted (#44).

Uses default_backend; compile_product_mesh_net_with takes your own. compile_product_mesh stays the gross body: quantity takeoff wants gross, clearance and ratio checks want net, so neither replaces the other.

§Errors

GeometryError::OpeningNotSubtracted naming the opening when one cannot be removed. The gross body is never returned in place of the net one.