NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mates2Motion: Learning How Mechanical CAD Assemblies Work

James Noeckel, Benjamin T. Jones, Karl Willis, Brian Curless, Adriana Schulz

Abstract

Mates2Motion is a deep learning framework designed to infer mechanical motion from static CAD assemblies. By predicting degrees of freedom (DoF) between parts represented as Boundary Representation (B-Rep) models, the framework restores functional "intelligence" lost during standard file exports. We introduce a "maximal connectivity" approach to resolve labeling ambiguities and utilize a Spatial Boundary Graph Convolutional Network (SBGCN) for prediction. Our model achieves 96.3% accuracy in axis prediction and significantly outperforms existing baselines, approaching human-level performance on expert-validated benchmarks.

Introduction

In mechanical engineering, CAD assemblies are defined by "mates"—constraints that specify how parts connect and move relative to one another. While these constraints are vital for functional simulation, they are often lost when models are exported to standard formats like STEP or IGES, which only preserve pure geometry (Boundary Representations or B-Reps).

Examples of mechanical assemblies with complex motion constraints.

Inferring motion from static geometry is challenging due to "motion-to-mate ambiguity," where multiple mathematical definitions can describe the same physical movement. Mates2Motion addresses this by learning to predict motion types and axes directly from professional-grade CAD geometry.

Methods

The Mates2Motion pipeline consists of three main stages: data refinement, architectural modeling, and multi-step prediction.

Data Refinement and Maximal Connectivity

To handle the inherent noise in large-scale CAD datasets, the authors applied heuristic filtering to remove incomplete or invalid designs. To resolve labeling inconsistencies, they introduced Maximal Connectivity. This process "densifies" assemblies by automatically adding all mathematically valid mates between contacting parts that align with the intended motion, creating a consistent ground truth for training.

Model Architecture

The core of the framework is a Spatial Boundary Graph Convolutional Network (SBGCN). Unlike point-cloud-based models, SBGCN is tailored for B-Rep data, processing the topological relationships between faces, edges, and vertices.

Two-Step Prediction

The model performs two distinct tasks:

  1. Motion Type Classification: An MLP classifies the joint into one of four categories: Fastened, Revolute, Slider, or Cylindrical.
  2. Motion Axis Selection: Instead of generating an axis from scratch, the model selects from candidate axes derived from the part geometry (e.g., hole centers or face normals).
The four primary motion types predicted by Mates2Motion.

Datasets and Evaluation

The study utilized a massive repository of 125,133 CAD assemblies from Onshape, eventually narrowed down to a "Final" set of 7,328 high-quality assemblies. To establish a "gold standard," the researchers created an Expert-Validated Test Set where four CAD experts manually annotated 100 assemblies. This set highlighted the subjectivity of the task: experts agreed on mate types only about 70% of the time, establishing a realistic "human ceiling" for model performance.

Results

Mates2Motion demonstrated significant improvements over previous state-of-the-art methods:

  • Axis Prediction: The system achieved a remarkable 96.3% accuracy, confirming that geometry strongly implies the axis of motion.
  • Type Prediction: The model reached 65% accuracy on the full dataset and 49.4% on the expert-validated set.
  • Baseline Comparison: The framework provided a 25% improvement over the most-frequent-class baseline, outperforming prior methods like AutoMate.

Discussion and Future Work

A key insight from this research is the impact of "user intent." CAD data is subjective; for instance, a user might model a bolt as "fastened" for simplicity, even if it is physically "revolute." This subjectivity limits the theoretical maximum accuracy of any single-prediction model.

Future work will focus on expanding the framework to handle more complex joints (e.g., gears) and incorporating broader assembly-wide context to better capture how multiple parts interact within a larger mechanical system.

Summary updated

BibTeX
@misc{noeckel2022mates,
  author = {James Noeckel and Benjamin T. Jones and Karl Willis and Brian Curless and Adriana Schulz},
  title = {{Mates2Motion: Learning How Mechanical CAD Assemblies Work}},
  year = {2022},
  eprint = {2208.01779},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.01779},
}
Figure