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.
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.
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.
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?
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.
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.
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.