Skip to content

Some categories such as IFCELECTRICDISTRIBUTIONPOINT aren't included in the model (IfcImporter) #627

@AlexGnatko

Description

@AlexGnatko

Describe the bug 📝

Please help me figure out what's going on and how to fix this: some categories, in my case it's IFCELECTRICDISTRIBUTIONPOINT - aren't included into the FragmentsModel as part of the IfcImporter process.

Reproduction ▶️

No response

Steps to reproduce 🔢

Take this IFC model

https://dom3d.ag38.ru/model/f/2/f2ffe68baf5c445a484cb5bb64babc60/model_f2ffe68baf5c445a484cb5bb64babc60.ifc

Load it to any of the IFC loader examples, such as this one:

https://thatopen.github.io/engine_fragment/examples/IfcImporter/HelloWorldSchema/

And see that the IFCELECTRICDISTRIBUTIONPOINT objects are simply missing from the model, although they are in the IFC file. So, it's either that this category is not supported at all, or there is some error in the IFC file. The file was generated by Autodesk Revit 2025.

When those elements had the category IFCBUILDINGELEMENTPROXY they were showing up normally, but we had to re-classify them because IFCBUILDINGELEMENTPROXY is the same as "unknown category".

What I noticed is that the categories that have the ".NOTDEFINED." property - they aren't included into the model by the IFC import function, lines like this:

#329878=IFCELECTRICDISTRIBUTIONPOINT('1iT$LqCR94MO8RQLHhlTKW',#18,'\X2\04210438043B043E0432043E0439\X0\ \X2\044904380442\X0\ \X2\044004300441043F0440043504340435043B0435043D0438044F\X0\ \X2\0438\X0\ \X2\04430447043504420430\X0\ - IP31 - \X2\04230442043E043F043B0435043D043D044B0439\X0:\X2\042904380442\X0\ \X2\044D044204300436043D044B0439\X0, 220 \X2\0412\X0/380 \X2\0412\X0, \X2\0422044004350445044404300437043D0430044F\X0\ \X2\04220438043F\X0\ \X2\04410438044104420435043C044B\X0, 4 \X2\041F0440043E0432043E04340430\X0, \X2\041704320435043704340430\X0:631278',$,'\X2\04210438043B043E0432043E0439\X0\ \X2\044904380442\X0\ \X2\044004300441043F0440043504340435043B0435043D0438044F\X0\ \X2\0438\X0\ \X2\04430447043504420430\X0\ - IP31 - \X2\04230442043E043F043B0435043D043D044B0439\X0:\X2\042904380442\X0\ \X2\044D044204300436043D044B0439\X0',#329877,#329871,'631278',.NOTDEFINED.,$);

(notice the ".NOTDEFINED." token, I'm not sure what it means). But that's not only about IFCELECTRICDISTRIBUTIONPOINT, there are other categories with the .NOTDEFINED. token that aren't included as well.

What can be done, how can I include the IFCELECTRICDISTRIBUTIONPOINT objects into the model?

System Info 💻

Windows, Firefox

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions