Get corner points of rooms

thanks for your Input.
what happens if we have a room with an odd number of corners?

The math in the script works only with even numbers.
For odd numbers you will need to make a check, for example like this:

I managed to make a script that will work in the case above
1234.dyn (138.9 KB)

but for anything more complicated you will need to find a different approach.

1 Like

thanks