question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to reuse IFC models?

See original GitHub issue

Hi,

Could it be made clear somewhere how to reuse IFC models so that createSubset works?

~~Here’s my code where I’ve been trying to get this going https://github.com/mysterybear/reuse-ifc-subsets-issue~~ Edit: this repo https://github.com/mysterybear/many-ifc-test is the better example now, see below, it’s just vanilla Three.js also now, no R3F

I don’t seem to be able to isolate the IFC loader or manager to concern itself with only the IFC for its particular component

IFCManager isn’t exported either right? I would have tried hooking it up manually

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:17

github_iconTop GitHub Comments

1reaction
mysterybearcommented, Oct 24, 2022

oh crap there’s a bug in there, I’m adding the first model twice, let me fix that

0reactions
mysterybearcommented, Oct 24, 2022

Yeah you’re right so this works now https://github.com/mysterybear/many-ifc-test/blob/b2bc56f0a6e0c7707357b5e790e616b3e9996065/src/App.tsx#L63-L86

Thanks

Haven’t tried the subsets approach to this problem yet either, so that gives me some stuff to run with for now so will close for now, thanks 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reuse of externally defined information concepts #53 - GitHub
Reusing externally defined concepts is a good practice for information modelling. The IFC model is a complete standalone model, ...
Read more >
Removing duplicated geometries in IFC models using rigid ...
Considering the stage of design, there exist some explicit sharing concepts defined in the IFC schema. For the reuse of geometric items the ......
Read more >
Brochure | Scaling ReWater - International Finance Corporation
... wastewater treatment and water reuse infrastructure in emerging economies through unlocking public and private finance using blended financing models.
Read more >
How to reuse the same xBim code for Ifc2x3 and Ifc4
I am working on a project that requires parsing IFC files using xBim and I need support both Ifc2x3 and Ifc4. Most of...
Read more >
How do I include and instance IFC files in other IFC files?
Most text based standards have the ability to include / reference other files and create instances of them. This would be essential if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found