Live DWG/DXF Quantity Takeoff

Open-source Python CAD measurement studio pairing deterministic ezdxf geometry extraction, a live SSE viewport, human-in-the-loop Excel BOQ/EAP export, and an 11-tool stdio MCP server.

Release
v0.1.0 · MIT
CAD Engine
ezdxf + Shoelace area
MCP Server
11 stdio takeoff tools
Verification
3/3 pytest PASS
dwg-live-takeoff floorplan to BOQ illustration
Live DXF/DWG geometry parsing, interactive human-in-the-loop overrides, and formula-driven Excel BOQ/EAP export.
01 / Architecture

Deterministic Geometry Takeoff + Live Human Review

  • DWG/DXF Ingestion (parser.py, converter.py): Parses R2018 DXF polylines, closed room polygons (Shoelace area/perimeter), block insertions, and linear conduit runs with $INSUNITS scaling and optional AutoCAD accoreconsole.exe / CADCraft CLI / ODAFileConverter conversion.
  • Real-Time SSE CAD Viewer (viewer_server.py): Localhost viewer with layer visibility toggles, cursor meter coordinates, live step stream, and an HTTP HITL override API (/api/override, /api/export).
  • Multi-Sheet BOQ/EAP Export & MCP Server (boq_export.py, mcp_server.py): Exports BOQ_EAP, Room_Schedule, and Audit_Steps sheets containing live variance and subtotal Excel formulas, exposed alongside 11 stdio MCP tools.
02 / Source Evidence & Scope

Synthetic Floorplan Fixtures Only

Source audit: 25 November 2026. Commit 9ffc587 · github.com/vanovri/dwg-live-takeoff · Source evidence index.

Scope note: All sample drawings (samples/sample_office_floorplan.dxf) and sample BOQ outputs in the public repository are 100% synthetic test fixtures; no client drawings or commercial pricing schedules are included.

All projects

Navigate with arrow keys. Enter opens a result. Escape closes search.