ArchLang Playground

Flat Renovation (status) — an ArchLang floor plan example

A 1960s two-bedroom flat drawn for its works: the walls that come out dashed, the new walls in brick, the rooms as they will be.

This plan compiles to 7 rooms, 85.5 m² of floor area and 7 windows; every room is reachable from the entrance.

Balcony 4.5 m² Kitchen / Dining / Living 36.3 m² Hall 15.0 m² Bathroom 8.1 m² Utility 8.1 m² Walk-in wardrobe 3.6 m² Ensuite 3.6 m² Main bedroom 10.8 m² 7800 11700 3850 2400 1500 600 1000 1400 950 ROOM SCHEDULE NO. NAME AREA (CENTRELINE, m²) NET AREA (m²) 01 Kitchen / Dining / Living 36.30 33.24 02 Hall 15.00 13.52 03 Bathroom 8.10 7.25 04 Utility 8.10 7.00 05 Walk-in wardrobe 3.60 3.23 06 Ensuite 3.60 3.04 07 Main bedroom 10.80 9.52 TOTAL 85.50 76.80 LEGEND carpeting poche stone tile floor timber demolished new wc basin shower bathtub kitchen_sink counter stove fridge double_bed nightstand wardrobe sofa coffee_table tv_unit table chair dishwasher washer dryer rug laundry_sink range_hood bar_counter coat_rack shoe_cabinet floor_lamp console_table tall_cabinet fixed window casement window tilt window tilt_turn window glazed_sliding door NOTES 1. Existing walls to be retained are drawn hatched. 2. Walls to be demolished are drawn dashed: the kitchen/dining and dining/living walls. 3. New walls are drawn solid: the wardrobe/ensuite wall and the blocking-up of the old bedroom 2 door. 4. New doors: main bedroom to walk-in wardrobe, wardrobe to ensuite. New opening: hall to living room. 5. Former store converted to utility room; washer and dryer vented to the access gallery. N 01 m PROJECTFlat 14, Elm CourtDRAWN BYArchLangDATE2026-12-03DRAWING NO.SR-10REVISIONASCALE1:50LEVEL4 — Fourth floor
"Flat 14, Elm Court: renovation" — a 7-room floor plan, 85.5 m² total: Kitchen / Dining / Living (36.3 m²), Hall (15 m²), Bathroom (8.1 m²), Utility (8.1 m²), Walk-in wardrobe (3.6 m²), Ensuite (3.6 m²), Main bedroom (10.8 m²); 7 doors, 7 windows, entrances via d_front, d_balcony.
Open in the editor

What this plan uses

The parts of the language this plan's source writes, each linked to its section of the language reference.

The source

This is the whole plan. The drawing above is what the compiler produced from it — nothing was drawn by hand.

