Processing Pipeline

How requirements become a structured building object graph, costs, BOQ, and review findings — and how this connects to a real CAD worker in production.

Status legend:ActiveDemoProduction pathFuture

Active: working in this demo. Demo: working at conceptual fidelity. Production path: implemented as a server-side worker outside the browser. Future: planned.

1. Input

What enters the system.

1

File intake

Demo

DWG, DXF, PDF, images, manual requirements, company rules, supplier rates.

Demo accepts manual project inputs and stores uploads. Real DWG/DXF/PDF parsing requires the production CAD worker.

2. Parse & Understand

Convert files into normalized geometry and semantic meaning.

2

DXF / DWG conversion path

Production path

ODA File Converter or Autodesk APS to normalize DWG → DXF for parsing.

Runs as a Python worker outside the browser. Out of scope for this in-browser demo.

3

Geometry parser

Production path

ezdxf / IfcOpenShell extract walls, doors, windows, rooms, and slabs.

Produces a normalized geometry stream the semantic classifier can read.

4

Semantic classifier

Future

Tag entities as walls / doors / windows / circulation / MEP / parking using rules + ML.

AI vision and rule-based heuristics map raw geometry to architectural meaning.

5

Room / zone detection

Demo

Wall-loop detection groups segments into rooms and circulation areas.

Demo derives rectangular zone loops from the generated layout JSON.

3. Reason & Optimize

Build the structured graph, apply constraints, and use AI for explanation.

6

Building object graph

Active

Structured nodes (zones, walls, doors, windows, materials, costs) and typed edges.

Lives in frontend state. Each generated project carries a versioned graph used by 2D, 3D, costs, BOQ, and review.

7

Constraints & scoring

Demo

Adjacency, circulation, egress, MEP access, envelope rules.

Rule-based today. Layouts that violate constraints surface as issues in CAD Review.

8

Layout optimizer

Demo

Deterministic placement of zones based on project type and selected zone set.

Future: solver-based or AI-assisted iterative optimization scored against constraints.

9

LLM reasoning & explanations

Active

Claude / Gemini explain the layout, audit findings, BOQ notes, and document drafts.

AI is advisory only. Code calculates geometry, quantities, and costs — AI never invents numbers.

4. Cost & Output

Materials, quantities, costs, BOQ, and CAD export.

10

Cost & BOQ engine

Active

Materials → cost items → BOQ sections, all linked back to graph nodes.

Click a 3D object to see its material, unit rate, and BOQ line. Click a BOQ line to highlight source objects.

11

CAD geometry generation

Future

FreeCAD / IfcOpenShell worker assembles real CAD geometry from the object graph.

Replaces the conceptual browser massing with engineering-grade CAD entities.

12

Export

Demo

JSON, CSV today; DXF, IFC, PDF, OBJ via the production CAD worker.

Demo exports layout JSON and cost CSV. Engineering exports require the worker.

Active in this demo

  • · Layout JSON generation from requirements
  • · Browser-based 2D plan rendering
  • · Browser-based 3D conceptual massing
  • · Building object graph (zones, walls, doors, windows, materials, costs)
  • · Click-through metadata on 3D objects
  • · Rule-based CAD review findings
  • · Cost sheet and BOQ derived from graph
  • · AI explanations via OpenRouter (Claude / Gemini)

Production path

  • · DWG → DXF conversion (ODA / Autodesk APS)
  • · DXF / IFC parser worker (ezdxf, IfcOpenShell)
  • · Semantic classifier for parsed geometry
  • · FreeCAD worker for CAD geometry generation
  • · Real DXF / IFC / PDF / OBJ export
  • · Vision parsing for uploaded PDF / image plans
  • · Embedding-based semantic search across rules and projects

AI outputs are advisory and must be reviewed by qualified engineers, QS teams, and project stakeholders. This system does not provide engineering or structural approval.