PySWBench: A Native CAD Generation Benchmark with Agentic Evaluation
Hui Deng, Sicheng He, Jintao Li, Chen Zhang, Peiji Li, Shui Yu, Yun Li
Abstract
Large language models (LLMs) and agents can now generate CAD models from text descriptions and engineering drawings, making the assessment of their modeling capabilities increasingly important. Geometric similarity captures overall shape differences but reveals little about whether specific design requirements are met or where modeling errors arise. We introduce PySWBench, a native CAD benchmark for common mechanical parts, covering text-to-CAD, drawing-to-CAD, and within-family modification. Our data pipeline recovers modeling programs from SolidWorks parts and verifies the rebuilt models, while PySW provides 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. We evaluate seven LLMs on 150 parts and 40 modification tasks, alongside two models paired with two agent harnesses. All models achieve lower requirement satisfaction on drawings than on text, with requirement interpretation and dimension setting as shared weaknesses. Process analysis links some dimensional and contour errors to misunderstood requirements and shows how planning errors affect subsequent feature construction. Feedback-based revisions improve satisfaction, but gains depend on the model-harness pairing and can come with new errors. Against human annotations, our evaluator achieves accuracies of 99.35% and 93.67% on two test sets, with the lowest miss and false-alarm rates among the evaluated methods.
Create a lesson
Metadata
- Comments
- 20 pages, 12 figures. Includes four appendices
Related papers
Beyond Binary Benchmarks: Telemetry-Grounded Evaluation of On-Device Computer-Using Agents
Shared title terminologycs.AISamreen Anjum, Muhammad Saad, Ibrahim AbuAlhaol et al.
ρ-bench: Evaluating Goal-Directed Initiative in Role-Based Agents
Shared title terminologycs.AIZiwen Wang, Tingting Li
AscendInfraBench: Benchmarking Coding Agents for Full-Lifecycle LLM Infrastructure Engineering on Ascend NPUs
Shared title terminologycs.AIZechao Chen, Sijie Wang, Zheng Bian et al.
Knowing Where Is Not Enough: Evaluating Multimodal Evidence Acquisition in Search Agents
Shared title terminologycs.AIJohn Lau, Ziheng Tan, Chenyu Lu et al.
The 48 Laws of LLM Power: Benchmarking and Mitigating Machiavellian Agent Advice
Shared title terminologycs.AIMaciej Besta, Robert Gerstenberger, Iris Zoder et al.
When Does Feedback Help? Evaluating Feedback for Iterative Refinement in Coding Agents
Shared title terminologycs.AIAmin Banayeeanzade, Mengxuan Hu, Qingchuan Yang et al.