Abstract
Reverse engineering the construction history of 3D Computer-Aided Design (CAD) models is a critical task for design modification and software interoperability. While Boundary-Representations (B-Reps) provide precise geometric data, they lack the "recipe" of operations used to create them. We present CADOps-Net, a deep learning framework designed to reconstruct this history by jointly learning to identify construction steps and operation types. By introducing the CC3D-Ops dataset—a large-scale, complex collection of CAD models—we demonstrate that aggregating geometric features at the step level significantly enhances the model's ability to recognize design operations. Our approach achieves a 14% improvement in step segmentation and a 41% increase in logical consistency compared to independent learning methods.
Introduction
In modern engineering, 3D models are the primary vehicle for design and manufacturing. These models are typically stored as Boundary-Representations (B-Reps), which define a shape through its topological entities: faces, edges, and vertices. However, B-Reps are often "static" snapshots. When a file is exported from one CAD environment to another, the parametric history—the sequence of sketches, extrusions, and revolves—is frequently lost.
Without this history, modifying a part becomes a tedious manual process. To bridge this gap, the field of 3D reverse engineering seeks to automatically recover the construction sequence from a finished B-Rep. CADOps-Net addresses this challenge by framing it as a dual task: grouping faces into discrete construction steps and classifying the specific CAD operation associated with each group.
Methodology
CADOps-Net utilizes an end-to-end neural architecture optimized for the unique structure of B-Rep data. The framework is built upon three primary components:
1. BRepNet Backbone
The model employs a BRepNet architecture to process the geometric and topological features of the input model. By operating directly on faces and edges, the backbone extracts high-dimensional embeddings that capture the local and global shape characteristics.
2. Step Segmentation
A key challenge in CAD history recovery is that construction steps are not intrinsically ordered in a way that a standard classifier can easily predict. CADOps-Net groups faces that were created during the same operation. To handle the arbitrary nature of step indexing during training, the authors utilize Hungarian matching. This allows the loss function to compare predicted face groups against ground truth sets without being penalized for the specific numerical label assigned to a step.
3. Operation Type Classification
Simultaneously, the model classifies the CAD operation for each face (e.g., extrusion, revolution, fillet). The operations are categorized into specific roles, such as "extrude side" or "cut revolve end," providing a granular understanding of how the geometry was formed.
The Power of Joint Learning
The core innovation of CADOps-Net is its joint learning strategy. Rather than treating segmentation and classification as independent problems, the network aggregates the geometric embeddings of all faces within a predicted step. This collective information is then fed back into the operation type classifier. This ensures that the model's predictions are logically consistent; for instance, it prevents a single construction step from being assigned conflicting operation types, such as an extrusion and a fillet.
The CC3D-Ops Dataset
To evaluate the model's performance on realistic engineering tasks, the researchers introduced the CC3D-Ops dataset. While existing datasets like the Fusion360 Gallery provide a baseline, they often consist of simple models with only 1–3 construction steps. In contrast, CC3D-Ops contains over 37,000 models with significantly higher complexity, featuring up to 262 steps and 11 distinct operation types. This dataset provides a more rigorous benchmark for testing a model's ability to handle intricate design histories.
Results and Discussion
CADOps-Net demonstrates state-of-the-art performance across several metrics:
- Segmentation Accuracy: On the CC3D-Ops dataset, the joint learning approach improved step segmentation accuracy by approximately 14% compared to models where the modules were trained separately.
- Logical Consistency: The researchers introduced a consistency metric ($R_C$) to measure how often a model assigns the same operation type to all faces in a single step. CADOps-Net saw a 41% increase in $R_C$, effectively eliminating many "impossible" CAD histories.
- Downstream Applications: The model's utility was further proven through automated sketch recovery. By accurately identifying the faces and operation types, the system could successfully reconstruct the 2D sketches that originally drove the 3D extrusions.
Limitations and Future Work
Despite its success, CADOps-Net faces challenges inherent to the CAD domain. First, CAD modeling is subjective; multiple sequences of operations can result in the same final geometry. The model currently targets a single "ground truth" path, which may not account for this design ambiguity. Second, while the model groups faces into steps, it does not yet recover the full chronological order of those steps. Future research will focus on temporal sequencing and expanding the model's capability to handle more complex operations like lofts and sweeps.
Conclusion
CADOps-Net represents a significant step forward in 3D reverse engineering. By recognizing that construction steps provide the necessary context for operation classification, the framework achieves high accuracy and logical consistency on complex, real-world CAD data. This work lays the foundation for more intelligent CAD tools that can seamlessly translate "dumb" geometry back into editable, parametric designs.
Summary updated