atlas

Research map / 3D vision / 3D generation

Generating CAD Code with Vision-Language Models for 3D Designs

ICLR 2025 · 3D vision › 3D generation · approach: Generative indoor scene synthesis · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces CADCodeVerify, a VLM self-verification loop that generates and answers yes/no validation questions about rendered CAD objects to refine CadQuery code, and a 200-prompt CADPrompt benchmark.

Problem

LLM/VLM-generated CAD scripting code often produces 3D objects that do not meet the user's specifications, and existing refinement methods rely on human-in-the-loop feedback.

Approach

An automated refinement loop where the VLM generates binary verification questions from the prompt, answers them against reference images of the rendered object (four viewpoints), and converts the Q&A into feedback to correct the CadQuery code, without human involvement or external geometric solvers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply CADCodeVerify instead of 3D-PremiseGPT-4 few-shot CAD code generation · CADPromptPoint Cloud distance: 0.137 -> 0.127Helped
apply CADCodeVerify instead of 3D-PremiseGemini few-shot CAD code generation · CADPromptPoint Cloud distance: 0.169 -> 0.147Helped
apply CADCodeVerify instead of the unrefined generationCodeLlama few-shot CAD code generation · CADPromptCompile rate: 67.0% -> 73.5%Helped
apply CADCodeVerify instead of 3D-PremiseGPT-4 few-shot CAD code generation · CADPromptCompile rate: 91.0% -> 96.5%Helped
add reference images during refinement (ablation)CADCodeVerify with GPT-4 few-shot · CADPrompt, 100 examplesPoint Cloud distance: 0.153 -> 0.126Helped
add reference images during refinement (ablation)CADCodeVerify with GPT-4 few-shot · CADPrompt, 100 examplesHausdorff distance: 0.451 -> 0.444Helped
add few-shot question examples (ablation)CADCodeVerify with GPT-4 few-shot · CADPrompt, 100 examplesPoint Cloud distance: 0.141 -> 0.126Helped
add few-shot question examples (ablation)CADCodeVerify with GPT-4 few-shot · CADPrompt, 100 examplesHausdorff distance: 0.471 -> 0.444Helped
use CADCodeVerify rather than 3D-PremiseGPT-4 on complex CADPrompt objects · CADPrompt Complex splitCompile rate: 87.4% -> 96.6%Helped

Surprising findings

Limitations

Experimental setup

Datasets: CADPrompt CADQuery documentation code examples (40 few-shot examples)

Benchmarks: CADPrompt

Metrics: Point Cloud distance Hausdorff distance IoGT compile rate

Baselines: 3D-Premise Geometric solver feedback Generated (no refinement) CodeLlama

Builds on: 3D-Premise Chain-of-Thought

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy