Added an easier version of programme-house

This commit is contained in:
Bruno Postle 2026-06-16 07:57:50 +01:00
parent e623a76bd4
commit bb50cb0c49
2 changed files with 124 additions and 0 deletions

View file

@ -0,0 +1,25 @@
---
node:
-
- 1.67100188077385
- 11.9169190395339
-
- 8.72124918939699
- 13.7119442286569
-
- 6.79637028658874
- 21.3797854212389
-
- -0.42152047183069
- 19.9368564494913
perimeter:
a: private
b: ~
c: ~
d: ~
type: O
rotation: 0
height: 3
elevation: 0.0
wall_inner: 0.08
wall_outer: 0.25

View file

@ -0,0 +1,99 @@
---
# 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