Open g-rodigy opened 1 year ago
Looks like an issue with web-ifc
..
Yes, it is web-ifc
issue, but i mean can skip element before fully reading his data?
If I understand correctly, we have no means to configure conversion to ignore certain IFC elements by ID. This seems to be a useful potential feature though, but outside of our priorities at the moment. If anyone has time for to make a PR, I'd consider merging that though.
Not by ID, by element type as is in the constructor excludeTypes
. If I understand correctly code https://github.com/xeokit/xeokit-convert/blob/ef646ca47ffee6777ebc96097e8c01131f33841c/src/parsers/parseIFCIntoXKTModel.js#L279-L320
Firstrly take some element, then his releated elements and read their data, if element type is excluded then he skiped. The bug happen just in the place where the data is reading (.getLine(...)
) for after checking type and other.
When I try to convert ifc model wich has element IfcGrid without axis names, parse failing even if set
excludeTypes: ['IfcGrid']
.Code example
Log output: