Organizations: University of Chinese Academy of Sciences · Institute of Automation, Chinese Academy of Sciences · Institute of Information Engineering, Chinese Academy of Sciences · Tencent
Text-to-3D solid retrieval faces a fundamental representation gap: while natural language describes intrinsic shapes, Boundary Representation (B-rep) entangles precise geometry with arbitrary variations in pose, scale, and boundary encoding conventions. Existing methods either discretize B-reps at the cost of analytic precision, or learn features from topological graphs without explicit invariance guarantees. We propose a text-to-B-rep retrieval framework based on geometric equivalence classes and spectral invariants, mathematically eliminating representation ambiguities prior to cross-modal alignment. Formalizing translation, rotation, reflection, uniform scaling, and contour re-indexing via group actions, we exploit the planar-profile-and-extrusion structure of engineering solids to construct a unified spectral descriptor across cross-sectional regions, contour boundaries, and extrusion depths. On public benchmarks, our method achieves state-of-the-art recall performance across all evaluation metrics.
Figures & tables
Figure 1: Geometry is shared across B-rep encodings. (a) Changing the coordinate frame, contour starting point, or traversal direction changes the numerical encoding while preserving the solid. (b) The equivalent instances B1∼B2∼B3 share the same textual description and form a multi-positive set. Removing the bore changes the geometry and no longer matches the description.
Figure 2: Three ways to encode B-reps for text-to-CAD retrieval. (a) Rendered-view encoding converts B-reps into multi-view images for an image encoder. (b) Graph encoding represents faces and their adjacency as an attributed graph processed by a GNN. (c) Our group-theoretic encoding factors out geometric equivalence transformations and combines regional, extrusion, and boundary spectra into an invariant descriptor before geometry encoding, satisfying Φ(g⋅B)=Φ(B) for g∈G .
Figure 3: Product decomposition of a straight-extrusion unit. (a) A rounded B-rep solid with a through-hole, showing faces, edges, vertices, and oriented boundary loops (dashed arrows). (b) Its planar region Ω , boundary ∂Ω , and extrusion depth h ; ∂Ω sweeps along thickness h to form the lateral and inner-hole walls.
Figure 4: Spectral components on real B-reps. Four MMCAD-B parts are shown with regional Dirichlet modes on their top faces, solid modes um(x,y)sin(πz/h) on oblique interior cuts, and turning harmonics along their boundaries. The two rows use m=2,4 and k=2,4 ; the triangular frame uses k=3,6 . Colors indicate signed amplitudes normalized per field or boundary loop; zero harmonics remain neutral. Boundary panels include outer and hole contours, while the descriptor retains outer-contour Fourier magnitudes.
Figure 5: Invariance of the boundary spectrum to recording conventions. Changing the contour starting vertex from A to C or reversing traversal direction only changes phase or conjugates coefficients in the frequency domain; the Fourier magnitudes ∣Fk∣ remain identical.
Figure 6: Feature alignment under reordering on MMCAD-B. (a) Original and reordered B-rep features in a fixed PCA space; contours enclose 50%, 80%, and 95% probability mass, with overlap computed on a shared density grid. (b) Full-dimensional ℓ2 drift of normalized features; Coordinates denotes the sampled input-sequence diagnostic, and values below 10−6 share a display bin. (c) Original versus reordered text–B-rep matching scores; hexagon color gives pair counts and the dashed line indicates unchanged scores.
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 7: Full versus ablated descriptors. Arrows show the change in Expert R@5 from Full (blue) to each component removal (orange) with frozen text encoders. Orange point labels report R@5 (%); negative labels report changes in percentage points. Both panels use the same scale. Positive groups are recomputed for each variant.
School of Artificial Intelligence and Robotics, Hunan University · College of Computer Science and Software Engineer, Shenzhen University · Faculty of Science and Technology, University of Macau