homemaker-layout/examples/programme-house/patterns.config
Bruno Postle c37f03f1a1 Close homemaker-py-hqw: make project standalone (no Perl/Urb dependency)
Copy programme-house corpus (36 .dom + .score + .fails + patterns.config)
into examples/ and update all 5 test files to use project-relative paths.
Native Python fitness (use_native=True) was already the default; tests now
run without /home/bruno/src/urb present.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 23:39:20 +01:00

96 lines
1.5 KiB
Text

---
# Example patterns.config for programme-driven building evolution
#
# This file demonstrates how to define a building programme within
# the standard patterns.config file format. The presence of the
# 'spaces' key automatically triggers programme-driven mode.
# 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:
- 35.0
- 8.0
width:
- 4.5
- 1.0
proportion:
- 2.0
- 0.8
level: 0
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