arXiv:2610.13466cs.CVOct 2026

Manuscript Offprint

arXiv:2610.13466

A Real-World CAD Segmentation Benchmark: Comparing Rule-Based and Learning-Based Approaches through Hole Detection

Kai Schütte, Edgar Heinert, Matthias Rottmann

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

CAD segmentation datasets are predominantly synthetic or automatically labelled, leaving it unclear how well existing methods transfer to real-world engineering tasks. Fastener-relevant hole detection represents one such task, requiring human annotation and exhibiting greater geometric complexity than commonly used benchmarks. We address this gap through three main contributions. First, we develop two task-specific rule-based methods, one graph-wire-search and one multi-view based, and complement them with a human-annotated benchmark dataset derived from engineering CAD data that also enables training of UV-Net and AAGNet, representative learning-based approaches for B-Rep segmentation. Second, we conduct an extensive experimental study including parameter optimisation, evaluation on our benchmark dataset, cross-domain generalisation on a synthetic dataset, and an assessment of the feasibility of the approaches at varying dataset sizes and IoU thresholds. Third, we provide evidence-based insights into the strengths and limitations of different approaches: rule-based methods generalise well without training data, with the graph-wire-search method favouring recall and the multi-view method favouring precision, whereas learning-based methods achieve strong performance with sufficient annotations but exhibit reduced robustness under domain shift. These findings highlight trade-offs between data requirements, and robustness, and provide guidance not only for hole detection, but more broadly for real-world CAD segmentation tasks.

1. Introduction

Recent advances in CAD segmentation and machining feature recognition have been enabled by the availability of large benchmark datasets. However, most existing datasets are synthetic or derived from publicly shared CAD models, and their labels are typically generated automatically from CAD construction histories [8, 18, 37]. While this

Figure

(a) Screws on an assembly highlighted in red

Figure

(b) Part with fastener holes highlighted in red

Figure 1. Overview of screws and fastener holes

allows for large-scale training and evaluation, it is unclear how well the resulting methods transfer to real-world engineering tasks, where labels are often application-specific, manually created, and subject to ambiguity. Many engineering workflows require semantic annotations that cannot be reliably recovered from modelling operations alone [11]. These include fastener-relevant holes [35], surfaces relevant to defeating before mesh generation [25], and other functionally defined surface regions. Manually creating such annotations is costly and often results in limited training data and a lack of representative benchmarks for evaluating learning-based methods.

To investigate these challenges, we consider fastener-relevant hole detection as a representative real-world CAD segmentation task. Holes frequently occur in CAD models, either as intentional design features [35] or as artefacts introduced during modelling and format conversion [6]. Their reliable identification is challenging due to the wide variety of hole geometries [10, 17] and is particularly important for assembly modelling, where hole information reflects fastener compatibility and assembly feasibility (e.g. in car manufacturing) [32, 35]. Modern CAD systems exploit such information for automated fastener placement and assembly assistance, but existing hole-recognition tools are typically limited to comparatively simple cylindrical features [5, 31]. As a result, many fastener-relevant hole types remain difficult to detect automatically, despite occurring frequently in engineering assemblies, including geometries associated with screws, rivets, clips, and bolts (Figure 1). Their reliable identification is essential for automated assembly workflows, especially in industries with large heterogeneous models, such as aerospace or automotive. Prior work on hole detection has mainly focussed on manufacturability analysis [10, 21, 26], process planning [29, 30], meshing [16, 17, 24] and additive manufacturing [9]. Hole information has also been linked to higher-level applications like CAD search [19, 23] or assembly guidance [28]. Existing strategies fall into two families. Rule-based methods, which use geometric heuristics [12, 15–17, 27, 34] and are efficient and interpretable, but struggle with non-standard shapes and learning-based methods, which [13, 18, 24, 38] offer flexibility, but require extensive labelled data and are sensitive to domain shift [37]. However, existing evaluations are predominantly conducted on synthetic or automatically labelled datasets, leaving open how these approaches perform on manually annotated engineering CAD data. This motivates a systematic study of real-world CAD segmentation through the task of fastener-relevant hole detection. To close this gap, we systematically compare rule-based and learning-based approaches for fastener-relevant hole detection. We introduce a labelled real-world dataset, adapt UV-Net to the task, and develop two novel rule-based algorithms. This enables the first systematic comparison of the two paradigms in terms of accuracy, robustness, interpretability, and sensitivity to domain shift. Our study highlights the respective strengths and weaknesses of each approach and clarifies their suitability for automated fastener placement in heterogeneous CAD environments.

References (31)