Lune

ICML2026Top-tier venue

CADFit: Precise Mesh-to-CAD Program Generation with Hybrid Optimization

Ghadi Nehme, Eamon Whalen, Faez Ahmed

Abstract

Despite recent progress, recovering parametric CAD construction sequences from geometric input, such as meshes or point clouds, is a key challenge for design and manufacturing, as existing CAD reconstruction and generation methods are largely restricted to difficult-to-edit formats like meshes or Breps or editable simple sketch-and-extrude pipelines and low-complexity datasets. We introduce CADFit, a hybrid optimization-based CAD reconstruction framework that recovers complex, editable CAD construction sequences from meshes by incrementally fitting and validating parametric operations using geometric feedback. Our approach is distinguished by formulating reconstruction as an IoU-driven optimization over structured CAD programs and supporting a rich set of operations, including extrusions, revolutions, fillets, and chamfers. Experiments on multiple CAD benchmarks show that CADFit outperforms state-of-the-art mesh-to-CAD methods in volumetric Intersection-over-Union and Chamfer Distance, while substantially reducing the Invalid Ratio of reconstructed CAD programs, particularly for complex designs. We further present a multimodal pipeline that enables end-to-end reconstruction of CAD construction sequences from images by combining image-based geometry reconstruction with CADFit. By enabling accurate reconstruction of higher-complexity CAD models, CADFit provides a practical foundation for generating richer datasets and advancing future learning-based approaches to CAD reverse engineering. The code is available at: https://github.com/ghadinehme/CADFit.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Hierarchical Neural Coding for Controllable CAD Model Generation cites UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry Tree
  • Hierarchical Neural Coding for Controllable CAD Model Generation cites Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences
  • Hierarchical Neural Coding for Controllable CAD Model Generation cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences cites UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry Tree
  • BrepGen: A B-rep Generative Diffusion Model with Structured Latent Geometry cites Hierarchical Neural Coding for Controllable CAD Model Generation
  • BrepGen: A B-rep Generative Diffusion Model with Structured Latent Geometry cites UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry Tree
  • BrepGen: A B-rep Generative Diffusion Model with Structured Latent Geometry cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • DeepCAD: A Deep Generative Network for Computer-Aided Design Models cites UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry Tree
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on14

  1. DeepCAD: A Deep Generative Network for Computer-Aided Design ModelsRundi Wu, Chang Xiao, Changxi ZhengICCV 2021 · 290 citations
  2. Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequencesKarl D. D. Willis, Yewen Pu, Jieliang Luo, Hang Chu et al.SIGGRAPH 2021 · 197 citations
  3. UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry TreeKacper Kania, Maciej Zieba, Tomasz KajdanowiczNeurIPS 2020 · 133 citations
  4. Hierarchical Neural Coding for Controllable CAD Model GenerationXiang Xu, Pradeep Kumar Jayaraman, Joseph George Lambourne, Karl D. D. Willis et al.ICML 2023 · 88 citations
  5. BrepGen: A B-rep Generative Diffusion Model with Structured Latent GeometryXiang Xu, Joseph G. Lambourne, Pradeep Kumar Jayaraman, Zhengqing Wang et al.SIGGRAPH 2024 · 62 citations

Related papers

  1. MiCADangelo: Fine-Grained Reconstruction of Constrained CAD Models from 3D ScansAhmet Serdar Karadeniz, Dimitrios Mallis, Danila Rukhovich, Kseniya Cherenkova et al.NeurIPS 2025 · 4 citations
  2. Point2CAD: Reverse Engineering CAD Models from 3D Point CloudsYujia Liu, Anton Obukhov, Jan Dirk Wegner, Konrad SchindlerCVPR 2024
  3. CADCrafter: Generating Computer-Aided Design Models from Unconstrained ImagesCheng Chen, Jiacheng Wei, Tianrun Chen, Chi Zhang et al.CVPR 2025
  4. SECAD-Net: Self-Supervised CAD Reconstruction by Learning Sketch-Extrude OperationsPu Li, Jianwei Guo, Xiaopeng Zhang, Dong-Ming YanCVPR 2023
  5. SfmCAD: Unsupervised CAD Reconstruction by Learning Sketch-based Feature Modeling OperationsPu Li, Jianwei Guo, Huibin Li, Bedrich Benes et al.CVPR 2024
Dusk over the sea between two cliffs drawn in fine vertical lines