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.

Running into trouble with B* input

Hey all - 

 

I am having some problems with the boolean that is supposed to trigger the end of a loop. Even when the boolean turns false, it is still read into the component as True, as you can see in the screenshot. 

 Because it's not properly registering the point at which to halt, it continues to loop and fails. This happens to me in both versions 0.5.1 and 0.5.5. 

 

Any idea why this might be happening or what I can do to work around it?

Load Previous Replies
  • up

    Yannis

    Hi Andrew,

     

    Does the same happen if you connect it directly to the component instead of the parameter?

     

    I currently cannot reproduce the behavior myself, would it be possible to share the definition?

     

    EDIT: Just saw Pieter's answer too...so I guess it does happen with components too..

    If any of you guys could share even the part of the definition where the problem appears would be of help.

     

    Thanks

    • up

      Andrew Heumann

      Hi Yiannis -

       

      Here is the file where I was running in to trouble. You can see that the loop almost always fails, and when stepping through, there comes a point where the boolean turns to false but the hoopsnake component reads it as true. 

      2
      • up

        Fred Becquelin

        Hi,

        I had the same problem.You can see in this video, the tolerance is set to 1.5mm but it always go one step further.

        I wonder if it could be some timing issue, because my solution needs about 2s to complete but the boolean trigger is evaluated near the beggining.

        Another thing, sometimes it looks like data is not cleared properly, and loop stops after one step.

        Hoopsnake is great, ty so much! Now I need you to figure a way to nest loops!

        3