Text-to-CadQuery
Research pipeline that turns text prompts into CadQuery code, with annotation, training, inference, and evaluation stages built on Text2CAD and DeepCAD.
What it does and how it connects
Text-to-CadQuery is a research pipeline that turns text prompts into CadQuery code. It supports an IEEE T-ASE submission and builds on Text2CAD and DeepCAD, with data annotation, model training, inference, and evaluation stages across open-source LLMs.
The annotation stage labels CAD sequences with Gemini 2.0 Flash on top of the Text2CAD dataset, and the README links an annotated dataset on HuggingFace. Training scripts cover CodeGPT, Gemma, GPT-2, Mistral, and Qwen, with finetuned models published on HuggingFace.
Inference runs in five steps: generate CadQuery code from a prompt, extract valid Python and run it to produce STL files, render the STL files with Blender, evaluate the renders with Gemini 2.0 Flash, and compute quantitative metrics such as Chamfer Distance and other geometric similarity scores.
What engineers report
hello really thanks for this amaizing work, i was checking different results you arrived to and it is nice job u did
2025-05-31Read the originalGreat work! May I ask when you plan to release the dataset? Currently, the dataset page returns a 404.
2025-08-26Read the original
Alternatives
Compare side by side- text-to-cad
Generates CAD from text prompts through coding agents, while Text-to-CadQuery is a research pipeline that trains models to write CadQuery code.
- build123d
A Python code-first CAD library, while Text-to-CadQuery trains and evaluates models that generate CadQuery code from text.
- chili3d
A browser CAD application, while Text-to-CadQuery is a research pipeline for text-to-CadQuery generation, not an interactive CAD app.
- brepjs
A TypeScript B-Rep CAD library with a verify CLI, while Text-to-CadQuery is a training and evaluation pipeline for CadQuery generation.
- VibeCAD (rawwerks)
A library of Claude Code skills for CAD tools, while Text-to-CadQuery is a research pipeline with annotation, training, and evaluation stages.
Recurring errors it addresses
Error Index entries this tool is built to reduce or work around.
Sources
Not verified
- License (the GitHub API returns no license and no LICENSE file exists in the repo)
- Pricing (none stated on the repo)
- No GitHub releases exist, so latest release fields are null
- A named individual builder beyond the Text-to-CadQuery organization
Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.