-
Notifications
You must be signed in to change notification settings - Fork 54
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
Exclude element without reading his full info #109
Comments
Looks like an issue with |
Yes, it is |
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 xeokit-convert/src/parsers/parseIFCIntoXKTModel.js Lines 279 to 320 in ef646ca
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:
The text was updated successfully, but these errors were encountered: