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.

Optimization with a Loop

Hi. I'm working in a project which I have 16 modules ( 4 pavements of 16 modules, as the image bellow) and I need to remove 8 of them. My objective is to remove 8 modules in a way that I have the less perimeter as possible. The problem (that I think can be solved with a loop, I just don't know how) Is that I only can choose the modules that are in the top. I thought I should use galapagos to choose which module I should remove. But the problem is that the list of modules that I can choose change everytime I remove one. I've tested hoopsnake and octopus loop but I couldn't make it happen.

Any ideas?

  • up

    Flávia Tissot

    This is the example below

    • up

      Filipe Brandão

      This looks like something Topologic can easily solve. If I understood correctly you want to know which "cubes" don't have anything on top, so another approach would be to model each of the stacks as lists of objects. The repeated operation would be to "pop" or remove the last box in the list.

      2