Distribute Points Triangle Pattern on Boundary Curve

Hi,

I am trying to distribute points in this boundary curve in a triangular pattern much like this thread.

But I am trying to use one of the definitions and it is not working, not sure what I can do to fix it?

When I ran the simulation points just go flying around and not create a pattern.

The idea is to deform the triangular mesh to fit this curve.
Much like this.

Thanks for any insight in advance!

DEFINITION HERE:
Triangle Mesh to Deform.gh (73.6 KB)

It’s not clear to me what the intent is with this part


It’s selecting multiple horizontal rows of internal edges, then pulling them to the rectangular boundary?
If you don’t want these internal edges to be selected, then you could Combine&Clean the mesh after welding, but I still don’t understand what this grouping and joining is for.

Hi Daniel, that was part of one of your definitions :face_with_hand_over_mouth:, I could not figure out how to weld the mesh properly to get rid of those edges.

Maybe it is not necessary at all in this case.

It was from here actually:

Ah, I see.
In the example in the post you just linked, there was a more complex set of curves as the target border, and a polygonal starting mesh boundary, and that part joining selections of the naked edges was there to control which edges got pulled to which curves.

In your file though, it looks like the target curve is a simple rectangle, so this isn’t needed - you could instead just make a rectangular mesh of regular triangles and pull all the naked points to the target boundary (or indeed just scale them without Kangaroo). Is the rectangle the actual curve you want to use, or just an example here?

1 Like

Its actually the curve I need. :sweat_smile:

Although it might change into something more wavy. This should be the more extreme case.

How would you approach it for this case? Thank you!

Wavy Curve.3dm (66.0 KB)

I tried with another approach which resembled my shape more closely, I think it is almost working except at the corners.


dot_distribute_new3.gh (43.4 KB)