ToolSettings(bpy_struct)¶
base class — bpy_struct
- class bpy.types.ToolSettings(bpy_struct)¶
- anim_fix_to_cam_use_loc¶
Create location keys when fixing to the scene camera (default True)
- Type:
bool
- anim_fix_to_cam_use_rot¶
Create rotation keys when fixing to the scene camera (default True)
- Type:
bool
- anim_fix_to_cam_use_scale¶
Create scale keys when fixing to the scene camera (default True)
- Type:
bool
- anim_mirror_bone¶
Bone to use for the mirroring (default “”, never None)
- Type:
str
- anim_mirror_object¶
Object to mirror over. Leave empty and name a bone to always mirror over that bone of the active armature
- Type:
- annotation_stroke_placement_view2d¶
(default
'IMAGE')IMAGEImage – Stick stroke to the image.VIEWView – Stick stroke to the view.
- Type:
Literal[‘IMAGE’, ‘VIEW’]
- annotation_stroke_placement_view3d¶
How annotation strokes are orientated in 3D space (default
'CURSOR')CURSOR3D Cursor – Draw stroke at 3D cursor location.VIEWView – Stick stroke to the view.SURFACESurface – Stick stroke to surfaces.
- Type:
Literal[‘CURSOR’, ‘VIEW’, ‘SURFACE’]
- annotation_thickness¶
Thickness of annotation strokes (in [1, 10], default 3)
- Type:
int
- auto_keying_mode¶
Can add additional constraints on when auto keying can insert keyframes (default
'ADD_REPLACE_KEYS')- Type:
Literal[‘ADD_REPLACE_KEYS’, ‘REPLACE_KEYS’]
- curve_paint_settings¶
(readonly, never None)
- Type:
- curves_sculpt¶
(readonly)
- Type:
- custom_bevel_profile_preset¶
Used for defining a profile’s path (readonly)
- Type:
- double_threshold¶
Threshold distance for Auto Merge (in [0, 1], default 0.001)
- Type:
float
- gpencil_interpolate¶
Settings for Grease Pencil interpolation tools (readonly)
- gpencil_sculpt¶
Settings for stroke sculpting tools and brushes (readonly)
- Type:
- gpencil_sculpt_paint¶
(readonly)
- Type:
- gpencil_selectmode_edit¶
(default
'POINT')- Type:
Literal[Grease Pencil Selectmode Items]
- gpencil_stroke_placement_view3d¶
(default
'ORIGIN')ORIGINOrigin – Draw stroke at Object origin.CURSOR3D Cursor – Draw stroke at 3D cursor location.SURFACESurface – Stick stroke to surfaces.STROKEStroke – Stick stroke to other strokes.
- Type:
Literal[‘ORIGIN’, ‘CURSOR’, ‘SURFACE’, ‘STROKE’]
- gpencil_stroke_snap_mode¶
(default
'NONE')NONEAll Points – Snap to all points.ENDSEnd Points – Snap to first and last points and interpolate.FIRSTFirst Point – Snap to first point.
- Type:
Literal[‘NONE’, ‘ENDS’, ‘FIRST’]
- gpencil_surface_offset¶
Offset along the normal when drawing on surfaces (in [-inf, inf], default 0.15)
- Type:
float
- gpencil_vertex_paint¶
(readonly)
- Type:
- gpencil_weight_paint¶
(readonly)
- Type:
- image_paint¶
(readonly)
- Type:
- keyframe_type¶
Type of keyframes to create when inserting keyframes (default
'KEYFRAME')- Type:
Literal[Beztriple Keyframe Type Items]
- lock_markers¶
Prevent marker editing (default False)
- Type:
bool
- lock_object_mode¶
Restrict selection to objects using the same mode as the active object, to prevent accidental mode switch when selecting (default True)
- Type:
bool
- mesh_select_mode¶
Which mesh elements selection works on (array of 3 items, default (False, False, False))
- Type:
bpy_prop_array[bool]
- normal_vector¶
Normal vector used to copy, add or multiply (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))
- Type:
- paint_mode¶
(readonly)
- Type:
- particle_edit¶
(readonly)
- Type:
- plane_axis¶
The axis used for placing the base region (default
'Z')- Type:
Literal[Axis Xyz Items]
- plane_axis_auto¶
Select the closest axis when placing objects (surface overrides) (default True)
- Type:
bool
- plane_depth¶
The initial depth used when placing the cursor (default
'SURFACE')SURFACESurface – Start placing on the surface, using the 3D cursor position as a fallback.CURSOR_PLANECursor Plane – Start placement using a point projected onto the orientation axis at the 3D cursor position.CURSOR_VIEWCursor View – Start placement using a point projected onto the view plane at the 3D cursor position.
- Type:
Literal[‘SURFACE’, ‘CURSOR_PLANE’, ‘CURSOR_VIEW’]
- plane_orientation¶
The initial depth used when placing the cursor (default
'SURFACE')SURFACESurface – Use the surface normal (using the transform orientation as a fallback).DEFAULTDefault – Use the current transform orientation.
- Type:
Literal[‘SURFACE’, ‘DEFAULT’]
- playhead_snap_distance¶
Maximum distance for snapping in pixels (in [-inf, inf], default 20)
- Type:
int
- proportional_distance¶
Display size for proportional editing circle (in [1e-05, 5000], default 1.0)
- Type:
float
- proportional_edit_falloff¶
Falloff type for proportional editing mode (default
'SMOOTH')- Type:
Literal[Proportional Falloff Items]
- proportional_size¶
Display size for proportional editing circle (in [1e-05, 5000], default 1.0)
- Type:
float
- sequencer_tool_settings¶
(readonly, never None)
- Type:
- show_uv_local_view¶
Display only faces with the currently displayed image assigned (default False)
- Type:
bool
- snap_angle_increment_2d¶
Angle used for rotation increments in 2D editors (in [0, 3.14159], default 0.0872665)
- Type:
float
- snap_angle_increment_2d_precision¶
Precision angle used for rotation increments in 2D editors (in [0, 3.14159], default 0.0174533)
- Type:
float
- snap_angle_increment_3d¶
Angle used for rotation increments in 3D editors (in [0, 3.14159], default 0.0872665)
- Type:
float
- snap_angle_increment_3d_precision¶
Precision angle used for rotation increments in 3D editors (in [0, 3.14159], default 0.0174533)
- Type:
float
- snap_anim_element¶
Type of element to snap to (default
'FRAME')- Type:
Literal[Snap Animation Element Items]
- snap_elements¶
Type of element to snap to (default {
'INCREMENT'})- Type:
set[Literal[Snap Element Items]]
- snap_elements_base¶
Type of element for the “Snap Base” to snap to (default {
'INCREMENT'})INCREMENTIncrement – Snap to increments.GRIDGrid – Snap to grid.VERTEXVertex – Snap to vertices.EDGEEdge – Snap to edges.FACEFace – Snap by projecting onto faces.VOLUMEVolume – Snap to volume.EDGE_MIDPOINTEdge Center – Snap to the middle of edges.EDGE_PERPENDICULAREdge Perpendicular – Snap to the nearest point on an edge.FACE_MIDPOINTFace Center – Snap to the middle of faces.
- Type:
set[Literal[‘INCREMENT’, ‘GRID’, ‘VERTEX’, ‘EDGE’, ‘FACE’, ‘VOLUME’, ‘EDGE_MIDPOINT’, ‘EDGE_PERPENDICULAR’, ‘FACE_MIDPOINT’]]
- snap_elements_individual¶
Type of element for individual transformed elements to snap to (default set())
FACE_PROJECTFace Project – Snap by projecting onto faces.FACE_NEARESTFace Nearest – Snap to nearest point on faces.
- Type:
set[Literal[‘FACE_PROJECT’, ‘FACE_NEAREST’]]
- snap_elements_tool¶
The target to use while snapping (default
'GEOMETRY')GEOMETRYGeometry – Snap to all geometry.DEFAULTDefault – Use the current snap settings.
- Type:
Literal[‘GEOMETRY’, ‘DEFAULT’]
- snap_face_nearest_steps¶
Number of steps to break transformation into for face nearest snapping (in [1, 100], default 1)
- Type:
int
- snap_playhead_element¶
Type of element to snap to (default {
'KEY','Strip'})FRAMEFrames – Snap to frame increments.SECONDSeconds – Snap to second increments.MARKERMarkers – Snap to markers.KEYKeyframes – Snap to keyframes.StripStrips – Snap to Strips.
- Type:
set[Literal[‘FRAME’, ‘SECOND’, ‘MARKER’, ‘KEY’, ‘Strip’]]
- snap_playhead_frame_step¶
At which interval to snap to frames (in [1, 32768], default 2)
- Type:
int
- snap_playhead_second_step¶
At which interval to snap to seconds (in [1, 32768], default 1)
- Type:
int
- snap_target¶
Which part to snap onto the target (default
'CLOSEST')- Type:
Literal[Snap Source Items]
- snap_uv_element¶
Type of element to snap to (default {
'INCREMENT'})INCREMENTIncrement – Snap to increments of grid.GRIDGrid – Snap to grid.VERTEXVertex – Snap to vertices.
- Type:
set[Literal[‘INCREMENT’, ‘GRID’, ‘VERTEX’]]
- statvis¶
(readonly, never None)
- Type:
- transform_pivot_point¶
Pivot center for rotation/scaling (default
'MEDIAN_POINT')BOUNDING_BOX_CENTERBounding Box Center – Pivot around bounding box center of selected object(s).CURSOR3D Cursor – Pivot around the 3D cursor.INDIVIDUAL_ORIGINSIndividual Origins – Pivot around each object’s own origin.MEDIAN_POINTMedian Point – Pivot around the median point of selected objects.ACTIVE_ELEMENTActive Element – Pivot around active object.
- Type:
Literal[‘BOUNDING_BOX_CENTER’, ‘CURSOR’, ‘INDIVIDUAL_ORIGINS’, ‘MEDIAN_POINT’, ‘ACTIVE_ELEMENT’]
- use_annotation_project_only_selected¶
Project the strokes only onto selected objects (default False)
- Type:
bool
- use_annotation_stroke_endpoints¶
Only use the first and last parts of the stroke for snapping (default False)
- Type:
bool
- use_auto_normalize¶
Ensure all bone-deforming vertex groups add up to 1.0 while weight painting or assigning to vertices (default False)
- Type:
bool
- use_edge_path_live_unwrap¶
Changing edge seams recalculates UV unwrap (default False)
- Type:
bool
- use_gpencil_automerge_strokes¶
Join the last drawn stroke with previous strokes in the active layer by distance (default False)
- Type:
bool
- use_gpencil_draw_additive¶
When creating new frames, the strokes from the previous/active frame are included as the basis for the new one (default False)
- Type:
bool
- use_gpencil_draw_onback¶
New strokes are drawn below of all strokes in the layer (default False)
- Type:
bool
- use_gpencil_project_only_selected¶
Project the strokes only onto selected objects (default False)
- Type:
bool
- use_gpencil_select_mask_point¶
Only sculpt selected stroke points (default False)
- Type:
bool
- use_gpencil_select_mask_segment¶
Only sculpt selected stroke points between other strokes (default False)
- Type:
bool
- use_gpencil_select_mask_stroke¶
Only sculpt selected strokes (default False)
- Type:
bool
- use_gpencil_thumbnail_list¶
Show compact list of colors instead of thumbnails (default True)
- Type:
bool
- use_gpencil_vertex_select_mask_point¶
Only paint selected stroke points (default False)
- Type:
bool
- use_gpencil_vertex_select_mask_segment¶
Only paint selected stroke points between other strokes (default False)
- Type:
bool
- use_gpencil_vertex_select_mask_stroke¶
Only paint selected strokes (default False)
- Type:
bool
- use_gpencil_weight_data_add¶
Weight data for new strokes is added according to the current vertex group and weight. If no vertex group selected, weight is not added. (default False)
- Type:
bool
- use_grease_pencil_multi_frame_editing¶
Enable multi-frame editing (default False)
- Type:
bool
- use_keyframe_cycle_aware¶
For channels with cyclic extrapolation, keyframe insertion is automatically remapped inside the cycle time range, and keeps ends in sync. Curves newly added to actions with a Manual Frame Range and Cyclic Animation are automatically made cyclic. (default False)
- Type:
bool
- use_keyframe_insert_auto¶
Automatically insert keyframes on modified properties (default True)
- Type:
bool
- use_keyframe_insert_keyingset¶
Automatic keyframe insertion using active Keying Set only (default False)
- Type:
bool
- use_lock_relative¶
Display bone-deforming groups as if all locked deform groups were deleted, and the remaining ones were re-normalized (default False)
- Type:
bool
- use_mesh_automerge¶
Automatically merge vertices moved to the same location (default False)
- Type:
bool
- use_mesh_automerge_and_split¶
Automatically split edges and faces (default False)
- Type:
bool
- use_multipaint¶
Paint across the weights of all selected bones, maintaining their relative influence (default False)
- Type:
bool
- use_proportional_action¶
Proportional editing in action editor (default False)
- Type:
bool
- use_proportional_connected¶
Proportional Editing using connected geometry only (default False)
- Type:
bool
- use_proportional_edit¶
Proportional edit mode (default False)
- Type:
bool
- use_proportional_edit_mask¶
Proportional editing mask mode (default False)
- Type:
bool
- use_proportional_edit_objects¶
Proportional editing object mode (default False)
- Type:
bool
- use_proportional_fcurve¶
Proportional editing in F-Curve editor (default False)
- Type:
bool
- use_proportional_projected¶
Proportional Editing using screen space locations (default False)
- Type:
bool
- use_record_with_nla¶
Add a new NLA Track + Strip for every loop/pass made over the animation to allow non-destructive tweaking (default False)
- Type:
bool
- use_snap¶
Snap during transform (default False)
- Type:
bool
- use_snap_align_rotation¶
Align rotation with the snapping target (default False)
- Type:
bool
- use_snap_anim¶
Enable snapping when transforming keyframes (default True)
- Type:
bool
- use_snap_backface_culling¶
Exclude back facing geometry from snapping (default False)
- Type:
bool
- use_snap_driver¶
Enable snapping when transforming keys in the Driver Editor (default False)
- Type:
bool
- use_snap_driver_absolute¶
Snap to full values (default False)
- Type:
bool
- use_snap_edit¶
Snap onto non-active objects in edit mode (edit mode only) (default True)
- Type:
bool
- use_snap_grid_absolute¶
Absolute grid alignment while translating (based on the pivot center) (default False)
- Type:
bool
- use_snap_node¶
Snap Node during transform (default False)
- Type:
bool
- use_snap_nonedit¶
Snap onto objects not in edit mode (edit mode only) (default True)
- Type:
bool
- use_snap_peel_object¶
Consider objects as whole when finding volume center (default False)
- Type:
bool
- use_snap_playhead¶
Snap playhead when scrubbing (default False)
- Type:
bool
- use_snap_rotate¶
Rotate is affected by the snapping settings (default False)
- Type:
bool
- use_snap_scale¶
Scale is affected by snapping settings (default False)
- Type:
bool
- use_snap_selectable¶
Snap only onto objects that are selectable (default False)
- Type:
bool
- use_snap_self¶
Snap onto itself only if enabled (edit mode only) (default True)
- Type:
bool
- use_snap_sequencer¶
Snap strips during transform (default True)
- Type:
bool
- use_snap_time_absolute¶
Absolute time alignment when transforming keyframes (default False)
- Type:
bool
- use_snap_to_same_target¶
Snap only to target that source was initially near (“Face Nearest” only) (default False)
- Type:
bool
- use_snap_translate¶
Move is affected by snapping settings (default True)
- Type:
bool
- use_snap_uv¶
Snap UV during transform (default False)
- Type:
bool
- use_transform_correct_face_attributes¶
Correct data such as UVs and color attributes when transforming (default False)
- Type:
bool
- use_transform_correct_keep_connected¶
During the Face Attributes correction, merge attributes connected to the same vertex (default False)
- Type:
bool
- use_transform_data_origin¶
Transform object origins, while leaving the shape in place (default False)
- Type:
bool
- use_transform_pivot_point_align¶
Only transform object locations, without affecting rotation or scaling (default False)
- Type:
bool
- use_transform_skip_children¶
Transform the parents, leaving the children in place (default False)
- Type:
bool
- use_uv_custom_region¶
Custom defined region (default False)
- Type:
bool
- use_uv_select_island¶
Island selection (default False)
- Type:
bool
- use_uv_select_sync¶
Keep UV and edit mode mesh selection in sync (default True)
- Type:
bool
- uv_sculpt_all_islands¶
Brush operates on all islands (default False)
- Type:
bool
- uv_sculpt_lock_borders¶
Disable editing of boundary edges (default False)
- Type:
bool
- uv_select_mode¶
UV selection and display mode (default
'VERTEX')- Type:
Literal[Mesh Select Mode Uv Items]
- uv_sticky_select_mode¶
Method for extending UV vertex selection (default
'SHARED_LOCATION')DISABLEDDisabled – Sticky vertex selection disabled.SHARED_LOCATIONShared Location – Select UVs that are at the same location and share a mesh vertex.SHARED_VERTEXShared Vertex – Select UVs that share a mesh vertex, whether or not they are at the same location.
- Type:
Literal[‘DISABLED’, ‘SHARED_LOCATION’, ‘SHARED_VERTEX’]
- vertex_group_subset¶
Filter Vertex groups for Display (default
'ALL')ALLAll – All Vertex Groups.BONE_DEFORMDeform – Vertex Groups assigned to Deform Bones.OTHER_DEFORMOther – Vertex Groups assigned to non Deform Bones.
- Type:
Literal[‘ALL’, ‘BONE_DEFORM’, ‘OTHER_DEFORM’]
- vertex_group_user¶
Display unweighted vertices (default
'ACTIVE')NONENone.ACTIVEActive – Show vertices with no weights in the active group.ALLAll – Show vertices with no weights in any group.
- Type:
Literal[‘NONE’, ‘ACTIVE’, ‘ALL’]
- vertex_group_weight¶
Weight to assign in vertex groups (in [0, 1], default 1.0)
- Type:
float
- vertex_paint¶
(readonly)
- Type:
- weight_paint¶
(readonly)
- Type:
- workspace_tool_type¶
Action when dragging in the viewport (default
'FALLBACK')- Type:
Literal[‘DEFAULT’, ‘FALLBACK’]
- 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:
- 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¶
|