I have a grid of lines. Each line has a start and and end point. Certain start points along the perimeter of my geometry have to be replaced with their projections on a given geometry. Then the start points and the end points have to form a new grid of lines.
I don’t clearly understand your question. Maybe a file or sketch would be helpfull. You can’t use “replace items”?
Trying this. For some reason I don’t end up with the same number of points. Replace items needs the same number of points. Trying to crack this one right now.
Here is a file.
replace points.gh (23.4 KB)
Yes, pretty much. Although I have refinned the def a bit. For some reason the Point in Curve eliminated more points than necessary. I am uploading an updated def. Trouble is that I also need the projected points to be also connected to each other as they were previously.
replace points.gh (18.2 KB)
Hey,
Maybe I’ve wasted time and in my opinion, It’s hard to get a diagrid pattern in the way you’re trying.
Anyway, if you are looking for such a pattern, you can easily make it with lunchbox plugin…
I just need to replace the ponts, nothing more. I have already created a part that can create any pattern I want. I am stuck at this last point. I have posted the last image only as reference.
I think the first def was almost perfect. Will try and make it work in a bit.