> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loft.build/llms.txt
> Use this file to discover all available pages before exploring further.

# four-walls

The `four-walls` example as shipped in [`examples/four-walls/`](https://github.com/loftlang/loft/tree/main/examples/four-walls) — 2 files, one project. Every file compiles in CI; a folder here navigates, never scopes.

## `model.loft`

```loft theme={"theme":{"light":"github-light","dark":"github-dark"},"languages":{"custom":["/languages/loft.json","/languages/loft-fragment.json"]}}
# Four walls — the 60-second demo.
# This is the whole idea: a building as text. Edit anything.

level L1 elev 0' height 9'

walltype STUD4 width 4.5"

wall STUD4 from (0',0')  to (30',0')
wall STUD4 from (30',0') to (30',20')
wall STUD4 from (30',20') to (0',20')
wall STUD4 from (0',20') to (0',0')
```

## `views/L1-plan.loft`

```loft theme={"theme":{"light":"github-light","dark":"github-dark"},"languages":{"custom":["/languages/loft.json","/languages/loft-fragment.json"]}}
# A view owns its file — this page is the plan. The facts are the view's
# own: the drawing scale and the cut plane, written where they apply.
view plan L1-plan of level.L1 scale 1/4" cut 4'-0" name "Level 1 Floor Plan"
```
