Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IFC Objects lost in translation #1000

Open
TitouanGisle opened this issue Jun 27, 2019 · 7 comments

Comments

@TitouanGisle
Copy link

commented Jun 27, 2019

Hello !

I've uploaded an IFC4 file on my local BIMserver v1.5.147, but a few IfcWallStandardCases seem to be missing from it. They are not displayed in the viewer nor the object tree (I tried the BIMsurfer included in BIMvie.ws and BIMsurfer 3). Another viewer (BIMvision), on which I tried to view my model, displayed everything well.

The method GetDataObjectFromGuid, executed from Console, does return the objects and the same information as in the IFC file.

When I re-download the IFC file, the objects are still present, and the file displays fine in BIMvision, but trying to checking it in BIMserver returns errors.

I thank you for your consideration.

@rubendel

This comment has been minimized.

Copy link
Member

commented Jun 27, 2019

Is there anything in the BIMserver log file during upload? Are there perhaps issues with generating the geometry?

Please post both the relevant part of the BIMserver log as well as the geometry generation report linked to the Revision as Extended Data.

If you can share the IFC file that would be even more useful, we can try to reproduce it (or a similar file with the same problem).

@TitouanGisle

This comment has been minimized.

Copy link
Author

commented Jun 27, 2019

Sure !

Here's the file :

Conference Center - IFC4.zip

Here are the lines from the BIMserver log :

_2019-06-27 17:19:18,076
INFO [pool-1-thread-30] o.b.d.b.BerkeleyKeyValueStore [BerkeleyKeyValueStore.java:604] writes: 5000000, 1811 ms sync

2019-06-27 17:22:34,337
INFO [pool-1-thread-30] o.b.g.StreamingGeometryGenerator [StreamingGeometryGenerator.java:623] Rendertime: 03m 07s, Reused (by hash): 2,36 MB, Reused (by transformation): 0 B, Reused (by mapping): 103,16 MB, Total: 173,36 MB, Final: 67,84 MB

2019-06-27 17:22:34,343
ERROR [pool-1-thread-30] o.b.g.StreamingGeometryGenerator [StreamingGeometryGenerator.java:625] Number of erroneous files: 99

And here is the geometry generation report :
GeometryExtendedData.txt

@rubendel

This comment has been minimized.

Copy link
Member

commented Jun 28, 2019

So far, what I get here with roughly the same version:

  • Some IfcDuctFitting and IfcPipeFitting objects result in errors (just as in your report)
  • Strangely, the IfcWallStandardCase objects are all going OK here (no errors in the geometry generation report as opposed to your report). Also I think they are visible in BIMvie.ws/BIMsurfer, but it would be useful to know one of the GUIDs of the walls that do not show for you.

I am using the exact same version of IOS.

So what's interesting to know is on what OS you are (I have tested this on Window 10 so far).

@TitouanGisle

This comment has been minimized.

Copy link
Author

commented Jun 28, 2019

Curiouser and curiouser.

My server also runs on Windows 10, and the walls are displayed just fine on a server running on a Debian9 VM. Both were installed automatically from the .war by tomcat9.

As for the GUIDs : 2N8Cd2RGP5i9wSaakjj2zY is the most consequent wall.

@rubendel

This comment has been minimized.

Copy link
Member

commented Jun 28, 2019

Ok I have a clue now. IOS has a few different settings. With both layersets and quantities enabled I can now reproduce your situation, with some walls (including 2N8Cd2RGP5i9wSaakjj2zY) missing.

There have been bugs in BIMserver where it does not correctly report and/or apply these settings, which makes it a bit harder to identify what's going on. This should be fixed in the next release.

I'll talk to the developer of IfcOpenShell and share the the model with him and report back in this issue.

@rubendel

This comment has been minimized.

Copy link
Member

commented Jun 28, 2019

After testing a bit more, it's the "Calculate Quantities" setting that causes some of the wall to not work. The other objects that always fail are interesting to investigate as well btw.

@TitouanGisle

This comment has been minimized.

Copy link
Author

commented Jun 28, 2019

All right, thanks a bunch !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.