upxo.meshing.gbconformant.d3v2p0.surface_charts module

Partition difficult discrete surfaces into disk-shaped parametrization charts.

upxo.meshing.gbconformant.d3v2p0.surface_charts.is_disk_chart(triangles)[source]

Require a manifold disk with one non-branching boundary loop.

upxo.meshing.gbconformant.d3v2p0.surface_charts.disk_charts(triangles, max_triangles=64)[source]

Cover triangles once with disks, cutting only along existing mesh edges.

Growth attaches a triangle along one boundary edge with a new vertex, or fills an ear along two boundary edges. Both operations preserve disk topology. No coordinates, triangles or grain labels are changed.