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

arXiv cs.CV / 5/5/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • The article introduces CADFit, a hybrid optimization framework for reconstructing parametric, editable CAD construction sequences directly from mesh inputs.
  • CADFit treats reconstruction as an IoU-driven optimization over structured CAD program representations, incrementally fitting and validating parametric operations using geometric feedback.
  • It supports a broad set of CAD operations—such as extrusions, revolutions, fillets, and chamfers—aiming to overcome limitations of prior mesh-to-CAD methods.
  • Experiments on multiple benchmarks report improved volumetric Intersection-over-Union and Chamfer Distance versus existing mesh-to-CAD approaches, with a significantly lower invalid program rate, especially for complex designs.
  • The work also presents a multimodal pipeline that reconstructs CAD construction sequences end-to-end from images by combining image-based geometry reconstruction with CADFit.

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.