Project 2
This project is aimed to maximize the whole structure based on some criteria i set. The criteria includes the less than the maximum slope, not self-intersected and the dimension is within certain range in x, y, z direction.
Maximize the Slope first while adjusting
the Mobius Strip index. I set the maximum slope as 1:6. The goals is achieved by Galapagos function.
The steepest slope of the surface is generated using python code.
One criteria is to limit the width of the
structure. The maximum distance between points
in XY plane should also be the maximum width of the structure.
The next step is to maximize the volume
while keeping the whole structure within certain area and height. This method
models that how to fit the structure within a given site and fulfill the height
control requirement.
In order to make sure the structure is
completely within a certain 3-D
“bounding box”, I respectively compare the dimension of their bounding box in
x, y, z direction. Any possibilities that exceeds the range would be excluded
using python node.
All are ready to run the Galopago
node. The geno
variable includes the scale and the width of the structure, while excluding the
width which exceed the largest distance in XY plane, and the dimension exceeds
the range of the certain bounding box. The fitness would be the largest volume.