ThatOpen / web-ifc-three

The official IFC Loader for Three.js.
https://ifcjs.github.io/info/
MIT License
521 stars 133 forks source link

non-empty segments in IFCINDEXEDPOLYCURVE currently not supported #180

Closed lewibs-Powern closed 1 year ago

lewibs-Powern commented 1 year ago

Describe the bug I am attempting to display this file: https://drive.google.com/drive/folders/1VTO76g_djBrd6uvB3yelCizo7nfEP7qz?usp=sharing

To Reproduce Steps to reproduce the behavior:

  1. open any ifcjs viewer
  2. upload this file
  3. See missing components

Expected behavior This is what the building should look like: image This was opened using https://wikiifc.com/

This is what it currently looks like: (ignore material changes this is expected since different material was applied) image

It is expected that IFCINDEXEDPOLYCURVE would be supported. This seems to be the only type of ifc type that fails.

Screenshots These errors were occuring on loop image

Additional context My assumption is the geometry just needs to be supported. If this is easy grunt work just let me know how to do it and I'll take care of it.

lewibs-Powern commented 1 year ago

This is the most recent version of IFC. "web-ifc": "^0.0.35", "web-ifc-three": "0.0.116",

beachtom commented 1 year ago

Can you raise this on the web-ifc repo as it is a bug in that repository

lewibs-Powern commented 1 year ago

@beachtom https://github.com/IFCjs/web-ifc/issues/466