Hi all, I’m a really new grasshopper user,
Recently I saw the following GIF on the Internet, and this project is about the optimization of plots. I think to do this have to make some rules(I just try……):
1.Keep area(㎡) in a domain
2.Keep every plot in a fixed length-width ratio
3.Eliminate sharp corners
4.Building orientation(Vector)
This is the Reference image(gif…you can refresh the web to see again):
And I use kangaroo to test whether these rules can achieve the goal of optimizing the plots.
First, I use the Voronoi polygon to simulate the initial plots.
Next, I try to test the Rule1(Keep area(㎡) in a domain) .But the results are not ideal. I have some problem for the result :
1.Is there any force in Kangaroo can be used in my case?There are PolygonArea and OnCurve.
2.How to use Plankton mesh with Kangaroo? I think halfedge data structure is meaningful in this case, but I don’t know how to use it to simulate the plots.
3.How to keep the points on the line never move outside the boundry?
Initial plots:
I haven’t tried it myself but it shouldn’t be too difficult.
This thread is a bit old but the idea is there. I think the polygon centre component has been updated to have multiple outputs, you’d want the area centre.
I’ve done something similar using K2. I’ve adapted it to the voronoi diagram. The workaround is a constant tension goal for the edges of the polygons to avoid overlapping and quickly bring it down to 0.0 so the system can converge to equal areas.
I’m not sure I fully understand what you mean of the question.
I know the functionality of the “populate 2D" ,but I haven’t used the “P”(Points of list).
Hey @m_tsiliakos
I have tried your gh image. But there is a in my file, when I connect the “ConstantTension” to the “Solver”, it gives me the following error: 1. Solution exception:Object reference not set to an instance of an object. If I don’t connect the “ConstantTension” to the “Solver”, the file is OK, but the result is not ideal.
So can you upload your gh file to me ? I want to check my file.
Thank you !!!