Table Of Contents



calculate-surface-attributes <input> <output> [options]


Calculate attributes of input surface such as normals and curvature. If required, as in case of the curvature calculations, the input mesh is triangulated beforehand if it contains non-triangular faces.



Input surface mesh.


Output surface mesh.

Command options

-normals, -point-normals

Surface point normals.


Surface cell normals.

-auto-orient, -noauto-orient

Enable/disable auto-orientation of normals. (default: on)

-splitting, -nosplitting

Enable/disable splitting of sharp edges. (default: off)

-consistency, -noconsistency

Enable/disable enforcement of vertex order consistency. (default: on)

Curvature output options

-H [<name>]

Mean curvature.

-K [<name>]

Gauss curvature.

-C [<name>]


-k1 [<name>]

Minimum curvature.

-k2 [<name>]

Maximum curvature.

-k1k2 [<name>] [<name>]

Principal curvatures.

-e1 [<name>]

Direction of minimum curvature.

-e2 [<name>]

Direction of maximum curvature.


Normalize curvature using volume of convex hull.


Use vtkCurvatures when possible.


Do not use vtkCurvatures. Instead, estimate the curvature tensor field and decompose it to obtain principle curvatures. (default)

-smooth [<niter>] [<sigma>] [<sigma2>]

Smooth calculated scalar curvature measures using a Gaussian smoothing kernel. If sigma2 is specified, an anisotropic kernel with standard deviation sigma along the direction of minimum curvature, and sigma2 in the direction of maximum curvature is used. If the value of sigma2 is “tensor” instead of a numeric value, the isotropic Gaussian kernel is oriented and scaled along each local geometry axis using the curvature tensor.

Standard options

-v, -verbose [n]

Increase/Set verbosity of output messages. (default: 0)

-debug [level]

Increase/Set debug level for output of intermediate results. (default: 0)

-version [major.minor]

Print version and exit or set version to emulate.


Print revision (or version) number only and exit.

-h, -help

Print help and exit.

Terminal options

-color, -nocolor

Enable/disable colored output. (default: off)

Parallelization options

-threads <n>

Use maximal <n> threads for parallel execution. (default: automatic)