I need to calculate the shared wall area for each space. I mean if there is a continued wall (shared between different spaces (rooms), I like to calculate the area of the part of wall which is in specific space (room).
Please advise.
In some cases you're IFC file might have IfcRelSpaceBoundaries which is exactly what you're after. You can also generate them yourself, basically the geometric Boolean intersection of the space with the wall, but for that to work you might need to make them a bit larger. Basically this is implemented in https://research.tudelft.nl/en/publications/validation-and-inference-of-geometrical-relationships-in-ifchttps://github.com/tudelft3d/IfcOpenShell/tree/cgal/ In Open CASCADE this might not always work very well due to the fuzziness/tolerance, but you can implement something manual using projections for example or the problem can be simplified by using 2D.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to calculate the shared wall area for each space. I mean if there is a continued wall (shared between different spaces (rooms), I like to calculate the area of the part of wall which is in specific space (room).
Please advise.
Hamid
Last edit: Hamid Kiavarz 2020-11-26
In some cases you're IFC file might have IfcRelSpaceBoundaries which is exactly what you're after. You can also generate them yourself, basically the geometric Boolean intersection of the space with the wall, but for that to work you might need to make them a bit larger. Basically this is implemented in https://research.tudelft.nl/en/publications/validation-and-inference-of-geometrical-relationships-in-ifc https://github.com/tudelft3d/IfcOpenShell/tree/cgal/ In Open CASCADE this might not always work very well due to the fuzziness/tolerance, but you can implement something manual using projections for example or the problem can be simplified by using 2D.