Hi All,
I am using an Archi-lab package node GetRoomAtPoint to find the room above a floor.
The problem I am having is to find a point in the floor solid or a point on the floor top surface which is roughly central but also within the boundary.
In the screenshot above for floors like the red one the centroid of the floor solid is within the boundary of the floor and this works as needed. But for floors like the green one the floor solid centroid node returns a point central but outside the boundary of the floor.
I have tried extracting the top surface and getting points at UV 0.5/0.5 this also doesn’t work. I have also tried constructing a polygon from the top surface and using polygon centre node this doesn’t work either. I am not sure what else I can try.
This is for completing COBie information.
Thanks in advance for any suggestions, Simon
room for the floor #2.dyn (19.8 KB)