Merging multiple surfaces in grasshopper

Ciao,
trying to merge multiple surfaces into one in GH, not sure how to proceed…
The idea is to get the same result as in MergeSrf in Rhino, except the fact this should be achieved in one single instance instead of coupling two surfaces at time (in the original file I got > 100 srf’s…).

I tried JoinBrep + MergeAllFaces with no luck.
test_merge_srf.3dm (3.7 MB)
test_merge_srf.gh (9.1 KB)

What’s the most elegant way to accomplish this?

See files.
Many thanks in advance, grazie!

PS: apologies if this sounds trivial, I’m still learning!

Gion

1 Like

Sorry missed the rhino file. I got it now.

Here you go. This should do the trick.
test_merge_srf (1).gh (5.2 KB)
I flattened your tree, Joined all the curves, then lofted them.
Data trees are EXTREMELY IMPORTANT to learn. You have to know how each component handles data trees. To many people start out like me just shooting in the dark and not understanding why things don’t work the way they should. :slightly_smiling_face:

Here is probably the simplest version.


Wow!! That was a super-quick reply!! Outstanding…

Ehm, I’ve missed to mention that I tried to loft joined curves before, but I wasn’t happy of the result.


See the new files (*.gh file has now internalized data…)
test_merge_srf.gh (86.6 KB)
test_merge_srf.3dm (4.0 MB)

So my request implies a method on merging several connecting surfaces in one single instance, in GH, if this is something that could be achieved.

PPS: You are absolutely spot on regarding data trees importance and my process of shooting in the dark :slight_smile:

Grazie
G

1 Like

Let me try and work on this one. Looks fun!
By the way, MergeSurface only works on plainer surfaces. Thats why it was not Merging your faces. :slightly_smiling_face:

@GionCondor
This one is a little more complicated. (Probably un-necessarily.)
But it should have what you are looking for.
test_merge_srf (3).gh (90.1 KB)

Nope never mind, My bad.

This one did the trick. Sorry about that.
test_merge_srf (3).gh (94.8 KB)

Let me know if that does the trick. :slightly_smiling_face:

Hi, could you please post a screenshot?
Since I have Rhino5 (no relay), I cannot see how this orange elements were connected in your version with the relay. I made a few guess but the result was bad, so better to don’t assume too much here…

This is what I see when opening the GH file…

And, btw…
Your previous reply (“MergeSurface only works on plainer surfaces”) made a clear point. Thanks for attempting alternative ways, though!

Cheers
G

1 Like

Hey sorry, had the internet off.
Here is a screen shot. :slightly_smiling_face:

Many thanks!
Have a nice sunday

1 Like