Open KareshiKraise opened 4 years ago
When you say it is not possible, I'm not quite sure what you mean. If it is in the data, xbim will allow you to access it. If it is not in the data, then we wouldn't just make it up. You may want to use debugger to inspect if there is any connection geometry and, if there is any, what type of representation it uses. It might be IfcConnectionCurveGeometry, IfcConnectionPointGeometry, IfcConnectionSurfaceGeometry, IfcConnectionVolumeGeometry
but you are only trying to process the surface type.
Hello Martin, thank you for helping. I am interested in extracting the triangulated 3d mesh representing the contact surface that defines an existing boundary. The inspector shows me that there exists indeed an IfcConnectionGeometry and it is an IfcConnectionSurfaceGeometry, despite both of them being IPersistEntities the geomreader still fails to return a WpfMeshGeometry3D
Hello @KareshiKraise,
when we produce the cache of the geometry for a model, we only retain the meshes at IfcProduct level. Intermediate geometry cache is not stored to make the files smaller.
If you are interested in those you'll have to either change the caching routine to retain them, or compute the geometries on demand using the calls available in the geometry engine.
The test project in geometry contains examples of how to do that.
Hello @CBenghi ,
Thank you for answering my question, now I know how to proceed. Btw, Is this the test project you refer to ? https://github.com/xBimTeam/XbimGeometry -> Xbim.Geometry.Engine.Interop.Tests
I'm trying to obtain a polygonal mesh representing the surfaces between intersecting elements (IfcSpace and other elements in this case)
Im not sure this is the correct way of proceeding but I couldnt find any related issue, any help is appreciated