From CAD files to images to text prompts β CADLift uses AI to generate production-ready 3D models in seconds.
π― Live Demo Β· π Docs Β· π Report Bug
π TΓΌrkΓ§e | English
| ποΈ CAD Files | πΌοΈ Images | π¬ Text Prompts |
|---|---|---|
| Upload DWG or DXF | Upload any image | Describe what you want |
| Auto-detect layers | AI-powered reconstruction | Stable Diffusion + TripoSR |
| Extrude to 3D | TripoSR AI model | Generate from imagination |
- DWG Support β Native AutoCAD files via ODA File Converter
- DXF Support β All versions, all layers
- Smart Detection β Auto-detects closed shapes, walls, doors, windows
- co2tools Integration β Robust extrusion engine
- Any Image β Photos, sketches, renders, screenshots
- TripoSR AI β State-of-the-art single-image 3D reconstruction
- Background Removal β Automatic subject isolation
- Natural Language β Just describe what you want
- Stable Diffusion β AI-generated reference images
- End-to-End β From text to viewable 3D model
| Format | Use Case |
|---|---|
| GLB | Web 3D, game engines (Unity, Unreal, Three.js) |
| STL | 3D printing (Cura, PrusaSlicer) |
| DXF | CAD software (AutoCAD, FreeCAD) |
| STEP | Engineering CAD (SolidWorks, Fusion 360) |
- Instant Preview β View models in browser before download
- Interactive β Rotate, zoom, pan
- Online3DViewer β Industry-standard GLB support
- Live Updates β Watch conversion progress in real-time
- Status Tracking β Detailed stage-by-stage feedback
| Layer | Technologies |
|---|---|
| Frontend | React 18, TypeScript, Tailwind CSS, Vite |
| Backend | FastAPI, Python 3.11+, SQLAlchemy, Celery |
| AI Models | Stable Diffusion, TripoSR, OpenAI (optional) |
| CAD Tools | ezdxf, co2tools, ODA Converter, trimesh, SolidPython |
| Storage | Local filesystem, PostgreSQL/SQLite |
Some features require local installation due to GPU requirements:
| Feature | Requirement | Cloud Available |
|---|---|---|
| DWG/DXF to 3D | ODA Converter | β |
| Prompt to 3D (Precision) | OpenAI API | β |
| Prompt to 3D (Creative) | TripoSR + SD | β Local only |
| Image to 3D | TripoSR | β Local only |
Note: For GPU-powered features, please run CADLift locally.
- Python 3.11+
- Node.js 20+
- ODA File Converter (for DWG support)
cd backend
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
alembic upgrade head
uvicorn app.main:app --reloadnpm install
npm run devCreate backend/.env:
DATABASE_URL=sqlite+aiosqlite:///./cadlift.db
STORAGE_PATH=./storage
JWT_SECRET_KEY=your-secret-key
ENABLE_TASK_QUEUE=false
LOG_LEVEL=INFOcurl -X POST "http://localhost:8000/api/v1/jobs" \
-F "upload=@building.dwg" \
-F "job_type=cad" \
-F "mode=cad" \
-F 'params={"extrude_height": 3000}'curl -X POST "http://localhost:8000/api/v1/jobs" \
-F "upload=@photo.jpg" \
-F "job_type=image" \
-F "mode=3d"curl -X POST "http://localhost:8000/api/v1/jobs" \
-F "job_type=prompt" \
-F "mode=3d" \
-F 'params={"prompt": "a modern glass office building"}'cadlift/
βββ backend/
β βββ app/
β β βββ api/ # FastAPI routes
β β βββ pipelines/ # CAD, Image, Prompt processing
β β βββ services/ # co2tools, ODA converter, storage
β β βββ models/ # Database models
β βββ docs/ # API documentation
βββ components/ # React components
βββ pages/ # Home, Dashboard, About
βββ services/ # Frontend API client
βββ docs/useful_projects/ # co2tools, libdxfrw
Coming soon
Contributions welcome! See CONTRIBUTING.md.
Ideas for contribution:
- Additional export formats (FBX, DAE)
- Multi-story building detection
- Texture and material support
- Mobile app
MIT License - see LICENSE
- co2tools β DXF to STL extrusion
- TripoSR β AI 3D reconstruction
- Stable Diffusion β AI image generation
- ODA β DWG file conversion
- ezdxf β DXF parsing
- trimesh β Mesh processing
- FastAPI β Python web framework
Built with β€οΈ by Vartmor
β Star us if you find CADLift useful!