Points Connection using Anemone?

Hi Everyone,

I need some help! I’m stuck in using anemone to generate this model for hours. The idea is to start Point A from the edge of the bottom cycle, connecting the closet Point B at the edge of the second layer. Then, the point moves for a distance along the curve on the XY plane to get the next point C to connect, and repeat this process in different layers. I have done this with repeated work. However, I would like to use Anemone to generate this path, but I can’t organize this to a loop generation.

Thank you!!!

Layers_Connection.gh (33.2 KB)

You didn’t internalize your curve params (or include a Rhino file they refer to?).

Is Anemone really necessary with only three curves or do you plan to have more?

Divide curve followed by List Item to get the first point can be replaced by the start point, eh? (End Points ‘S’ output)

Looks like Crv CP (Curve Closest Point) could be useful?

Hi Joseph,

Sorry that I didn’t make it clear and included the RH file.
Yes, I would like to make the connection with more layers like the green line I drew from the start point to the top.

Here is the new files
layers_Connection.3dm (35.6 KB)
Layers_Connection.gh (43.4 KB)


Your curve params are not connected to the Rhino file.

For future reference, you better read this:

3. Attach minimal versions of all the relevant files

I made the connections manually and see this, which doesn’t quite look like your “sketch”:

I’m a little busy at the moment, will get back to this ASAP.
(unless someone else gets to it first)

1 Like

Hi Fenzo,
This jumped out at me as a great opportunity to use relative path. This component lets you select groups of objects based on a start tree path and offsetting relative to that path.
I have the script set up in two ways, one where I took the base structure of offsets {0;0}, {1;0}, {1;1} then manipulated the tree structure to get the correct groups of points to join together. The second way I generated the full offset path list and pulled the points from there.

Layers_Connection.gh (31.8 KB)

1 Like

Yeah, I was thinking along similar lines - no need for Anemone. Thanks for saving me the trouble!

Why did you do it twice? Your first version looks simpler than your second?
Seems to me that the number of Divide points should be independent of the number of curves?

1 Like

Oh mostly because its a slow friday afternoon so I thought I would try a couple things. Also sometimes I still struggle with getting the right result out of relative item so good practice. I just finished working on a third version that just uses a stack of parameters and evaluate curve, added in a graph mapper for a bit of flare.

Layers_Connection.gh (30.4 KB)

1 Like

I always struggle with that too. Here is an ultra simple method:

Layers_Connection_2023_Aug11a.gh (8.8 KB)

Curves are internalized, no need for Rhino file.


The simplified methods that @gordonleibowitz and I used work because the curves are “concentric” circles where the seams and division points are aligned. This Anemone loop using Crv CP will be more flexible about irregular curves, as demonstrated in version ‘bb’ below.

The ‘R_Frac’ slider (blue group) sets the “rotational fraction” for each step, which is the fraction of each curve’s length used for each horizontal segment.

Layers_Connection_2023_Aug11b.gh (17.2 KB)

Version ‘bb’ - The light blue group below creates a stack of ellipses with a Value List switch (cyan group) to choose either circles or ellipses.

Layers_Connection_2023_Aug11bb.gh (24.0 KB)

P.S. Here is one more version (top view) where the center point of the ellipses is shifted.

Layers_Connection_2023_Aug11c.gh (26.3 KB)


Thank you so much guys, @Joseph_Oster and @gordonleibowitz .
Yes, the bb and C versions are really inspiring and useful to go further.

Oooh yeah, that connect component is great. I cant say I’ve ever used it before, but I’m suddenly seeing all its applicability across many past scripts. Thinking about all the times I have made a polyline by creating lines from end points of curves and shaking my head.