opensourceBIM / BIMserver

The open source BIMserver platform
GNU Affero General Public License v3.0
1.56k stars 611 forks source link

Some elements in the original IFC model cannot be displayed after uploading to Bimserver #1334

Open Billy8424 opened 3 weeks ago

Billy8424 commented 3 weeks ago

Hello, we tried to upload a IFC model to BIMserver, but some equipment elements cannot be displayed after uploading to BIMserver, these elements can be displayed in the original IFC model. Please check the screenshots below, could you please have a check and let us know the reason? Thanks a lot.

Below is the original IFC model, we can see the equipment in the hall. Original IFC model

This is the model after uploading to BIMserver, it's empty in the hall, the equipment is missing. IFC model in Bimserver

hlg commented 3 weeks ago

It is not possible to tell where the elements are lost from those two screenshots. The IFC data undergoes a couple of steps until the final display: upload to BIMserver and deserialization, storage in the database, potentially creation of triangulated geometry, storage of the geometry, download from BIMserver, potentially filter by a query, serialization to IFC or a viewer-specific format, parsing in the viewer, potentially mapping to a scene graph or other viewer model, rendering. Please narrow down where the issue appears so that we can see whether this is actually a BIMserver issue and hopefully help solving it. Here are some questions to aid you:

hlg commented 2 weeks ago

Thank you for providing the IFC data. With a current BIMserver (1.5.186-SNAPSHOT) and IfcOpenShell (v0.7.0-c7830e9) version, and using BIMvie.ws as a viewer, I cannot reproduce the issue. See below, where you can see the machinery with and without its housing.

housing-on-s housing-off-s

hlg commented 1 week ago

Are you aware that your email replies are visible in the Github issue tracker and clutter the discussion? Please go to the Github web interface and cleanup your comments.

Snapshot versions cannot be downloaded. You can build it yourself or wait for the next release. For now, you can also try the latest released BIMserver version (1.5.185) with the last IfcOpenShell v0.6.0 version: 721fe47.

Billy8424 commented 1 week ago

Hello,

Thanks for your reminder, I have deleted some comments in Github.

Could you please let me know the planned date for the next release of 1.5.186?

We have already tried the latest released version 1.5.185, but also cannot see these elements after uploading to the BIM server, could you please help to also have a try with 1.5.185? We see the last commit in Github's sources was yesterday for 185-Snapshot, is there any difference between 185-Snapshot and 1.5.185?

Thank you.

Best Regards Billy Cai 蔡文俊

zaqifathis commented 1 week ago

Have you also tried using the latest IfcOpenShell v0.6.0 version: 721fe47 as hlg mentioned? The default version of IfcOpenShell is 2f3c79a. You can change it from the Server tab by navigating to Installed Plugin Bundles > IfcOpenShell-BIMserver-plugin, and changing the commit SHA

Billy8424 commented 5 days ago

Hello,

Thanks for your feedback.

Seems the default IfcOpenShell with BIM Server 185 is V. 0.5.91, we tried to compile IfcOpenShell V.0.6.0 but failed because lack of many dependencies. Could you please suggest how shall we use the IfcOpenShell V.0.6.0 721fe47 for BIM Server 185?

And do you have any planned date for release the BIM Server 186?

Thank you. Best Regards Billy Cai 蔡文俊

zaqifathis commented 4 days ago

You are correct; the default IfcOpenShell for BIMserver 1.5.185 is version 0.5.91.

I successfully built the IfcOpenShell plugin. It worked well for me. You can build from this commit 94ece7c and change the version to 721fe47here

hlg commented 4 days ago

For BIMserver 1.5.185, the last compatible IfcOpenShell plugin version is 0.5.94 which uses the IfcOpenShell build with commit SHA 2f3c79a (from the v0.6.0 branch) by default. You don't have to build neither IfcOpenShell itself nor the IfcOpenShell plugin. Just change the commit SHA to 721fe47 in the plugin settings. This has been explained multiple times in previous issues. However, even that is not necessary. As far as I can see, IfcOpenShell build 2f3c79a works just as fine for your sample. Have you really tried BIMserver 1.5.185 with the default plugins and checked in BIMvie.ws?

Note that we don't provide individual email support here, but we are having a public discussion around a potential issue in Github. Please keep the discussion readable. Don't delete your comments in the Github web interface, but remove the email headers, footers and quotes or directly participate in the discussion via Github web interface instead of email reply. If you want to send confidential test data or disclose any other information useful for BIMserver development, but not meant for the general public, then you can email to bimserver@opensourcebim.org.