Hoopsnake

Update:

Hoopsnake is now Open Source!

Check out the repo in Github!

Fork it and fix it :)

Hoopsnake is a component that allows feedback loops within Grasshopper.

Help with duplicate calculations with append data.

Hi,

Thanks, this is an amazing plugin... its really really great!!

 

I'm getting duplicate geometry when i select the append data option and run for a few iterations. I understand that this is because the hoopsnake re-calculate for all the inputs  and that include the geometry from previous iterations.

I attach two images where i use "remove duplicates" to show the difference in the number of elements.

 

Is there a way to "fix" this, so the hoopsnake calculate only the geometry from the last iteration and just "preserve" the rest?

 

If im not missing some hidden option... Can you add this to the wish list? :D

I dont think that it will be to difficult because when you dont select the append option, it only calculate the geometry from the last iteration so we only need some kind of "bypass" for the other geometry ;-)

 

Thanks again!

 

 

 

 

  • up

    rob(E)

    Wow, just asked the perfect question. Similiar question except with a dead simple branching technique.
    • up

      Yoann Mescam (Systemiq)

      You can also hierarchize the data you give to the next iteration :

      branch 0 stores the objects to work on

      branch 1 stores the objects from previous iterations

       

      • up

        Yannis

        Hello Manuel,

         

        I have made a change to the append function in 0.6.0: Instead of appending the new data, it actually appends the existing data to the new (i.e. prepending new data). So, if you flatten the output the new data will be on top of the list. This I considered more useful for keeping history of iteration steps and still easily having access to data from the latest iteration (e.g. with a simple list picker).

        There is an example together with the new release that shows exactly the append functionality together with a list item picker.

         

        Yiannis

        2