Back to Portfolio
BOQAI: Autonomous CAD-to-BOQ Engineering Copilot & Structural Takeoff Engine
AI & Automation

BOQAI: Autonomous CAD-to-BOQ Engineering Copilot & Structural Takeoff Engine

Internal Corporate Deployment (On-Premise / VPN) Proprietary Code (NDA Protected)
Python 3.12+ Django 6.1 Google Gemini 2.5 Flash Claude 3.7 Sonnet LibreDWG ezdxf Shapely openpyxl Tailwind CSS SBC / ECP Building Codes Docker
Executive Summary

An enterprise-grade engineering copilot converting AutoCAD DWG and DXF blueprints into contract-grade structural Bills of Quantities, combining deterministic geometric math with interactive parameter verification, Layer-2 code auditing, and live-formula Excel workbooks.

Data Compression
99.5%
50MB DWG down to 3KB metadata
Deterministic Math
100%
Pure Python logic with zero LLM hallucinations
Audit Confidence
98.5%
SBC 301-304 & ECP 203 compliant
Live Excel Workbooks
4 Sheets
Dynamic PRODUCT and SUM formulas

The Quantity Surveying Bottleneck: Why LLMs Fail at CAD Blueprints

In structural engineering consultancies and general contracting firms, quantity surveyors spend grueling days manually tracing beam spans, calculating gross versus net slab areas, tabulating column schedules, and deducting window openings. This workflow is labor-intensive and repeats every time an architectural revision is issued. When engineering teams attempt to pass raw CAD blueprints directly to generic Large Language Models, they encounter three critical roadblocks.

First, LLMs produce computational hallucinations that are fatal for high-stakes commercial tenders, because neural networks predict the next statistical token rather than executing strict numerical arithmetic. Second, feeding millions of raw coordinate floats into cloud AI APIs blows context windows within seconds and exhausts rate limits. Third, a 2D floor plan inherently lacks crucial 3D structural parameters such as story heights, slab thicknesses, concrete grades, and rebar density ratios, necessitating human engineering input before computation can proceed.

Hybrid Architecture: Isolating Semantic Perception from Deterministic Math

To eliminate AI hallucination entirely, I architected BOQAI on a modular hybrid pipeline that strictly isolates the AI model from mathematical arithmetic:

The platform first ingests binary AutoCAD files locally using LibreDWG, ezdxf, and Shapely. It converts spatial vector entities into a pre-aggregated semantic geometry summary, compressing 50MB CAD files into less than 3KB of structured metadata, achieving a 99.5% reduction in data volume.

Next, the AI copilot powered by Gemini 2.5 Flash or Claude 3.7 Sonnet inspects the structural drawing to detect missing engineering specifications required for estimation, such as foundation depth, blinding concrete thickness, clear story heights, and structural slab thickness. These requirements are presented through an interactive verification cockpit, allowing the project engineer to choose building code-compliant specifications with one click or enter custom project parameters.

Once parameters are verified, the workload transfers entirely to a pure Python deterministic math engine. The calculation engine computes concrete volumes, estimated rebar tonnages, masonry surface areas, and deductions for door and window openings with exact numerical repeatability and zero random approximations.

Layer-2 Autonomous QA/QC Audit Engine & Regional Building Codes

Beyond generating raw numbers, BOQAI includes an independent Layer-2 verification engine that benchmarks every computed line item against structural thresholds defined in the Saudi Building Code (SBC 301-304) and Egyptian Code of Practice (ECP 203):

Item breakdown reconciliation where the auditor mathematically verifies that the sum of all individual measurement entries for each element tag matches the total contractual quantity registered in the summary table
Steel reinforcement density validation ensuring rebar consumption per cubic meter falls strictly within standard structural envelopes between 90 and 130 kilograms with automated anomaly alerts
Story area equilibrium auditing validating structural slab surfaces against architectural building footprints to prevent inadvertent quantity inflation or omitted floor zones
Vertical column continuity tracking reconciling extracted column counts against isolated drawing entity layers to ensure no column instances are missed across typical floors
Automated opening deductions calculating exact net surface areas for masonry partitions by subtracting door and window openings

Detailed Takeoff Ledger & Live-Formula Multi-Sheet Excel Exports

The resulting takeoff delivers an auditable, interactive workspace tailored for technical directors, estimators, and site engineers:

The workspace supports four view layouts including balanced split view, full takeoff book, dedicated canvas focus with interactive zoom and pan, and comprehensive audit view, complete with real-time axis search and vector neon element highlighting upon row hover.

Upon finalizing the audit, the platform exports a professional four-sheet Excel workbook powered by native, live spreadsheet formulas rather than dead values. The exported file features an executive cover sheet, summary bill of quantities, detailed measurement takeoff ledger with grid axes and dimensions, and an official QA/QC audit certificate. Project stakeholders can adjust unit prices or dimensions directly in Excel, triggering automated recalculations across summary totals and tax schedules without breaking audit integrity.

Operational Field Impact & Measurable Engineering Benchmarks

In rigorous testing on residential villas and multi-story commercial blueprints, BOQAI demonstrated dramatic improvements over manual workflows:

Slashed structural takeoff turnaround from 3 full working days down to under 5 minutes with exhaustive element verification
Compressed AI token consumption by 99.5% enabling comprehensive blueprint inspection for fractions of a cent per drawing
Generated contract-ready measurement books and digital quality certificates that elevate bidder credibility in formal tenders
Built on containerized Docker configurations supporting both secure cloud hosting and air-gapped On-Premise installations for blueprints requiring strict intellectual property protection

Interested in a similar project?

We can build a tailored solution customized to your business goals.

Contact Me Now