DreamCAD: Scaling Multi-modal CAD Generation using Differentiable Parametric Surfaces

Mohammad Haziq Khan, Muhammad Usama, Rolandos Alexandros Potamias, Didier Stricker, Muhammad Zeshan Afzal, Jiankang Deng, Ismail Elezi

Abstract

Computer-Aided Design (CAD) relies on structured and editable geometric representations, yet existing generative methods are constrained by small annotated datasets with explicit design histories or boundary representation (BRep) labels. Meanwhile, millions of unannotated 3D meshes remain untapped, limiting progress in scalable CAD generation. To address this, we propose DreamCAD, a multi-modal generative framework that directly produces editable BReps from point-level supervision, without CAD-specific annotations. DreamCAD represents each BRep as a set of parametric patches (e.g., Bézier surfaces) and uses a differentiable tessellation method to generate meshes. This enables large-scale training on 3D datasets while reconstructing connected and editable surfaces. Furthermore, we introduce CADCap-1M, the largest CAD captioning dataset to date, with 1M+ descriptions generated using GPT-5 for advancing text-to-CAD research. DreamCAD achieves state-of-the-art performance on ABC and Objaverse benchmarks across text, image, and point modalities, improving geometric fidelity and surpassing 75% user preference.

Introduction: Bridging the Representation Gap

In the world of 3D design, a significant "representation gap" exists between visualization-focused meshes (clouds of triangles) and engineering-ready Boundary Representations (BReps). While meshes are suitable for rendering, engineers require precise mathematical surfaces—such as Bézier curves—that can be manipulated in professional CAD software like SolidWorks or AutoCAD.

DreamCAD multi-modal generation and CADCap-1M dataset overview.

The primary challenge in training AI for CAD generation has been the scarcity of "design history" data—the step-by-step construction instructions for a part. DreamCAD overcomes this by learning to interpret unstructured 3D meshes and reconstruct them as parametric CAD surfaces, effectively unlocking millions of existing 3D models for training.

Methodology: Differentiable Parametric Surfaces

DreamCAD introduces several innovations to enable high-fidelity CAD generation:

  • Differentiable Tessellation: The model predicts bicubic rational Bézier patches. By developing a differentiable method to convert these patches into meshes, the system can directly minimize the difference (Chamfer Loss) between generated surfaces and target 3D meshes during training.
  • Structural $C^0$ Continuity: To prevent gaps between patches, DreamCAD employs a structural approach. It maps a voxel grid's external faces to patches and forces adjacent patches to share boundary control points, guaranteeing watertight, manifold geometry.
  • Coarse-to-Fine Flow Matching: A two-stage process first generates a coarse voxel representation, which a "Flow Transformer" then refines into precise parametric surfaces.
  • Multi-modal Conditioning: The architecture supports diverse inputs, utilizing DINOv2 for images and PointNet++ for point clouds, allowing for flexible Text2CAD, Image2CAD, and Point2CAD workflows.

Scaling with CADCap-1M

To advance text-to-CAD research, we introduce CADCap-1M, the largest dataset of its kind. It contains over 1 million high-quality descriptions generated by GPT-5. Unlike standard image-to-text models that may hallucinate technical details, CADCap-1M leverages raw CAD metadata (e.g., hole counts, dimensions, part names) to ensure functional accuracy in the captions. This dataset allows the model to understand technical features, such as the number of teeth on a gear or specific mounting hole configurations.

Results and Performance

DreamCAD establishes a new state-of-the-art across multiple benchmarks:

  • Geometric Fidelity: In point-to-CAD tasks, DreamCAD reduced Chamfer Distance by up to 70% compared to previous methods.
  • User Preference: Blind evaluations by CAD experts and GPT-4V showed a preference for DreamCAD outputs over 75% of the time.
  • Geometric Validity: The model achieved a 0% invalidity ratio on the ABC dataset, a significant improvement over methods that produce non-manifold or "broken" geometry.
  • Industry Compatibility: Outputs are exportable as standard STEP files, enabling immediate use in professional engineering environments.

Conclusion and Future Work

DreamCAD demonstrates that design history is not a prerequisite for learning CAD generation. By making geometry differentiable and scaling with the CADCap-1M dataset, we bridge the gap between unstructured 3D data and editable engineering models. While current outputs focus on patch collections, future work will integrate topology recovery—potentially using large language models like Qwen3—to produce fully structured BRep trees with boolean operations and fillets.

Summary updated

Abstract

Computer-Aided Design (CAD) relies on structured and editable geometric representations, yet existing generative methods are constrained by small annotated datasets with explicit design histories or boundary representation (BRep) labels. Meanwhile, millions of unannotated 3D meshes remain untapped, limiting progress in scalable CAD generation. To address this, we propose DreamCAD, a multi-modal generative framework that directly produces editable BReps from point-level supervision, without CAD-specific annotations. DreamCAD represents each BRep as a set of parametric patches (e.g., Bézier surfaces) and uses a differentiable tessellation method to generate meshes. This enables large-scale training on 3D datasets while reconstructing connected and editable surfaces. Furthermore, we introduce CADCap-1M, the largest CAD captioning dataset to date, with 1M+ descriptions generated using GPT-5 for advancing text-to-CAD research. DreamCAD achieves state-of-the-art performance on ABC and Objaverse benchmarks across text, image, and point modalities, improving geometric fidelity and surpassing 75% user preference. Code and dataset will be publicly available.
BibTeX
@misc{khan2026dreamcad,
  author = {Mohammad Haziq Khan and Muhammad Usama and Rolandos Alexandros Potamias and Didier Stricker and Muhammad Zeshan Afzal and Jiankang Deng and Ismail Elezi},
  title = {{DreamCAD: Scaling Multi-modal CAD Generation using Differentiable Parametric Surfaces}},
  year = {2026},
  eprint = {2603.05607},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.05607},
}
Figure