Garden Cottage — an ArchLang floor plan example
A country cottage on a deep lot where the garden is the subject: a greenhouse, raised beds, a gazebo and an orchard.
This plan compiles to 7 rooms, 91.2 m² of floor area and 8 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 from rooms
- Rooms
- Polygonal rooms
- Doors
- Windows
- Openings
- Furniture
- Dimensions
- Roofs (the eaves line)
- Outdoor ground
- Fences
- Title block
- Sheet tables (schedules, legend, notes)
- Levels (storeys)
The source
This is the whole plan. The drawing above is what the compiler produced from it — nothing was drawn by hand.
# Garden Cottage: a one-storey country cottage on a deep lot where the garden is the subject.
# The lane is to the north. The cottage is a short bar: entry, boot room and wet rooms on the
# lane side, the kitchen-living room and the main bedroom opening south onto a terrace and a deck.
# Round it are a drive with a car, a motorbike and a charger, a timber workshop, a walled-off
# kitchen garden with raised beds, a vegetable plot and a greenhouse, a children's play corner, a
# lawn with a gazebo at the end of a gravel walk, an orchard and a deep planted back border.
plan "Garden Cottage" {
units mm
grid 50
paper A3 portrait
scale 1:100
north up
schedule rooms
site {
street north
hemisphere north
boundary (-8000,-4000) (18000,-4000) (18000,24000) (-8000,24000)
}
level 1 "Ground floor" height 2700 {
room id=r_boot at (0,0) size 2400x3400 label "Boot room" uses utility entry floor stone
room id=r_hall polygon (2400,0) (4400,0) (4400,2200) (8600,2200) (8600,3400) (2400,3400)
label "Hall" uses hall circulation floor stone
room id=r_bath at (4400,0) size 2400x2200 label "Bathroom" uses bath floor tile
room id=r_larder at (6800,0) size 1800x2200 label "Larder" uses storage floor tile
room id=r_study at (8600,0) size 3400x3400 label "Study / guest" uses office floor timber
room id=r_living at (0,3400) size 7400x4200 label "Kitchen / Living" uses kitchen living dining floor timber
room id=r_bed1 at (7400,3400) size 4600x4200 label "Bedroom" uses bedroom floor timber
walls from rooms exterior 300 partition 100
roof overhang 500
# ---- doors ----
door id=d_front on r_hall.top at 1000 from start width 1000 swing inward
door id=d_boot_out on r_boot.left at 1800 from start width 900 swing inward
door id=d_boot between r_hall and r_boot at 2700 from start width 800 swing into r_boot
door id=d_bath between r_hall and r_bath at 950 from r_bath.left width 800 swing into r_bath
door id=d_larder barn between r_hall and r_larder at 900 from r_larder.left width 800 swing into r_hall
door id=d_study between r_hall and r_study at 600 from start width 800 swing into r_study
door id=d_bed1 between r_hall and r_bed1 at 600 from start width 800 swing into r_bed1
opening id=o_living between r_hall and r_living at 3000 from start width 1600
door id=d_terrace bifold on r_living.bottom at 3000 from start width 2400 swing inward
door id=d_deck glazed_sliding on r_bed1.bottom at 1500 from start width 2400
# ---- windows ----
window casement on r_boot.top at 1700 from start width 700
window tilt on r_bath.top at 1900 from start width 600 sill 1400
window casement on r_study.top at 2200 from start width 1400
window tilt_turn on r_study.right at 1700 from start width 1200
window sliding on r_living.left at 2550 from start width 900
window fixed on r_living.bottom at 6000 from start width 1200
window casement on r_bed1.right at 3300 from start width 900
window casement on r_bed1.bottom at 3600 from start width 1000
# ---- dimensions, hand-placed on the cottage only ----
dim (12150,-150)->(-150,-150) offset 900
dim (-150,-150)->(-150,7750) offset 600
# A chain along the garden facade: every jamb of the south openings.
let SOUTH = [-150, 1800, 4200, 5400, 6600, 7700, 10100, 10500, 11500, 12150]
for i in 0..9 {
dim (SOUTH[i],7750)->(SOUTH[i + 1],7750) offset 500
}
# ---- boot room: laundry under the window, coats and boots by the drive door ----
furniture washer against r_boot.top offset 500 in r_boot
furniture dryer against r_boot.top offset 1150 in r_boot
furniture laundry_sink against r_boot.top offset 1900 in r_boot
furniture shoe_cabinet against r_boot.bottom offset 1100 size 800x350 in r_boot
furniture coat_rack against r_boot.left offset 2900 size 500x500 in r_boot
# ---- bathroom, larder ----
furniture bathtub against r_bath.top offset 900 size 1700x700 in r_bath
furniture basin against r_bath.left offset 1500 size 600x450 in r_bath
furniture wc against r_bath.right offset 1500 size 400x700 in r_bath
furniture pantry against r_larder.top offset 900 size 1600x500 in r_larder
furniture chest_freezer against r_larder.right offset 1300 in r_larder
# ---- study / guest room: desk under the north window, a sofa bed ----
furniture id=f_desk desk against r_study.top offset 2200 size 1400x700 in r_study
furniture office_chair at (10500,1000) size 600x600 facing f_desk in r_study
furniture sofa against r_study.left offset 1200 size 2000x850 in r_study
furniture bookshelf against r_study.bottom offset 2400 size 1400x350 in r_study
# ---- bedroom 1 ----
furniture double_bed against r_bed1.right offset 2000 size 1600x2000 in r_bed1
furniture nightstand against r_bed1.right offset 900 in r_bed1
furniture nightstand against r_bed1.right offset 3100 in r_bed1
furniture wardrobe against r_bed1.left offset 2400 size 1800x600 in r_bed1
# ---- kitchen run on the west wall, dining by the bifold, the hearth on the east wall ----
furniture fridge against r_living.left offset 500 size 700x700 in r_living
furniture counter against r_living.left offset 1150 size 600x600 in r_living
furniture stove against r_living.left offset 1750 in r_living
furniture range_hood against r_living.left offset 1750 in r_living
furniture kitchen_sink against r_living.left offset 2550 size 1000x600 in r_living
furniture dishwasher against r_living.left offset 3350 in r_living
furniture counter against r_living.left offset 3850 size 400x600 in r_living
furniture dining_table at (2000,4000) size 1600x2100 in r_living
furniture id=f_fire fireplace against r_living.right offset 2100 in r_living
furniture rug at (4300,4500) size 2500x2400 in r_living
furniture sofa at (4100,4600) size 900x2200 facing f_fire in r_living
furniture id=f_ct coffee_table at (5400,5200) size 600x1000 in r_living
furniture armchair at (5300,6450) size 800x800 facing f_ct in r_living
# =====================================================================================
# THE GARDEN
# =====================================================================================
# ---- the lane edge, the front path and the front lawns ----
outdoor id=g_verge_w planting at (-8000,-4000) size 3400x1000
outdoor id=g_verge_c planting at (-150,-4000) size 2950x1000
outdoor id=g_verge_e planting at (4000,-4000) size 14000x1000
outdoor id=g_path paving at (2800,-4000) size 1200x3850
outdoor id=g_front_w lawn at (-150,-3000) size 2950x2850
outdoor id=g_front_e lawn at (4000,-3000) size 8150x2850
outdoor id=g_drive driveway at (-4600,-4000) size 4450x12000 label "Drive"
outdoor id=g_yard gravel at (-8000,-3000) size 3400x11000 label "Work yard"
# ---- the kitchen garden ----
outdoor id=g_kitchen gravel polygon (12150,-3000) (18000,-3000) (18000,3200) (12900,3200) (12900,6200)
(18000,6200) (18000,12500) (12150,12500) label "Kitchen garden"
outdoor id=g_veg soil at (12900,3200) size 5100x3000 label "Vegetables"
# ---- the south garden ----
outdoor id=g_play sand at (-8000,8000) size 5400x5000 label "Play"
outdoor id=g_terrace paving at (-150,7750) size 7550x3150 label "Terrace"
outdoor id=g_deck deck at (7400,7750) size 4750x1750 label "Deck"
outdoor id=g_walk gravel at (3000,10900) size 1200x5100
outdoor id=g_pad paving at (1600,16000) size 4000x4000
outdoor id=g_lawn lawn polygon (-2600,8000) (-150,8000) (-150,10900) (3000,10900) (3000,16000)
(1600,16000) (1600,20000) (5600,20000) (5600,16000) (4200,16000) (4200,10900) (7400,10900)
(7400,9500) (12150,9500) (12150,13000) (9000,13000) (9000,15500) (12150,15500) (12150,19000)
(7400,19000) (7400,22500) (-8000,22500) (-8000,13000)
(-2600,13000) label "Lawn"
outdoor id=g_border planting at (-8000,22500) size 26000x1500
outdoor id=g_orchard lawn at (12150,12500) size 5850x10000 label "Orchard"
outdoor id=g_pond water at (9000,13000) size 3150x2500 label "Pond"
outdoor id=g_meadow planting at (7400,19000) size 4750x3500 label "Meadow"
# ---- boundaries: a picket fence on the lane, close-boarded panels round the rest ----
fence picket { (-8000,-4000) (-4600,-4000) }
fence picket { (-150,-4000) (2800,-4000) }
fence picket { (4000,-4000) (18000,-4000) }
fence panel { (-8000,-4000) (-8000,24000) (18000,24000) (18000,-4000) }
furniture garden_gate at (2800,-4000) size 1200x1200
# a low picket keeps the kitchen garden apart from the orchard, with its own gate
fence picket { (12150,12500) (14400,12500) }
fence picket { (15600,12500) (18000,12500) }
furniture garden_gate at (14400,12500) size 1200x1200
# ---- the drive: car, motorbike, charger on the boot-room wall ----
furniture car at (-4100,800) size 1800x4600
furniture motorcycle at (-2000,2400) size 800x2200
furniture ev_charger at (-450,2600) size 300x400 rotate 90
furniture mailbox at (4200,-3900) size 400x300
# ---- the workshop yard ----
furniture shed at (-7700,-1500) size 3000x4500 rotate 270 label "Workshop"
furniture bike_rack at (-7700,4000) size 1600x800
furniture bin at (-7600,6200) size 600x600
furniture bin at (-6900,6200) size 600x600
# ---- the kitchen garden ----
for r in 0..3 {
furniture raised_bed at (12900,-2400 + r * 1800) size 2200x1200
furniture raised_bed at (15300,-2400 + r * 1800) size 2200x1200
}
furniture greenhouse at (12900,7000) size 4600x2800
furniture bin at (16800,10800) size 700x700
furniture bin at (16000,10800) size 700x700
# ---- the terrace and the deck ----
furniture id=t_out outdoor_table at (2200,9400) size 1800x900
furniture outdoor_chair at (2350,8800) size 500x500 facing t_out
furniture outdoor_chair at (3350,8800) size 500x500 facing t_out
furniture outdoor_chair at (2350,10400) size 500x500 facing t_out
furniture outdoor_chair at (3350,10400) size 500x500 facing t_out
furniture bbq at (6200,9300) size 1000x600
furniture sun_lounger at (8000,8650) size 1900x700
# ---- the play corner ----
furniture slide at (-7600,8400) size 800x3000
furniture swing_set at (-6400,8400) size 3000x1800
furniture sandpit at (-6000,10700) size 1800x1800
furniture picnic_table at (-1800,13800) size 1800x1500
# ---- the lawn, the gazebo and the orchard ----
furniture gazebo at (1800,16200) size 3600x3600
furniture flower_bed at (-150,11100) size 2800x900
furniture flower_bed at (4400,11100) size 2800x900
furniture tree at (-7200,15500) size 2800x2800
furniture tree at (-3800,18500) size 2600x2600
furniture tree at (6600,13000) size 2600x2600
furniture bench at (9400,15900) size 1600x500
furniture stepping_stones at (10200,9550) size 900x3400
furniture trampoline at (-3800,15800) size 2400x2400
furniture clothesline at (-7300,19400) size 2000x2000
furniture tree at (13000,14000) size 2200x2200
furniture tree at (15600,14000) size 2200x2200
furniture tree at (13000,17300) size 2200x2200
furniture tree at (15600,17300) size 2200x2200
furniture tree at (14300,20000) size 2200x2200
furniture shrub at (400,-2800) size 1400x1400
furniture shrub at (10200,-2850) size 1500x1500
furniture flower_bed at (4400,-2600) size 4200x900
}
title {
project "Garden Cottage"
drawn_by "ArchLang"
date "2026-12-03"
number "SR-04"
revision "A"
}
}
More in Homes
- City Apartment: A one-bedroom city flat whose open living-kitchen and bedroom take the sunny side and open onto a long balcony.
- Garden Courtyard House: A family house wrapped round a garden courtyard that is open ground rather than a room, with a home office and a care room.
- Courtyard Home: A single-storey family house wrapped round a paved courtyard with a rill pool, its rooms arranged by aspect from the street to the garden.
- Flat Renovation (status): 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.
- Two-bed flat: A two-bedroom apartment with every room off a central corridor, its walls derived from the rooms — the plainest complete dwelling in the set.
- Attached (strip): A one-bedroom flat with no hand-computed coordinates: a strip of rooms, openings pinned along walls, furniture placed in rooms.
- Bungalow (site + doors): A single-storey bungalow whose whole layout follows one stated fact: the street is south and the garden north.
- Courtyard House: A 16.3 x 11.8 m house whose rooms ring an open courtyard — which is a hole in the building, not a room.
- Courtyard Family House: A family house round an open courtyard, furnished with pieces no other example draws: bunk beds and a crib, a hot tub and a fire pit.
- Townhouse (3 levels): A 5.5 x 11 m three-storey terrace house: one level block per storey, and one drawing per storey.
- Two-storey (2 levels): A compact two-storey house whose stair carries the same id on both floors, which is what declares one shaft.
- Turning Stair: A small house with a quarter-turn stair: one stair of flights and a landing, the same block on both floors.
- Furnished Flat: A two-bedroom flat furnished from the symbol catalogue: thirty-eight drawn fixture kinds across five domains.
- Issued Sheet (tags + notes): A small flat issued on A3 with a drawing number, general notes and a tag on every door and window, keyed to a schedule.
- Apartment Remodel: A flat drawn for its works: two demolished partitions dashed, one new wall, and rooms measured as they will be.
- Garden House (site plan): A family house on a 22 x 22 m lot drawn as a site plan: the lot line, nine ground materials, fences and a garden.