Skip to main content

arbitrary_open_profile

Function arbitrary_open_profile 

Source
pub fn arbitrary_open_profile(
    tx: &mut Transaction,
    name: Option<&str>,
    curve: EntityId,
) -> EntityId
Expand description

Stage an IfcArbitraryOpenProfileDef.

An open profile is a CURVE, not an AREA: it has no enclosed region to extrude, and is swept as a surface or used as a centreline. The type is fixed here rather than taken from the caller, because IfcArbitraryOpenProfileDef has a WHERE rule forbidding AREA on everything except its centre-line subtype.