惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
D
Docker
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
月光博客
月光博客
小众软件
小众软件
量子位
V
Visual Studio Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
罗磊的独立博客
博客园 - 叶小钗
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
博客园 - 司徒正美
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
C
Check Point Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
GenCAD: Generating Editable Parametric CAD Models From Im...
pickuma · 2026-05-20 · via DEV Community

Most AI 3D generators hand you a mesh — a shell of triangles you can render and 3D-print, but barely edit. Open one in Fusion 360 or SolidWorks and you cannot change a fillet radius, move a hole, or adjust a sketch dimension. The design intent is gone; you are left with frozen surface geometry. For anyone building design automation, CAD plugins, or AI-assisted engineering tools, that limitation is the whole problem.

GenCAD, a research project on generative AI for computer-aided design, takes the harder route. Instead of generating geometry, it generates the program that builds the geometry — a sequence of parametric CAD operations you can re-open, re-run, and edit.

Why a mesh is not a CAD model

A mesh describes a surface: thousands of triangles pinned in 3D space. A parametric CAD model describes a process: draw a 2D sketch, extrude it 40 mm, cut a 6 mm hole, round an edge. Each step carries editable parameters, and the order of steps encodes design intent.

That difference decides what you can do next. Change "40 mm" to "55 mm" in a parametric model and the dependent geometry updates correctly. There is no equivalent edit on a mesh — you would be dragging vertices and hoping.

GenCAD outputs the process, not the surface. Its target representation is a CAD command sequence in the style of the DeepCAD dataset: 2D sketches composed of lines, arcs, and circles, followed by extrude operations. Because the result is a short program rather than a point cloud, it drops into a feature tree and stays editable.

How GenCAD generates a design

The published approach chains three components, and understanding them tells you where it will and will not fit your stack.

First, a CAD autoencoder. A transformer is trained to compress a CAD command sequence into a fixed-length latent vector and reconstruct it back into valid commands. This produces a continuous latent space where nearby points decode to buildable designs.

Second, contrastive image-to-CAD alignment. Borrowing the idea behind CLIP, an image encoder is trained so that a rendered picture of a part lands close to that part's CAD latent. The model learns a shared space for what a part looks like and how the part is built.

Third, a latent diffusion model. Conditioned on an image embedding, it samples a CAD latent, and the autoencoder's decoder turns that latent back into a command sequence. Image in, editable CAD program out.

GenCAD builds on the DeepCAD representation, a public dataset of over 170,000 CAD construction sequences sourced from Onshape. That foundation is also a ceiling: the representation covers sketch-and-extrude modeling. Lofts, sweeps, revolves, and freeform surfacing sit outside its vocabulary, so the model reasons about prismatic, mechanical-looking parts rather than organic shapes.

What you can build on it today

GenCAD is research code with a paper, not a hosted API or an SDK. If you are scoping it into a product, four constraints matter.

The output needs a translation layer. A DeepCAD-style command sequence is not a STEP file. The sketch-and-extrude operations map cleanly onto the Onshape FeatureScript or Fusion 360 API, but you write that bridge yourself.

The operation vocabulary is narrow. Brackets, plates, housings, and simple mechanical parts are in scope. Turbine blades and ergonomic grips are not.

It is image-conditioned. GenCAD's published work generates CAD from an input image. Text-to-CAD — typing a prompt and getting a model — is a parallel research thread, not what this project does. If you need natural-language input, you are building that front end or pairing GenCAD with a separate text-to-image step.

Reproducing it means training models. You need the dataset, GPU time, and the patience to retrain. Treat GenCAD as a reference architecture for your own system, not a dependency you import.

Generated CAD can be geometrically valid and still wrong. A model may close cleanly in a kernel yet violate wall-thickness rules, miss a tolerance, or simply not match the request. Any pipeline that turns AI output into manufacturable parts needs a validation stage — geometry checks, design-rule checks, and human review before anything reaches a machine.

If you want to clone the GenCAD repository and trace how the autoencoder, contrastive encoder, and diffusion model fit together, an AI-aware editor shortens the loop. It can summarize an unfamiliar training script, explain a tensor-shape mismatch, and help draft the export bridge to your CAD kernel.

For a developer audience, the takeaway is structural. The notable move in GenCAD is not the diffusion model — it is the decision to generate an editable CAD program instead of dead geometry. Any team building AI into an engineering workflow faces the same choice, and the parametric path is the one that survives contact with a real design review.


Originally published at pickuma.com. Subscribe to the RSS or follow @pickuma.bsky.social for new reviews.