Skip to content

RepresentationIdentifier and RepresentationType inconsistencies on occurrences using Bounding Box IfcRepresentationMap (BBX001 validation error) #7913

@fg55b

Description

@fg55b

Bug Description

Hi everyone,

I encountered an issue when validating an IFC file generated via BlenderBIM (Bonsai) using the buildingSMART Validation Service.

When creating a type object with a Bounding Box IfcShapeRepresentation in its RepresentationMaps attribute, its occurrences correctly reference the type's IfcRepresentationMap through an IfcMappedItem in their own Representations. In this scenario, the occurrence's IfcShapeRepresentation inherits the RepresentationIdentifier ("Box"), while the RepresentationType ("MappedRepresentation") is assigned due to the use of an IfcMappedItem, as exemplified in this diagram.

However, according to the validation rules, the representation identifier "Box" should always follow the representation type "BoundingBox", and vice-versa. This ends up raising the BBX001 validation error. This is further explained and discussed in this related issue: buildingSMART/ifc-gherkin-rules#510.

The error can be reproduced by creating a type element in Bonsai, assigning a bounding box as its 3D geometry representation, creating occurrences of this type in the model, and validating the resulting IFC file in the buildingSMART Validation Service.

Attachments

No response

Debug and Error Output


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions