Skip to content
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

Implementation with Vue.js #1503

Closed
yearmfew opened this issue May 23, 2024 · 4 comments
Closed

Implementation with Vue.js #1503

yearmfew opened this issue May 23, 2024 · 4 comments
Labels
question Further information is requested

Comments

@yearmfew
Copy link

Hi, I am trying to use xeokit with vue.js. I need to use IFC file for my application. I am using the codes in npm documentation but I have timeout error.

Uncaught RuntimeError: memory access out of bounds at web-ifc.wasm:0xb495 at web-ifc.wasm:0x37929 at web-ifc.wasm:0xcf0c8 at web-ifc.wasm:0xc5d69 at Proxy.OpenModel (eval at newFunc (web-ifc.js?t=1716452265981&v=98734fb6:6132:31), <anonymous>:9:10) at Proxy.OpenModel (web-ifc.js?t=1716452265981&v=98734fb6:65374:34) at WebIFCLoaderPlugin._parseModel (@xeokit_xeokit-sdk.js?t=1716452265981&v=98734fb6:106204:34) at @xeokit_xeokit-sdk.js?t=1716452265981&v=98734fb6:106174:14 at request.onreadystatechange (@xeokit_xeokit-sdk.js?t=1716452265981&v=98734fb6:105894:13)

How can I solve it? Or is it even possible to use web-ifc with vue.js?

@yearmfew yearmfew added the question Further information is requested label May 23, 2024
@xeolabs
Copy link
Member

xeolabs commented May 23, 2024

Does this happen for you with this example, without Vue?
https://xeokit.github.io/xeokit-sdk/examples/buildings/#web-ifc_vbo_Duplex

@yearmfew
Copy link
Author

Yes. It works without vue.js

@xeolabs
Copy link
Member

xeolabs commented May 23, 2024

This sounds like a Vue-related peculiarity relating to web-ifc rather than to xeokit - I'd recommend seeing in the web-ifc project if there are any Vue-related issues. Not sure what we can do on the xeokit end unfortunately.

@paireks
Copy link
Member

paireks commented May 23, 2024

Also just to add, maybe have a look here: https://github.com/ThatOpen/engine_web-ifc/issues?q=memory+access+out+of+bounds

Cause it looks like such exception happens from time to time there, so maybe it's somehow related to your case :)

@xeolabs xeolabs closed this as completed Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants