# Align objects in grid

**URL:** <https://discourse.mcneel.com/t/align-objects-in-grid/114492>\
**Category:** Grasshopper\
**Tags:** boundingbox, grid, list, midpoint, align\
**Created:** [December 14, 2020, 8:34pm UTC](https://discourse.mcneel.com/t/align-objects-in-grid/114492 "2020-12-14T20:34:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![blind-apple](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/blind-apple/32/769357_2.png) [@blind-apple](https://discourse.mcneel.com/u/blind-apple)\
**Post date:** [December 14, 2020, 8:34pm UTC](https://discourse.mcneel.com/t/align-objects-in-grid/114492/1 "2020-12-14T20:34:12Z")

</div>

hey,  
i am trying to align a big set of random curves in a given grid  
…one curve centrically aligned to one sub-square

i got an example for you:

 ![gh_problem_grid_align](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/c/d/7cdfa08c4abc2b111932a129dea0ec0cc1880066.jpeg)

1 shows what i got - many curves, all got the same overall position  
2 shows what it is that i got, spread - just for understanding  
3 shows the grid alignment and far right the wanted result  
the lower red rectangle is a quick summary

the part where i struggle is to align **curve 1** to **grid point 1** for example  
bounding boxes and midpoints are no problem

the sequence doesnt matter at all - **any curve to any rectangle**

i hope you can help me, thanks a lot, stay healty,  
blind apple 🙂

---

<div class="post-metadata">

**Author:** ![inno](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/inno/32/544036_2.png) [@inno](https://discourse.mcneel.com/u/inno)\
**Post date:** [December 15, 2020, 1:59am UTC](https://discourse.mcneel.com/t/align-objects-in-grid/114492/2 "2020-12-15T01:59:21Z")

</div>

something like this?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/9/1/491e74907de6b482723dce919a7519c2aec509d5.png)  
[point\_islands\_maybe.gh](https://discourse.mcneel.com/uploads/short-url/1MHJ36qk7FvDhQPL5VH1lAGoJrk.gh) (17.0 KB)

---

<div class="post-metadata">

**Author:** ![blind-apple](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/blind-apple/32/769357_2.png) [@blind-apple](https://discourse.mcneel.com/u/blind-apple)\
**Post date:** [December 15, 2020, 2:02pm UTC](https://discourse.mcneel.com/t/align-objects-in-grid/114492/3 "2020-12-15T14:02:35Z")

</div>

hej inno!  
thank you so much - thats what i was looking for - thanks!

recreated it  
had first problems, but it was on my side (something wrong in my curve creation nodes)

thank you so much!  
have a nice day 🙂  
blindapple
