# Avoid overlap between surfaces

**URL:** <https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256>\
**Category:** Grasshopper\
**Created:** [May 14, 2019, 12:47pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256 "2019-05-14T12:47:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![aseelibraheem.arc](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/aseelibraheem.arc/32/337197_2.png) [@aseelibraheem.arc](https://discourse.mcneel.com/u/aseelibraheem.arc)\
**Post date:** [May 14, 2019, 12:47pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/1 "2019-05-14T12:47:14Z")

</div>

How can I draw two squares connected to one side and have the same parametric dimensions, so that the squares grow and grow together by changing the parameter without overlapping

---

<div class="post-metadata">

**Author:** ![ajarindia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ajarindia/32/496286_2.png) [@ajarindia](https://discourse.mcneel.com/u/ajarindia)\
**Post date:** [May 14, 2019, 12:49pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/2 "2019-05-14T12:49:03Z")

</div>

> [Help Us Help You](https://discourse.mcneel.com/t/how-to-ask-effective-questions/50034)  
> **3. Attach minimal versions of all the relevant files**  
> **If you have a `gh` file you have a question about, attach it to the post. Do not expect that people will recreate a file based on a screen-shot because that’s a lot of pointless work. It’s also a good idea to remove everything non-essential from a `gh` file. You can use the Internalise Data menu option to cut everything to the left of a parameter:**

[Simplifying a Grasshopper network](https://www.youtube.com/watch?v=EW8HgWXBcKk)

**If you are referencing curves or breps or meshes from Rhino, you can also internalise them so you won’t have to post a `3dm` file as well as a `gh` file. If you’re unsure whether all the relevant data is internal to the `gh` file, try opening it in an empty Rhino. Does it work? Good. No? You’ll need to internalise more.**  
At least post some reference image’s

---

<div class="post-metadata">

**Author:** ![aseelibraheem.arc](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/aseelibraheem.arc/32/337197_2.png) [@aseelibraheem.arc](https://discourse.mcneel.com/u/aseelibraheem.arc)\
**Post date:** [May 14, 2019, 1:10pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/3 "2019-05-14T13:10:04Z")

</div>

> [@aseelibraheem.arc](#):
>
> How can I draw two squares connected to one side and have the same parametric dimensions, so that the squares grow and grow together by changing the parameter without overlapping

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/5/5/55e7d4f326a07e0154c41467e07895900a1f73ac.png)

---

<div class="post-metadata">

**Author:** ![ajarindia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ajarindia/32/496286_2.png) [@ajarindia](https://discourse.mcneel.com/u/ajarindia)\
**Post date:** [May 14, 2019, 1:16pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/4 "2019-05-14T13:16:40Z")

</div>

[Check here](https://discourse.mcneel.com/t/how-to-make-a-grid-where-the-input-i-for-each-axis-are-different-and-not-static/82721/3)  
Is your query similar to above mentioned check it once

---

<div class="post-metadata">

**Author:** ![aseelibraheem.arc](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/aseelibraheem.arc/32/337197_2.png) [@aseelibraheem.arc](https://discourse.mcneel.com/u/aseelibraheem.arc)\
**Post date:** [May 14, 2019, 1:17pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/5 "2019-05-14T13:17:31Z")

</div>

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/9/4/94405d1cf2c70ee453dc624806bf277644940302.png)  
How can I draw two squares connected to one side and have the same parametric dimensions, so that the squares grow and grow together by changing the parameter without interfering

---

<div class="post-metadata">

**Author:** ![aseelibraheem.arc](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/aseelibraheem.arc/32/337197_2.png) [@aseelibraheem.arc](https://discourse.mcneel.com/u/aseelibraheem.arc)\
**Post date:** [May 14, 2019, 2:42pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/6 "2019-05-14T14:42:12Z")

</div>

> [@ajarindia](#):
>
> Is your query similar to above mentioned check it once

Thank you  
But my question in another way is if I draw a Parametric rectangle and the point of the" rectangle base plane" of the entrance P is a specific point and then draw another rectangle and want to be the point of the “rectangle base plane” of the entrance P of the new rectangle is one of the points of the first rectangle and move with him how can I do that?

---

<div class="post-metadata">

**Author:** ![tim.stark](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tim.stark/32/704108_2.png) [@tim.stark](https://discourse.mcneel.com/u/tim.stark)\
**Post date:** [May 14, 2019, 3:11pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/7 "2019-05-14T15:11:21Z")

</div>

Hard to see what you want from that description/pictures.

1. guess: a “negative” component for the second rectangle. Means one rectangle goes from 0 to 7.4 and the other from 0 to -7.4. Btw. why are you using boolean “gate or” with the surfaces as an input?

2. move your first rectangle by the x-dimension in x-direction to get the same rectangle at the end of the first.

---

<div class="post-metadata">

**Author:** ![ajarindia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ajarindia/32/496286_2.png) [@ajarindia](https://discourse.mcneel.com/u/ajarindia)\
**Post date:** [May 14, 2019, 3:35pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/8 "2019-05-14T15:35:17Z")

</div>

![Frame_](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/f/e/fe52b77456898e680326ec9470a15b3a31d2b033.gif)  
**Like this you need** @aseelibraheem.arc

---

<div class="post-metadata">

**Author:** ![ajarindia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ajarindia/32/496286_2.png) [@ajarindia](https://discourse.mcneel.com/u/ajarindia)\
**Post date:** [May 14, 2019, 3:48pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/9 "2019-05-14T15:48:12Z")

</div>

![Frame_](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/9/c/9cfe8e5720f28a19221b8333344b1c25398964cd.gif)  
**Like this**

---

<div class="post-metadata">

**Author:** ![aseelibraheem.arc](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/aseelibraheem.arc/32/337197_2.png) [@aseelibraheem.arc](https://discourse.mcneel.com/u/aseelibraheem.arc)\
**Post date:** [May 14, 2019, 8:19pm UTC](https://discourse.mcneel.com/t/avoid-overlap-between-surfaces/83256/10 "2019-05-14T20:19:26Z")

</div>

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/8/6/86093ddf258da0b77dec10b97ccbaa37a89eb0ff.jpeg)
