Mesh Tuning Parameters

Every mesh-generation parameter, its range, and where the same name works

Mesh tuning parameters

This page lists every tunable mesh-generation parameter. The same names work in four places:

  • The Mesh Lab Sweep tab (the rows of the parameter table).
  • The post-process chain string, as named parameters: remesh(iterations=5, smoothLambda=0.3).
  • Pipeline definition JSON (the extraction-level fields).
  • The mesh.sweep.run OPAL task (paramSetJson entries by id).

A value left at its default never overrides the base definition. Only a changed row applies.

Extraction

Id Range Default Meaning
cellSize 0.001 – 10 0.1 Sampling lattice cell, world units. Smaller = finer surface, more triangles.
extractor MC, DC, DC-octree DC-octree Surface extractor family.
backend CPU, Native, GPU Native Field evaluator. CPU is the interpreter and is 100–1000× slower.
sealed on / off on Cap the domain boundary so the mesh is watertight.
adaptiveOctree on / off on Allow adaptive QEF collapse (DC-octree). A box clip still forces full depth near the cut.
residualTolerance 0 – 10 0 (derived) QEF collapse tolerance. 0 = the derived default 0.01 × cellSize².

sdfProject step

Id Range Default Meaning
sdfProject.iterations 1 – 8 2 Outer relax-project rounds.
sdfProject.newtonSteps 1 – 3 2 Newton steps per projection pass.
sdfProject.featureAngleDeg 5 – 90 30 Dihedral crease threshold, degrees.
sdfProject.smoothLambda 0 – 1 0.5 Tangential relaxation damping.
sdfProject.creaseSnap on / off off Two-constraint crease Newton snap. Wins crease sharpness, costs sliver triangles.

remesh step

Id Range Default Meaning
remesh.targetEdgeLength 0 – 10 0 (auto) Target edge length, world units. 0 = the input mesh's mean edge.
remesh.iterations 1 – 10 3 Structural pass rounds (split / collapse / flip / smooth).
remesh.featureAngleDeg 5 – 90 45 Dihedral feature threshold, degrees.
remesh.smoothLambda 0 – 1 0.5 Tangential relaxation damping.
remesh.defectPass on / off on Fold-over flap cleanup. Turn off only for A/B attribution.

A chain step that the definition does not contain ignores its parameters. The default chain is weld, sdfProject(2), remesh.

See also

In this section
Topics
reference construct mesh export sweep