web-ifc-viewer icon indicating copy to clipboard operation
web-ifc-viewer copied to clipboard

Processing IFC models that do not contain IFCBuilding

Open aybond opened this issue 3 years ago • 1 comments

Description

When I try to get all the properties of an IFC model that does not contain IFCBuilding, an error occurs: IFC models of strict structure are successfully processed.

A problem appears when exporting a model as a GLTF object. The model loads and displays successfully on the canvas, but the above error occurs when exporting, namely when retrieving properties: await ifcViewer.current.IFC.properties.serializeAllProperties( model );

Expected Behavior

serializeAllProperties method successfully returns the result regardless of the presence that the IFC-model structure is strict.

Steps to Reproduce

  • loadIfcUrl https://cdn.discordapp.com/attachments/912752967537537075/1025414451165413386/060_3.ifc
  • serializeAllProperties of loaded IFC model

Environment

  • "three": "0.135.0"
  • "web-ifc-three": "0.0.115"
  • "web-ifc-viewer": "1.0.176"

aybond avatar Oct 03 '22 10:10 aybond

👍

Andyan1966 avatar Oct 03 '22 11:10 Andyan1966

::take

aka-blackboots avatar Dec 02 '22 13:12 aka-blackboots

🟢🟢🟢

::take

Hi, @aka-blackboots! Thanks for taking this bounty! The due date is December 23, 2022 UTC.

If you need to submit some pull requests (PR) to complete the tasks, make sure that the last and only the last PR has a title that either starts with the bounty ID or is exactly the same as the bounty name. After the PR is merged, this bounty’s status will automatically changed to done.

If you do not need to make a PR, tell the manager @agviegas to run ::done command after your tasks is confirmed to be done.

Good luck!

agviegas avatar Dec 02 '22 13:12 agviegas

::drop

aka-blackboots avatar Dec 02 '22 13:12 aka-blackboots

🟢🟢🟢

::drop

Hi, @aka-blackboots! Thanks for giving it a try! It’s now once again available for anyone to take.

agviegas avatar Dec 02 '22 13:12 agviegas

::take

D4ve-R avatar Jan 31 '23 03:01 D4ve-R

🟢🟢🟢

::take

Hi, @D4ve-R! Thanks for taking this bounty! The due date is February 21, 2023 UTC.

If you need to submit some pull requests (PR) to complete the tasks, make sure that the last and only the last PR has a title that either starts with the bounty ID or is exactly the same as the bounty name. After the PR is merged, this bounty’s status will automatically changed to done.

If you do not need to make a PR, tell the manager @agviegas to run ::done command after your tasks is confirmed to be done.

Good luck!

agviegas avatar Jan 31 '23 03:01 agviegas

@agviegas can be marked as done, using github's resolve comment somehow breaks the bot 🤔

D4ve-R avatar Feb 19 '23 19:02 D4ve-R

🔴🔴🔴

Hi, @D4ve-R! The date is past due, your assignment has been revoked. It’s now available for anyone to take.

agviegas avatar Feb 22 '23 00:02 agviegas

Hey @D4ve-R sorry for the delay. If you take this again, I'll mark this as done. Thanks a lot!

agviegas avatar Feb 26 '23 15:02 agviegas