Back to Projects

DXF2CAD

DXF2CAD

Generative AI framework for 2D to 3D CAD model conversion

View on GitHub

Technologies Used

Python PyTorch Transformers Computer Vision 3D Modeling STEP Format

Overview

A generative AI framework that learns from 2D DXF blueprints to construct editable 3D CAD models in STEP format in seconds. This project represents a breakthrough in automated CAD model generation, significantly reducing the time and effort required to convert 2D technical drawings into fully functional 3D models.

Key Features

  • Rapid Conversion: Generate 3D CAD models from 2D DXF files in seconds
  • Editable Output: Produces fully editable STEP format CAD models
  • AI-Powered Learning: Uses transformer-based models to understand blueprint patterns
  • High Accuracy: Maintains geometric precision and design intent
  • Industry Standard: Outputs in STEP format for universal CAD compatibility

Technical Architecture

The system employs a sophisticated multi-stage pipeline:

  • DXF Parsing: Extracts geometric entities and relationships from 2D blueprints
  • Feature Recognition: Identifies patterns, dimensions, and design constraints
  • 3D Reconstruction: Uses transformer models to infer 3D geometry from 2D projections
  • STEP Generation: Converts reconstructed geometry to industry-standard STEP format

Innovation & Impact

This project addresses critical challenges in CAD workflow automation:

  • Eliminates manual 3D modeling from 2D drawings
  • Reduces design iteration time from hours to seconds
  • Enables rapid prototyping and design validation
  • Bridges the gap between 2D technical documentation and 3D modeling
  • Supports legacy drawing digitization and modernization

Applications

DXF2CAD has broad applications across engineering disciplines:

  • Manufacturing: Rapid conversion of production drawings to 3D models
  • Architecture: Automated building information modeling from blueprints
  • Mechanical Engineering: Component design and assembly modeling
  • Legacy Digitization: Converting historical technical drawings to modern CAD formats