Expand description
Region remeshing: matching a brush region’s density to a target edge length.
remesh runs rounds of midpoint splits, midpoint collapses, and
Delaunay-style flips over the edges under a Region, until a round
changes nothing or max_rounds runs out, and commits through one
Transaction. New vertices sit at edge
midpoints; existing positions are never modified.
Structs§
- Region
- A spherical region of influence. An edge takes part when its midpoint lies in the strict interior; the boundary itself is inert.
- Remesh
Options - Options for
remesh. - Remesh
Options Builder - Builder for
RemeshOptions. - Remesh
Report - Outcome of
remesh.
Constants§
- COLLAPSE_
FACTOR - Edges shorter than this multiple of the target length collapse.
- REMESH_
MAX_ ROUNDS - Default cap on remesh rounds.
- SPLIT_
FACTOR - Edges longer than this multiple of the target length are split.
Functions§
- remesh
- Remeshes the edges inside
options.regiontoward the target length.