ArchLang Playground

Corner Café & Bakery — an ArchLang floor plan example

A street-corner café with an artisan bakery on show behind the service bar, a pavement terrace and a delivery yard.

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

Terrace 13.0 m² Service passage 18.8 m² Café 97.5 m² WC lobby 6.1 m² Accessible WC 6.4 m² WC 4.6 m² Store 5.4 m² Staff room 6.8 m² Bakery kitchen 38.3 m² 15300 11300 1250 1800 400 1600 400 3600 1100 3000 400 1200 550 D01 D02 D03 D04 D05 D06 D07 D08 W01 W02 W03 W04 W05 W06 W07 W08 W09 W10 ROOM SCHEDULE NO. NAME AREA (CENTRELINE, m²) NET AREA (m²) Front of house 01 Café 97.50 92.61 02 WC lobby 6.08 5.40 03 Accessible WC 6.38 5.40 04 WC 4.64 4.05 SUBTOTAL 114.60 107.46 Back of house 05 Store 5.40 4.94 06 Staff room 6.75 5.98 07 Bakery kitchen 38.25 35.69 SUBTOTAL 50.40 46.61 TOTAL 165.00 154.07 DOOR & WINDOW SCHEDULE TAG ROOM(S) WIDTH TYPE HAND D01 exterior / Café 1800 double - D02 exterior / Café 3000 glazed_sliding - D03 Café / WC lobby 900 hinged left D04 WC lobby / Accessibl... 1000 hinged right D05 WC lobby / WC 800 hinged left D06 Store / Bakery kitchen 900 hinged left D07 Staff room / Bakery ... 800 hinged left D08 exterior / Bakery ki... 1000 hinged left W01 Café 1200 fixed - W02 Café 3600 fixed - W03 Café 1600 fixed - W04 Café 1800 fixed - W05 Café 1800 fixed - W06 Bakery kitchen 1200 casement - W07 Bakery kitchen 1200 casement - W08 Staff room 1200 tilt_turn - W09 Accessible WC 600 tilt - W10 WC 600 tilt - NOTES 1. Shell: 300 brick; west wall is the party wall. 2. Bakery kitchen: tiled floor and walls, extract over ovens to roof. 3. Accessible WC: grab rails and alarm to the approved layout. 4. Terrace licence: 8.0 x 1.8 m, screens removed at closing. N 02 m PROJECTCorner Café & BakeryDRAWN BYArchLangDATE2026-12-03DRAWING NO.SR-06REVISIONASCALE1:100
"Corner Café & Bakery" — a 7-room floor plan, 165 m² total: Café (97.5 m²), WC lobby (6.08 m²), Accessible WC (6.38 m²), WC (4.64 m²), Store (5.4 m²), Staff room (6.75 m²), Bakery kitchen (38.25 m²); 8 doors, 10 windows, entrances via d_entry, d_terrace, 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.

