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

Type:

float in [0, 1], default 0.0

grid_name#

Grid in the volume object that is converted to a mesh

Type:

string, default “”, (never None)

object#

Object

Type:

Object

resolution_mode#

Mode for how the desired voxel size is specified

  • 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:

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

threshold#

Voxels with a larger value are inside the generated mesh

Type:

float in [0, inf], default 0.0

use_smooth_shade#

Output faces with smooth shading rather than flat shaded

Type:

boolean, default False

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 (str) – 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 (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#