Grasshopper

algorithmic modeling for Rhino

Hi all, 
I'm trying to understand how iteration works, is there a way in grashopper to repeat a group of nodes a specific number of times? I'll attach a file as an example.In the previous screeshot there is an algorithm made by a group of 3 nodes repeated 5 times, If I would like to repeat it 300 times? is there a way to make it parametric?
Many Regards, Riccardo

Views: 1508

Attachments:

Replies to This Discussion

Yes! Try 'hoopsnake', its a plug-in that lets you repeat data.

In this case is preferable anemone I think, that lets you specify the number of iterations and runs on each new solution. In contrast with hoopsnake you need a boolean condition to stop and to turn it by hand. Both are good, but one works best for a particular case than another.

With anemone:

Attachments:

I downoaded both anemone and hoopsnake, I think anemone is the way! thank you so much, hoopsnake is cool too, but it seems to be more tricky to use.
Thank you so much!

I just studied your algorithm, it works great, but if I would like to keep the next point on the curve (like in the original divide lenght node), instead of the last one (like you did)? i'ts harder than it look like, because some times the correct point is the second one, some times is the 5th, 6th..., depends on the curve shape.
I think maybe I need to sort the intersections of a single circle along the curve like you did, and traveling the curve in positive direction I need to select the first I meet, but the solution I found is really tricky I think there is a faster way.. Thanks in advance

You should try anemone plugin.

Also the definition you are showing in the picture really looks like the "Divide Distance" component.

Yeah, I know, but I need to stop reiteration of that node before reaching the end of the curve (splitting the list is not enought, because it would slow down too much my pc for the operation I'm going to do)
Thank you so much anyway for the suggestion.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service