Finish floors from room boundary include area under door

Hello Friends,

I generate a code that is going to create floor finish type from room boundary and it worked.
I want to master it by including the space bellow doors and picking the floor by door swing.
It started showing some warnings.
If someone is able to look at it I will be really glad.

floorfinishworking.dyn (138.5 KB)

Thank you in advance.

Thank you, but it gives me some missing node do you know from where?

Try the DataShapes package