Skip to main content

rectangle_hollow_profile

Function rectangle_hollow_profile 

Source
pub fn rectangle_hollow_profile(
    tx: &mut Transaction,
    header: ProfileHeader<'_>,
    dims: RectangleHollowDims,
    fillets: RectangleHollowFillets,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcRectangleHollowProfileDef.

Inherits XDim and YDim from IfcRectangleProfileDef, so the wall and fillet slots follow at 5, 6 and 7.

ยงErrors

Refuses a non-positive dimension, a negative radius, and the three WHERE rules: the wall must be below half of both dimensions, the inner fillet must fit the bore the wall leaves, and the outer fillet must not exceed either half-dimension.