Place walls on grid intersection

I’m trying to place my walls between grid intersection, I can place the walls on the grids but they are the length of the grids so I must be close. I’m re-using a portion of another script as I want to merge this with the other script.

I have isolated the outer grids and have the intersection points of the grids but I’m struggling to workout how to connect the dots to make the lines between the intersections. Below is what I’ve made so far, I’m stuck on the last portion of the script.


Place Walls On Grid Intersection_WIP_20230307.dyn (638.9 KB)

Some more progres on this, I found this thread: Order of points in space - #5 by Mark.Ackerley

Which helped me get to the point where I have a polygon along the point on which to place walls, which is also where I’m stuck. How do I take the resulting polygon and turn it into curves which I can use with the make wall node?

I found the missing piece in this thread: Create AreaBoundary lines from coordinates

And the final part of the script

1 Like