tumcms / Open-Infra-Platform

This is the official repository of the open-source Open Infra Platform software (as of April 2020).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Ifc file with unexpected line breaks

jschlenger opened this issue · comments

Describe the bug
I just came across an IFC file that splits information that belongs to one IfcEntitiy into multiple lines (see screenshot).
OIP is not able to deal with files that are written in this format.

Screen shot
grafik

Additional context
I'm probably not allowed to share the whole IFC file but this issue is quite easily reproducible by adding line breaks to some existing IFC files.

Solution
First it needs to be checked if this format is officially allowed. I could imagine it is since there is always an ";" at the very end of every IfcEntity which can be used to identify the start of the next IfcEntity.
In case this is an official way to write an IFC file we should also adapt the OIP to be able to read this.
Currently it is assumed that IfcEntities are not distributed over multiple lines.

Duplicate #403

Thanks for the hint