Sliding motion to achieve angled geometry from vertical!

Hi! I hava a huge problem with rotating/ sliding geometry in a particular way. I created a seperation consisting of panels and managed to select any ndesired number of panels to work as rotating/sliding elements that can become seatin/ laying elements. I added the images of what i desire to achieve. I need the objects to have an edge on the xy plane and be able to rotate in an angle, maybe with a motion on z axis of an edge. I tried multiple commands and succeeded on some of them but none of them at the same time, please its an emergency. I’m open to any solutions!
rotation along problem.gh (30.4 KB)


Hi
Do you want this?

I added the yellow group, deleted some of your code and didn’t spend much time cleaning up.

The ‘V to H’ slider (‘Vertical to Horizontal’, blue group) moves the middle group.


V_to_H_2025Apr27a.gh (30.4 KB)

1 Like

hey, similar but i needed the back of it to align with the ground, thanks for your interest

Hi! Thank you so much for such an understandable solution. I’ve also co


me up with my own solution on the matter if you’re interested. I’ll try yours in another file as well!