Text-to-CadQuery turns plain language into editable CAD scripts
Researchers fine-tuned Qwen2.5 language models to write CadQuery Python code from text descriptions, reporting large gains over a prior baseline on held-out CAD models.
In plain words
The team taught language models to convert written descriptions into short Python programs that build parametric 3D CAD parts. Because the output is standard code, engineers can read, edit, and export it without extra conversion tools. The authors report their largest model beats an earlier approach on several accuracy measures.
What was announced
The arXiv paper argues that earlier text-to-CAD systems produce custom command sequences that pretrained models never saw during training, requiring dataset-specific conversion code before anything becomes a 3D model. The new approach instead generates CadQuery, a Python-based CAD scripting language, directly from text.
To train it, the authors augmented the Text2CAD dataset with 170,000 CadQuery annotations, produced by deterministic translation and checked geometrically against the source models. They fine-tuned four Qwen2.5 sizes, from 0.5B to 7B parameters, under identical settings and saw consistent gains with scale. On held-out models, the best version reportedly lifts the Text2CAD baseline's F1 score from 0.34 to 0.69 and volumetric IoU from 0.38 to 0.74, while a vision-language judge matched the reference 65.4% of the time versus 28.0% before. Against a command-sequence baseline on the same backbone, the paper claims equal shape accuracy, slightly better absolute dimensions, better transfer on a small external benchmark, and readable programs that export directly to STEP. These results come from the authors' own evaluation and have not been independently confirmed.
What it does not show
- Evidence is limited to the paper's abstract; the full method, experiments, and failure cases are not covered here.
- All reported metrics and comparisons are the authors' own claims, with no independent verification in the supplied material.
- The external-benchmark transfer test is described only as small, so its breadth is unclear.
For security and IT teams
- Scope
- The source is the paper's abstract only, so conclusions rest on the authors' summary rather than the full text.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.