Skip to main content

Module axes

Module axes 

Source
Expand description

IfcBaseAxis: deriving an orthonormal frame from optional axis hints.

A transformation operator names its axes Axis1/Axis2/Axis3 instead of a placement’s RefDirection/Axis, all of them optional, and the schema function IfcBaseAxis says how to turn whichever subset the file supplied into a full frame. The 2D and 3D cases follow different rules, so they live here rather than being open-coded per operator subtype.

§What Axis2 actually contributes

Nothing about direction: the derived Y is forced orthogonal to X (and, in 3D, to Z) whatever Axis2 says. Its sign is all that survives, and that is precisely how a mirroring operator is expressed. Ignoring it turns a mirrored component into an unmirrored one, which reads as correct geometry facing the wrong way – the worst kind of wrong.

Functions§

base_axes_2d
The 2D case of IfcBaseAxis.
base_axes_3d
The 3D case of IfcBaseAxis.