Skip to main content

lower_profile_node

Function lower_profile_node 

Source
pub fn lower_profile_node(
    session: &mut LoweringSession<'_>,
    id: EntityId,
) -> GeometryResult<NodeId>
Expand description

Append one IfcProfileDef to a shared session and return its node.

Profiles are the most-shared geometry in a real model: one section definition backs every beam of a type. Memoizing here is what keeps a shared profile a single node instead of one copy per referencing solid. The frame is the identity because a profile is defined in its own 2D space; placement is applied by the referencing solid, not baked into the section.