homemaker-layout/examples/programme-house2/patterns.config

100 lines
1.8 KiB
Text
Raw Normal View History

---
# Example patterns.config for programme-driven building evolution
#
# programme-house2: fixes for geometric feasibility on this plot (59 m²/floor)
#
# Fix 1: l1 level constraint removed — upper-floor LDK is achievable on a
# tight urban plot; the level: 0 requirement caused 21/~100 corpus fails.
# Fix 2: l1 size reduced from [35.0, 8.0] (min ~27 m²) to [25.0, 6.0]
# (min ~19 m²) — 25 m² is realistic for a 2-bed house on this plot
# and fits within a half-floor cell without competing with circulation.
# Building programme: 2-bedroom house with ensuite
spaces:
b1:
name: Master Bedroom
size:
- 16.0
- 4.0
width:
- 4.0
- 1.0
proportion:
- 1.5
- 0.5
adjacency:
- c
t1:
name: Ensuite Bathroom
size:
- 5.0
- 1.5
width:
- 2.5
- 0.5
adjacency:
- b1
b2:
name: Second Bedroom
size:
- 12.0
- 3.0
width:
- 3.5
- 0.8
adjacency:
- c
t2:
name: Guest Bathroom
size:
- 4.0
- 1.5
adjacency:
- c
l1:
name: Living/Dining/Kitchen
size:
- 25.0
- 6.0
width:
- 4.5
- 1.0
proportion:
- 2.0
- 0.8
adjacency:
- c
t3:
name: Ground Floor WC
size:
- 3.0
- 1.0
adjacency:
- c
level: 0
# Building constraints
storey_minimum: 2
storey_limit: 5
force_roof_garden: 0
# Circulation ratio (penalise excessive corridors)
ratio_circulation:
- 0.00
- 0.15
# Outside space ratio
ratio_outside:
- 0.30
- 0.15
# Staircase requirements
staircase_min: 1
staircase_max: 1
# Other standard parameters can be included
value_inside: 300.0
value_circulation: 50.0
value_outside: 100.0
value_supported: 300.0