Sculpt(Paint)

base classes — bpy_struct, Paint

class bpy.types.Sculpt(Paint)
automasking_boundary_edges_propagation_steps

Distance where boundary edge automasking is going to protect vertices from the fully masked edge (in [1, 20], default 1)

Type:

int

automasking_cavity_blur_steps

The number of times the cavity mask is blurred (in [0, 25], default 0)

Type:

int

automasking_cavity_curve

Curve used for the sensitivity (readonly)

Type:

CurveMapping

automasking_cavity_curve_op

Curve used for the sensitivity (readonly)

Type:

CurveMapping

automasking_cavity_factor

The contrast of the cavity mask (in [0, 5], default 1.0)

Type:

float

automasking_start_normal_falloff

Extend the angular range with a falloff gradient (in [0.0001, 1], default 0.25)

Type:

float

automasking_start_normal_limit

The range of angles that will be affected (in [0.0001, 3.14159], default 0.349066)

Type:

float

automasking_view_normal_falloff

Extend the angular range with a falloff gradient (in [0.0001, 1], default 0.25)

Type:

float

automasking_view_normal_limit

The range of angles that will be affected (in [0.0001, 3.14159], default 1.5708)

Type:

float

constant_detail_resolution

Maximum edge length for dynamic topology sculpting (as divisor of Blender unit - higher value means smaller edge length) (in [0.0001, inf], default 3.0)

Type:

float

detail_percent

Maximum edge length for dynamic topology sculpting (in brush percentage) (in [0.5, 100], default 25.0)

Type:

float

detail_refine_method

In dynamic-topology mode, how to add or remove mesh detail (default 'SUBDIVIDE_COLLAPSE')

  • SUBDIVIDE Subdivide Edges – Subdivide long edges to add mesh detail where needed.

  • COLLAPSE Collapse Edges – Collapse short edges to remove mesh detail where possible.

  • SUBDIVIDE_COLLAPSE Subdivide Collapse – Both subdivide long edges and collapse short edges to refine mesh detail.

Type:

Literal[‘SUBDIVIDE’, ‘COLLAPSE’, ‘SUBDIVIDE_COLLAPSE’]

detail_size

Maximum edge length for dynamic topology sculpting (in pixels) (in [0.5, 40], default 12.0)

Type:

float

detail_type_method

In dynamic-topology mode, how mesh detail size is calculated (default 'RELATIVE')

  • RELATIVE Relative Detail – Mesh detail is relative to the brush size and detail size.

  • CONSTANT Constant Detail – Mesh detail is constant in world space according to detail size.

  • BRUSH Brush Detail – Mesh detail is relative to brush size.

  • MANUAL Manual Detail – Mesh detail does not change on each stroke, only when using Flood Fill.

Type:

Literal[‘RELATIVE’, ‘CONSTANT’, ‘BRUSH’, ‘MANUAL’]

gravity

Amount of gravity after each dab (in [0, 1], default 0.0)

Type:

float

gravity_object

Object whose Z axis defines orientation of gravity

Type:

Object

lock_x

Disallow changes to the X axis of vertices (default False)

Type:

bool

lock_y

Disallow changes to the Y axis of vertices (default False)

Type:

bool

lock_z

Disallow changes to the Z axis of vertices (default False)

Type:

bool

symmetrize_direction

Source and destination for symmetrize operator (default 'NEGATIVE_X')

Type:

Literal[Symmetrize Direction Items]

transform_mode

How the transformation is going to be applied to the target (default 'ALL_VERTICES')

  • ALL_VERTICES All Vertices – Applies the transformation to all vertices in the mesh.

  • RADIUS_ELASTIC Elastic – Applies the transformation simulating elasticity using the radius of the cursor.

Type:

Literal[‘ALL_VERTICES’, ‘RADIUS_ELASTIC’]

use_automasking_boundary_edges

Do not affect non manifold boundary edges (default False)

Type:

bool

use_automasking_boundary_face_sets

Do not affect vertices that belong to a face set boundary (default False)

Type:

bool

use_automasking_cavity

Do not affect vertices on peaks, based on the surface curvature (default False)

Type:

bool

use_automasking_cavity_inverted

Do not affect vertices within crevices, based on the surface curvature (default False)

Type:

bool

use_automasking_custom_cavity_curve

Use custom curve (default False)

Type:

bool

use_automasking_face_sets

Affect only vertices that share face sets with the active vertex (default False)

Type:

bool

use_automasking_start_normal

Affect only vertices with a similar normal to where the stroke starts (default False)

Type:

bool

use_automasking_topology

Affect only vertices connected to the active vertex under the brush (default False)

Type:

bool

use_automasking_view_normal

Affect only vertices with a normal that faces the viewer (default False)

Type:

bool

use_automasking_view_occlusion

Only affect vertices that are not occluded by other faces (slower performance) (default False)

Type:

bool

use_deform_only

Use only deformation modifiers (temporary disable all constructive modifiers except multi-resolution) (default False)

Type:

bool

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

References