# Geometry nodes align and randomize (Blender 3.1)

basically i realized this:

1. I built a mesh
2. I distributed an object along a curve and randomized scale and rotation
3. I then distributed the above result along a rectangular curve

my problem is:

1. how can I orient the object of fig2 along the "normals" of the small sides of the rectangle?
2. how can I randomize each single column?
3. is it possible to do this without using a collection of different objects?

This is more 'cutting the knot' than directly answering.. it is possible to capture the tangents of curves on the points they are converted to, before instancing your flowers on them, but it's quite a tangle.

Is it easier, in this case, to instance your flowers on the sides of a mesh box?

If you needed to get rid of the 45° at the corners, need stems, or somesuch, that would be more tweaking, but this seems an easier and more readable starting-point:

These nodes added after 'Align to Normal' to give the flowers a slight random twist away from the perfect normal:

And this cluster added as a branch from the topless and bottomless box:

It splits the faces, and then deletes horizontal edges, resulting in vertical edge-segments, flower-to-flower. Those are converted to curves, which are trimmed at both ends to avoid the holes at the centers of the flowers. Then they are converted back to a mesh to give some thickness:

My apologies.. this is Blender 3.1 (stable, at time of writing), because of the Edge Vertices node. There will be a getaround, if you really need it, but I think 3.1 is pretty safe to use...

• thanks so much for your help, your solution is elegant, and solves my problem. the meaning of this project remains conceptual. I'd also like to add some threads to simulate the pendants. but for now I am satisfied. Commented Mar 14, 2022 at 13:40
• Hi @zipperzonk! Thanks for the approval! See edit for the kind of tweak that is possible to add threads, etc. Commented Mar 14, 2022 at 14:48
• forgive my ignorance, but your level of knowledge on the subject is infinitely higher than mine, I'm just at the beginning. I don't understand where and how to insert the "threads" frame. I seem to guess from your explanation that the threads group acts on the edges of the starting cube. Commented Mar 14, 2022 at 17:00
• @zipperzonk Okydoky.. but I just noticed, one of the nodes is 3.1. Hope that's OK. Commented Mar 14, 2022 at 17:21
• hi @Robin your work is perfect! i connected according to your example and everything works perfectly. thanks again for your help Commented Mar 14, 2022 at 21:47