VolumeToMeshModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.VolumeToMeshModifier(Modifier)
adaptivity

Reduces the final face count by simplifying geometry where detail is not needed (in [0, 1], default 0.0)

Type:

float

grid_name

Grid in the volume object that is converted to a mesh (default “”, never None)

Type:

str

object

Object

Type:

Object

resolution_mode

Mode for how the desired voxel size is specified (default 'GRID')

  • GRID Grid – Use resolution of the volume grid.

  • VOXEL_AMOUNT Voxel Amount – Desired number of voxels along one axis.

  • VOXEL_SIZE Voxel Size – Desired voxel side length.

Type:

Literal[‘GRID’, ‘VOXEL_AMOUNT’, ‘VOXEL_SIZE’]

threshold

Voxels with a larger value are inside the generated mesh (in [0, inf], default 0.0)

Type:

float

use_smooth_shade

Output faces with smooth shading rather than flat shaded (default False)

Type:

bool

voxel_amount

Approximate number of voxels along one axis (in [0, inf], default 0)

Type:

int

voxel_size

Smaller values result in a higher resolution output (in [0, inf], default 0.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