ICAD: Search-based Algorithm for CAD Reconstruction
Albert Garifullin, Nikolay Mayorov, Nikolay Petrov, Dmitrii Zhemchuzhnikov, Soslan Kabisov, Vladimir Frolov
Lomonosov Moscow State University · Institute for Artificial Intelligence of Lomonosov Moscow State University
Published November 27, 2026 · on the feed December 2, 2026 · ▲ 5 · arXiv 2611.37246
The abstract
We propose a search-based approach to CAD reverse engineering that recovers a CAD program from a triangle mesh. Our method outperform state-of-the-art accuracy being generally faster than existing approaches, and running on a standard desktop CPU. The pipeline is multi-stage: First, primitive detectors extract candidate extrusions and revolutions from the target mesh to seed an initial population; a genetic algorithm then searches the program space by mutating the discrete structure, while in each generation, gradient descent refines the continuous parameters of the top half of the population using analytic gradients from a differentiable signed distance field (SDF) evaluator; finally, a post-processing pass prunes negligible features, simplifies profiles, and fits arcs. Our pipeline don't rely on any pre-trained data, although it can use such data inside primitive detector module, and this give additional accuracy when the data is available. On the output our optimizer map CAD model to CadQuery code and takes the form of a construction history: a sequence of features, where each feature extrudes or revolves a 2D sketch (composed of line and arc loops), places it in 3D space, and applies a Boolean union, difference, or intersection.
The Brief
2:22A short podcast summary of the paper. Written and voiced by AI.
Transcript
ICAD. Search-based Algorithm for CAD Reconstruction. By Albert Garifullin and five others, from Lomonosov Moscow State University and the Institute for Artificial Intelligence of Lomonosov Moscow State University. Published on the twenty-seventh of November.
CAD reverse engineering starts from a shape and works backwards. Given a triangle mesh, the goal is to recover a CAD program: the sequence of modelling operations that would build that shape. The output is meant to be a construction history, a list of features where each one takes a 2D sketch made of loops of lines and arcs, extrudes or revolves it, places it in 3D space, and combines it with what came before through a Boolean union, difference or intersection. The authors map that history to CadQuery code.
Instead of learning to predict the program, ICAD searches for it. The program has a discrete structure, which features exist and how they combine, and continuous parameters, the sizes and positions inside them. The approach handles each part with the tool that suits it: evolutionary search for the structure, gradient descent for the numbers. A structural choice, like adding a feature or swapping a union for a difference, cannot be reached by following a gradient. A dimension can.
The pipeline runs in stages. First, primitive detectors pull candidate extrusions and revolutions out of the target mesh, and these seed an initial population. A genetic algorithm then searches the space of programs by mutating their discrete structure. Within each generation, the top half of the population has its continuous parameters refined by gradient descent, using analytic gradients from a differentiable signed distance field evaluator. Finally, a post-processing pass prunes negligible features, simplifies profiles, and fits arcs. The pipeline does not depend on any pre-trained data, though the primitive detector module can use such data when it is available, and that adds accuracy.
The authors report accuracy above the state of the art, while being generally faster than existing approaches. It does this on a standard desktop CPU. Because the pipeline needs no pre-trained data, the accuracy does not hinge on a training set being available. When such data does exist, it plugs in only at one point, the primitive detector, where it improves the initial candidates the search starts from.
ICAD shows a reconstruction route where search does the heavy lifting and learning is optional. A genetic algorithm explores the shape of the program, a differentiable distance field tunes its numbers, and the result comes out as a construction history in code rather than as another mesh.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free