bSI-InfraRoom / bSI-InfraRoom/IFC-Specification

IFC4X4 issues

Open
#807 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
27
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Hello, found following:

1. Double semicolon appears in current IFC4X4 schema sometimes in such places:
Values : ARRAY [1:SELF\IfcVoxelData.GridSize] OF IfcInteger := IfcListToExpandedArray(ValueData,1,SELF\IfcVoxelData.GridSize,SELF\IfcProduct.Representation.Representations[1].Items[1]\IfcVoxelGrid.Voxels);;
This looks incorrect from the point of view of grammar.

2. Voxels : ARRAY [1:NumberOfVoxelsX*NumberOfVoxelsY*NumberOfVoxelsZ] OF IfcBoolean;
Again, NumberOfVoxelsX (or NumberOfVoxelsY and NumberOfVoxelsZ) are unset, so ARRAY can not be instantiated as upper bound is indeterminate.
Looks like LIST or combination of LIST+ARRAY.

3. CorrectGridSize : SIZEOF(SELF\Voxels) = NumberOfVoxelsX * NVL(NumberOfVoxelsY, NumberOfVoxelsX) * NVL(NumberOfVoxelsZ, NumberOfVoxelsX);

SIZEOF(SELF\Voxels) - doesn't look as qualified_attribute (SELF\entity_ref.attribute_ref), seems should be just SIZEOF(Voxels) as this isn't redeclared (as in other places within schemas).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.