# Corner Café & Bakery: a ground-floor café with an artisan bakery on a street corner. The
# high street runs along the north face and a side street along the east face, so the whole
# north and east faces are shopfront. Customers come in through a double door at the corner
# and meet the long service bar; behind it a wide pass opens straight into the bakery
# production kitchen, so the bakers are on show from the bar and, through its east windows,
# from the side street. Front of house: a window bar on the high street, banquettes on the
# party wall, loose tables, and a pavement terrace behind a windbreak. Back of house:
# customer WCs (one accessible) off a lobby, store, staff room, and a delivery door to the yard.
plan "Corner Café & Bakery" {
  units mm
  grid 50
  paper A3 landscape
  scale 1:100
  north down
  schedule rooms
  schedule openings

  site {
    street south
    hemisphere north
    boundary (-150,-3450) (18650,-3450) (18650,12150) (-150,12150)
  }

  # ---- rooms -------------------------------------------------------------------------
  zone front "Front of house" {
    room id=r_cafe    at (0,0)        size 15000x6500 label "Café"           uses dining floor timber
    room id=r_lobby   at (0,6500)     size 3800x1600  label "WC lobby"       uses hall floor tile
    room id=r_wc_acc  at (0,8100)     size 2200x2900  label "Accessible WC"  uses wc floor tile
    room id=r_wc      at (2200,8100)  size 1600x2900  label "WC"             uses wc floor tile
  }
  zone back "Back of house" {
    room id=r_store   at (3800,6500)  size 2700x2000  label "Store"          uses storage floor concrete
    room id=r_staff   at (3800,8500)  size 2700x2500  label "Staff room"     uses office floor timber
    room id=r_kitchen at (6500,6500)  size 8500x4500  label "Bakery kitchen" uses kitchen floor tile
  }

  # The shell is brick: one ring round the whole footprint. Partitions are derived.
  wall id=w_shell exterior thickness 300 material brick around [r_cafe r_lobby r_wc_acc r_wc r_store r_staff r_kitchen]
  walls from rooms exterior 300 partition 100
  style wall { stroke: "#3b2a20" }

  # ---- doors ---------------------------------------------------------------------------
  door id=d_entry double on r_cafe.top at 13000 from start width 1800 swing inward
  door id=d_terrace glazed_sliding on r_cafe.top at 3500 from start width 3000
  door id=d_lobby between r_cafe and r_lobby at 3000 from start width 900 swing into r_lobby
  door id=d_wc_acc between r_lobby and r_wc_acc at 1100 from start width 1000 swing into r_lobby
  door id=d_wc between r_lobby and r_wc at 800 from start width 800 swing into r_wc
  opening id=o_pass between r_cafe and r_kitchen at 4500 from start width 2000
  door id=d_store between r_kitchen and r_store at 1300 from start width 900 swing into r_store
  door id=d_staff between r_kitchen and r_staff at 700 from start width 800 swing into r_staff
  door id=d_delivery on r_kitchen.right at 3600 from start width 1000 swing inward

  # ---- windows -------------------------------------------------------------------------
  window fixed on r_cafe.top at 1000 from start width 1200 sill 300
  window fixed on r_cafe.top at 7900 from start width 3600 sill 300
  window fixed on r_cafe.top at 10900 from start width 1600 sill 300
  window fixed on r_cafe.right at 1500 from start width 1800 sill 300
  window fixed on r_cafe.right at 4500 from start width 1800 sill 300
  window casement on r_kitchen.right at 1000 from start width 1200
  window casement on r_kitchen.right at 2350 from start width 1200
  window tilt_turn on r_staff.bottom width 1200
  window tilt on r_wc_acc.bottom width 600 sill 1500
  window tilt on r_wc.bottom width 600 sill 1500

  # ---- dimensions, hand-placed on the building ------------------------------------------
  dim (15150,-1800)->(-150,-1800) offset 2450
  dim (-150,-150)->(-150,11150) offset 900
  let NORTH = [15150, 13900, 12100, 11700, 10100, 9700, 6100, 5000, 2000, 1600, 400, -150]
  for i in 0..11 {
    dim (NORTH[i],-1800)->(NORTH[i + 1],-1800) offset 1850
  }

  # ---- café: window bar on the high street (a shelf table; the bar_counter glyph draws its own stools) ----------------------------------------------
  furniture table against r_cafe.top offset 7900 size 3400x450 in r_cafe
  for i in 0..6 {
    furniture barstool at (6400 + i * 550, 700) size 400x400 in r_cafe
  }

  # ---- café: banquette along the party wall, two-tops in front of it ---------------------
  furniture bench against r_cafe.left offset 3100 size 4600x600 in r_cafe
  furniture table id=t_b0 at (900,1150) size 700x700 in r_cafe
  furniture table id=t_b1 at (900,2350) size 700x700 in r_cafe
  furniture table id=t_b2 at (900,3550) size 700x700 in r_cafe
  furniture table id=t_b3 at (900,4750) size 700x700 in r_cafe
  furniture chair at (1750, 1250) size 500x500 facing t_b0 in r_cafe
  furniture chair at (1750, 2450) size 500x500 facing t_b1 in r_cafe
  furniture chair at (1750, 3650) size 500x500 facing t_b2 in r_cafe
  furniture chair at (1750, 4850) size 500x500 facing t_b3 in r_cafe

  # ---- café: loose tables (four-tops by the terrace door, two-tops nearer the bar) -----
  furniture table id=t_1 at (3300,2400) size 800x800 in r_cafe
  furniture chair at (3450,1850) size 500x500 facing t_1 in r_cafe
  furniture chair at (3450,3250) size 500x500 facing t_1 in r_cafe
  furniture chair at (2750,2550) size 500x500 facing t_1 in r_cafe
  furniture chair at (4150,2550) size 500x500 facing t_1 in r_cafe
  furniture table id=t_2 at (5700,2400) size 800x800 in r_cafe
  furniture chair at (5850,1850) size 500x500 facing t_2 in r_cafe
  furniture chair at (5850,3250) size 500x500 facing t_2 in r_cafe
  furniture chair at (5150,2550) size 500x500 facing t_2 in r_cafe
  furniture chair at (6550,2550) size 500x500 facing t_2 in r_cafe
  furniture table id=t_3 at (3300,4300) size 800x800 in r_cafe
  furniture chair at (3450,3750) size 500x500 facing t_3 in r_cafe
  furniture chair at (3450,5150) size 500x500 facing t_3 in r_cafe
  furniture chair at (2750,4450) size 500x500 facing t_3 in r_cafe
  furniture chair at (4150,4450) size 500x500 facing t_3 in r_cafe
  furniture table id=t_4 at (8000,2300) size 800x800 in r_cafe
  furniture chair at (7450,2450) size 500x500 facing t_4 in r_cafe
  furniture chair at (8850,2450) size 500x500 facing t_4 in r_cafe
  furniture table id=t_5 at (10800,2300) size 800x800 in r_cafe
  furniture chair at (10250,2450) size 500x500 facing t_5 in r_cafe
  furniture chair at (11650,2450) size 500x500 facing t_5 in r_cafe

  furniture plant at (14300,5900) size 500x500 in r_cafe
  furniture plant at (6300,5900) size 500x500 in r_cafe

  # ---- service bar: the long counter, back counter either side of the pass ----------------
  furniture bar_counter at (7800,4200) size 6000x700 rotate 180 in r_cafe
  furniture counter against r_cafe.bottom offset 8850 size 2000x600 in r_cafe
  furniture fridge against r_cafe.bottom offset 12850 size 600x600 in r_cafe
  furniture counter against r_cafe.bottom offset 13500 size 700x600 in r_cafe

  # ---- bakery kitchen ------------------------------------------------------------------
  furniture kitchen_sink against r_kitchen.top offset 1000 size 1000x600 in r_kitchen
  furniture dishwasher against r_kitchen.top offset 1800 size 600x600 in r_kitchen
  furniture counter against r_kitchen.top offset 2750 size 1300x600 in r_kitchen
  furniture upper_cabinet against r_kitchen.top offset 1800 size 2600x350 in r_kitchen
  furniture counter against r_kitchen.top offset 6200 size 1100x600 in r_kitchen
  furniture fridge against r_kitchen.top offset 7100 size 700x700 in r_kitchen
  furniture fridge against r_kitchen.top offset 7800 size 700x700 in r_kitchen
  furniture oven against r_kitchen.bottom offset 3000 size 1000x800 in r_kitchen
  furniture oven against r_kitchen.bottom offset 4100 size 1000x800 in r_kitchen
  furniture oven against r_kitchen.bottom offset 5200 size 1000x800 in r_kitchen
  furniture stove against r_kitchen.bottom offset 6300 size 900x700 in r_kitchen
  furniture table at (9000,8150) size 3000x900 in r_kitchen

  # ---- store and staff room ------------------------------------------------------------
  furniture pantry against r_store.left offset 1000 size 1600x600 in r_store
  furniture pantry against r_store.top offset 1800 size 1000x600 in r_store
  furniture counter against r_staff.left offset 800 size 1000x500 in r_staff
  furniture id=t_staff table at (4900,9900) size 800x700 in r_staff
  furniture chair at (4300,10000) size 500x500 facing t_staff in r_staff
  furniture chair at (5850,10000) size 500x500 facing t_staff in r_staff

  # ---- WCs ---------------------------------------------------------------------------------
  furniture wc against r_wc_acc.left offset 2300 in r_wc_acc
  furniture basin against r_wc_acc.bottom offset 1300 in r_wc_acc
  furniture wc against r_wc.bottom offset 800 in r_wc
  furniture basin against r_wc.left offset 1500 in r_wc

  # ---- the ground: high-street pavement, side-street pavement, back yard ------------------
  outdoor id=g_terrace paving at (-150,-1750) size 8150x1600 label "Terrace"
  outdoor id=g_pave_n paving polygon (-150,-3450) (18650,-3450) (18650,-150) (8000,-150) (8000,-1750) (-150,-1750)
  outdoor id=g_pave_e paving at (15150,-150) size 3500x11300
  outdoor id=g_yard patio at (-150,11150) size 18800x1000 label "Service passage"

  # Terrace windbreak screens, open at the glazed door.
  fence post { (-150,-1750) (8000,-1750) (8000,-150) }

  furniture outdoor_table id=t_o0 at (500,-1300) size 700x700
  furniture outdoor_table id=t_o1 at (2800,-1300) size 700x700
  furniture outdoor_table id=t_o2 at (5100,-1300) size 700x700
  furniture outdoor_chair at (0,-1200) size 500x500 facing t_o0
  furniture outdoor_chair at (1300,-1200) size 500x500 facing t_o0
  furniture outdoor_chair at (2300,-1200) size 500x500 facing t_o1
  furniture outdoor_chair at (3600,-1200) size 500x500 facing t_o1
  furniture outdoor_chair at (4600,-1200) size 500x500 facing t_o2
  furniture outdoor_chair at (5900,-1200) size 500x500 facing t_o2
  furniture umbrella at (6800,-1550) size 1000x1000
  furniture plant at (7550,-500) size 350x350

  let BOLLARDS = [8400, 10800, 12800, 14400, 16000, 17600]
  for i in 0..6 {
    furniture bollard at (BOLLARDS[i], -3250) size 250x250
  }
  furniture bike_rack at (17800,1000) size 600x2400
  furniture bike_rack at (17800,4000) size 600x2400
  furniture bin at (13000,11350) size 700x600

  notes "Shell: 300 brick; west wall is the party wall." "Bakery kitchen: tiled floor and walls, extract over ovens to roof." "Accessible WC: grab rails and alarm to the approved layout." "Terrace licence: 8.0 x 1.8 m, screens removed at closing."

  title {
    project "Corner Café & Bakery"
    drawn_by "ArchLang"
    date "2026-12-03"
    number "SR-06"
    revision "A"
  }
}

More in Public buildings

Read more