Issued Sheet (tags + notes) — an ArchLang floor plan example
A small flat issued on A3 with a drawing number, general notes and a tag on every door and window, keyed to a schedule.
This plan compiles to 3 rooms, 54 m² of floor area and 3 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
- Walls
- Rooms
- Doors
- Windows
- Automatic dimension chains
- Title block
- Sheet tables (schedules, legend, notes)
The source
This is the whole plan. The drawing above is what the compiler produced from it — nothing was drawn by hand.
# An issued sheet — the SHEET-ANNOTATION example.
#
# A drawing that leaves the office carries more than the plan: a drawing number and a
# revision in the title block, the general notes every contractor reads first, and a tag
# on every door and window keyed to a schedule. All three are opt-in sheet statements, and
# all three are presentation only — `describe()` and `lint()` learn nothing from them:
#
# title { … number "A-101" revision "B" } two more title-block rows
# notes "…" the NOTES table, numbered in source order
# schedule openings D01…/W01… tags + the DOOR & WINDOW SCHEDULE
#
# The schedule is DERIVED, never typed: the rooms each opening serves (the same answer as
# `describe --json`'s `doors[].between` / `windows[].room`), its width, its kind and, for a
# hinged leaf, its HAND — read off the drawn leaf from the side it opens into, so it does
# not depend on which way the wall was written. A tag sits beside its opening: a window's
# inside the room, a door's past the hinge jamb, clear of the swing and out of the doorway.
plan "Sheet Notes Flat" {
units mm
grid 50
paper A3 landscape
scale 1:50
north up
dims auto all
schedule rooms
schedule openings
notes "All dimensions in millimetres. Do not scale from this drawing."
notes "Check every dimension on site before work starts."
notes "Room areas are taken to wall centrelines."
notes "Door hand is read from the side the door opens into."
title { project "Sheet Notes Flat" drawn_by "ArchLang" date "2026-10-13" number "A-101" revision "B" }
# ---- shell -------------------------------------------------------------------
wall id=shell exterior thickness 200 { (0,0) (9000,0) (9000,6000) (0,6000) close }
wall id=w_mid partition thickness 100 { (5000,0) (5000,6000) }
wall id=w_bed partition thickness 100 { (5000,3000) (9000,3000) }
# ---- rooms -------------------------------------------------------------------
room id=r_living at (0,0) size 5000x6000 label "Living Room" uses living
room id=r_bed at (5000,0) size 4000x3000 label "Bedroom" uses bedroom
room id=r_study at (5000,3000) size 4000x3000 label "Study" uses office
# ---- doors -------------------------------------------------------------------
# The front door opens IN, so its tag cannot sit outside (the dimension chains live
# there): it goes on the swing side, behind the hinge, where the leaf never reaches.
door id=d_front on shell at 2500 width 1000 hinge left swing in
door id=d_bed on w_mid at 1500 width 900 hinge right swing out
door id=d_study sliding on w_mid at 4500 width 900
# ---- windows -----------------------------------------------------------------
window on shell at 26000 width 1800
window on shell at 7000 width 1400
window on shell at 13500 width 1400
}
More in Homes
- 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.
- 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.