DecimateModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.DecimateModifier(Modifier)

Decimation modifier

angle_limit

Only dissolve angles below this (planar only) (in [0, 3.14159], default 0.0872665)

Type:

float

decimate_type

(default 'COLLAPSE')

  • COLLAPSE Collapse – Use edge collapsing.

  • UNSUBDIV Un-Subdivide – Use un-subdivide face reduction.

  • DISSOLVE Planar – Dissolve geometry to form planar polygons.

Type:

Literal[‘COLLAPSE’, ‘UNSUBDIV’, ‘DISSOLVE’]

delimit

Limit merging geometry (default set())

Type:

set[Literal[Mesh Delimit Mode Items]]

face_count

The current number of faces in the decimated mesh (in [-inf, inf], default 0, readonly)

Type:

int

invert_vertex_group

Invert vertex group influence (collapse only) (default False)

Type:

bool

iterations

Number of times reduce the geometry (unsubdivide only) (in [0, 32767], default 0)

Type:

int

ratio

Ratio of triangles to reduce to (collapse only) (in [0, 1], default 1.0)

Type:

float

symmetry_axis

Axis of symmetry (default 'X')

Type:

Literal[Axis Xyz Items]

use_collapse_triangulate

Keep triangulated faces resulting from decimation (collapse only) (default False)

Type:

bool

use_dissolve_boundaries

Dissolve all vertices in between face boundaries (planar only) (default False)

Type:

bool

use_symmetry

Maintain symmetry on an axis (default False)

Type:

bool

vertex_group

Vertex group name (collapse only) (default “”, never None)

Type:

str

vertex_group_factor

Vertex group strength (in [0, 1000], default 1.0)

Type:

float

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions