Home
Softono
CAD-BIM-to-Code-Automation-Pipeline-DDC-Workflow-with-LLM-ChatGPT

CAD-BIM-to-Code-Automation-Pipeline-DDC-Workflow-with-LLM-ChatGPT

Open source MIT Jupyter Notebook
31
Stars
13
Forks
0
Issues
1
Watchers
10 months
Last Commit

About CAD-BIM-to-Code-Automation-Pipeline-DDC-Workflow-with-LLM-ChatGPT

<p align="center"> <a href="https://datadrivenconstruction.io"> <img src="https://datadrivenconstruction.io/wp-content/uploads/2025/06/n8n-pipeline-1.png" alt="DDC Logo" width="100%"/> </a> </p> # ๐Ÿš€ CAD-(BIM)-to-Code Automation Pipeline with LLM (ChatGPT) **Revit (.rvt), AutoCAD (.dwg), IFC, MicroStation (.dgn) โ†’ Excel + AI-Generated Python Analysis โ€” no Autodeskยฎ or openBIM tools required** > ๐Ÿ”„ Built for fully offline workflows using [n8n](https://n8n.io) + [DataDrivenConstruction Converters](https://cadbimconverter.com) --- ## ๐Ÿ›  Features - ๐Ÿ”„ Convert `.rvt`, `.ifc`, `.dwg` to: - ๐Ÿ“Š Excel (element data as a matrix - project elements in the rows, all properties of all elements in the columns)) - ๐Ÿงฑ Polygonal geometry (only Revit and IFC) into an open geometric format `.dae` (Collada) - ๐Ÿ“‹ Schedules (only for Revit) - ๐Ÿ“„ Drawing Sheets (PDF) (only for Revit) - โœ… Quality Control with validation rules - ๐Ÿค– Ask AI to generate custom Python code - ๐Ÿ“ˆ Instantly get charts, stats, summ ...

Platforms

Web Self-hosted

Languages

Jupyter Notebook

DDC Logo

๐Ÿš€ CAD-(BIM)-to-Code Automation Pipeline with LLM (ChatGPT)

Revit (.rvt), AutoCAD (.dwg), IFC, MicroStation (.dgn) โ†’ Excel + AI-Generated Python Analysis โ€” no Autodeskยฎ or openBIM tools required

๐Ÿ”„ Built for fully offline workflows using n8n + DataDrivenConstruction Converters


๐Ÿ›  Features

  • ๐Ÿ”„ Convert .rvt, .ifc, .dwg to:
    • ๐Ÿ“Š Excel (element data as a matrix - project elements in the rows, all properties of all elements in the columns))
    • ๐Ÿงฑ Polygonal geometry (only Revit and IFC) into an open geometric format .dae (Collada)
    • ๐Ÿ“‹ Schedules (only for Revit)
    • ๐Ÿ“„ Drawing Sheets (PDF) (only for Revit)
  • โœ… Quality Control with validation rules
  • ๐Ÿค– Ask AI to generate custom Python code
  • ๐Ÿ“ˆ Instantly get charts, stats, summaries from your model

๐Ÿ“ฆ Installation Guide

1. Install n8n on Windows

Before installing n8n, make sure Node.js (which includes npm) is installed:

npx install -g n8n
n8n start

or

npx n8n

Or download desktop app: n8n.io/download

2. Download Converters

Either use the converters that are in the repository or download the always fresh ones directly from the site:

Format Converter Download
Revit (.rvt) RvtExporter.exe Download
IFC IfcExporter.exe Download
AutoCAD (.dwg) DwgExporter.exe Download
MicroStation (.dgn) DgnExporter.exe Download

โš™๏ธ Quick Setup

  1. Clone or import the workflow:
    โฌ‡ Download JSON file

  2. In n8n, import the workflow via "Import from file".

  3. Configure paths:

    • Set absolute path to RvtExporter.exe in the $INPUTS$ node.
    • Example:
      C:\out\DDC-Converters\RvtExporter.exe

๐ŸŽฏ Workflow Overview

graph TD;
    A[๐Ÿ“‹ Upload RVT/IFC/DWG/DGN file] --> B[๐Ÿ“ Create Workspace]
    B --> C[โš™๏ธ Run Pipeline-Converter]
    C --> D{โœ… Success?}
    D -->|Yes| E[๐Ÿ“ฅ Read Excel, PDFs, Schedules]
    D -->|No| F[โŒ Show Error]
    E --> G[๐Ÿ” Validate with Excel Rules]
    G --> H[๐Ÿค– AI Code Generator]
    H --> I[๐Ÿ“Š Charts, Stats, Python Output]

๐Ÿ’ฌ Example Use

  • Upload your .rvt file
  • Choose options: sheets, schedules, bounding box
  • AI understands your prompt:

โ€œGroup by Type Name, sum Volume, and show a bar chart.โ€

You'll get the result instantly โ€” no coding needed.


๐Ÿ“Ž Extras


๐Ÿง  Powered by


๐Ÿ›Ÿ Support

Need help or ideas for automation?
Visit ๐Ÿ‘‰ https://datadrivenconstruction.io or open an issue in this repo.

DDC Logo