Topological Offsets

Daniel Zint, Zhouyuan Chen, Yifei Zhu, Denis Zorin, Teseo Schneider, Daniele PanozzoarXiv 2024

TL;DR

Researchers have developed a novel algorithm to generate "Topological Offsets"—surface shells that are guaranteed to be manifold, watertight, and free of self-intersections, even when the input geometry is "messy" (non-manifold or self-intersecting). By embedding the input into a tetrahedral background mesh and using purely combinatorial operations, the method ensures the resulting offset preserves the unique topology of an infinitesimally small shell.

What Problem Does This Paper Address?

Surface offsetting—creating a new surface at a fixed distance from an existing one—is a fundamental operation in CAD, 3D printing, and collision detection. However, doing this robustly in 3D is notoriously difficult.

Traditional "finite offsets" often suffer from self-intersections when the offset distance is large relative to the surface's curvature. Furthermore, most existing algorithms fail when the input mesh is "broken" (e.g., contains open edges, non-manifold vertices, or self-intersections). While "shrink-wrapping" techniques can repair such meshes, they often lose internal features like holes or handles. This paper introduces a way to compute offsets that are topologically "perfect" relative to the input, regardless of how complex or low-quality that input might be.

Fig. 1. A collection of offsets computed from models in the Thingi10k dataset. Our algorithm provably computes manifold, watertight, and self-intersection-free offsets homeomorphic to an infinitesimally small offset (blue) and, with small changes, can also produce traditional offsets (green), and multiple non-intersecting layers (multicolor).

Methods

The authors propose a three-step pipeline that shifts the problem from complex geometric calculations to robust combinatorial operations:

  1. Simplicial Embedding: The input surface is embedded into a tetrahedral background mesh (using tools like TetWild). The mesh is then refined through local edge splits until the input geometry is represented exactly by a subset of the mesh's faces, edges, and vertices.
  2. Offset Insertion: The algorithm inserts a "topological offset" using a binary variant of the Marching Tetrahedra algorithm. Because this step is purely combinatorial (based on mesh connectivity), it is unconditionally robust against floating-point errors.
  3. Geometrical Optimization: The initial offset is "inflated" or "deflated" toward a user-defined distance. Crucially, this optimization is constrained by topological invariants: the vertices move, but the algorithm prevents any operation that would cause a self-intersection or change the mesh's topology.

Datasets

The method was evaluated using the Thingi10k dataset, a collection of 10,000 3D-printing models known for their high geometric complexity and frequent topological defects. The authors used this large-scale test to prove the robustness of their approach compared to state-of-the-art finite offset methods.

Key Insights and Ideas

  • Topological vs. Finite Offsets: The core idea is the "Topological Offset." While a standard offset's topology changes as the distance increases (e.g., two parts of a shell might merge), a topological offset is defined to always have the same topology as an offset infinitesimally close to the surface.
  • Combinatorial Robustness: By working within a tetrahedral mesh, the algorithm avoids the "numerical nightmare" of calculating surface-surface intersections. Instead, it treats the offset as a boundary between different "materials" within the volume.
  • Handling "Illegal" Geometry: The method works even on non-orientable surfaces (like a Möbius strip) or non-manifold inputs. It treats these as features to be enclosed rather than errors to be fixed.
The method generates manifold meshes even if the input is non-manifold or self-intersecting.

Key Results

  • Robustness: The algorithm successfully produced valid offsets for 9,999 out of 10,000 models in the Thingi10k dataset. The single failure was due to a numerical edge case during initialization.
  • Performance: Despite the overhead of using a tetrahedral background mesh, 55% of the models were processed in under 6 minutes.
  • Applications: The authors demonstrated that their method can be used for:
  • Manifold Extraction: Converting "broken" triangle soups into clean, manifold meshes.
  • Layered Offsets: Creating multiple nested shells (like an onion) that are guaranteed never to touch or intersect.
  • Finite Offsets: By relaxing the topological constraints, the method can produce traditional offsets with higher reliability than existing tools.
Topological offsets (blue) maintain the same topology regardless of distance, unlike finite offsets (green).

Limitations and Future Work

  • Computational Cost: The method is significantly slower than surface-only techniques because it must maintain and optimize a volumetric tetrahedral mesh.
  • Distance Adaptation: In very tight spaces, the algorithm must "shrink" the offset distance to prevent self-intersections. The current heuristic for this adaptation can sometimes be overly conservative, leading to offsets that are closer to the surface than requested.
  • Future Directions: The authors suggest exploring parallelized mesh optimization to speed up the process and applying the technique to generate boundary layers for fluid simulations.

Summary updated

BibTeX
@misc{zint2024topological,
  author = {Daniel Zint and Zhouyuan Chen and Yifei Zhu and Denis Zorin and Teseo Schneider and Daniele Panozzo},
  title = {{Topological Offsets}},
  year = {2024},
  eprint = {2407.07725},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.07725},
}
Figure