DecimateModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.DecimateModifier(Modifier)

Decimation modifier

angle_limit

Only dissolve angles below this (planar only)

Type

float in [0, 3.14159], default 0.0

decimate_type
  • COLLAPSE Collapse, Use edge collapsing.

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

  • DISSOLVE Planar, Dissolve geometry to form planar polygons.

Type

enum in [‘COLLAPSE’, ‘UNSUBDIV’, ‘DISSOLVE’], default ‘COLLAPSE’

delimit

Limit merging geometry

  • NORMAL Normal, Delimit by face directions.

  • MATERIAL Material, Delimit by face material.

  • SEAM Seam, Delimit by edge seams.

  • SHARP Sharp, Delimit by sharp edges.

  • UV UVs, Delimit by UV coordinates.

Type

enum set in {‘NORMAL’, ‘MATERIAL’, ‘SEAM’, ‘SHARP’, ‘UV’}, default {‘NORMAL’}

face_count

The current number of faces in the decimated mesh

Type

int in [-inf, inf], default 0, (readonly)

invert_vertex_group

Invert vertex group influence (collapse only)

Type

boolean, default False

iterations

Number of times reduce the geometry (unsubdivide only)

Type

int in [0, 32767], default 0

ratio

Ratio of triangles to reduce to (collapse only)

Type

float in [0, 1], default 0.0

symmetry_axis

Axis of symmetry

Type

enum in [‘X’, ‘Y’, ‘Z’], default ‘X’

use_collapse_triangulate

Keep triangulated faces resulting from decimation (collapse only)

Type

boolean, default False

use_dissolve_boundaries

Dissolve all vertices in between face boundaries (planar only)

Type

boolean, default False

use_symmetry

Maintain symmetry on an axis

Type

boolean, default False

vertex_group

Vertex group name (collapse only)

Type

string, default “”, (never None)

vertex_group_factor

Vertex group strength

Type

float in [0, 1000], default 0.0

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions