ArchLang Playground

City Apartment — an ArchLang floor plan example

A one-bedroom city flat whose open living-kitchen and bedroom take the sunny side and open onto a long balcony.

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

Balcony 16.2 m² Dressing 5.2 m² Bathroom 5.7 m² Hall 4.7 m² WC 2.2 m² Laundry 1.9 m² Bedroom 16.8 m² Living / Kitchen 34.7 m² 11100 6900 1850 2000 1000 1200 2200 2400 450 ROOM SCHEDULE NO. NAME AREA (CENTRELINE, m²) NET AREA (m²) 01 Dressing 5.20 4.32 02 Bathroom 5.72 5.04 03 Hall 4.68 4.08 04 WC 2.24 1.80 05 Laundry 1.92 1.65 06 Bedroom 16.80 15.20 07 Living / Kitchen 34.72 31.82 TOTAL 71.28 63.91 N 01 m PROJECTCity ApartmentDRAWN BYArchLangDATE2026-12-03DRAWING NO.SR-02REVISIONASCALE1:50LEVEL4 — Fourth floor
"City Apartment" — a 7-room floor plan, 71.28 m² total: Dressing (5.2 m²), Bathroom (5.72 m²), Hall (4.68 m²), WC (2.24 m²), Laundry (1.92 m²), Bedroom (16.8 m²), Living / Kitchen (34.72 m²); 8 doors, 7 windows, entrances via d_front, d_balcony, and 1 more.
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.

# City Apartment: a one-bedroom flat on the fourth floor of a city block. The common stair
# and lift are to the north, the street and the sun to the south. The entrance hall, the
# bathroom, a guest WC and a laundry store line the north side; the bedroom and the
# open living-kitchen take the whole south facade and both open onto a long balcony.
plan "City Apartment" {
  units mm
  grid 50
  paper A3 landscape
  scale 1:50
  north up
  schedule rooms

  level 4 "Fourth floor" height 2900 {
    room id=r_dress at (0,0)       size 2000x2600 label "Dressing"     uses storage floor timber
    room id=r_bath  at (2000,0)    size 2200x2600 label "Bathroom"     uses bath floor tile
    room id=r_hall  at (4200,0)    size 1800x2600 label "Hall"         uses entry hall floor stone
    room id=r_wc    at (6000,0)    size 1600x1400 label "WC"           uses wc floor tile
    room id=r_store at (6000,1400) size 1600x1200 label "Laundry"      uses storage utility floor concrete
    room id=r_bed   at (0,2600)    size 4200x4000 label "Bedroom"      uses bedroom floor carpeting
    room id=r_live polygon (7600,0) (10800,0) (10800,6600) (4200,6600) (4200,2600) (7600,2600)
      label "Living / Kitchen" uses living kitchen dining floor timber

    walls from rooms exterior 300 partition 100 {
      open between r_hall and r_live width 1200
    }

    # ---- doors ----
    door id=d_front on r_hall.top at center width 1000 swing inward
    door id=d_bath between r_hall and r_bath at 2050 from start width 800 swing into r_bath
    door id=d_wc sliding between r_hall and r_wc at 750 from start width 800
    door id=d_store between r_hall and r_store at center width 800 swing into r_store
    door id=d_bed between r_live and r_bed at 550 from start width 800 swing into r_bed
    door id=d_dress pocket between r_bed and r_dress at 1400 from start width 800
    door id=d_balcony glazed_sliding on r_live.bottom at 5100 from start width 2400
    door id=d_bed_balcony glazed_sliding on r_bed.bottom at 2700 from start width 2000

    # ---- windows ----
    window casement on r_live.top at 1450 from start width 900
    window fixed on r_live.bottom at 1100 from start width 1200
    window tilt_turn on r_live.right at 4900 from start width 1000
    window tilt on r_bath.top at 1000 from start width 700 sill 1500
    window tilt on r_wc.top at 500 from start width 500 sill 1500
    window casement on r_bed.left at 800 from start width 1200
    window fixed on r_dress.top at 1300 from start width 600 sill 1500

    # ---- dimensions, hand-placed on the flat: overall length (north, over the common
    # corridor) and depth (west), outer face to outer face, and a chain of every jamb on the
    # south facade, read beyond the balcony.
    dim (10950,-150)->(-150,-150) offset 900
    dim (-150,-150)->(-150,6750) offset 900
    let SOUTH = [-150, 1700, 3700, 4700, 5900, 8100, 10500, 10950]
    for i in 0..7 {
      dim (SOUTH[i],6750)->(SOUTH[i + 1],6750) offset 2100
    }

    # ---- the balcony: the whole south front, 1.5 m deep ----
    outdoor id=g_balcony balcony at (0,6750) size 10800x1500 label "Balcony"

    # ---- hall ----
    furniture shoe_cabinet against r_hall.left offset 900 size 1000x300 in r_hall

    # ---- bathroom ----
    furniture bathtub against r_bath.top offset 900 size 1700x750 in r_bath
    furniture basin against r_bath.right offset 1250 size 600x450 in r_bath
    furniture mirror against r_bath.right offset 1250 size 600x50 in r_bath
    furniture wc against r_bath.bottom offset 550 in r_bath
    furniture bidet against r_bath.bottom offset 1150 in r_bath
    furniture towel_rail against r_bath.left offset 1800 size 500x100 in r_bath

    # ---- WC and laundry ----
    furniture wc against r_wc.right offset 900 in r_wc
    furniture basin against r_wc.top offset 1050 size 450x350 in r_wc
    furniture washer against r_store.right offset 850 in r_store
    furniture water_heater against r_store.top offset 1300 size 500x500 in r_store

    # ---- dressing ----
    furniture wardrobe against r_dress.left offset 1250 size 2100x600 in r_dress
    furniture vanity against r_dress.right offset 1000 size 1000x450 in r_dress

    # ---- bedroom: the bed's head on the living-room wall, both sides free ----
    furniture rug at (1650,3750) size 2300x2400 in r_bed
    furniture id=f_bed bed against r_bed.right offset 2150 size 1600x2000 in r_bed
    furniture nightstand against r_bed.right offset 1150 size 400x400 in r_bed
    furniture nightstand against r_bed.right offset 3150 size 400x400 in r_bed
    furniture wall_ac against r_bed.right offset 2150 in r_bed
    furniture radiator against r_bed.left offset 800 size 1000x100 in r_bed
    furniture tv against r_bed.left offset 2150 size 1200x100 in r_bed
    furniture dresser against r_bed.left offset 3250 size 1000x450 in r_bed

    # ---- kitchen: an L on the north and east walls ----
    furniture fridge against r_live.top offset 350 in r_live
    furniture counter against r_live.top offset 850 size 400x600 in r_live
    furniture kitchen_sink against r_live.top offset 1450 size 800x600 in r_live
    furniture dishwasher against r_live.top offset 2150 in r_live
    furniture upper_cabinet against r_live.top offset 850 size 400x350 in r_live
    furniture upper_cabinet against r_live.top offset 2150 size 600x350 in r_live
    furniture counter against r_live.right offset 450 in r_live
    furniture stove against r_live.right offset 1050 in r_live
    furniture range_hood against r_live.right offset 1050 size 600x500 in r_live
    furniture oven against r_live.right offset 1650 size 600x600 in r_live
    furniture microwave against r_live.right offset 2200 in r_live

    # ---- dining ----
    furniture id=t_dining table at (8000,2300) size 1600x900 in r_live
    furniture chair at (8200,1750) size 500x500 facing t_dining in r_live
    furniture chair at (8900,1750) size 500x500 facing t_dining in r_live
    furniture chair at (8200,3250) size 500x500 facing t_dining in r_live
    furniture chair at (8900,3250) size 500x500 facing t_dining in r_live

    # ---- lounge: the TV on the bedroom wall, the corner sofa facing it ----
    furniture rug at (4900,3600) size 2600x2400 in r_live
    furniture id=f_tvu tv_unit against r_live.left offset 2200 size 1800x450 in r_live
    furniture sofa_l at (6300,3500) size 1600x2600 facing f_tvu in r_live
    furniture coffee_table at (5250,4200) size 700x1200 in r_live
    furniture ottoman at (5300,3450) size 500x500 in r_live
    furniture side_table at (6350,3050) size 450x450 in r_live
    furniture display_cabinet at (6100,2650) size 1000x400 in r_live
    furniture chaise at (4850,5750) size 1400x700 rotate 180 in r_live
    furniture potted_tree at (4300,5900) size 500x500 in r_live
    furniture plant at (7150,2700) size 400x400 in r_live

    # ---- the daybed nook by the east window, screened from the lounge ----
    furniture daybed at (9750,3800) size 900x2000 rotate 90 in r_live
    furniture folding_screen at (7950,3900) size 300x1500 rotate 90 in r_live
    furniture bean_bag at (8450,4200) size 800x800 in r_live

    # ---- balcony ----
    furniture condenser at (300,6800) size 850x350
    furniture loveseat at (4700,6800) size 1500x850
    furniture id=t_balc outdoor_table at (6500,7000) size 700x700
    furniture outdoor_chair at (7300,7100) size 500x500 facing t_balc
    furniture plant at (10200,7700) size 450x450
    furniture plant at (2000,7700) size 450x450
  }

  title {
    project "City Apartment"
    drawn_by "ArchLang"
    date "2026-12-03"
    number "SR-02"
    revision "A"
  }
}

More in Homes

Read more