DrawScore: Evaluating Generated CAD Models against Engineering Drawings

Haorui Chen, Shiteng Lu, Zhanyu Guo, Zaixi Li, Yunhe Ni, Yaosong Du, Yichen Xiang, Xiande Huang, Rui HuangarXiv 2026 · arXiv

In the world of automated Computer-Aided Design (CAD), a model that looks 99% perfect to an algorithm might be a total failure on the factory floor. This discrepancy exists because standard evaluation metrics often ignore the "small stuff"—like a misplaced bolt hole or a slightly off-center slot—that is critical for manufacturing.

DrawScore is a new evaluation metric that bridges this gap by mimicking how human engineers inspect parts: through 2D engineering drawings. By projecting 3D models into orthographic views and comparing their lines, DrawScore provides a much more sensitive and manufacturing-aware way to grade AI-generated CAD models.

TL;DR

DrawScore evaluates generated CAD models by comparing their 2D orthographic projections (engineering drawings) rather than their 3D volumes. This approach makes the metric significantly more sensitive to small but critical local errors, like misplaced holes, which standard 3D metrics often overlook.

What Problem Does This Paper Address?

Current CAD generation agents are typically evaluated using metrics like Volumetric IoU (Intersection over Union) or Chamfer Distance. While these are great for capturing the overall "bulk" shape of an object, they suffer from a mathematical blind spot.

Because these metrics integrate over 3D volumes or 2D surfaces, the "weight" of a small feature (like a hole) vanishes rapidly as the feature gets smaller. For example, if a hole's diameter is halved, its impact on a volumetric IoU score drops by a factor of eight ($2^3$). To a traditional algorithm, a misplaced hole is a rounding error; to a machinist, it’s a scrapped part.

Figure 1. Comparison of two candidate CAD models generated by an existing CAD generation agent against the ground truth.

Methods

The authors propose a unified framework to analyze geometric metrics, showing that the sensitivity of a metric depends on the dimension of its integration domain ($k$) and its penalty function ($q$).

DrawScore is designed based on three key principles to maximize sensitivity:

  1. 1D Integration Domain ($k=1$): Instead of comparing volumes ($k=3$) or surfaces ($k=2$), DrawScore projects models into three orthographic views (Front, Top, Right) and compares the resulting curves. This includes both visible edges and hidden lines.
  2. Saturating Penalty ($q=0$): Unlike Chamfer distance, where the penalty shrinks as the error gets smaller, DrawScore uses a Gaussian saturating penalty. This ensures that even small deviations maintain a significant "weight" in the final score.
  3. Multi-View Aggregation: It calculates recall and precision for each view and takes the minimum score across the three views. This prevents a perfect match in two views from "averaging out" a critical error visible only in the third.

Datasets

The researchers validated DrawScore using several benchmarks:

  • Controlled Samples: 53 comparisons created from 35 ground-truth models to mathematically prove the "decay order" of different metrics.
  • DeepCAD & Fusion360 Gallery: Used for training and evaluating CAD generation agents via Reinforcement Learning (RL).
  • Ortho2CAD: A dataset specifically for generating 3D models from 2D drawings.
  • BenchCAD: A more challenging dataset used to test DrawScore's ability to select the best candidate from a pool of AI-generated options at inference time.

Key Insights and Ideas

  • The "Decay" Problem: The paper mathematically proves that for volume-based metrics, the importance of an error decays as the cube of its size. DrawScore reduces this to a linear decay, making it much harder for small errors to hide.
  • Hidden Lines Matter: Many internal errors (like a hole that doesn't go deep enough) are invisible in standard surface-based metrics. By including hidden lines in the 2D projections, DrawScore catches these internal discrepancies.
  • Volume vs. Detail: The authors found that existing AI agents are actually quite good at getting the "volume" right, but they struggle with "details." 18.9% of models that IoU rated as nearly perfect ($\ge 0.95$) were flagged by DrawScore as having significant errors.
Figure 2. Sensitivity of geometric similarity metrics to different local errors. In each column, the top row shows an error to which the metric in bold is sensitive, and the bottom row an error to which it is insensitive.

Key Results

  • Better Evaluation: DrawScore exposed local errors in nearly 20% of outputs that traditional metrics considered "perfect."
  • Improved Training: When used as a reward function for Reinforcement Learning, DrawScore improved the validity of generated models from 75.2% to 89.5% and boosted performance across all other geometric metrics.
  • Test-Time Verification: In scenarios where a 2D drawing is the input (like Ortho2CAD), DrawScore can be used at inference time to pick the best model from a set of candidates without needing a 3D ground truth. This "Best-of-N" selection outperformed single-generation baselines significantly.

Limitations and Future Work

  • Vector Requirement: DrawScore currently requires input drawings to be in vector format. If the input is a raster image (like a scan of a paper drawing), it must be vectorized first.
  • Computational Cost: Because it involves hidden-line removal and multiple projections, DrawScore is slower to compute than simple point-cloud metrics.
  • Internal Complexity: While hidden lines help, extremely complex internal cavities might still be obscured. The authors suggest that adding section views (cross-sections) to DrawScore is a promising direction for future work.

Summary updated

Abstract

Automatic CAD generation is commonly evaluated with volumetric IoU, Chamfer Distance, and surface F-score, which barely penalize local errors that occupy only a small fraction of a part's volume or surface area, such as a misplaced hole or a slot on the wrong face, even though such errors are critical to manufacturing. We formalize these metrics in a unified integral form and show that the weight of a local error decays as the $(k+q)$-th power of its size, where $k$ is the dimension of the integration domain and $q$ is determined by the penalty function. Guided by this analysis, we propose DrawScore, which projects both models into three orthographic views with visible and hidden lines, as in engineering drawings, and applies a saturating penalty along the projected curves, so that the weight of a local error decays only linearly. Controlled experiments confirm the predicted decay orders, and on outputs of existing CAD generation agents, DrawScore exposes errors in outputs that IoU rates as nearly perfect. DrawScore further improves generation as a reinforcement learning reward and, for CAD generation from engineering drawings, serves as a test-time verifier without 3D ground truth or an additional reward model. Our code is available at https://github.com/UESTC-Simon/DrawScore.
BibTeX
@misc{chen2026drawscore,
  author = {Haorui Chen and Shiteng Lu and Zhanyu Guo and Zaixi Li and Yunhe Ni and Yaosong Du and Yichen Xiang and Xiande Huang and Rui Huang},
  title = {{DrawScore: Evaluating Generated CAD Models against Engineering Drawings}},
  year = {2026},
  eprint = {2611.24681},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24681},
}
Figure