Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts

Abstract

Prototyping complex computer-aided design (CAD) models in modern softwares can be very time-consuming. This is due to the lack of intelligent systems that can quickly generate simpler intermediate parts. We propose Text2CAD, the first AI framework for generating text-to-parametric CAD models using designer-friendly instructions for all skill levels. Furthermore, we introduce a data annotation pipeline for generating text prompts based on natural language instructions for the DeepCAD dataset using Mistral and LLaVA-NeXT. The dataset contains $\sim170$K models and $\sim660$K text annotations, from abstract CAD descriptions (e.g., _generate two concentric cylinders_) to detailed specifications (e.g., _draw two circles with center_ $(x,y)$ and _radius_ $r_{1}$, $r_{2}$, \textit{and extrude along the normal by} $d$...). Within the Text2CAD framework, we propose an end-to-end transformer-based auto-regressive network to generate parametric CAD models from input texts. We evaluate the performance of our model through a mixture of metrics, including visual quality, parametric precision, and geometrical accuracy. Our proposed framework shows great potential in AI-aided design applications. Project page is available at https://sadilkhan.github.io/text2cad-project/.

Cite

Text

Khan et al. "Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts." Neural Information Processing Systems, 2024. doi:10.52202/079017-0242

Markdown

[Khan et al. "Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts." Neural Information Processing Systems, 2024.](https://mlanthology.org/neurips/2024/khan2024neurips-text2cad/) doi:10.52202/079017-0242

BibTeX

@inproceedings{khan2024neurips-text2cad,
  title     = {{Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts}},
  author    = {Khan, Mohammad Sadil and Sinha, Sankalp and Sheikh, Talha Uddin and Stricker, Didier and Ali, Sk Aziz and Afzal, Muhammad Zeshan},
  booktitle = {Neural Information Processing Systems},
  year      = {2024},
  doi       = {10.52202/079017-0242},
  url       = {https://mlanthology.org/neurips/2024/khan2024neurips-text2cad/}
}