An Intelligent Analysis Method for 3D CAD Shapes Based on CSG
-
Graphical Abstract
-
Abstract
CAD models serve as the fundamental carriers for representing geometric structures and design logic. Understanding the underlying construction logic of complex shapes facilitates the reuse, editing, and optimization of designs. Constructive Solid Geometry (CSG) offers a viable approach for shape parsing by representing complex geometries through combinations of simple primitives. This paper proposes a novel method for parsing 3D CAD shapes based on CSG representations. Leveraging quadric surfaces as the fundamental modeling primitives, our approach employs a dual-branch architecture— “composition–subtraction”—to construct target 3D shapes via Boolean operations. Each branch receives either voxel grids or point clouds as input and uses an auto-encoder to extract shape features, which are then used to predict a set of intermediate shapes. The final reconstruction is obtained through set difference operations. To enhance the model’s expressive capacity under a fixed Boolean operation sequence, we introduce rotation parameters and dual primitive designs. Moreover, we adopt a staged training framework that progressively guides the model from learning approximate signed distance functions to precise structural modeling. A regularization loss is incorporated to promote geometric diversity and plausibility of the primitives. After training, we further propose a post-processing strategy based on signed distance influence to remove redundant primitives, resulting in more compact and interpretable CSG sequences. Experimental comparisons on the ABC dataset demonstrate that our method reduces the 3D chamfer distance and edge chamfer distance by 72.1% and 31.1%, respectively, and improves the normal vector consistency by 9.48%, compared to SECAD-Net, and achieves better results in visual metrics.
-
-