Sliding window

Hello everyone,

I tried to make a sliding window but faced 2 problems.

The first is I have no idea how can I do a “system” where when I move the right sliding leaf, the left leaf will move in the opposite direction.

Second problem is that in my script, if the width is larger than the height, the mirror component wont work right.

Any idea how to work around those 2 problems?
Janela de correr.gh (17.8 KB)


two_doors_2025Apr17a.gh (5.1 KB)

Added thickness:


two_doors_2025Apr17b.gh (6.7 KB)

Janela de correr.gh (17.8 KB)
Here it is the file without plugins components

Too late. And I realize you said windows, not doors. Sorry about that.

For the second problem.

1 Like

For sliding doors.
Janela de correr a.gh (38.1 KB)

nice, didn’t know this component!

what is this move+?

It’s a cluster.
If you save it as a ghuser you can always have it available.

1 Like

nice! Thanks for the help man!

one thing that I noticed on the script is that now I cannot edit the width of the window, only the height.

1 Like