DecimateModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.DecimateModifier.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

  • bpy_struct.id_data

  • Modifier.name

  • Modifier.type

  • Modifier.show_viewport

  • Modifier.show_render

  • Modifier.show_in_editmode

  • Modifier.show_on_cage

  • Modifier.show_expanded

  • Modifier.use_apply_on_spline

Inherited Functions

  • bpy_struct.as_pointer

  • bpy_struct.driver_add

  • bpy_struct.driver_remove

  • bpy_struct.get

  • bpy_struct.is_property_hidden

  • bpy_struct.is_property_overridable_library

  • bpy_struct.is_property_readonly

  • bpy_struct.is_property_set

  • bpy_struct.items

  • bpy_struct.keyframe_delete

  • bpy_struct.keyframe_insert

  • bpy_struct.keys

  • bpy_struct.path_from_id

  • bpy_struct.path_resolve

  • bpy_struct.pop

  • bpy_struct.property_overridable_library_set

  • bpy_struct.property_unset

  • bpy_struct.type_recast

  • bpy_struct.values

  • Modifier.bl_rna_get_subclass

  • Modifier.bl_rna_get_subclass_py