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
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