Remesh[mesh]
remesh a mesh region mesh by removing low-quality cells and keeping the overall shape.
Remesh
Remesh[mesh]
remesh a mesh region mesh by removing low-quality cells and keeping the overall shape.
Details and Options
- Remesh is also known as remeshing.
- Remesh is typically used to improve mesh quality by removing low-quality cells while preserving its overall shape, improving rendering, processing and analysis.
- Remesh[mesh] returns a triangulated mesh region obtained without low-quality triangles.
- Remesh takes the same options as MeshRegion, with the following additions:
-
Method Automatic method to use - Possible method settings include "Adaptive" and "Uniform".
Examples
open all close allBasic Examples (1)
Scope (1)
Remesh works on surfaces:
Remesh[[image]]DiscretizeGraphics[ListPlot3D[Table[Sin[j ^ 2 + i], {i, 0, Pi, Pi / 5}, {j, 0, Pi, Pi / 5}]]]Remesh[%]BoundaryDiscretizeRegion[ImplicitRegion[(x ^ 2 + (9 / 4) y ^ 2 + z ^ 2 - 1) ^ 3 - x ^ 2 z ^ 3 - (9 / 80) y ^ 2 z ^ 3 <= 0, {x, y, z}]]Remesh[%]BeveledPolyhedron[Dodecahedron[]]Remesh[%]Options (8)
Method (8)
"Adaptive" (5)
Creates an adaptive mesh with varying element size depending on the local curvature of the input mesh:
Remesh[[image], Method -> "Adaptive"]Use the option "MinEdgeLength"->l to specify the minimum edge length:
Remesh[[image], Method -> {"Adaptive", "MinEdgeLength" -> 1}]Use the option "MaxEdgeLength"->l to specify the maximum edge length:
Remesh[[image], Method -> {"Adaptive", "MaxEdgeLength" -> 1}]Use the option "MaxIterations"->n to specify the maximum number of iterations:
Remesh[[image], Method -> {"Adaptive", "MaxIterations" -> 1}]Use the option "Tolerance"->n to specify the maximum approximation error:
Remesh[[image], Method -> {"Adaptive", "Tolerance" -> .2}]"Uniform" (3)
Creates a uniform (isotropic) triangulation with a given uniform target edge length:
Remesh[[image], Method -> "Uniform"]Use the option "EdgeLength"->l to specify the target edge length:
Remesh[[image], Method -> {"Uniform", "EdgeLength" -> .8}]Use the option "MaxIterations"->n to specify the maximum number of iterations:
Remesh[[image], Method -> {"Uniform", "MaxIterations" -> 1}]Applications (1)
Adaptive mesh refinement for surface smoothing:
ℛ = BoundaryDiscretizeRegion[Ellipsoid[{0, 0, 0}, {4, 3, 2}], PrecisionGoal -> 1]Remesh mesh to increase resolution before smoothing:
Remesh[ℛ, Method -> {"Adaptive", "MaxEdgeLength" -> .5}]Apply SmoothMesh:
SmoothMesh[%]Related Guides
History
Text
Wolfram Research (2025), Remesh, Wolfram Language function, https://reference.wolfram.com/language/ref/Remesh.html.
CMS
Wolfram Language. 2025. "Remesh." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Remesh.html.
APA
Wolfram Language. (2025). Remesh. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Remesh.html
BibTeX
@misc{reference.wolfram_2026_remesh, author="Wolfram Research", title="{Remesh}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/Remesh.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_remesh, organization={Wolfram Research}, title={Remesh}, year={2025}, url={https://reference.wolfram.com/language/ref/Remesh.html}, note=[Accessed: 12-June-2026]}