The rule set
A single adjacency graph over eleven room kinds encodes what twenty years of NZ practice generates by habit — kitchen ↔ dining, master ↔ ensuite (master-mediated), garage ↔ entry (never ↔ living).
Trusswright’s plan studio ingests a brief — site width and depth, bedroom count, budget tier — and emits a 2D floor plan using NZ single-storey adjacency rules. Open-plan social cores, a master suite that’s ensuite-only-reachable, and a hallway that separates the social from the private zone come from the rule set, not from a calendar.
A single adjacency graph over eleven room kinds encodes what twenty years of NZ practice generates by habit — kitchen ↔ dining, master ↔ ensuite (master-mediated), garage ↔ entry (never ↔ living).
A deterministic, greedy packer picks a typology (or uses the one you pin), then lays rooms, walls, and doors inside the buildable envelope the brief leaves after standard NZ setbacks.
A typed PlanLayout JSON: rooms with mm coordinates, walls (interior & exterior), doors with deterministic offsets. Same brief, same plan — testing + downstream pages can rely on it.
Width and depth are site dimensions in millimetres; setbacks leave a buildable rectangle on which the plan studio lays rooms, walls, and doors.
Rooms, walls, and doors emitted by the rule-based packer. Doors sit at deterministic offsets along their wall; shared walls encode the room-to-room adjacency the rule set prescribes.
Submit a brief to see the rendered plan here. The autoselected typology reflects your bedroom count and site aspect ratio.