Skip to main content

Module grid

Module grid 

Source
Expand description

IfcGrid placement: positioning against construction grid axes.

Structural and architectural drawings lay out elements against a grid (“column at C-4”) rather than by coordinate. IfcGridPlacement encodes that directly, so the placement is derived from two axis curves rather than stated as a transform.

§Why this is not just another placement

super::local::LocalPlacement composes stored transforms. A grid placement has no stored transform at all: the position is the intersection of two curves, which must be computed. The views here read the inputs; the placement chain walk (super::local::PlacementResolver) computes the frame (#362): straight axes in closed form, curved ones through a caller-supplied curve evaluator or a typed refusal.

§Attribute layout differs by release

IFC4.3 moved PlacementRelTo from IfcLocalPlacement up to IfcObjectPlacement (“IFC4.3.0.0-CHANGE In IFC 4.3 the PlacementRelTo attribute has been moved from IfcLocalPlacement to its supertype IfcObjectPlacement”), so an IfcGridPlacement has three attributes in IFC4X3 ADD2 (PlacementRelTo, PlacementLocation, PlacementRefDirection) and two in IFC2X3 TC1 and IFC4 ADD2 TC1 (PlacementLocation, PlacementRefDirection). Both layouts are fixed length, so GridPlacement reads the layout from the instance’s attribute count rather than guessing from FILE_SCHEMA.

Structs§

GridAxis
A borrowed view of an IfcGridAxis.
GridPlacement
A borrowed view of an IfcGridPlacement, in either release layout.
VirtualGridIntersection
A borrowed view of an IfcVirtualGridIntersection.