Skip to main content

Module profile

Module profile 

Source
Expand description

Exact lowering of swept-area profile definitions.

IFC units and profile-local placements are resolved here, but curves remain exact. Tessellation is a geometry-kernel decision and never occurs in the format adapter.

§Who reads the slots

Not this module. The kernel-free describe_profile reads every family’s attributes into SI parameters, and lower_profile maps that description onto the neutral profile model. crate::body_description reports the same description, so a rule check and the kernel see identical numbers. Only the boundary curves of arbitrary and centre-line profiles are read here, because turning a curve into a contour is lowering.

Constants§

IMPLEMENTED_PROFILES
Concrete IfcProfileDef families represented exactly by the neutral profile model.
PLANNED_PROFILES
Profile families that are recognized but carry no lowerable geometry.
UNLOWERED
Concrete profile families this lowerer does not yet build, with reasons.

Functions§

lower_open_profile_node
Append one authored open profile without implying area.
lower_profile
Lower one IfcProfileDef to an exact, format-neutral profile.
lower_profile_node
Append one IfcProfileDef to a shared session and return its node.