Module data_model

Module data_model 

Source
Expand description

Data model extraction service - extracts properties, relationships, and spatial hierarchy.

Modules§

property
The property-set decoder every consumer of the data model reads through (C6-7, #7783): which property kinds exist, which of them a caller asks for, and the one per-model complex-property budget (#7675).
quantity
Physical-quantity decoding and the one QuantityKind vocabulary (C6-8, EXPORT-DATA-17). Moved from rust/export/src/model_props.rs.
render
The encoders over the decoded data model (D41): flat here.
rows
(Moved from rust/export/src/model.rs, C6-8, #7783; ifc_lite_export::model re-exports it at the same paths.)
spatial_walk
The one spatial walk the export formats share (D48, EXPORT-DATA-16, C6-10).
type_assignments
Which IfcTypeObject defines an occurrence (D42, EXPORT-DATA-3, C6-9).

Structs§

ClassificationAssociation
A classification reference associated with one element, flattened from IfcRelAssociatesClassification → IfcClassificationReference.
DataModel
Complete data model extracted from IFC file.
DataModelExtraction
What extract_data_model_with returns: the data model, plus the number of STEP instances the scan saw.
DataModelOptions
Which rows and which optional tables an extraction builds.
DocumentAssociation
A document associated with an element, flattened from IfcRelAssociatesDocument → IfcDocumentReference / IfcDocumentInformation.
EntityMetadata
Metadata for a single IFC entity.
MaterialAssociation
A material (or one material layer) associated with an element, flattened from IfcRelAssociatesMaterial.
Property
Single property value.
PropertySet
Property set with its properties.
Quantity
Single quantity value.
QuantitySet
Quantity set (IfcElementQuantity).
Relationship
Relationship between entities.
SpatialHierarchyData
Spatial hierarchy data with lookup maps.
SpatialNode
Spatial hierarchy node.

Enums§

DataModelEntities
Which STEP instances the data model’s entities table carries.

Functions§

extract_data_model
Extract complete data model from IFC content.
extract_data_model_with
Extract the data model, building entity metadata only for the rows options.entities asks for. Returns it with the number of STEP instances the scan saw (DataModelExtraction).
extract_elevation_if_storey
Extract elevation from an IFCBUILDINGSTOREY entity, in metres.