Creating window with variable sides on a surface

Hi guys.
I’m new to grasshopper and actually I have a question about my code.
I defined 4 side of a window on a wall surface and I’m going to check the impact of different amount for height, wide and OKB of window on a daylight parameter.
what I need is a window on the surface which each side can vary (with no dependency of height to wide proportion) in a range from centerpoint of surface to maximum 0.3m distance from each edge.
I wonder if anyone could help me.
best regards
mary baro (15.6 KB)

Like this? (17.6 KB)

1 Like

Yes, exactly. Thanks!