Giter Club home page Giter Club logo

Comments (6)

cubalibre avatar cubalibre commented on June 8, 2024 1

i downloaded the latest version and now it works. Thank you.

from web-ifc-three.

agviegas avatar agviegas commented on June 8, 2024

Hello there! You can open the Chrome Developer Tools with F12.
I have downloaded the library using the zip download and I am able to load IFC files from both versions (js and jsm). Are you using the last version of the library? Is that problem happening only in that IFC or in all IFC files?

from web-ifc-three.

cubalibre avatar cubalibre commented on June 8, 2024

Hi Antonio,
I have seen that Sam Romeo user has the same problem.
I use the last version of the library and I have this error in jsm and only in that IFC file.
I report the javascript console error:
bundle.js:569 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
(anonymous) @ bundle.js:569
bundle.js:570 falling back to ArrayBuffer instantiation
(anonymous) @ bundle.js:570
bundle.js:4691 Wrote file
bundle.js:840 Loading: example.ifc
bundle.js:840 Read
bundle.js:840 Loading
bundle.js:840 Tape 6691830
bundle.js:840 Lines normal 139332
bundle.js:840 Max express ID 139331
bundle.js:840 Loaded 139332 lines in 133 ms!
bundle.js:840 Unexpected style type: 846575682 at 3216
bundle.js:37757 RuntimeError: memory access out of bounds
at :wasm-function[137]:0x10433
at :wasm-function[137]:0x10862
at :wasm-function[137]:0x10614
at :wasm-function[121]:0x7537
at :wasm-function[121]:0x9e5b
at :wasm-function[121]:0x9afd
at :wasm-function[121]:0x83f4
at :wasm-function[440]:0x31301
at :wasm-function[444]:0x316e7
at Object.LoadAllGeometry (eval at new_ (http://localhost/ifc7/examples/jsm/bundle.js:3641:27), :8:10)
(anonymous) @ bundle.js:37757

I am casak of Albisola(Italy) cubalibre is my old account on github ;-)

from web-ifc-three.

agviegas avatar agviegas commented on June 8, 2024

I see. Can you please send me a link to that file? Right now I don't know what file you are referring to. Thanks!

from web-ifc-three.

cubalibre avatar cubalibre commented on June 8, 2024

https://drive.google.com/file/d/1bGCoofdHHJghlyD9fA1U20IvCxO5VJOk/view?usp=sharing

from web-ifc-three.

agviegas avatar agviegas commented on June 8, 2024

It is strange, as I am able to load the model. I am working with the last version. What version of web-ifc are you using?
image

from web-ifc-three.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.