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.

Iteration in two directions

Hi all,

I have a surface then I generated two curves on it that are perpendicular to each other. I   divided them from their intersection point to equal distances and I need to generate a grid of points by intersection of each two spheres with the surface which the center of the first sphere is the first point on one curve and the center of the other sphere is the first point on the perpendicular curve to the first curve. Other points can be obtained by a similar drawing.

As the image below.

I can only use the hoopsnake component to repeat this function in a row and for generating the next row, I have to use another hoopsnake component and it is a long way.

How can I repeat this function in the easiest way for two dimensions?

Tanks in advance.

  • up

    peter fotiadis

    Hmm ... I can't claim that I've got it right ... but anyway:

    1. you have a geodetic (yellow) and as much "perpendicular" curves (the white ones) you like.

    2. then you want to divide the white ones by length (in fact the properly aligned pairs of splitted curves at the yellow curve division points)  ... giving a grid with equal distance points, right?

    If so ... what have to do with all these ... er ... the balls?

    PS: the thing captured above is C# (not Hoopsnake) ... but anyway ... just out of curiosity.

    5