Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Ifc file with unexpected line breaks #567

Open
jschlenger opened this issue Aug 18, 2022 · 2 comments
Open

[BUG] Ifc file with unexpected line breaks #567

jschlenger opened this issue Aug 18, 2022 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists early-binding-generator Related to early binding generation IFC Content related to Industry Foundation Classes (IFC) functionalities

Comments

@jschlenger
Copy link
Collaborator

jschlenger commented Aug 18, 2022

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.

@jschlenger jschlenger added the bug Something isn't working label Aug 18, 2022
@jschlenger jschlenger changed the title [BUG] [BUG] Ifc file with unexpected line breaks Aug 18, 2022
@pjanck
Copy link
Contributor

pjanck commented Aug 18, 2022

Duplicate #403

@jschlenger
Copy link
Collaborator Author

Thanks for the hint

@pjanck pjanck added duplicate This issue or pull request already exists IFC Content related to Industry Foundation Classes (IFC) functionalities early-binding-generator Related to early binding generation labels Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists early-binding-generator Related to early binding generation IFC Content related to Industry Foundation Classes (IFC) functionalities
Projects
None yet
Development

No branches or pull requests

2 participants