Git Product home page Git Product logo

Comments (4)

xawill avatar xawill commented on August 22, 2024 1

Okey, thank you for the suggestion. I guess we can then close the issue.

from web-ifc-three.

agviegas avatar agviegas commented on August 22, 2024

Hey @xawill what do you mean by "children meshes"? In theory, each model should only generate one mesh. We work with merged geometries to be able to support bigger models, and the intention is to allow users to traverse this with the API we are building on top of the ifcLoader object.

from web-ifc-three.

xawill avatar xawill commented on August 22, 2024

Thank you for checking the issue @agviegas. What you describe sounds to me like a perfect plan. Unfortunately, this is not the behaviour I experienced until now. You can replicate it very easily with the three.js editor: load an ifc file (for instance this one) and check the objects hierarchy on the right pane. There are hundreds of Meshes.

But it might be possible that what you describe is not actually released in three.js which is on r129. I noticed that on the model I linked above, there are pipes inside the house which are not correctly modelled by the IFCLoader shipped in the three.js editor, but when I load the model on your editor it renders correctly. So I guess your recent changes greatly improved the parsing of some IFC properties.

So maybe I created an issue which is not existing anymore ? I opened the issue here because I know this is the parent repository of the IFCLoader in three.js. I didn't test the issue with the current version of this repository. So maybe you already fixed it.

from web-ifc-three.

agviegas avatar agviegas commented on August 22, 2024

You are totally right, and this offset between Three.js and IFC.js versions is something we'll have to live with for some time. We release new things every day / week, whereas Three.js has its own updating pace. What I'd suggest you if you want to work with the latest version is to import web-ifc-three (which is exactly the IFCLoader) and use it like the IFCLoader!

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.