Divide curves on meeting edges

Hi

I want to have the same division on each meeting edge, as they are of different size the division are different depending on length, but each meeting edge needs to be exactly the same.

I used rounding the numbers down to the closest 0.5 number, and it broadly works, however, there can sometimes be an error like on the third picture where you have a meeting of 4 points to 3 points.

Is there a better way of dividing or rounding the length of the curves and avoid these errors?

Thanks

divide equal.gh (44.9 KB)

without making too many changes to the definition you have already structured, by culling duplicates (Average) + Pull point and Polyline you get a sort of backbone theoretical space-division curve that is identycal for two neighbor surfaces (that curve doesn’t really mean anything geometrically, it’s just the very same length for each pair of neighboring shapes :D)

but when you make the calculation for the number of holes based on segment length, the count will be equal along each shared edge because those lines are equal length

divide equal_inno.gh (38.7 KB)

1 Like

making a lot of changes, this could be a workflow.

divide equal 2.gh (46.5 KB)

2 Likes

Thank you! This works really well!

You have already a solution, so that is real fine.
That gave me the time to use your quest as a study object.
It is a kind of a rebuild :slight_smile:

  • Slider to set offset distance
  • Slider to set the spread of the holes along the edge
  • Slider to set distance between holes.
  • Slider to set size of circle

I am sure, my datamanagement could be much better, that is probably the reason it has become “Slooow”. So after changing something , give it a bit of time.

NB: By using the “in between” curve I could compensate a bit for the fact that the panels are not always nicely together, there is some rotation/shifting. The in between curve compensates for that.

Thanks for you using your material, regards, Eef





divide equalEW.gh (43.9 KB)

2 Likes

That´s really cool! it will come of good use!