Parametric window rotation

Hello everyone;
I am trying to model this kind of window that is tilted upwards in order to recieve more daylight. In this regard, the window should be rotated parametrically. I am facing a problem regarding the model in grasshopper. I am beginner and any help would be appriciated.
Thanks…

3. Attach minimal versions of all the relevant files

1 Like

@wim Can you please help me?

1.gh (132.4 KB)