--- name: design-to-bim description: End-to-end building/infrastructure design + documentation pipeline. Takes either (A) specs+location for fresh design, or (B) an existing design in DWG/DXF/vector-PDF/scanned-PDF/2D, and produces a 3D/IFC BIM model, drawings/sections/composite, quantity takeoff vs BOQ, MEP (HVAC/plumbing/firefighting/electrical) calcs, clash detection, schedule (CPM/P6), and rendering hooks. Use for any "design this / model this / model from these drawings / take off quantities / compare BOQ / make the programme" request. ---
🏗️ design-to-bim — Full design→BIM→docs→QTO→schedule→render pipeline
Inputs accepted
- (A) Fresh design: building specs + land location (+ codes) → concept structural+arch+MEP layout.
- (B) Existing design in ANY format: DWG, DXF, vector-PDF, scanned-PDF (raster), 2D plans, BOQ.
Toolchain (all verified live)
| Stage | Tool | Notes | |---|---|---| | DWG → DXF |dwg2dxf (LibreDWG 0.13.3, brew) | then ezdxf |
| DXF read/write | ezdxf 1.4.4 | layers→entities |
| Vector PDF → geometry | PyMuPDF/fitz 1.27 + pdfplumber 0.11 | extracts real line/poly geometry from CAD-exported PDFs |
| Scanned PDF (raster) | Mistral OCR-3 + LlamaParse + Tesseract | text/dims/symbols only (see LIMITS) |
| 2D → 3D | shapely 2.1 (footprint) + trimesh 4.12 (extrude/boolean) | per-layer extrude |
| BIM authoring/read | ifcopenshell 0.8.5 (+.api/.draw) | IFC4, drawings via .draw (SVG) |
| Quantity takeoff | ifcopenshell QTO + quantity-takeoff-engine skill | compare vs BOQ |
| Structural | OpenSeesPy, PyNite 3.0, sectionproperties, structuralcodes 0.7 (EC/fib), anastruct, handcalcs, forallpeople, pint | analysis+code checks+calc reports |
| MEP-HVAC | psychrolib, CoolProp 7.2, ht 1.2 | loads/psychrometrics/heat transfer |
| MEP-plumbing/firefighting | fluids 1.3, thermo 0.6 | Darcy-Weisbach, pumps, pressure loss |
| Clash detection | ifcclash 0.8.5 (on ifcopenshell) | hard/soft clashes |
| Schedule | p6-ai-planner (CPM + Monte-Carlo + XER) | quantities→durations→programme |
| Rendering | Blender (host, on-demand) + pyvista 0.48 | archviz/walkthrough |
| AEC computational | compas 2.15 | geometry/parametric |
| Web delivery | viktor 14.29 | shareable engineering web apps |HONEST capability tiers (no overclaim)
- ✅ FULLY automated: structural analysis+code checks; QTO from IFC; BOQ comparison; CPM/P6 programme; MEP calcs (HVAC/plumbing/FF); clash on IFC; IFC author/read; vector-PDF & DXF geometry extraction; rendering via Blender.
- 🟡 SEMI-automated (clean input + per-project scripting): clean layered 2D DXF/vector-PDF → 3D IFC extrusion; drawing/section generation from IFC; generic arch layouts.
- 🔴 GENUINE LIMITS (state plainly, ask): (1) raster/scanned-PDF → accurate automated 3D BIM is NOT reliable (scan-to-BIM AI is unsolved at production accuracy) — I extract text/dims/symbols and assist, I do not auto-vectorize a scan into a trustworthy model; (2) true generative/creative architectural design is assistive, not a substitute for an architect; (3) full automated MEP routing/sizing of an entire building needs project parameters and review.