Construction GraphKit, studio

Description

Deterministic building and district kernel. generateBuilding makes rectangular multi-storey buildings from a two-sided corridor grammar with typed room programmes, walls, openings, stairs with slab cut-outs, and gable, hip or low-slope roofs with gutters and outlets. It validates supports and interfaces, solves room/corridor/stair navigation with keys and locked doors, lays out 1,000 plot addresses on a street graph, and exports Three.js meshes and an Unreal manifest.

The v2 layer adds a persistent district/parcel/building world; the v3 layer adds typed bearing mates and qualification reports. Units are metres, right-handed, Z up.

Where the triangles are

  1. APEX-B001/wallExt720 · 39.3%
  2. APEX-B001/wallInt576 · 31.4%
  3. APEX-B001/wood216 · 11.8%
  4. APEX-B001/glass192 · 10.5%
  5. APEX-B001/roof-visual68 · 3.7%
  6. APEX-B001/slab60 · 3.3%

Materials

  • UnnamedMeshStandard · metal 0.06 · rough 0.81
  • UnnamedMeshStandard · metal 0.06 · rough 0.81
  • UnnamedMeshStandard · metal 0.06 · rough 0.81
  • UnnamedMeshStandard · metal 0.1 · rough 0.13
  • UnnamedMeshStandard · metal 0.55 · rough 0.34
  • UnnamedMeshStandard · metal 0.06 · rough 0.81
  • UnnamedMeshStandard · metal 0 · rough 0.78

Specification

CategoryBuildings / Roofs, framing and building generators
KindProcedural building kernel
CollectionGenerator systems
RepositoryBUILDINGS
Version keptv1.0.0 core with v2 and v3 layers, 2026-11-10
Confidencemedium
Runtimethreejs
Bounding box18.9 × 9.66 × 15.0 m
Draw calls9
CodeAPEX_Construction_Intelligence/GraphKit_v1/src/core.mjs + 8 files
Built and measured2026-11-24, 0.2 s build, three.js r187

Effects

  • transparent 1
  • double sided 7

Open questions

  • GraphKit v4 is not on main. It is proposed in PR #16 (feature/graphkit-v4-constraint-mission-20261119, 32c7d7e7) and, with correctness repairs and content-hash receipts for v3, in PR #17 (review/buildings-source-consolidation-20261119, 8ba8b5fa); both are open and unmerged as of 2026-11-25. v4 is a gameplay-graph overlay (locks and keys on existing doors) and adds no geometry, so the building shown here is unchanged. Should PR #17 be merged and v4 join the kit?

More roofs, framing and building generators See all 14