Skip to main content

layer_set_reference

Function layer_set_reference 

Source
pub fn layer_set_reference(
    model: &Model,
    units: &UnitScale,
    product: EntityId,
    direction: LayerSetDirection,
) -> GeometryResult<LayerSetReference>
Expand description

Read where the layers of product’s usage are measured from.

Only IfcWall/IfcWallStandardCase along AXIS2 and IfcSlab/IfcPlate (and their standard cases) along AXIS3 are interpreted; everything else is GeometryError::Unsupported. The body is one or several coaxial IfcExtrudedAreaSolid items (an interrupted wall), each optionally clipped; an item that disagrees is refused by name.