MeshToVolumeModifier(Modifier)#

base classes — bpy_struct, Modifier

class bpy.types.MeshToVolumeModifier(Modifier)#
density#

Density of the new volume

Type:

float in [0, inf], default 0.0

interior_band_width#

Width of the gradient inside of the mesh

Type:

float in [0, inf], default 0.0

object#

Object

Type:

Object

resolution_mode#

Mode for how the desired voxel size is specified

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

  • VOXEL_SIZE Voxel Size – Desired voxel side length.

Type:

enum in [‘VOXEL_AMOUNT’, ‘VOXEL_SIZE’], default ‘VOXEL_AMOUNT’

voxel_amount#

Approximate number of voxels along one axis

Type:

int in [0, inf], default 0

voxel_size#

Smaller values result in a higher resolution output

Type:

float in [0, inf], 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#