Skip to main content
QUICK REVIEW

[Paper Review] CAD 3D Model classification by Graph Neural Networks: A new approach based on STEP format

Lorenzo Mandelli, S. Berretti|arXiv (Cornell University)|Oct 30, 2022
Manufacturing Process and OptimizationEngineering5 citations
TL;DR

This paper proposes a novel graph neural network (GNN)-based approach for 3D CAD model classification and retrieval directly from native STEP format files, converting geometric primitives into a graph structure without format conversion. The method achieves 98.9% mAP on a custom dataset, outperforming PointNet++ and matching MVCNN on equivalent 3D formats.

ABSTRACT

In this paper, we introduce a new approach for retrieval and classification of 3D models that directly performs in the Computer-Aided Design (CAD) format without any conversion to other representations like point clouds or meshes, thus avoiding any loss of information. Among the various CAD formats, we consider the widely used STEP extension, which represents a standard for product manufacturing information. This particular format represents a 3D model as a set of primitive elements such as surfaces and vertices linked together. In our approach, we exploit the linked structure of STEP files to create a graph in which the nodes are the primitive elements and the arcs are the connections between them. We then use Graph Neural Networks (GNNs) to solve the problem of model classification. Finally, we created two datasets of 3D models in native CAD format, respectively, by collecting data from the Traceparts model library and from the Configurators software modeling company. We used these datasets to test and compare our approach with respect to state-of-the-art methods that consider other 3D formats. Our code is available at https://github.com/divanoLetto/3D_STEP_Classification

Motivation & Objective

  • Address the challenge of inefficient and error-prone manual classification of 3D CAD models in large repositories.
  • Overcome the limitations of existing 3D model classification methods that rely on converted formats like point clouds or meshes, which lose geometric and parametric information.
  • Enable direct learning from native CAD data by exploiting the inherent linked structure of the STEP format.
  • Create and validate a new benchmark dataset of 3D CAD models in native STEP format for classification and retrieval tasks.
  • Demonstrate that GNNs applied to graph-structured CAD data outperform state-of-the-art models on converted 3D formats.

Proposed method

  • Transform 3D CAD models in STEP format into graph representations where nodes represent geometric primitives (e.g., surfaces, vertices) and edges represent topological connections between them.
  • Utilize Graph Convolutional Networks (GCNs) to learn hierarchical, structural features from the graph-structured CAD data for classification and retrieval.
  • Extract feature vectors from the final softmax layer of the GNN for similarity-based retrieval using cosine distance.
  • Construct two custom datasets of native CAD models: one from the Traceparts online library and one from the Configurators s.r.l. software company, manually categorized into classes.
  • Apply a cosine similarity metric to compare feature vectors and compute mean average precision (mAP) for retrieval evaluation.
  • Optimize model performance by evaluating feature extraction from different GNN layers, selecting the softmax layer as optimal for mAP.

Experimental results

Research questions

  • RQ1Can a graph neural network effectively classify 3D CAD models when directly processing native STEP format without conversion to point clouds or meshes?
  • RQ2How does the performance of GNNs on graph-converted CAD data compare to state-of-the-art models like PointNet++ and MVCNN trained on converted 3D formats?
  • RQ3What is the impact of feature vector extraction layer (e.g., softmax vs. earlier FC layers) on retrieval performance using mAP as a metric?
  • RQ4To what extent does the structural complexity of CAD models (e.g., number of nodes and arcs) affect the scalability and memory footprint of the graph representation?
  • RQ5Can the hierarchical and parametric information in CAD models be further exploited to improve classification accuracy beyond geometric type alone?

Key findings

  • The proposed GNN-based method achieved a mean average precision (mAP) of 0.989 on the first custom dataset when using feature vectors from the softmax layer and cosine distance.
  • The model reached 100% classification accuracy on the first dataset and 97.5% on the second, demonstrating strong generalization on native CAD data.
  • The softmax layer produced the highest mAP, significantly outperforming earlier layers (e.g., 0.919 for first FC layer with ReLU), confirming its effectiveness for retrieval.
  • The method surpassed PointNet++ on equivalent data converted to point clouds and matched or exceeded MVCNN performance on multiple 2D view representations.
  • Graph storage size increased linearly with the number of nodes and arcs, with 40K-node graphs requiring up to 11MB (.graphml files), indicating memory and scalability challenges for complex models.
  • The study identified that models with high variance in graph size (e.g., class 2) were harder to classify, suggesting sensitivity to structural irregularity in the data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.