← Latest papers
💻 computer science

Towards High-Fidelity CAD Generation via LLM-Driven Program Generation and Text-Based B-Rep Primitive Grounding

This paper presents FutureCAD, a novel text-to-CAD framework that bridges the gap between parametric modeling and boundary representation (B-Rep) synthesis by combining a fine-tuned large language model for script generation with a B-Rep grounding transformer to enable high-fidelity, natural language-driven industrial design.

Original authors: Jiahao Li, Qingwang Zhang, Qiuyu Chen, Guozhan Qiu, Yunzhong Lou, Xiangdong Zhou

Published 2026-03-13
📖 4 min read☕ Coffee break read

Original authors: Jiahao Li, Qingwang Zhang, Qiuyu Chen, Guozhan Qiu, Yunzhong Lou, Xiangdong Zhou

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you want to build a custom piece of furniture, like a high-tech chair, but you don't know how to use the complex, professional software engineers use (CAD). Usually, you'd have to hire an expert or spend years learning the tools.

This paper introduces FutureCAD, a new AI system designed to be your "magic translator." It lets you describe your dream chair in plain English, and it builds the perfect, professional 3D model for you.

Here is how it works, broken down into simple concepts and analogies:

The Problem: The "Two Languages" Gap

Think of modern CAD software as a construction site with two different types of workers who don't speak the same language:

  1. The Architect (Parametric Modeling): This worker builds the skeleton of the chair step-by-step (e.g., "Draw a circle, then pull it up"). They are great at structure but bad at the messy, detailed finishing touches.
  2. The Finisher (B-Rep Synthesis): This worker handles the smooth edges, the rounded corners (fillets), and the sharp bevels (chamfers). They work directly on the physical shape but often forget the original "blueprint" or instructions.

The Issue: Existing AI tools usually pick one worker and ignore the other. If you ask an AI to "round off the sharp edges," a standard AI might get confused because it doesn't know which edges you are talking about, or it might build a shape that looks right but falls apart when you try to manufacture it.

The Solution: FutureCAD

FutureCAD acts as a Project Manager who speaks both languages fluently. It uses two main tools to solve the problem:

1. The "Code-Speaking" AI (The LLM)

Imagine a very smart robot that knows how to write the computer code (CadQuery) needed to build the chair.

  • What it does: You tell it, "Make a hexagonal seat with rounded corners."
  • The Twist: Instead of just guessing which corners to round, the AI writes a script that says, "Find the six edges of the hexagon and round them."
  • The Magic: It doesn't just guess the coordinates; it writes a natural language question inside the code, like a sticky note saying, "Hey, find the edges!"

2. The "Grounding" Robot (BRepGround)

This is the system's "eyes and hands."

  • The Problem: The code says "find the edges," but the computer needs to know exactly which digital lines those are in the 3D model at that specific moment.
  • The Solution: BRepGround is a specialized AI that looks at the 3D model currently being built and reads the sticky note ("Find the edges"). It scans the model, understands the shape, and points the computer to the exact correct lines to round off.
  • Analogy: If the LLM is the architect shouting, "Paint the windows!", BRepGround is the painter who looks at the house, identifies exactly which glass panes are the windows, and paints them.

How They Learn (The Training Camp)

To make this team work perfectly, the researchers taught them in two stages:

  1. The Homework Phase (Supervised Fine-Tuning): They showed the AI thousands of examples of "Description -> 3D Model" pairs. The AI learned the basic rules of how to turn words into code.
  2. The Practice Phase (Reinforcement Learning): This is like a video game. The AI tries to build a chair.
    • If the chair collapses or the code crashes, it gets a "bad score."
    • If the chair looks exactly like the description and is solid, it gets a "good score."
    • Over time, the AI learns to avoid mistakes and get the details right, just like a video game character leveling up.

Why This Matters

  • Realism: Previous AI tools could make simple boxes, but they struggled with complex industrial designs (like car parts or ergonomic chairs) that need rounded edges and smooth curves. FutureCAD handles these "advanced features" perfectly.
  • Accuracy: It doesn't just guess; it verifies the geometry. The result is a model that is ready to be 3D printed or manufactured immediately.
  • Accessibility: It bridges the gap between "I have an idea" and "Here is a professional engineering file."

In a Nutshell

FutureCAD is like having a master carpenter who listens to your casual description, writes the precise instructions, and has a smart assistant who double-checks every single cut and curve to ensure the final product is exactly what you imagined, down to the smallest rounded corner. It turns "I want a cool chair" into a factory-ready blueprint.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →