How to make to floor area match?

Hi everyone, I have a floor plan that I want the floor area perimeter zones to match the core zone; is there any automated way to do this? It’s important that the corners remain straight and on the 45-degree line.
Corners

You could project your curves to the CPlane, or use SetPt. That is a start. Are your lines not staying on the construction plane?—- Mark

2020-10-01 01_03_31-Window

From

\dfrac{w\cdot h}{2}={\color{lime}2 \cdot(w-d)\cdot d } + {\color{red}2 \cdot(h-d)\cdot d }

Some quadratic formula and you find d :

d=\dfrac{-w-h+\sqrt{(w+h)^2-2(w \cdot h)}}{-4}

2 Likes

20_10_01_equation_vs_galapagos.gh (20.6 KB)

Here a pretty loud alternative using Zombie solver


rect-half-area.gh (19.5 KB)

1 Like