Evocube: A Genetic Labelling Framework for Polycube-Maps

Corentin Dumery, François Protais, Sébastien Mestrallet, Christophe Bourcier, Franck Ledoux · DOI

Abstract

Generating all-hexahedral meshes for complex CAD geometries remains a significant challenge in numerical simulation. Polycube-mapping offers a promising solution but depends on a robust "labeling" step—assigning surface faces to axis-aligned directions (±X, ±Y, ±Z). Traditional greedy algorithms often fail on intricate models by getting trapped in local minima. We present Evocube, a genetic algorithm (GA) framework that treats labeling as a global optimization task. By utilizing a population-based search and a novel "workability" fitness metric, Evocube achieves a 100% success rate on standard benchmarks and significantly outperforms existing methods in both robustness and speed.

Introduction

In numerical simulations like the Finite Element Method (FEM), all-hexahedral meshes are the "gold standard" due to their superior computational efficiency and accuracy compared to tetrahedral meshes. A leading technique for generating these meshes is polycube-mapping, which involves flattening a 3D shape into a collection of axis-aligned blocks (a polycube), gridding it, and mapping the structure back to the original volume.

The polycube-mapping pipeline: (a-b) surface labeling, (c) polycube construction, and (d) final all-hexahedral mesh.

The success of this pipeline hinges on the initial labeling phase. If the labeling is invalid or non-monotone, the resulting mesh will contain folds or singularities. Previous state-of-the-art methods relied on greedy local searches that frequently failed on complex engineering parts featuring holes, sharp corners, or thin features.

Methodology: The Evolutionary Approach

Evocube replaces fragile greedy searches with a robust Genetic Algorithm. This transition allows the system to explore a much wider range of potential labelings, effectively "jumping" across the local minima that stall traditional hikers.

The Genetic Workflow

Evocube maintains an archive of candidate labelings, evolving them through several key stages:

  1. Stochastic Selection: High-performing candidates are selected from the archive to serve as parents.
  2. Genetic Operators: The system employs Crossover to combine traits from successful parents and Mutations (such as "Directional Path" tracing or "Chart Removal") to fix local topological errors.
  3. Fitness Evaluation: Candidates are ranked using a multi-part scoring system. A critical innovation here is the Workability Proxy—a 2D surface calculation that predicts 3D distortion quality. This proxy is orders of magnitude faster than computing full 3D volumes, enabling the GA to iterate through thousands of candidates rapidly.
The Evocube genetic algorithm workflow, featuring stochastic selection, mutation, and crossover operations to evolve optimal labelings.

Key Results and Performance

The framework was evaluated on a massive dataset of 1,315 meshes, including the MAMBO benchmark and 1,000 models from the ABC CAD repository.

  • Robustness: Evocube achieved a 100% success rate on the MAMBO Basic, Simple, and Medium datasets, outperforming the previous standard, PolyCut.
  • Scalability: On the large-scale ABC dataset, it produced valid labelings for 95.5% of models.
  • Efficiency: By leveraging parallelization, the framework achieved a 14x speedup on multi-core processors, with an average optimization time of just 15 seconds per model.

Conclusion and Future Work

Evocube demonstrates that evolutionary strategies can solve highly constrained topological problems in mesh generation where local optimization fails. While the current framework is sensitive to the initial axis alignment of the input model, future iterations aim to integrate feature-aware mutations and boundary displacement to handle unaligned CAD models. This research paves the way for automated, high-quality hex-meshing in industrial engineering pipelines.

Summary updated

BibTeX
@article{dumery2022evocube,
  author = {Corentin Dumery and François Protais and Sébastien Mestrallet and Christophe Bourcier and Franck Ledoux},
  title = {{Evocube: A Genetic Labelling Framework for Polycube-Maps}},
  journal = {Computer Graphics Forum},
  year = {2022},
  doi = {10.1111/cgf.14649},
}
Figure