Class: Technology, Rhinoceros, Grasshoper
Software: Rhinoceros, Grasshoper
Challenges: Optimize the position and rotation of towers on the site
Optimize the position and rotation of the towers on the site by creating certain conditions. First, the towers are placed on the territory in a random position, then we give them parameters for placement and gives the program the command to start searching for all and the best possible options. The more conditions are set, the fewer options the program will have and the desired result will be closer to the goal.
Picture 1 – the initially given geometric data in the Rhinoceros, which are connected to the Grasshopper. Picture 2 – what the model looks like after attaching all the geometry to the grasshopper and adding the geometric parameters of our city – Moscow.
General composition of parameters. In this scale, the details of the code are not visible, so consider them in larger order.
1 part, responsible for attaching the geometry to the code, also breaks the points of the upper and lower surfaces, for the subsequent convenience.
Part 2 is responsible for the random distribution of towers on the territory in order to make the process as independent as possible from a person.
Part 3 was used to imitate the sun. An inclined curve was joined, divided into control points, from which the buildings were built. Later it was replaced by a real sun with orientation to geolocation.
Part 4 connects with ladybug the real position of the gps data to the city’s location, its weather and the trajectory of the sun throughout the year, with the help of which shadows are built for the model.
Parts 5 and 6 are responsible for setting the main tasks for optimization: that houses would not stand on top of each other, that would not go out of the plot, that would not stand in the shadows of each other, do not come closer than at the nth distance to each other etc. In addition, the strength of each condition can be specified separately, i. E. for example, the condition not to stand on each other is equal to 1, but not to stand in the shadow of a friend only 0.5.
The optimization process, when the program goes through all possible options and selects the ones most suitable for the required parameters.
All variants of the optimization process depending on the given conditions.
Post-production of optimization.