Research Article

Reconstruction of Traditional Village Spatial Texture Based on Parametric Analysis

Code 4

LotInner -->Lot #Define the subdivided small plot LotInner as Lot
Lot -->
setback (rand (0.5,1))
#Make the Lot back a random value between 0.5 and 1 meter to form the flexibility of the street space
{all: jiexiang | remainder: BuildingLot}
#The setback part is used as the street, and the remaining part of the interior is used as the initial building base
BuildingLot -->
innerRectangle (scope){shape: build | remainder: lvhuaLot}
#Take the maximum inscribed rectangle of the initial building base, the rectangle is used as the building area, and the remaining part is used as the green space
build -->
shapeU (8, 5, 8) {shape: ao | remainder: lvhuaLot}
#Use the shapeU function to obtain a concave building base in the rectangular base, and the remaining part is used as a green space