# Connecting a list of parallelogram surfaces with each other

**URL:** <https://discourse.mcneel.com/t/connecting-a-list-of-parallelogram-surfaces-with-each-other/74922>\
**Category:** Grasshopper\
**Created:** [November 16, 2018, 1:25pm UTC](https://discourse.mcneel.com/t/connecting-a-list-of-parallelogram-surfaces-with-each-other/74922 "2018-11-16T13:25:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris.pm](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/chris.pm/32/352887_2.png) [@chris.pm](https://discourse.mcneel.com/u/chris.pm)\
**Post date:** [November 16, 2018, 1:25pm UTC](https://discourse.mcneel.com/t/connecting-a-list-of-parallelogram-surfaces-with-each-other/74922/1 "2018-11-16T13:25:24Z")

</div>

hi  
I have a list of surfaces that are floating around. I would like to patch the gap in the zaxis with a surface.  
Like i draw in here:

 ![123](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/f/3/f38c2e4fc0cda5178850ba2ca4ecc3f2f2376be7.jpeg)

From the top, the corners of the parallelogram are kongruent with the corrosponding corner of the parallelogram next to it.

 ![1234](https://global.discourse-cdn.com/mcneel/original/3X/d/b/db59d7b15b42f8c73337a9debf34b8258d245058.jpeg)

Does someone have an idea how to do this? I thought about some trimming solution but that doesn’t seem to make sense to me.

here i only have 121 surfaces. later on i will have a lot more surfaces. so it should be efficiant

thanks in advance

Chris

File with surfaces:  
[connecting floating surfaces.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/5/8/5812113d0832b3e9d11b687f12a9f4b106bbd600.gh) (64.2 KB)

---

<div class="post-metadata">

**Author:** ![arqmorelos1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/arqmorelos1/32/670174_2.png) [@arqmorelos1](https://discourse.mcneel.com/u/arqmorelos1)\
**Post date:** [November 16, 2018, 2:05pm UTC](https://discourse.mcneel.com/t/connecting-a-list-of-parallelogram-surfaces-with-each-other/74922/2 "2018-11-16T14:05:48Z")

</div>

It would’ve been great if you included whatever you did to try to solve this, rather than just the surfaces and nothing else, specially because I don’t see why you are thinking about trimming something.

Anyway, if I got it right, maybe this helps?:

 ![Canvas%20at%2014%3B58%3B05](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/c/f/cf6df0d72c9fa96c514e81666477328e8394541e.png)  
[connecting floating surfaces.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/e/3/e301780487585c643314d9eae2e93f6f2495ba52.gh) (71.5 KB)

---

<div class="post-metadata">

**Author:** ![chris.pm](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/chris.pm/32/352887_2.png) [@chris.pm](https://discourse.mcneel.com/u/chris.pm)\
**Post date:** [November 16, 2018, 2:08pm UTC](https://discourse.mcneel.com/t/connecting-a-list-of-parallelogram-surfaces-with-each-other/74922/3 "2018-11-16T14:08:39Z")

</div>

sorry. I didn’t even try trimming because i know it is very heavy to calculate (i mean it takes a lot of time)

and my solution that i tried seems a bit stupid ^^

 ![xxx](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/9/9/994a63a7508dfda32fa0fb8ddd60d7d51744fba5.jpeg)

also works but yours seems more elegant to say the least 🤣

thanks

---

<div class="post-metadata">

**Author:** ![arqmorelos1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/arqmorelos1/32/670174_2.png) [@arqmorelos1](https://discourse.mcneel.com/u/arqmorelos1)\
**Post date:** [November 16, 2018, 2:20pm UTC](https://discourse.mcneel.com/t/connecting-a-list-of-parallelogram-surfaces-with-each-other/74922/4 "2018-11-16T14:20:17Z")

</div>

You’re welcome, feels much better to help someone who is trying.

You shouldn’t think your attempts are stupid. You’re just learning, as we all are.

You already had the solution on your first sketch, which is great, just keep practicing to learn how to abstract it into gh.

---

<div class="post-metadata">

**Author:** ![chris.pm](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/chris.pm/32/352887_2.png) [@chris.pm](https://discourse.mcneel.com/u/chris.pm)\
**Post date:** [November 16, 2018, 2:21pm UTC](https://discourse.mcneel.com/t/connecting-a-list-of-parallelogram-surfaces-with-each-other/74922/5 "2018-11-16T14:21:34Z")

</div>

thanks 🙂

---

<div class="post-metadata">

**Author:** ![chris.pm](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/chris.pm/32/352887_2.png) [@chris.pm](https://discourse.mcneel.com/u/chris.pm)\
**Post date:** [November 28, 2018, 9:07pm UTC](https://discourse.mcneel.com/t/connecting-a-list-of-parallelogram-surfaces-with-each-other/74922/6 "2018-11-28T21:07:59Z")

</div>

[connecting floating surfaces\_V2.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/f/f/ff0bfbbf09a5fd05873fed8228900e41c70a099c.gh) (76.5 KB)

Hi  
I made a little adjustment to your solution. sometimes the surfaces cross. and have an intersection. this could lead to issues. I know since I just had them ^^ just uploading to preserve incase someone else ever needs this 😃

---

<div class="post-metadata">

**Author:** ![arqmorelos1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/arqmorelos1/32/670174_2.png) [@arqmorelos1](https://discourse.mcneel.com/u/arqmorelos1)\
**Post date:** [November 29, 2018, 8:07am UTC](https://discourse.mcneel.com/t/connecting-a-list-of-parallelogram-surfaces-with-each-other/74922/7 "2018-11-29T08:07:28Z")

</div>

I see what you mean, I did not expect the cases where neighbouring edges intersect, Good catch!
