algorithmic modeling for Rhino
I am dealing with a similar issue I suppose: am trying to split a plan surface with a voronoi diagram in such a way to have two equal parts in area. the problem is that by putting as fitness the difference of the two areas it goes back and forth from negative to positive values, so far it seem useless to make it through galapagos. The next step i am targeting, once solvd this problem, is to have the surface divided in n parts equals in area. I post the definition if someonemight have already an approach to the problem.
You see where it says "Minimize" and "Maximize" in the Galapagos interface? Instead of clicking on the plus or minus symbols, just enter the value "0" (without the quotes) in the field and Galapagos will try to make the fitness match that value.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Minimize and Maximize are shortcuts for negative infinity and positive infinity respectively. Basically the solver tries to approach the target fitness as best it can. So when you Minimize, it will aim for lower and lower values, when you Maximize, it will aim for higher and higher values. You want the difference between the areas to be zero. Which means you want the solver to aim for zero.
Have you seen this blog post? It seems uncannily close to what you need.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by