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.
What this plan uses
The parts of the language this plan's source writes, each linked to its section of the language reference.
- Paper and scale
- Site and orientation
- The lot line (boundary)
- Bindings (let)
- Control flow (for, if, while)
- Walls
- Walls from rooms
- Rooms
- Doors
- Windows
- Openings
- Furniture
- Dimensions
- Outdoor ground
- Fences
- Title block
- Sheet tables (schedules, legend, notes)
- Zones
- Per-element styles (style)
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
- Studio Office: An architecture practice of about 300 m² on a column grid: reception, meeting room, model shop and an open studio on the south light.
- Health Centre: A community health centre on one wide corridor: reception and waiting at the public end and eight identical consulting rooms.
- Library Pavilion (2 levels): A two-storey corner library round a double-height circular reading room ringed by eight columns that carry the gallery above.
- Museum (A1 sheet): A 100 x 60 m museum issued on a real A1 sheet at 1:200, because at that size a web-scaled drawing stops working.
- Aquarium (curves): A public aquarium built around a cylindrical tank — the curved-geometry example: arc walls and a circular room.
- Library (legend): A public library around a circular reading room, issued on a sheet with a room schedule and a fixture legend.
- Transit Hall: A 90 x 40 m metro concourse split by its gate line: one 300 mm partition with nine openings punched by a loop.
- Clinic (place ×6): An outpatient wing whose six consulting rooms are one component placed six times, rather than six copies.
- Practice Office (workplace): A 225 m² office on a spine corridor: open workspace, meeting rooms, break room and an accessible WC, issued with tagged openings.
- Corner Cafe (front and back): A 15 x 10 m cafe split into front and back of house: a dining room for eighteen, a servery, a kitchen and a store.
- Classroom Block (school): A single-storey school block: three 60 m² classrooms on a 2 m corridor, with lobby, staff prep, pupil WCs and an accessible WC.