xBimTeam / XbimEssentials

A .NET library to work with data in the IFC format. This is the core component of the Xbim Toolkit
https://xbimteam.github.io/
Other
494 stars 173 forks source link

how to create Space from objects such as wall, windows, doors, etc #554

Open SerafinaM opened 6 months ago

SerafinaM commented 6 months ago

Dear team I already created walls, doors, windows with xbim library, but I faced space problem. image image as you can see above images, I think space should be generated with faced walls, windows, doors, etc not manually. I researched several documentations, but couldn't find what I want. I will appreciate if you help me asap. Best regards.

martin1cerny commented 6 months ago

Are you developing some kind of native IFC editor based on the Toolkit? I would be very interested if that is the case.

Space geometry is usually independent of the bounding elements in IFC. However, it doesn't need to be manually created. And usually, it is created automatically by the authoring tools. You can certainly use the geometry of the wall and other elements to compute the geometry of the space. Also, you may want to use semantic relations to describe which walls (and other elements) form the boundary of the space. IfcRelSpaceBoundary page also describes some concepts around the geometry and possible representations of the space boundaries.

This is one of the images from that page: space boundary