# Complex? list pattern - Lunchbox Diagrid

**URL:** <https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889>\
**Category:** Grasshopper\
**Tags:** pattern, lunchbox, list\
**Created:** [October 24, 2020, 2:25pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889 "2020-10-24T14:25:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pejo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pejo/32/717138_2.png) [@Pejo](https://discourse.mcneel.com/u/Pejo)\
**Post date:** [October 24, 2020, 2:25pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889/1 "2020-10-24T14:25:38Z")

</div>

Heyyo guys,

I want to creat a spiral on a surface and control it by the UV count. I choosed the Lunchbox Diagrid component but couldnt select the curves like I want to

.

 ![List Managment](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/e/9/e9c2c7f3c88255dc7378db48dfc35ec0c8374575.jpeg)

The two yellow curves show how i want to join my curves but i could not rearrange my List to get a result like that because the curves allways come out in columns. Its realy important that the method work for higher UV values - the low count is only for illustration. It should work if i shift the index of all items in every second row by 1 but i didnt know how 😕

[List Problem.gh](https://discourse.mcneel.com/uploads/short-url/hGX5TtcTKqThblFG74UlfWQtNX2.gh) (12.4 KB)

This is my script so far maybe it helps you to understand my problem.

> **[Creative Twisting Wooden Pavilion Revealed By Arthur Mamou-Mani For Burning...](https://www.pinterest.co.kr/pin/601863937689104341/)**
>
> Feb 1, 2020 - Creatief draaiend houten paviljoen onthuld door Arthur Mamou-Mani voor Burning Man 2018

all in all i want to creat a structure like this - if you know an other method or a good tutorial please let me know 🙂

---

<div class="post-metadata">

**Author:** ![scottd](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/scottd/32/494002_2.png) [@scottd](https://discourse.mcneel.com/u/scottd)\
**Post date:** [October 24, 2020, 2:53pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889/2 "2020-10-24T14:53:55Z")

</div>

@Arthur_Mamou_Ma - is always great at sharing his work. Here are some video and article that references how it was put together:

[![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/a/a/aa62f5fe8f71d4db473ce4e3cccf050887b8fe76.jpeg "Burning Man Temple Galaxia by Mamou-Mani in Grasshopper!") ](https://www.youtube.com/watch?v=c5gx2Ziwf68)

Video of [Galaxia by Mamou-Mani and Format Engineers](https://youtu.be/c5gx2Ziwf68)

> **[Designers Corner \[Ep. 5\] – Arthur Mamou-Mani](https://www.shapediver.com/blog/designers-corner-ep-5-arthur-mamou-mani-2)**
>
> Designers Corner is the place where Parametric Designers talk about their work. There is a story behind every model, and who better to tell the story than the designer himself? For this episode we went to London and sat down with Arthur Mamou-Mani,...

---

<div class="post-metadata">

**Author:** ![Pejo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pejo/32/717138_2.png) [@Pejo](https://discourse.mcneel.com/u/Pejo)\
**Post date:** [October 24, 2020, 3:24pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889/3 "2020-10-24T15:24:48Z")

</div>

Thats an pretty cool insight but he interpolates divided circles like this tutorial.

[![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/6/2/6298067c6495ba6a1e81cad9e47ce9223a64a57a.jpeg "Spiral Pattern") ](https://www.youtube.com/watch?v=Avma9zk0FdA)

I am looking for a solution based on the surface UVs to control the spirales based on the surface size.

I already tried Divide Surface but with this componant i had list problems as well because i could not connect the diagonal points.

---

<div class="post-metadata">

**Author:** ![scottd](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/scottd/32/494002_2.png) [@scottd](https://discourse.mcneel.com/u/scottd)\
**Post date:** [October 24, 2020, 3:40pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889/4 "2020-10-24T15:40:51Z")

</div>

UV control is not a great way to do this. UV does not always have a good correspondence to physical distances. Of course there is always rebuild command or Quadremesh to get a more regular topology across the shapes.

I normally get away from UV when control is needed. Use PanelingTools to get the grid based on vertical planes and horizontal planes. Then the structure of the original profile curve has no influence on the spacing of the grid.

Here is a long thread that might also help:

> [@Equal Grid Across Surfaces](https://discourse.mcneel.com/t/equal-grid-across-surfaces/104399/10):
>
> Using the original surfaces. Grasshopper does a bit of a cleanup on the Brep. Horizontals are sections with planes. Verticals made with vertical lines from a section across the middle. Using PanelingTools to create the Grid and the grid cells. Now it is an ordered set of grid cells. Here is the definition so far: [Equal Grid Across Surfaces Panelingtools.gh](https://discourse.mcneel.com/uploads/short-url/kmgiYxi8Sfx8gWHZ6Vw4B8vRCpW.gh) (60.2 KB)

---

<div class="post-metadata">

**Author:** ![HS\_Kim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/hs_kim/32/473975_2.png) [@HS\_Kim](https://discourse.mcneel.com/u/HS_Kim)\
**Post date:** [October 24, 2020, 3:43pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889/5 "2020-10-24T15:43:37Z")

</div>

You can use Relative Item for this.

 ![Canvas at 00;40;24](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/5/4/54cad789f93a8d0dd26febd7c9bd3ef529b5a980.png)  
[List Problem\_re.gh](https://discourse.mcneel.com/uploads/short-url/IGIvLLSetnNmNcjncLFCytYyBV.gh) (22.4 KB)

---

<div class="post-metadata">

**Author:** ![Pejo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pejo/32/717138_2.png) [@Pejo](https://discourse.mcneel.com/u/Pejo)\
**Post date:** [October 24, 2020, 3:57pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889/6 "2020-10-24T15:57:21Z")

</div>

okay ill keep that in mind but in this case it seems to work fine.

---

<div class="post-metadata">

**Author:** ![Pejo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pejo/32/717138_2.png) [@Pejo](https://discourse.mcneel.com/u/Pejo)\
**Post date:** [October 24, 2020, 3:58pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889/7 "2020-10-24T15:58:08Z")

</div>

Thanks a lot Kim - second solution this day 😃

---

<div class="post-metadata">

**Author:** ![HS\_Kim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/hs_kim/32/473975_2.png) [@HS\_Kim](https://discourse.mcneel.com/u/HS_Kim)\
**Post date:** [October 24, 2020, 4:00pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889/8 "2020-10-24T16:00:43Z")

</div>

Check this as well.

 ![Canvas at 00;59;15](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/d/8/d8ff8ece3c50c27241b4d05a4ebe36102095223d.png)  
[List Problem\_reV2.gh](https://discourse.mcneel.com/uploads/short-url/hoemxLoq70NNtu8s8LM2Jmmbf44.gh) (22.0 KB)

---

<div class="post-metadata">

**Author:** ![Pejo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pejo/32/717138_2.png) [@Pejo](https://discourse.mcneel.com/u/Pejo)\
**Post date:** [October 24, 2020, 4:55pm UTC](https://discourse.mcneel.com/t/complex-list-pattern-lunchbox-diagrid/110889/9 "2020-10-24T16:55:46Z")

</div>

my hero of the hour - thanks a lot i learned some usefull new componants today!
