tumcms / Open-Infra-Platform

This is the official repository of the open-source Open Infra Platform software (as of April 2020).
Other
50 stars 23 forks source link

[BUG] Ifc file with unexpected line breaks #567

Open jschlenger opened 2 years ago

jschlenger commented 2 years ago

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.

pjanck commented 2 years ago

Duplicate #403

jschlenger commented 2 years ago

Thanks for the hint