MeshToVolumeModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.MeshToVolumeModifier(Modifier)
density

Density of the new volume (in [0, inf], default 0.0)

Type:

float

interior_band_width

Width of the gradient inside of the mesh (in [0, inf], default 0.0)

Type:

float

object

Object

Type:

Object

resolution_mode

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

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

  • VOXEL_SIZE Voxel Size – Desired voxel side length.

Type:

Literal[‘VOXEL_AMOUNT’, ‘VOXEL_SIZE’]

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