Grasshopper

algorithmic modeling for Rhino

hi to all.

 

Ican achieve this with the use of hoopsnake?

  i know recursive concept but I'm not an expert on scripts and I have difficulty to understand the working of the component, there is someone that can help me with this?

I have attached my file .

Thanks.

Views: 1273

Attachments:

Replies to This Discussion

thi is the image

Attachments:

Hi,

1. You need to prepend the new data generated by hoopsnake (right click and find "new data" options) so you dont lose old iterations.

2. From the hoopsnake component you need to select the last iteration calculated, so you can set it as input for a new iteration. This new data will be your first branch in the list (because you select prepend data, not append), so you can use a tree branch component with path {0}.

3. use flatten in your line output so every new data on the hoopsnake component will be a {0} path.

 

here an image (and the hoopsnake option that you need):

 

For setting a max iteration number with a slider, you need to produce a false boolean in the B input. I use a "larger than" between the slider and the iteration counter output.

(not in the image)

 

 

yes, now work well .

thanks for your help Manuel

 

 

Massimiliano 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service