decimate-surface

Synopsis

decimate-surface <input> <output> [options]

Description

Decimates a (triangular) mesh using VTK’s vtkQuadricDecimation filter. In case of decimate-surface -pro, the vtkDecimatePro filter is used instead.

Command options

-reduceby <percentage>

Target reduction value in percentage. (default: 90)

-pro

Use vtkDecimatePro filter. (default: off)

-compress, -nocompress

Whether to compress output .vtp file. (default: on)

-binary

Write binary data when output file name extension is .vtk. (default: on)

-ascii

Write ASCII data when output file name extension is .vtk. (default: off)

Command options

-preservetopology [on|off]

Whether to preserve topology. (default: off)

-splitangle <angle>

Specify the mesh splitting angle. A negative value turns splitting off. (default: 75)

-featureangle <angle>

Specify the mesh feature angle. (default: 15)

-maxerror <float>

Specify the largest decimation error that is allowed. (default: 1e+299)

-abserror <float>

Specify absolute decimation error. (default: -maxerror)

-accerror [on|off]

Accumulate decimation error. (default: off)

-boundarydeletion [on|off]

Whether to allow deletion of vertices on the boundary of the mesh. (default: on)

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.

-revision

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)