# Voronoi issue with the model

**URL:** <https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022>\
**Category:** Geometry\
**Tags:** revit, dynamo\
**Created:** [August 20, 2018, 3:34pm UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022 "2018-08-20T15:34:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sherifabdelhalim1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sherifabdelhalim1/32/46340_2.png) [@sherifabdelhalim1](https://forum.dynamobim.com/u/sherifabdelhalim1)\
**Post date:** [August 20, 2018, 3:34pm UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022/1 "2018-08-20T15:34:52Z")

</div>

Hello  
I am trying to create a Voronoi on the surface but I found that the Voronoi curves started to get out the surface as the script in the photo.

 ![to%20forum%20](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/5/85d6c46499f1be50913349b4319a8afdc40fc79a.png) o  
and I do not know the reason for that. It is supposed to be on the boundary of the surface which you can see in that photo  
 ![Unbenannt](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/e/3e7ddb7b4cf5695119a026ff89cace66aa50f1db.png)

As I am trying to create some ideas with the surface through divide the surface to some point then creating curves to create a pattern like that photo. Any suggestions

 ![118ae3369d2eb24f3b8c82694962e15e](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/4/24258503fa3ee77b7e4fd0612ce0d6654c65bb1c.jpeg)

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [August 20, 2018, 4:30pm UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022/2 "2018-08-20T16:30:01Z")

</div>

Hi, @sherifabdelhalim1

There maybe something in this post that can help you, i was looking at your last picture

> [@Organic Geometry Creation](https://forum.dynamobim.com/t/organic-geometry-creation/23154):
>
> Dear All, I am relatively experienced working with Dynamo however, I am struggling to think of ways to create similar forms to those developed by Hashem Joucka shown below. I would appreciate if anyone could tell me what methods I should look at to recreate this kind of geometry or if it’s currently possible: [Labyrinth%20table%20Hashem%20Joucka] [Hashem%20Joucka%20Labyrinth%202] Kind regards. Clive

---

<div class="post-metadata">

**Author:** ![sherifabdelhalim1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sherifabdelhalim1/32/46340_2.png) [@sherifabdelhalim1](https://forum.dynamobim.com/u/sherifabdelhalim1)\
**Post date:** [August 20, 2018, 4:50pm UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022/3 "2018-08-20T16:50:24Z")

</div>

thanks a lot. it explains some ideas to create the strips pattern. I think that it is going be the seem method for the pattern script.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [August 20, 2018, 10:05pm UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022/4 "2018-08-20T22:05:07Z")

</div>

Curve.projectontosurface may help to keep the voronoi, but that pattern is very different from the one you showed. .

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [August 21, 2018, 1:03am UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022/5 "2018-08-21T01:03:31Z")

</div>

An option for the image above could be to use ‘Organic’ Nurbs control curves to create a surface. The use offsets / steps / unique section intersections to create a geometry or the control geometry for Revit Elements. 😉

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/0/b01bcfb9252647c6def8e9f3b4ca02c14d94a433.jpeg)

Is this the kind of effect you are after? Or is there a specific way in which the Voronoi needs to be incorporated?

---

<div class="post-metadata">

**Author:** ![sherifabdelhalim1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sherifabdelhalim1/32/46340_2.png) [@sherifabdelhalim1](https://forum.dynamobim.com/u/sherifabdelhalim1)\
**Post date:** [August 21, 2018, 7:19pm UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022/6 "2018-08-21T19:19:42Z")

</div>

Thanks a lot for the help. I think that It will be similar to the pattern but I will try to adapt it to the surface. I am trying to create proposals to the pattern for the surface. one of them the Voronoi and the other that pattern.  
Would I like to ask to share the script? I would like to check it 🙂 Unfortunately I can not see the script in the photo because of the quality of the photo.

---

<div class="post-metadata">

**Author:** ![sherifabdelhalim1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sherifabdelhalim1/32/46340_2.png) [@sherifabdelhalim1](https://forum.dynamobim.com/u/sherifabdelhalim1)\
**Post date:** [August 21, 2018, 7:27pm UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022/7 "2018-08-21T19:27:18Z")

</div>

thanks for your help. I will try that solution. regarding the photo, I know that it is completely different to the Voronoi pattern but I am making proposals to different types of patterns on the surface. one of the proposals like that photo and other like Voronoi pattern. thanks again

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [August 21, 2018, 10:33pm UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022/8 "2018-08-21T22:33:29Z")

</div>

Here is an example of the method behind the creation process.  
Hopefully you can use this as inspiration to create your forms. 😀  
[Using Plane Intersections with a Surface to create Organic Forms.dyn](https://forum.dynamobim.com/uploads/short-url/6GX4x6F6f8qHY5HxqPXAsdD1owu.dyn) (21.9 KB)

---

<div class="post-metadata">

**Author:** ![sherifabdelhalim1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sherifabdelhalim1/32/46340_2.png) [@sherifabdelhalim1](https://forum.dynamobim.com/u/sherifabdelhalim1)\
**Post date:** [August 21, 2018, 10:59pm UTC](https://forum.dynamobim.com/t/voronoi-issue-with-the-model/25022/9 "2018-08-21T22:59:59Z")

</div>

Thanks a lot Ewan for sharing the file
