Together with the chair of Computational Architecture at the Bauhaus-University Weimar we have developed a few Grasshopper snippets for the course Computational Urban Analysis. To make them accessible to a wider audience, we share them on this blogpost.
Curves drawn on a layer are directly segmented. Closed segments are turned into areas with an offset and coloured according to their size.
Distance to all buildings
The distance from each building to all other building is calculated. Grayscale colours show which ones have the shortest and longest ways. Furtheron the streets are coloured by their Betweenness Centrality.
A boundary is created around a point with a given area. The influence of terrain and road can be weighte and lead to different results. This component makes use of Alpha Shape by Mateusz Zwierzycki which is part of Milkbox. The script is inspired by work of Ondřej Veselý.
Includes further on a definition to expand streets by weight.
Fill polygons by area
An adapted version of the weighted boundary script, which adds two more boundaries to the Grasshopper definition and keeps all of them inside of given polygon shapes.
A script which redistributes quantities to other points by given percentage.