Hello,
Let me start by saying I’m still learning a lot about Grasshopper. I’m trying my best to learn as I go and watch tutorials but I’m a little stumped here.
My goal is to make a banquette sofa, where I can reference a curve and divide it by cushions and backrest modules evenly.
The end should look something like this:
Here is my .gh file and added notes to try and explain my methodology:
Sofa Generator.gh (33.7 KB)
For now, I’m trying to have an adjustable U shape curve, which is then offset, and the straight sections are divided into cushions. These are then further divided and offset to create backrest modules.
After some trial and error, I have settled on trying to create 2 adjustable profiles on each backrest module, then loft them.
But the way I have done it I think means I would need to reference the vertices of each offset backrest module, rather than one and repeat it along all the modules.
I’m very much a beginner when it comes to data trees and grafting, but I thought the answer might lay in there.
My script is probably massively overcomplicated and inefficient, but if anyone could help or point me in the direction of a relevant tutorial, I would really appreciate it.
Thank you



