ThatOpen / web-ifc-viewer

Graphics engine and toolkit for client applications.
MIT License
954 stars 235 forks source link

ComputeAllPlanViews() Set maximum size exceeded #231

Open MiguelG97 opened 1 year ago

MiguelG97 commented 1 year ago

Hi folks,

this is the error I get when generating the planViews(): set maxim size exceeded image

I'm using the block of code used in the course for floorplan generation and it was working well in any other file except the IFC file attached with this issue:

await viewer.plans.computeAllPlanViews(model.modelID); ... viewer.edges.create("example", model.modelID, lineMaterial, baseMaterial); ... image

here is the link to test the IFC file: (name: ARQ Aramburu.ifc) https://drive.google.com/drive/folders/1nQQJVLWHGw0kLYgXPhd6MnKzCfJonYCb?usp=sharing

dependencies: "dependencies": { "three": "^0.135.0", "web-ifc-viewer": "^1.0.218" },

agviegas commented 1 year ago

Hi! We'll take a look when we can, but right now we are focusing all our efforts into the components library, which is quite similar but it's much more powerful, more robust and probably the substitution of both web-ifc-viewer and web-ifc-three in the near future. Maybe you should check it out!

If you do, you can check the big-restructure branch to see the examples for all the components, and you can get this from npm installing the alpha version.

MiguelG97 commented 1 year ago

That's awesome @agviegas ! I thought this would be released on September. I will take a look at OBC library then. Thanks much for pointing me to this resource!