DATAKIT API  V2025.3
Ifc General Mapping


Due to format limitation in BRep geometry representation, only Dtk_Mesh geometry is supported in IFC2x3. See How to use Tessellation to convert your Dtk_Body to Dtk_mesh in that case.


Geometry

DATAKIT Class Ifc Entity

Remarks

Dtk_mesh IfcFacetedBRep (IFC2x3) or IfcTriangulatedFaceSet (IFC4)
as a geometric representation (IfcShapeAspect) of an IfcBuildingElement
Default IfcBuildingElement subtype is IfcBuildingElementProxy
Dtk_Body IfcAdvancedBRep as a geometric representation (IfcShapeAspect) of an IfcBuildingElement IFC4
Wire shells in a Dtk_Body IfcGeometricCurveSet as a geometric representation (IfcShapeAspect) of an IfcBuildingElement

IFC4. All wire shells are grouped in a unique IfcGeometricCurveSet


Attributes

DATAKIT Class Ifc Entity

Remarks

Dtk_Component Name Field "Name" of IfcBuildingElement
Dtk_RGB colors IfcColourRGB linked to the product by an IfcStyledItem,
or IfcIndexedColourMap if writing a mesh with several colors (IFC4)
Dtk_RGB alpha IfcSurfaceStyleRendering linked to the product by an IfcStyledItemd
Dtk_MetadataGroup IfcPropertySet of IfcPropertySingleValue Each metadata group with the same category creates a different IfcPropertySet
with "name" field corresponding to the category (if no category, default name is "UserDefined")
Dtk_Metadata IfcPropertySingleValue


Assembly and Structure

DATAKIT Class Ifc Entity Remarks
Dtk_Component as PrototypeComponentType IfcBuildingElementType The IfcBuildingElementType has the Prototype geometry and properties
Dtk_Component as InstanceComponentType IfcBuildingElement , with geometry linked to IfcBuildingElementType

If the instance has its own geometry, it ovewrites type geometry.
Properties are merged with priority to instance properties