PySWBench: A Native CAD Generation Benchmark with Agentic Evaluation
Hui DengSicheng HeJLJintao LiChen ZhangPeiji LiSYShui Yu
Yun Li Hui Deng
Sicheng He
JLJintao Li
Chen Zhang
Peiji Li
SYShui Yu

Yun Li
+7
PySWBench is a native CAD benchmark for common mechanical parts covering text-to-CAD, drawing-to-CAD, and within-family modification, built on a pipeline that recovers modeling programs from SolidWorks parts and verifies the rebuilt models, with PySW tools for modeling and inspection. An evaluation agent combines programs, execution logs, and native models to check design requirements, assess six process dimensions, and trace error sources and their downstream effects. Across seven LLMs on 150 parts and 40 modification tasks, plus two models paired with two agent harnesses, all models satisfy fewer requirements on drawings than on text, with requirement interpretation and dimension setting as shared weaknesses; feedback-based revisions improve satisfaction, but gains depend on the model-harness pairing and can introduce new errors. Against human annotations, the evaluator reaches 99.35% and 93.67% accuracy on two test sets, with the lowest miss and false-alarm rates among the evaluated methods.

arXiv ·
· November 30, 2026