# Flat 14, Elm Court: the renovation of a 1960s deck-access two-bedroom flat into an open-plan
# home. One sheet carries both states, the way a building-control drawing does:
#   - walls drawn in the light hatched poché are EXISTING and stay;
#   - walls drawn dashed (`status demolish`) are the 1960s walls that come out;
#   - walls drawn solid (`status new`, built in brick) are the NEW work.
# Everything else (rooms, doors, windows, furniture) is the flat as it will be lived in.
#
# The works: the kitchen/dining and dining/living walls come down to make one kitchen, dining
# and living room off the balcony; the small second bedroom is split by a new wall into a
# walk-in wardrobe and an ensuite, both reached from the main bedroom through new doors, and
# its old door off the hall is blocked up; the old store off the hall becomes a utility room.
plan "Flat 14, Elm Court: renovation" {
  units mm
  grid 50
  paper A3 portrait
  scale 1:50
  north up
  schedule rooms
  legend
  notes "Existing walls to be retained are drawn hatched."
  notes "Walls to be demolished are drawn dashed: the kitchen/dining and dining/living walls."
  notes "New walls are drawn solid: the wardrobe/ensuite wall and the blocking-up of the old bedroom 2 door."
  notes "New doors: main bedroom to walk-in wardrobe, wardrobe to ensuite. New opening: hall to living room."
  notes "Former store converted to utility room; washer and dryer vented to the access gallery."

  level 4 "Fourth floor" height 2700 {
    # ---- the flat after the works ----
    room id=r_kdl polygon (0,0) (3400,0) (3400,3900) (6400,3900) (6400,7500) (0,7500)
      label "Kitchen / Dining / Living" at (1700,6800) uses kitchen dining living floor timber
    room id=r_hall polygon (3400,0) (5400,0) (5400,2700) (11400,2700) (11400,3900) (3400,3900)
      label "Hall" at (4400,1600) uses entry hall floor stone
    room id=r_bath at (5400,0)    size 3000x2700 label "Bathroom"      uses bath floor tile
    room id=r_util at (8400,0)    size 3000x2700 label "Utility"       uses utility floor tile
    room id=r_wiw  at (6400,3900) size 2000x1800 label "Walk-in wardrobe" uses storage floor carpeting
    room id=r_ens  at (6400,5700) size 2000x1800 label "Ensuite"       uses bath floor tile
    room id=r_bed  at (8400,3900) size 3000x3600 label "Main bedroom"  uses bedroom floor carpeting

    walls from rooms exterior 300 partition 100

    # ---- demolition: the 1960s kitchen/dining and dining/living walls ----
    wall id=x_kitchen partition thickness 100 status demolish { (0,3400) (3400,3400) }
    wall id=x_dining  partition thickness 100 status demolish { (3400,3900) (3400,7500) }

    # ---- new work ----
    # The new wall that splits the old bedroom 2 into a walk-in wardrobe and an ensuite.
    wall id=n_split partition thickness 100 material brick status new between r_wiw and r_ens
    # The old bedroom 2 door off the hall, blocked up.
    wall id=n_infill partition thickness 100 material brick status new { (7350,3900) (8150,3900) }

    # ---- doors ----
    door id=d_front on r_hall.top at 1000 from start width 1000 swing inward
    opening id=o_living between r_hall and r_kdl at 700 from r_hall.left width 1000
    door id=d_bath between r_hall and r_bath at 600 from r_bath.left width 800 swing into r_bath
    door id=d_util between r_hall and r_util at 600 from start width 800 swing into r_util
    door id=d_bed between r_hall and r_bed at 550 from start width 800 hinge near end swing into r_bed
    door id=d_wiw between r_bed and r_wiw at 1100 from start width 800 hinge near start swing into r_wiw
    door id=d_ens sliding between r_wiw and r_ens at 1350 from start width 800
    door id=d_balcony glazed_sliding on r_kdl.bottom at 4900 from start width 2400

    # ---- windows ----
    window casement on r_kdl.top at 2400 from start width 700
    window fixed on r_kdl.left at 1800 from start width 800
    window casement on r_kdl.left at 5300 from start width 1400
    window tilt on r_bath.top at 2300 from start width 800 sill 1500
    window tilt on r_util.top at 1800 from start width 800 sill 1200
    window tilt on r_ens.bottom at 1500 from start width 600 sill 1500
    window tilt_turn on r_bed.bottom at 1500 from start width 1400

    # ---- dimensions on the building ----
    dim (-150,-150)->(-150,7650) offset 900
    dim (-150,7650)->(11550,7650) offset 2400
    let SOUTH = [-150, 3700, 6100, 7600, 8200, 9200, 10600, 11550]
    for i in 0..7 {
      dim (SOUTH[i],7650)->(SOUTH[i + 1],7650) offset 1700
    }

    # ---- kitchen: the run under the gallery window, a breakfast bar with its stools ----
    # A `bar_counter`, not an `island`: the island symbol always draws a sink (compact) or a hob
    # (aspect >= 1.8), and the run already carries both, so an island would draw a second one.
    furniture fridge against r_kdl.top offset 500 size 700x650 in r_kdl
    furniture counter against r_kdl.top offset 1125 size 550x600 in r_kdl
    furniture stove against r_kdl.top offset 1700 in r_kdl
    furniture range_hood against r_kdl.top offset 1700 in r_kdl
    furniture kitchen_sink against r_kdl.top offset 2400 size 700x600 in r_kdl
    furniture dishwasher against r_kdl.top offset 3050 in r_kdl
    furniture bar_counter at (850,1850) size 1800x900 in r_kdl

    # ---- dining by the west window ----
    furniture id=t_dining table at (700,4500) size 1900x950 in r_kdl
    furniture chair at (750,3950) size 500x500 facing t_dining in r_kdl
    furniture chair at (1400,3950) size 500x500 facing t_dining in r_kdl
    furniture chair at (2050,3950) size 500x500 facing t_dining in r_kdl
    furniture chair at (750,5500) size 500x500 facing t_dining in r_kdl
    furniture chair at (1400,5500) size 500x500 facing t_dining in r_kdl
    furniture chair at (2050,5500) size 500x500 facing t_dining in r_kdl

    # ---- living: sofa facing the TV wall, the balcony doors beside ----
    furniture id=f_tv tv_unit at (5900,5000) size 450x1400 in r_kdl
    furniture sofa at (3600,4700) size 900x2200 facing f_tv in r_kdl
    furniture id=f_ct coffee_table at (4800,5200) size 600x1000 in r_kdl
    furniture rug at (3500,4500) size 2300x2400 in r_kdl
    furniture floor_lamp at (5900,4100) size 400x400 in r_kdl

    # ---- hall ----
    furniture shoe_cabinet against r_hall.left offset 1700 size 900x350 in r_hall
    furniture coat_rack at (4950,250) size 400x400 in r_hall
    furniture console_table against r_hall.bottom offset 2400 size 1000x350 in r_hall

    # ---- bathroom ----
    furniture bathtub against r_bath.top offset 900 size 1700x700 in r_bath
    furniture basin against r_bath.right offset 900 size 600x450 in r_bath
    furniture wc against r_bath.right offset 1800 size 400x700 in r_bath

    # ---- utility ----
    furniture washer against r_util.top offset 400 in r_util
    furniture dryer against r_util.top offset 1050 in r_util
    furniture laundry_sink against r_util.top offset 1800 in r_util
    furniture tall_cabinet against r_util.right offset 1300 size 1200x500 in r_util

    # ---- main bedroom, walk-in wardrobe, ensuite ----
    furniture double_bed against r_bed.right offset 1900 size 1500x2000 in r_bed
    furniture nightstand against r_bed.right offset 850 in r_bed
    furniture nightstand against r_bed.right offset 2950 in r_bed
    furniture wardrobe against r_wiw.left offset 900 size 1700x600 in r_wiw
    furniture wardrobe against r_wiw.top offset 1050 size 800x600 in r_wiw
    furniture shower in r_ens anchor bottom-left flush size 900x900
    furniture basin against r_ens.left offset 400 size 600x450 in r_ens
    furniture wc against r_ens.right offset 1250 size 400x700 in r_ens

    # ---- the ground: the balcony to the south (the access gallery to the north is common parts, not drawn) ----
    outdoor id=g_balcony balcony at (3400,7650) size 3000x1500 label "Balcony"
  }

  title {
    project "Flat 14, Elm Court"
    drawn_by "ArchLang"
    date "2026-12-03"
    number "SR-10"
    revision "A"
  }
}

More in Homes

Read more