This is a technical demonstration of an algorithm developed to generate residential housing blocks in closed planar polygons. The script can be used for any kind of closed polygon to generate different kind of city blocks (closed ot semi-open). The algorithm is bound to current swedish measurement restrictions and standards, meaning every volumetric iteration is a design passing validation.
You can choose to optimize the volume by the following parameters: BTA, Daylight, Views, Entrance Points & Apartment Units
The script then generates hundreds of different design proposals which all follow your chosen criteria for the housing block.