Floors by room and include area under door

I made this dynamo that generates floors by room boundary. The rooms that have the floor generated are selected by a user with an input form.
It works great but It doesn’t generate the floor under a door opening because the room boundary stops at the door.
Is there a workaround to also generate the part under the door?

What it generates right now:
Capture12

What I want it to generate:
Capture

Dynamo: test2.dyn (67.7 KB)

EDIT//EXTRA: if the door changes direction I also want the floor to change, or is that too much to ask? :stuck_out_tongue:

I ended up solving it somewhat myself, still need a fix for selecting door from room, to room…

1 Like