How can I attach panels created on rhino randomly on Grasshopper

190212_ATTACHING PANELS.3dm (266.6 KB)


In this rhino file I explained what I want to do.

I want to attach 6 different panels randomly to create a zigzag polyline as showed in the attached example. The total width of the attached panels should reach 60m

You mean something like this: (22.6 KB)

1 Like


YESSS, This is exactly what I want…

Thank you

I have a question, How do you set the leftPts and rightPts of the surfaces?

I manually selected them in Rhino.

190215_attaching panels created on rhino.3dm (2.0 MB)

Hello Mahdiyar,
Thank you for your replies, I really appreciate them.

I found out that I need to add more rules to control how the panels are attached to get the result I’m looking for.

I recently started learning coding (Python) that is helping me to understand how things work, but not yet skilled to solve this code…

I would really appreciate if you can have a look on my attached rhino file where I explained what I’m looking for.

Thank you and have a good day.

Please, Mahdiyar, can u give my question another try? I would really appreciate it…