Unable to solve adjacency between floors

Hey,

I am having a particular issue with my latest geometry that I’m unable to have my 1st and 2nd floor be adjacent. When using the PO_SolveAdjacency command, it seems that about half the building solves as intended, but the other half is considered “Outdoor” with no adjacent surface.

I’ve uploaded the hbjson file for anyone who thinks they can help me. I appreciate any help. I haven’t run into this issue at this scale in my past projects, so would like to know what I’m doing wrong here that’s causing it. Thank you!

PG_last_rh7.hbjson (2.4 MB)

Hi @tylermcw, I’m not behind my computer but if I have to guess there’s a small gap between the levels. I would try to use the PO_AlignInElevation command to align the rooms in elevation before running the adjacency.

I’ll have a closer look when I get back behind my desk this evening unless someone else helps you with the issue by then.

Cc: @chriswmackey, @mingbo

Thanks @mostapha I appreciate you taking the time to look at this. I have tried to use the PO_AlignInElevation command as well as the other Align commands to fix the model with no luck. I’ve noticed that the problem spots seem to occur more frequently on the wings of the building that are not aligned with the orthogonal axes of rhino, but this might just be a coincidence.

I am getting an Error Code: 100101 - “Cannot split a solid geometry”

1 Like

My current workaround is using PO_MergeRooms to merge spaces vertically, then using PO_SplitRooms and drawing a cutting plane. Then using PO_SolveAdjacency will (most of the time) work for that surface, but sometimes it causes another surface somewhere else in that zone to become unsolved. It’s slow but seems to be working.

Hi @tylermcw,

I opened your model, and I see that the tolerance is set to 0.01 of a Millimeters! That can create several unnecessary issues.

I changed it to 1 mm which is more realistic for a building.

After changing the tolerance, I ran the PO_RebuildRooms command to get a clean starting point, and then ran the PO_SolveAdjacency, and it mostly works.

A quick check using PO_CheckAdjacency command shows the source of the issue for many of these rooms.

Fixing those small misalignments fixes the adjacency issues. I used the PO_AlignInPlan command to fix them.

There were also some other validation issues that I had to fix. Here is the fixed model.

PG_last_rh7.zip (2.3 MB)

I also have a question. How did you create this model in the first place? Is it drawn on top of a 2D drawing? I’m thinking what we could have done differently to avoid these issues in the first place?

1 Like

Hi @mostapha thank you so much! I think my original tolerance was 0.001 mm and I dialed it back to 0.01 mm - good to know that we should dial that back much further.

Yeah this model was drawn on top of a 2D dwg file.

Thanks again, you’re a life saver! Appreciate it!

1 Like

Thank you for the kind words. My pleasure!

Thanks! This is a common case when drawing on top of 2D plans.

I did a quick test with the Model Editor, and we should probably document the workflow of using the Model Editor for fixing all the alignment issues for extruded models like this one. It is faster and easier to fix such issues, and you won’t lose any data.

cc: @mingbo

1 Like