CLR-Wire: Towards Continuous Latent Representations for 3D Curve Wireframe Generation

Xueqi Ma, Yilin Liu, Tianlong Gao, Qirui Huang, Hui Huang

Abstract

Generating 3D curve-based wireframes is challenging due to the need to synchronize continuous geometric shapes with discrete topological structures. CLR-Wire addresses this by proposing a unified Continuous Latent Representation. By encoding both geometry and topology into a single latent space and applying Latent Flow Matching, the framework achieves state-of-the-art performance in unconditional generation and reconstruction from diverse inputs like sparse point clouds, images, and sketches.

Introduction

3D wireframes serve as the structural backbone for CAD design and shape abstraction. However, existing AI models often struggle with curves, typically limiting themselves to straight lines or decoupling geometry and topology into separate sub-networks. This decoupling frequently results in structural inconsistencies, such as disconnected curves or misaligned vertices. CLR-Wire overcomes these issues by learning geometry and topology simultaneously within a unified latent space.

Methods

The CLR-Wire framework employs a multi-stage approach to bridge the gap between discrete topology and continuous geometry.

The CLR-Wire pipeline: from Gaussian noise to a unified wireframe latent space via Flow Matching, followed by decoding into topology and normalized curves.
  1. Curve VAE: Individual 3D curves are normalized and encoded into a compact latent space, creating "Neural Parametric Curves."
  2. Wireframe VAE: This component integrates curve features, vertex coordinates, and topological connections into a single fixed-length latent vector ($Z_w$). A key innovation here is the Differential Adjacency List, which sorts vertices via breadth-first search and stores mathematical differences between connections, transforming discrete topology into a learnable pattern.
  3. Latent Flow Matching: The model uses Flow Matching to map Gaussian noise to the unified latent space. This process can be unconditional or conditioned on features from sparse point clouds (via PointNet++) or images/sketches (via DINOv2).

Key Insights: Unified Latent Space

A primary advantage of the unified representation is the ability to perform smooth topological morphing. Because the latent space is continuous, interpolating between two distinct shapes results in a logical transition of both the physical geometry and the underlying graph structure.

Latent interpolation and wireframe generation sequences demonstrating smooth transitions in both geometry and topology.

By forcing the network to learn connections and shapes in the same space, the model inherently understands that geometric changes necessitate topological adjustments, preventing "Frankenstein" artifacts common in decoupled systems.

Results

CLR-Wire was evaluated primarily on a refined subset of the ABC Dataset (130,473 CAD models) and the DeepCAD Dataset.

  • Unconditional Generation: CLR-Wire outperformed baselines like 3DWire and BrepGen, achieving a higher coverage (48.30%) and superior geometric fidelity (Chamfer Distance MMD of 3.07).
  • Reconstruction: The model demonstrated remarkable robustness, reconstructing accurate wireframes from just 1,000 sparse points—significantly fewer than the ~20,000 required by previous methods like NerVE. It also successfully handled partial point clouds and hand-drawn sketches.

Conclusion and Future Work

While CLR-Wire represents a significant step forward, it faces limitations in capturing fine local details from single-view images and lacks semantic disentanglement for targeted editing. Future research aims to incorporate spatial constraints to eliminate remaining topological errors and integrate disentangled features for text-prompted design.

Summary updated

BibTeX
@inproceedings{ma2025clr,
  author = {Xueqi Ma and Yilin Liu and Tianlong Gao and Qirui Huang and Hui Huang},
  title = {{CLR-Wire: Towards Continuous Latent Representations for 3D Curve Wireframe Generation}},
  booktitle = {SIGGRAPH (Conference Paper Track)},
  year = {2025},
  doi = {10.1145/3721238.3730638},
}
Figure