ThatOpen / web-ifc-three

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

Support for GetHeaderLine from `web-ifc` #164

Closed tabordafilipe closed 1 year ago

tabordafilipe commented 1 year ago

Hello.

The current version of the web-ifc-three is using the latest version of the web-ifc(0.0.39), but when this version was updated on the web-ifc-three, the new method GetHeaderLine from web-ifc was not propagated in the wb-ifc-three Handlers and BaseDefenitions.

This function needs to be inserted in:

I am currently trying to use the GetHeaderLine with web-ifc-viewer@1.0.214, like this: viewer.IFC.loader.ifcManager.ifcAPI.GetHeaderLine(ifcModel.modelID, FILE_NAME)

As the ifcAPI type (WebIfcAPI and WebIfcHandler) does not contain the GetHeaderLine, I am not able to use it. Even if I ignore the typing I am also not able to use it, because enum WorkerAction does not contain the GetHeaderLine.

Do you know when this fix will be introduced?

Thank you.

tabordafilipe commented 1 year ago

Fixed on web-ifc-three@0.0.125 and web-ifc-viewer@1.0.215 🙌