Hi,
In the attached example, I’d like to cut one curve at several lengths which I define in the ‘Panel’ parameter. In this example, the first cut is at 3000, the 2nd at 2000, the 3rd at 1000 etc.
As the amount of cuts can be up to 30, it doesn’t make sense to repeat the process 30 times by copying the necessary components up to 30 times. My idea is to create a feedback loop and I know this is possible in Grasshopper.
The results that I need are the curve segments and the end points of each segment.
Who can help me out?
The Rhino and Grasshopper file are below the image.
Have a look at the anemone add-in. It’s not possible with out of the box components. I believe hoopsnake also has a mechanism for this. Otherwise write it in a python, c# or VBA node
you want to repeat the whole cutting pattern, or just keep on cutting at 3000?
if you want to repeat the whole patterm, then maybe something like this would work
Thank you very much for the tip Dharman.
You reminded me of Anemone. I used it years ago and I was forgotten the name.
With Naguko’s Anemone solution I have it working very well.
Cheers,
Gerard
Thank you very much for the tip Toto.
Just like Dharman, you reminded me of Anemone. I used it years ago and I was forgotten the name.
With Naguko’s Anemone solution, it works fluently.
Cheers,
Gerard
Thank you Inno,
This would be perfect for a simple repeating pattern. However, I need an increment of the values in a row in the panel. That makes it only possible with something like Anemone.
With Naguko’s Anemone solution, it works fluently.
Cheers,
Gerard
Thank you very much for your solution Naguko,
It works perfectly!
I used Anemone years ago and was forgotten the name. Also I remember that setting up Anemone the first time to make it work is not easy. Therefore your solution is much appreciated as I now understand again the dynamics of Anemone.
Again, many thanks!
As I mentioned to Inno, this would be perfect for a simple repeating pattern.
However, I need an increment of the values in a row in the panel. That makes it only possible with something like Anemone.
With Naguko’s Anemone solution, it works fluently.
Cheers,
Gerard
You are right Joseph.
My explanation of my example was ambiguous. I am sorry for that.
Lucky for me, some people understood what I meant and presented the solution.
I looked at @naguko.studio’s code and still don’t understand what you wanted, or what the loop produced that needed a loop?
Yes, you got lucky this time, I guess. But I still don’t know.
P.S. OK, I looked again at @naguko.studio’s code and believe this is what you got? The white group is merely a visual aid that moves the results up and to the right. Anemone isn’t needed at all for this, the thread title was misdirection (“feedback loop”).
With some reworking on @naguko.studio script, the attached script is exactly what I need.
Thank you @Joseph_Oster for your time and efforts,
I learned more about data streams in Grasshopper with your example. However, I need all the individual segments.