GenCAD
GenCAD is a research project for image-conditioned CAD generation using transformer-based contrastive representations and diffusion priors.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: The official site (the GitHub repository) could not be fetched this time. The following is written from existing knowledge of the project and includes only information that can be confirmed. For details such as installation steps, dependency versions, and the license, please refer to the repository README.
Overview
GenCAD is an open-source academic research project on GitHub, accompanying the paper "GenCAD: Image-Conditioned Computer-Aided Design Generation with Transformer-Based Contrastive Representation and Diffusion Priors." The authors are Md Ferdous Alam and Faez Ahmed (MIT). The project tackles the following problem: given an image as input, automatically generate an editable parametric CAD model.
Many 3D generation methods output meshes, point clouds, or voxels. GenCAD is different: it outputs CAD command sequences, such as modeling operations like sketches and extrusions. These results are closer to the actual engineering design workflow, and their parameters can still be modified after generation.
Key Technical Ideas
- CAD sequence representation learning: A Transformer-based autoregressive model encodes and decodes CAD command sequences to learn latent representations of CAD models.
- Contrastive learning alignment: Contrastive learning aligns the latent representations of images with those of CAD models, so the two modalities can be related to each other.
- Diffusion prior: An image-conditioned diffusion model is trained in the latent space. It generates CAD latent vectors from image features, which are then decoded into CAD command sequences.
- Cross-modal retrieval: The aligned representations can also be used for image-to-CAD retrieval.
Target Users
- Researchers and students working on generative design, CAD automation, and 3D generation
- Mechanical engineering or product design R&D staff who want to learn about "image-to-CAD" technology
- Machine learning researchers who need baselines for comparison or want to reproduce experiments
Core Strengths
- Outputs parametric CAD command sequences rather than meshes, so the results are editable and closer to engineering applications
- Combines multimodal contrastive learning with a latent diffusion model for CAD generation
- The code is publicly available, which makes academic reproduction and extension easier
Deployment and Technical Requirements
- This is Python-based deep learning research code; you need to set up your own Python environment and the relevant deep learning frameworks
- Training and inference generally require a GPU
- You need to prepare a CAD sequence dataset and the corresponding rendered images
- For specific dependencies, data preparation, and training and inference commands, please refer to the repository README
Things to Note
- This is a research prototype, not an out-of-the-box commercial CAD application, and it has no graphical interface
- The complexity of the CAD models it can generate is limited by the training data, and it mainly covers common modeling operations such as sketch plus extrusion
Discover more
Khoj
Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.
Local Deep Research
~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Dify
An open-source LLM application development platform for quickly building generative AI apps
Agenta
Agenta is a workspace where you and your team build agents and automations.
Aider
aider is AI pair programming in your terminal
AnythingLLM
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience