fake-bpy-module 20240421__py3-none-any.whl → 20240422__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +333 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +441 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +330 -329
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2412 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +106351 -103198
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +20 -17
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -4,138 +4,138 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def add_simple_uvs(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
):
|
|
11
11
|
"""Add cube map UVs on mesh
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def add_texture_paint_slot(
|
|
21
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context: typing.Union[str, int] = None,
|
|
23
|
-
undo: bool = None,
|
|
24
|
-
type: typing.Any = "BASE_COLOR",
|
|
25
|
-
slot_type: typing.Any = "IMAGE",
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
|
+
type: typing.Optional[typing.Any] = "BASE_COLOR",
|
|
25
|
+
slot_type: typing.Optional[typing.Any] = "IMAGE",
|
|
26
26
|
name: typing.Union[str, typing.Any] = "Untitled",
|
|
27
|
-
color: typing.Any = (0.0, 0.0, 0.0, 1.0),
|
|
28
|
-
width: typing.Any = 1024,
|
|
29
|
-
height: typing.Any = 1024,
|
|
30
|
-
alpha: typing.Union[bool, typing.Any] = True,
|
|
31
|
-
generated_type: typing.Union[str, int] = "BLANK",
|
|
32
|
-
float: typing.Union[bool, typing.Any] = False,
|
|
33
|
-
domain: typing.Union[str, int] = "POINT",
|
|
34
|
-
data_type: typing.Union[str, int] = "FLOAT_COLOR",
|
|
27
|
+
color: typing.Optional[typing.Any] = (0.0, 0.0, 0.0, 1.0),
|
|
28
|
+
width: typing.Optional[typing.Any] = 1024,
|
|
29
|
+
height: typing.Optional[typing.Any] = 1024,
|
|
30
|
+
alpha: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
31
|
+
generated_type: typing.Optional[typing.Union[str, int]] = "BLANK",
|
|
32
|
+
float: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
33
|
+
domain: typing.Optional[typing.Union[str, int]] = "POINT",
|
|
34
|
+
data_type: typing.Optional[typing.Union[str, int]] = "FLOAT_COLOR",
|
|
35
35
|
):
|
|
36
36
|
"""Add a paint slot
|
|
37
37
|
|
|
38
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
39
|
-
:type execution_context: typing.Union[str, int]
|
|
40
|
-
:type undo: bool
|
|
38
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
39
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
40
|
+
:type undo: typing.Optional[bool]
|
|
41
41
|
:param type: Material Layer Type, Material layer type of new paint slot
|
|
42
|
-
:type type: typing.Any
|
|
42
|
+
:type type: typing.Optional[typing.Any]
|
|
43
43
|
:param slot_type: Slot Type, Type of new paint slot
|
|
44
|
-
:type slot_type: typing.Any
|
|
44
|
+
:type slot_type: typing.Optional[typing.Any]
|
|
45
45
|
:param name: Name, Name for new paint slot source
|
|
46
46
|
:type name: typing.Union[str, typing.Any]
|
|
47
47
|
:param color: Color, Default fill color
|
|
48
|
-
:type color: typing.Any
|
|
48
|
+
:type color: typing.Optional[typing.Any]
|
|
49
49
|
:param width: Width, Image width
|
|
50
|
-
:type width: typing.Any
|
|
50
|
+
:type width: typing.Optional[typing.Any]
|
|
51
51
|
:param height: Height, Image height
|
|
52
|
-
:type height: typing.Any
|
|
52
|
+
:type height: typing.Optional[typing.Any]
|
|
53
53
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
54
|
-
:type alpha: typing.Union[bool, typing.Any]
|
|
54
|
+
:type alpha: typing.Optional[typing.Union[bool, typing.Any]]
|
|
55
55
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
56
|
-
:type generated_type: typing.Union[str, int]
|
|
56
|
+
:type generated_type: typing.Optional[typing.Union[str, int]]
|
|
57
57
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
58
|
-
:type float: typing.Union[bool, typing.Any]
|
|
58
|
+
:type float: typing.Optional[typing.Union[bool, typing.Any]]
|
|
59
59
|
:param domain: Domain, Type of element that attribute is stored on
|
|
60
|
-
:type domain: typing.Union[str, int]
|
|
60
|
+
:type domain: typing.Optional[typing.Union[str, int]]
|
|
61
61
|
:param data_type: Data Type, Type of data stored in attribute
|
|
62
|
-
:type data_type: typing.Union[str, int]
|
|
62
|
+
:type data_type: typing.Optional[typing.Union[str, int]]
|
|
63
63
|
"""
|
|
64
64
|
|
|
65
65
|
...
|
|
66
66
|
|
|
67
67
|
def brush_colors_flip(
|
|
68
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
69
|
-
execution_context: typing.Union[str, int] = None,
|
|
70
|
-
undo: bool = None,
|
|
68
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
69
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
70
|
+
undo: typing.Optional[bool] = None,
|
|
71
71
|
):
|
|
72
72
|
"""Swap primary and secondary brush colors
|
|
73
73
|
|
|
74
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
75
|
-
:type execution_context: typing.Union[str, int]
|
|
76
|
-
:type undo: bool
|
|
74
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
75
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
76
|
+
:type undo: typing.Optional[bool]
|
|
77
77
|
"""
|
|
78
78
|
|
|
79
79
|
...
|
|
80
80
|
|
|
81
81
|
def brush_select(
|
|
82
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
83
|
-
execution_context: typing.Union[str, int] = None,
|
|
84
|
-
undo: bool = None,
|
|
85
|
-
sculpt_tool: typing.Union[str, int] = "DRAW",
|
|
86
|
-
vertex_tool: typing.Union[str, int] = "DRAW",
|
|
87
|
-
weight_tool: typing.Union[str, int] = "DRAW",
|
|
88
|
-
image_tool: typing.Union[str, int] = "DRAW",
|
|
89
|
-
gpencil_tool: typing.Union[str, int] = "DRAW",
|
|
90
|
-
gpencil_vertex_tool: typing.Union[str, int] = "DRAW",
|
|
91
|
-
gpencil_sculpt_tool: typing.Union[str, int] = "SMOOTH",
|
|
92
|
-
gpencil_weight_tool: typing.Union[str, int] = "WEIGHT",
|
|
93
|
-
curves_sculpt_tool: typing.Union[str, int] = "COMB",
|
|
94
|
-
toggle: typing.Union[bool, typing.Any] = False,
|
|
95
|
-
create_missing: typing.Union[bool, typing.Any] = False,
|
|
82
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
83
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
84
|
+
undo: typing.Optional[bool] = None,
|
|
85
|
+
sculpt_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
|
|
86
|
+
vertex_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
|
|
87
|
+
weight_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
|
|
88
|
+
image_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
|
|
89
|
+
gpencil_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
|
|
90
|
+
gpencil_vertex_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
|
|
91
|
+
gpencil_sculpt_tool: typing.Optional[typing.Union[str, int]] = "SMOOTH",
|
|
92
|
+
gpencil_weight_tool: typing.Optional[typing.Union[str, int]] = "WEIGHT",
|
|
93
|
+
curves_sculpt_tool: typing.Optional[typing.Union[str, int]] = "COMB",
|
|
94
|
+
toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
95
|
+
create_missing: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
96
96
|
):
|
|
97
97
|
"""Select a paint mode's brush by tool type
|
|
98
98
|
|
|
99
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
100
|
-
:type execution_context: typing.Union[str, int]
|
|
101
|
-
:type undo: bool
|
|
99
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
100
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
101
|
+
:type undo: typing.Optional[bool]
|
|
102
102
|
:param sculpt_tool: sculpt_tool
|
|
103
|
-
:type sculpt_tool: typing.Union[str, int]
|
|
103
|
+
:type sculpt_tool: typing.Optional[typing.Union[str, int]]
|
|
104
104
|
:param vertex_tool: vertex_tool
|
|
105
|
-
:type vertex_tool: typing.Union[str, int]
|
|
105
|
+
:type vertex_tool: typing.Optional[typing.Union[str, int]]
|
|
106
106
|
:param weight_tool: weight_tool
|
|
107
|
-
:type weight_tool: typing.Union[str, int]
|
|
107
|
+
:type weight_tool: typing.Optional[typing.Union[str, int]]
|
|
108
108
|
:param image_tool: image_tool
|
|
109
|
-
:type image_tool: typing.Union[str, int]
|
|
109
|
+
:type image_tool: typing.Optional[typing.Union[str, int]]
|
|
110
110
|
:param gpencil_tool: gpencil_tool
|
|
111
|
-
:type gpencil_tool: typing.Union[str, int]
|
|
111
|
+
:type gpencil_tool: typing.Optional[typing.Union[str, int]]
|
|
112
112
|
:param gpencil_vertex_tool: gpencil_vertex_tool
|
|
113
|
-
:type gpencil_vertex_tool: typing.Union[str, int]
|
|
113
|
+
:type gpencil_vertex_tool: typing.Optional[typing.Union[str, int]]
|
|
114
114
|
:param gpencil_sculpt_tool: gpencil_sculpt_tool
|
|
115
|
-
:type gpencil_sculpt_tool: typing.Union[str, int]
|
|
115
|
+
:type gpencil_sculpt_tool: typing.Optional[typing.Union[str, int]]
|
|
116
116
|
:param gpencil_weight_tool: gpencil_weight_tool
|
|
117
|
-
:type gpencil_weight_tool: typing.Union[str, int]
|
|
117
|
+
:type gpencil_weight_tool: typing.Optional[typing.Union[str, int]]
|
|
118
118
|
:param curves_sculpt_tool: curves_sculpt_tool
|
|
119
|
-
:type curves_sculpt_tool: typing.Union[str, int]
|
|
119
|
+
:type curves_sculpt_tool: typing.Optional[typing.Union[str, int]]
|
|
120
120
|
:param toggle: Toggle, Toggle between two brushes rather than cycling
|
|
121
|
-
:type toggle: typing.Union[bool, typing.Any]
|
|
121
|
+
:type toggle: typing.Optional[typing.Union[bool, typing.Any]]
|
|
122
122
|
:param create_missing: Create Missing, If the requested brush type does not exist, create a new brush
|
|
123
|
-
:type create_missing: typing.Union[bool, typing.Any]
|
|
123
|
+
:type create_missing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
124
124
|
"""
|
|
125
125
|
|
|
126
126
|
...
|
|
127
127
|
|
|
128
128
|
def face_select_all(
|
|
129
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
130
|
-
execution_context: typing.Union[str, int] = None,
|
|
131
|
-
undo: bool = None,
|
|
132
|
-
action: typing.Any = "TOGGLE",
|
|
129
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
130
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
131
|
+
undo: typing.Optional[bool] = None,
|
|
132
|
+
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
133
133
|
):
|
|
134
134
|
"""Change selection for all faces
|
|
135
135
|
|
|
136
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
137
|
-
:type execution_context: typing.Union[str, int]
|
|
138
|
-
:type undo: bool
|
|
136
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
137
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
138
|
+
:type undo: typing.Optional[bool]
|
|
139
139
|
:param action: Action, Selection action to execute
|
|
140
140
|
|
|
141
141
|
TOGGLE
|
|
@@ -149,175 +149,175 @@ def face_select_all(
|
|
|
149
149
|
|
|
150
150
|
INVERT
|
|
151
151
|
Invert -- Invert selection of all elements.
|
|
152
|
-
:type action: typing.Any
|
|
152
|
+
:type action: typing.Optional[typing.Any]
|
|
153
153
|
"""
|
|
154
154
|
|
|
155
155
|
...
|
|
156
156
|
|
|
157
157
|
def face_select_hide(
|
|
158
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
159
|
-
execution_context: typing.Union[str, int] = None,
|
|
160
|
-
undo: bool = None,
|
|
161
|
-
unselected: typing.Union[bool, typing.Any] = False,
|
|
158
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
159
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
160
|
+
undo: typing.Optional[bool] = None,
|
|
161
|
+
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
162
162
|
):
|
|
163
163
|
"""Hide selected faces
|
|
164
164
|
|
|
165
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
166
|
-
:type execution_context: typing.Union[str, int]
|
|
167
|
-
:type undo: bool
|
|
165
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
166
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
167
|
+
:type undo: typing.Optional[bool]
|
|
168
168
|
:param unselected: Unselected, Hide unselected rather than selected objects
|
|
169
|
-
:type unselected: typing.Union[bool, typing.Any]
|
|
169
|
+
:type unselected: typing.Optional[typing.Union[bool, typing.Any]]
|
|
170
170
|
"""
|
|
171
171
|
|
|
172
172
|
...
|
|
173
173
|
|
|
174
174
|
def face_select_less(
|
|
175
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
176
|
-
execution_context: typing.Union[str, int] = None,
|
|
177
|
-
undo: bool = None,
|
|
178
|
-
face_step: typing.Union[bool, typing.Any] = True,
|
|
175
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
176
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
177
|
+
undo: typing.Optional[bool] = None,
|
|
178
|
+
face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
179
179
|
):
|
|
180
180
|
"""Deselect Faces connected to existing selection
|
|
181
181
|
|
|
182
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
-
:type execution_context: typing.Union[str, int]
|
|
184
|
-
:type undo: bool
|
|
182
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
183
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
184
|
+
:type undo: typing.Optional[bool]
|
|
185
185
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
186
|
-
:type face_step: typing.Union[bool, typing.Any]
|
|
186
|
+
:type face_step: typing.Optional[typing.Union[bool, typing.Any]]
|
|
187
187
|
"""
|
|
188
188
|
|
|
189
189
|
...
|
|
190
190
|
|
|
191
191
|
def face_select_linked(
|
|
192
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
193
|
-
execution_context: typing.Union[str, int] = None,
|
|
194
|
-
undo: bool = None,
|
|
192
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
193
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
194
|
+
undo: typing.Optional[bool] = None,
|
|
195
195
|
):
|
|
196
196
|
"""Select linked faces
|
|
197
197
|
|
|
198
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
199
|
-
:type execution_context: typing.Union[str, int]
|
|
200
|
-
:type undo: bool
|
|
198
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
199
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
200
|
+
:type undo: typing.Optional[bool]
|
|
201
201
|
"""
|
|
202
202
|
|
|
203
203
|
...
|
|
204
204
|
|
|
205
205
|
def face_select_linked_pick(
|
|
206
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
207
|
-
execution_context: typing.Union[str, int] = None,
|
|
208
|
-
undo: bool = None,
|
|
209
|
-
deselect: typing.Union[bool, typing.Any] = False,
|
|
206
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
207
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
208
|
+
undo: typing.Optional[bool] = None,
|
|
209
|
+
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
210
210
|
):
|
|
211
211
|
"""Select linked faces under the cursor
|
|
212
212
|
|
|
213
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
214
|
-
:type execution_context: typing.Union[str, int]
|
|
215
|
-
:type undo: bool
|
|
213
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
214
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
215
|
+
:type undo: typing.Optional[bool]
|
|
216
216
|
:param deselect: Deselect, Deselect rather than select items
|
|
217
|
-
:type deselect: typing.Union[bool, typing.Any]
|
|
217
|
+
:type deselect: typing.Optional[typing.Union[bool, typing.Any]]
|
|
218
218
|
"""
|
|
219
219
|
|
|
220
220
|
...
|
|
221
221
|
|
|
222
222
|
def face_select_loop(
|
|
223
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
224
|
-
execution_context: typing.Union[str, int] = None,
|
|
225
|
-
undo: bool = None,
|
|
226
|
-
select: typing.Union[bool, typing.Any] = True,
|
|
227
|
-
extend: typing.Union[bool, typing.Any] = False,
|
|
223
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
224
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
225
|
+
undo: typing.Optional[bool] = None,
|
|
226
|
+
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
227
|
+
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
228
228
|
):
|
|
229
229
|
"""Select face loop under the cursor
|
|
230
230
|
|
|
231
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
232
|
-
:type execution_context: typing.Union[str, int]
|
|
233
|
-
:type undo: bool
|
|
231
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
232
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
233
|
+
:type undo: typing.Optional[bool]
|
|
234
234
|
:param select: Select, If false, faces will be deselected
|
|
235
|
-
:type select: typing.Union[bool, typing.Any]
|
|
235
|
+
:type select: typing.Optional[typing.Union[bool, typing.Any]]
|
|
236
236
|
:param extend: Extend, Extend the selection
|
|
237
|
-
:type extend: typing.Union[bool, typing.Any]
|
|
237
|
+
:type extend: typing.Optional[typing.Union[bool, typing.Any]]
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
...
|
|
241
241
|
|
|
242
242
|
def face_select_more(
|
|
243
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
244
|
-
execution_context: typing.Union[str, int] = None,
|
|
245
|
-
undo: bool = None,
|
|
246
|
-
face_step: typing.Union[bool, typing.Any] = True,
|
|
243
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
244
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
245
|
+
undo: typing.Optional[bool] = None,
|
|
246
|
+
face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
247
247
|
):
|
|
248
248
|
"""Select Faces connected to existing selection
|
|
249
249
|
|
|
250
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
251
|
-
:type execution_context: typing.Union[str, int]
|
|
252
|
-
:type undo: bool
|
|
250
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
251
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
252
|
+
:type undo: typing.Optional[bool]
|
|
253
253
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
254
|
-
:type face_step: typing.Union[bool, typing.Any]
|
|
254
|
+
:type face_step: typing.Optional[typing.Union[bool, typing.Any]]
|
|
255
255
|
"""
|
|
256
256
|
|
|
257
257
|
...
|
|
258
258
|
|
|
259
259
|
def face_vert_reveal(
|
|
260
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
261
|
-
execution_context: typing.Union[str, int] = None,
|
|
262
|
-
undo: bool = None,
|
|
263
|
-
select: typing.Union[bool, typing.Any] = True,
|
|
260
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
261
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
262
|
+
undo: typing.Optional[bool] = None,
|
|
263
|
+
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
264
264
|
):
|
|
265
265
|
"""Reveal hidden faces and vertices
|
|
266
266
|
|
|
267
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
-
:type execution_context: typing.Union[str, int]
|
|
269
|
-
:type undo: bool
|
|
267
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
268
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
269
|
+
:type undo: typing.Optional[bool]
|
|
270
270
|
:param select: Select, Specifies whether the newly revealed geometry should be selected
|
|
271
|
-
:type select: typing.Union[bool, typing.Any]
|
|
271
|
+
:type select: typing.Optional[typing.Union[bool, typing.Any]]
|
|
272
272
|
"""
|
|
273
273
|
|
|
274
274
|
...
|
|
275
275
|
|
|
276
276
|
def grab_clone(
|
|
277
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
278
|
-
execution_context: typing.Union[str, int] = None,
|
|
279
|
-
undo: bool = None,
|
|
280
|
-
delta: typing.Any = (0.0, 0.0),
|
|
277
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
278
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
279
|
+
undo: typing.Optional[bool] = None,
|
|
280
|
+
delta: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
281
281
|
):
|
|
282
282
|
"""Move the clone source image
|
|
283
283
|
|
|
284
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
285
|
-
:type execution_context: typing.Union[str, int]
|
|
286
|
-
:type undo: bool
|
|
284
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
285
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
286
|
+
:type undo: typing.Optional[bool]
|
|
287
287
|
:param delta: Delta, Delta offset of clone image in 0.0 to 1.0 coordinates
|
|
288
|
-
:type delta: typing.Any
|
|
288
|
+
:type delta: typing.Optional[typing.Any]
|
|
289
289
|
"""
|
|
290
290
|
|
|
291
291
|
...
|
|
292
292
|
|
|
293
293
|
def hide_show(
|
|
294
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
295
|
-
execution_context: typing.Union[str, int] = None,
|
|
296
|
-
undo: bool = None,
|
|
297
|
-
xmin: typing.Any = 0,
|
|
298
|
-
xmax: typing.Any = 0,
|
|
299
|
-
ymin: typing.Any = 0,
|
|
300
|
-
ymax: typing.Any = 0,
|
|
301
|
-
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
302
|
-
action: typing.Any = "HIDE",
|
|
303
|
-
area: typing.Any = "Inside",
|
|
304
|
-
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
294
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
295
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
296
|
+
undo: typing.Optional[bool] = None,
|
|
297
|
+
xmin: typing.Optional[typing.Any] = 0,
|
|
298
|
+
xmax: typing.Optional[typing.Any] = 0,
|
|
299
|
+
ymin: typing.Optional[typing.Any] = 0,
|
|
300
|
+
ymax: typing.Optional[typing.Any] = 0,
|
|
301
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
302
|
+
action: typing.Optional[typing.Any] = "HIDE",
|
|
303
|
+
area: typing.Optional[typing.Any] = "Inside",
|
|
304
|
+
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
305
305
|
):
|
|
306
306
|
"""Hide/show some vertices
|
|
307
307
|
|
|
308
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
309
|
-
:type execution_context: typing.Union[str, int]
|
|
310
|
-
:type undo: bool
|
|
308
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
309
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
310
|
+
:type undo: typing.Optional[bool]
|
|
311
311
|
:param xmin: X Min
|
|
312
|
-
:type xmin: typing.Any
|
|
312
|
+
:type xmin: typing.Optional[typing.Any]
|
|
313
313
|
:param xmax: X Max
|
|
314
|
-
:type xmax: typing.Any
|
|
314
|
+
:type xmax: typing.Optional[typing.Any]
|
|
315
315
|
:param ymin: Y Min
|
|
316
|
-
:type ymin: typing.Any
|
|
316
|
+
:type ymin: typing.Optional[typing.Any]
|
|
317
317
|
:param ymax: Y Max
|
|
318
|
-
:type ymax: typing.Any
|
|
318
|
+
:type ymax: typing.Optional[typing.Any]
|
|
319
319
|
:param wait_for_input: Wait for Input
|
|
320
|
-
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
320
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
321
321
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
322
322
|
|
|
323
323
|
HIDE
|
|
@@ -325,7 +325,7 @@ def hide_show(
|
|
|
325
325
|
|
|
326
326
|
SHOW
|
|
327
327
|
Show -- Show vertices.
|
|
328
|
-
:type action: typing.Any
|
|
328
|
+
:type action: typing.Optional[typing.Any]
|
|
329
329
|
:param area: Visibility Area, Which vertices to hide or show
|
|
330
330
|
|
|
331
331
|
OUTSIDE
|
|
@@ -333,24 +333,24 @@ def hide_show(
|
|
|
333
333
|
|
|
334
334
|
Inside
|
|
335
335
|
Inside -- Hide or show vertices inside the selection.
|
|
336
|
-
:type area: typing.Any
|
|
336
|
+
:type area: typing.Optional[typing.Any]
|
|
337
337
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
338
|
-
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
338
|
+
:type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
|
|
339
339
|
"""
|
|
340
340
|
|
|
341
341
|
...
|
|
342
342
|
|
|
343
343
|
def hide_show_all(
|
|
344
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
345
|
-
execution_context: typing.Union[str, int] = None,
|
|
346
|
-
undo: bool = None,
|
|
347
|
-
action: typing.Any = "HIDE",
|
|
344
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
345
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
346
|
+
undo: typing.Optional[bool] = None,
|
|
347
|
+
action: typing.Optional[typing.Any] = "HIDE",
|
|
348
348
|
):
|
|
349
349
|
"""Hide/show all vertices
|
|
350
350
|
|
|
351
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
352
|
-
:type execution_context: typing.Union[str, int]
|
|
353
|
-
:type undo: bool
|
|
351
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
352
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
353
|
+
:type undo: typing.Optional[bool]
|
|
354
354
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
355
355
|
|
|
356
356
|
HIDE
|
|
@@ -358,27 +358,29 @@ def hide_show_all(
|
|
|
358
358
|
|
|
359
359
|
SHOW
|
|
360
360
|
Show -- Show vertices.
|
|
361
|
-
:type action: typing.Any
|
|
361
|
+
:type action: typing.Optional[typing.Any]
|
|
362
362
|
"""
|
|
363
363
|
|
|
364
364
|
...
|
|
365
365
|
|
|
366
366
|
def hide_show_lasso_gesture(
|
|
367
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
368
|
-
execution_context: typing.Union[str, int] = None,
|
|
369
|
-
undo: bool = None,
|
|
370
|
-
path:
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
367
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
368
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
369
|
+
undo: typing.Optional[bool] = None,
|
|
370
|
+
path: typing.Optional[
|
|
371
|
+
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
372
|
+
] = None,
|
|
373
|
+
action: typing.Optional[typing.Any] = "HIDE",
|
|
374
|
+
area: typing.Optional[typing.Any] = "Inside",
|
|
375
|
+
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
374
376
|
):
|
|
375
377
|
"""Hide/show some vertices
|
|
376
378
|
|
|
377
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
378
|
-
:type execution_context: typing.Union[str, int]
|
|
379
|
-
:type undo: bool
|
|
379
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
380
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
381
|
+
:type undo: typing.Optional[bool]
|
|
380
382
|
:param path: Path
|
|
381
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
383
|
+
:type path: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]]
|
|
382
384
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
383
385
|
|
|
384
386
|
HIDE
|
|
@@ -386,7 +388,7 @@ def hide_show_lasso_gesture(
|
|
|
386
388
|
|
|
387
389
|
SHOW
|
|
388
390
|
Show -- Show vertices.
|
|
389
|
-
:type action: typing.Any
|
|
391
|
+
:type action: typing.Optional[typing.Any]
|
|
390
392
|
:param area: Visibility Area, Which vertices to hide or show
|
|
391
393
|
|
|
392
394
|
OUTSIDE
|
|
@@ -394,45 +396,45 @@ def hide_show_lasso_gesture(
|
|
|
394
396
|
|
|
395
397
|
Inside
|
|
396
398
|
Inside -- Hide or show vertices inside the selection.
|
|
397
|
-
:type area: typing.Any
|
|
399
|
+
:type area: typing.Optional[typing.Any]
|
|
398
400
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
399
|
-
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
401
|
+
:type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
|
|
400
402
|
"""
|
|
401
403
|
|
|
402
404
|
...
|
|
403
405
|
|
|
404
406
|
def hide_show_line_gesture(
|
|
405
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
406
|
-
execution_context: typing.Union[str, int] = None,
|
|
407
|
-
undo: bool = None,
|
|
408
|
-
xstart: typing.Any = 0,
|
|
409
|
-
xend: typing.Any = 0,
|
|
410
|
-
ystart: typing.Any = 0,
|
|
411
|
-
yend: typing.Any = 0,
|
|
412
|
-
flip: typing.Union[bool, typing.Any] = False,
|
|
413
|
-
cursor: typing.Any = 5,
|
|
414
|
-
action: typing.Any = "HIDE",
|
|
415
|
-
area: typing.Any = "Inside",
|
|
416
|
-
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
417
|
-
use_limit_to_segment: typing.Union[bool, typing.Any] = False,
|
|
407
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
408
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
409
|
+
undo: typing.Optional[bool] = None,
|
|
410
|
+
xstart: typing.Optional[typing.Any] = 0,
|
|
411
|
+
xend: typing.Optional[typing.Any] = 0,
|
|
412
|
+
ystart: typing.Optional[typing.Any] = 0,
|
|
413
|
+
yend: typing.Optional[typing.Any] = 0,
|
|
414
|
+
flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
415
|
+
cursor: typing.Optional[typing.Any] = 5,
|
|
416
|
+
action: typing.Optional[typing.Any] = "HIDE",
|
|
417
|
+
area: typing.Optional[typing.Any] = "Inside",
|
|
418
|
+
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
419
|
+
use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
418
420
|
):
|
|
419
421
|
"""Hide/show some vertices
|
|
420
422
|
|
|
421
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
422
|
-
:type execution_context: typing.Union[str, int]
|
|
423
|
-
:type undo: bool
|
|
423
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
424
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
425
|
+
:type undo: typing.Optional[bool]
|
|
424
426
|
:param xstart: X Start
|
|
425
|
-
:type xstart: typing.Any
|
|
427
|
+
:type xstart: typing.Optional[typing.Any]
|
|
426
428
|
:param xend: X End
|
|
427
|
-
:type xend: typing.Any
|
|
429
|
+
:type xend: typing.Optional[typing.Any]
|
|
428
430
|
:param ystart: Y Start
|
|
429
|
-
:type ystart: typing.Any
|
|
431
|
+
:type ystart: typing.Optional[typing.Any]
|
|
430
432
|
:param yend: Y End
|
|
431
|
-
:type yend: typing.Any
|
|
433
|
+
:type yend: typing.Optional[typing.Any]
|
|
432
434
|
:param flip: Flip
|
|
433
|
-
:type flip: typing.Union[bool, typing.Any]
|
|
435
|
+
:type flip: typing.Optional[typing.Union[bool, typing.Any]]
|
|
434
436
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
435
|
-
:type cursor: typing.Any
|
|
437
|
+
:type cursor: typing.Optional[typing.Any]
|
|
436
438
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
437
439
|
|
|
438
440
|
HIDE
|
|
@@ -440,7 +442,7 @@ def hide_show_line_gesture(
|
|
|
440
442
|
|
|
441
443
|
SHOW
|
|
442
444
|
Show -- Show vertices.
|
|
443
|
-
:type action: typing.Any
|
|
445
|
+
:type action: typing.Optional[typing.Any]
|
|
444
446
|
:param area: Visibility Area, Which vertices to hide or show
|
|
445
447
|
|
|
446
448
|
OUTSIDE
|
|
@@ -448,26 +450,26 @@ def hide_show_line_gesture(
|
|
|
448
450
|
|
|
449
451
|
Inside
|
|
450
452
|
Inside -- Hide or show vertices inside the selection.
|
|
451
|
-
:type area: typing.Any
|
|
453
|
+
:type area: typing.Optional[typing.Any]
|
|
452
454
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
453
|
-
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
455
|
+
:type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
|
|
454
456
|
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
455
|
-
:type use_limit_to_segment: typing.Union[bool, typing.Any]
|
|
457
|
+
:type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
|
|
456
458
|
"""
|
|
457
459
|
|
|
458
460
|
...
|
|
459
461
|
|
|
460
462
|
def hide_show_masked(
|
|
461
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
462
|
-
execution_context: typing.Union[str, int] = None,
|
|
463
|
-
undo: bool = None,
|
|
464
|
-
action: typing.Any = "HIDE",
|
|
463
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
464
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
465
|
+
undo: typing.Optional[bool] = None,
|
|
466
|
+
action: typing.Optional[typing.Any] = "HIDE",
|
|
465
467
|
):
|
|
466
468
|
"""Hide/show all masked vertices above a threshold
|
|
467
469
|
|
|
468
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
469
|
-
:type execution_context: typing.Union[str, int]
|
|
470
|
-
:type undo: bool
|
|
470
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
471
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
472
|
+
:type undo: typing.Optional[bool]
|
|
471
473
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
472
474
|
|
|
473
475
|
HIDE
|
|
@@ -475,22 +477,22 @@ def hide_show_masked(
|
|
|
475
477
|
|
|
476
478
|
SHOW
|
|
477
479
|
Show -- Show vertices.
|
|
478
|
-
:type action: typing.Any
|
|
480
|
+
:type action: typing.Optional[typing.Any]
|
|
479
481
|
"""
|
|
480
482
|
|
|
481
483
|
...
|
|
482
484
|
|
|
483
485
|
def image_from_view(
|
|
484
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
485
|
-
execution_context: typing.Union[str, int] = None,
|
|
486
|
-
undo: bool = None,
|
|
486
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
487
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
488
|
+
undo: typing.Optional[bool] = None,
|
|
487
489
|
filepath: typing.Union[str, typing.Any] = "",
|
|
488
490
|
):
|
|
489
491
|
"""Make an image from biggest 3D view for reprojection
|
|
490
492
|
|
|
491
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
492
|
-
:type execution_context: typing.Union[str, int]
|
|
493
|
-
:type undo: bool
|
|
493
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
494
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
495
|
+
:type undo: typing.Optional[bool]
|
|
494
496
|
:param filepath: File Path, Name of the file
|
|
495
497
|
:type filepath: typing.Union[str, typing.Any]
|
|
496
498
|
"""
|
|
@@ -498,19 +500,21 @@ def image_from_view(
|
|
|
498
500
|
...
|
|
499
501
|
|
|
500
502
|
def image_paint(
|
|
501
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
502
|
-
execution_context: typing.Union[str, int] = None,
|
|
503
|
-
undo: bool = None,
|
|
504
|
-
stroke:
|
|
505
|
-
|
|
503
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
504
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
505
|
+
undo: typing.Optional[bool] = None,
|
|
506
|
+
stroke: typing.Optional[
|
|
507
|
+
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
508
|
+
] = None,
|
|
509
|
+
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
506
510
|
):
|
|
507
511
|
"""Paint a stroke into the image
|
|
508
512
|
|
|
509
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
510
|
-
:type execution_context: typing.Union[str, int]
|
|
511
|
-
:type undo: bool
|
|
513
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
514
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
515
|
+
:type undo: typing.Optional[bool]
|
|
512
516
|
:param stroke: Stroke
|
|
513
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
517
|
+
:type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
|
|
514
518
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
515
519
|
|
|
516
520
|
NORMAL
|
|
@@ -521,41 +525,41 @@ def image_paint(
|
|
|
521
525
|
|
|
522
526
|
SMOOTH
|
|
523
527
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
524
|
-
:type mode: typing.Any
|
|
528
|
+
:type mode: typing.Optional[typing.Any]
|
|
525
529
|
"""
|
|
526
530
|
|
|
527
531
|
...
|
|
528
532
|
|
|
529
533
|
def mask_box_gesture(
|
|
530
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
531
|
-
execution_context: typing.Union[str, int] = None,
|
|
532
|
-
undo: bool = None,
|
|
533
|
-
xmin: typing.Any = 0,
|
|
534
|
-
xmax: typing.Any = 0,
|
|
535
|
-
ymin: typing.Any = 0,
|
|
536
|
-
ymax: typing.Any = 0,
|
|
537
|
-
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
538
|
-
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
539
|
-
mode: typing.Any = "VALUE",
|
|
540
|
-
value: typing.Any = 1.0,
|
|
534
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
535
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
536
|
+
undo: typing.Optional[bool] = None,
|
|
537
|
+
xmin: typing.Optional[typing.Any] = 0,
|
|
538
|
+
xmax: typing.Optional[typing.Any] = 0,
|
|
539
|
+
ymin: typing.Optional[typing.Any] = 0,
|
|
540
|
+
ymax: typing.Optional[typing.Any] = 0,
|
|
541
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
542
|
+
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
543
|
+
mode: typing.Optional[typing.Any] = "VALUE",
|
|
544
|
+
value: typing.Optional[typing.Any] = 1.0,
|
|
541
545
|
):
|
|
542
546
|
"""Add mask within the box as you move the brush
|
|
543
547
|
|
|
544
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
545
|
-
:type execution_context: typing.Union[str, int]
|
|
546
|
-
:type undo: bool
|
|
548
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
549
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
550
|
+
:type undo: typing.Optional[bool]
|
|
547
551
|
:param xmin: X Min
|
|
548
|
-
:type xmin: typing.Any
|
|
552
|
+
:type xmin: typing.Optional[typing.Any]
|
|
549
553
|
:param xmax: X Max
|
|
550
|
-
:type xmax: typing.Any
|
|
554
|
+
:type xmax: typing.Optional[typing.Any]
|
|
551
555
|
:param ymin: Y Min
|
|
552
|
-
:type ymin: typing.Any
|
|
556
|
+
:type ymin: typing.Optional[typing.Any]
|
|
553
557
|
:param ymax: Y Max
|
|
554
|
-
:type ymax: typing.Any
|
|
558
|
+
:type ymax: typing.Optional[typing.Any]
|
|
555
559
|
:param wait_for_input: Wait for Input
|
|
556
|
-
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
560
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
557
561
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
558
|
-
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
562
|
+
:type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
|
|
559
563
|
:param mode: Mode
|
|
560
564
|
|
|
561
565
|
VALUE
|
|
@@ -566,25 +570,25 @@ def mask_box_gesture(
|
|
|
566
570
|
|
|
567
571
|
INVERT
|
|
568
572
|
Invert -- Invert the mask.
|
|
569
|
-
:type mode: typing.Any
|
|
573
|
+
:type mode: typing.Optional[typing.Any]
|
|
570
574
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
571
|
-
:type value: typing.Any
|
|
575
|
+
:type value: typing.Optional[typing.Any]
|
|
572
576
|
"""
|
|
573
577
|
|
|
574
578
|
...
|
|
575
579
|
|
|
576
580
|
def mask_flood_fill(
|
|
577
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
578
|
-
execution_context: typing.Union[str, int] = None,
|
|
579
|
-
undo: bool = None,
|
|
580
|
-
mode: typing.Any = "VALUE",
|
|
581
|
-
value: typing.Any = 0.0,
|
|
581
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
582
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
583
|
+
undo: typing.Optional[bool] = None,
|
|
584
|
+
mode: typing.Optional[typing.Any] = "VALUE",
|
|
585
|
+
value: typing.Optional[typing.Any] = 0.0,
|
|
582
586
|
):
|
|
583
587
|
"""Fill the whole mask with a given value, or invert its values
|
|
584
588
|
|
|
585
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
586
|
-
:type execution_context: typing.Union[str, int]
|
|
587
|
-
:type undo: bool
|
|
589
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
590
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
591
|
+
:type undo: typing.Optional[bool]
|
|
588
592
|
:param mode: Mode
|
|
589
593
|
|
|
590
594
|
VALUE
|
|
@@ -595,31 +599,33 @@ def mask_flood_fill(
|
|
|
595
599
|
|
|
596
600
|
INVERT
|
|
597
601
|
Invert -- Invert the mask.
|
|
598
|
-
:type mode: typing.Any
|
|
602
|
+
:type mode: typing.Optional[typing.Any]
|
|
599
603
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
600
|
-
:type value: typing.Any
|
|
604
|
+
:type value: typing.Optional[typing.Any]
|
|
601
605
|
"""
|
|
602
606
|
|
|
603
607
|
...
|
|
604
608
|
|
|
605
609
|
def mask_lasso_gesture(
|
|
606
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
607
|
-
execution_context: typing.Union[str, int] = None,
|
|
608
|
-
undo: bool = None,
|
|
609
|
-
path:
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
610
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
611
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
612
|
+
undo: typing.Optional[bool] = None,
|
|
613
|
+
path: typing.Optional[
|
|
614
|
+
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
615
|
+
] = None,
|
|
616
|
+
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
617
|
+
mode: typing.Optional[typing.Any] = "VALUE",
|
|
618
|
+
value: typing.Optional[typing.Any] = 1.0,
|
|
613
619
|
):
|
|
614
620
|
"""Add mask within the lasso as you move the brush
|
|
615
621
|
|
|
616
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
617
|
-
:type execution_context: typing.Union[str, int]
|
|
618
|
-
:type undo: bool
|
|
622
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
623
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
624
|
+
:type undo: typing.Optional[bool]
|
|
619
625
|
:param path: Path
|
|
620
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
626
|
+
:type path: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]]
|
|
621
627
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
622
|
-
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
628
|
+
:type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
|
|
623
629
|
:param mode: Mode
|
|
624
630
|
|
|
625
631
|
VALUE
|
|
@@ -630,49 +636,49 @@ def mask_lasso_gesture(
|
|
|
630
636
|
|
|
631
637
|
INVERT
|
|
632
638
|
Invert -- Invert the mask.
|
|
633
|
-
:type mode: typing.Any
|
|
639
|
+
:type mode: typing.Optional[typing.Any]
|
|
634
640
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
635
|
-
:type value: typing.Any
|
|
641
|
+
:type value: typing.Optional[typing.Any]
|
|
636
642
|
"""
|
|
637
643
|
|
|
638
644
|
...
|
|
639
645
|
|
|
640
646
|
def mask_line_gesture(
|
|
641
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
642
|
-
execution_context: typing.Union[str, int] = None,
|
|
643
|
-
undo: bool = None,
|
|
644
|
-
xstart: typing.Any = 0,
|
|
645
|
-
xend: typing.Any = 0,
|
|
646
|
-
ystart: typing.Any = 0,
|
|
647
|
-
yend: typing.Any = 0,
|
|
648
|
-
flip: typing.Union[bool, typing.Any] = False,
|
|
649
|
-
cursor: typing.Any = 5,
|
|
650
|
-
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
651
|
-
use_limit_to_segment: typing.Union[bool, typing.Any] = False,
|
|
652
|
-
mode: typing.Any = "VALUE",
|
|
653
|
-
value: typing.Any = 1.0,
|
|
647
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
648
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
649
|
+
undo: typing.Optional[bool] = None,
|
|
650
|
+
xstart: typing.Optional[typing.Any] = 0,
|
|
651
|
+
xend: typing.Optional[typing.Any] = 0,
|
|
652
|
+
ystart: typing.Optional[typing.Any] = 0,
|
|
653
|
+
yend: typing.Optional[typing.Any] = 0,
|
|
654
|
+
flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
655
|
+
cursor: typing.Optional[typing.Any] = 5,
|
|
656
|
+
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
657
|
+
use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
658
|
+
mode: typing.Optional[typing.Any] = "VALUE",
|
|
659
|
+
value: typing.Optional[typing.Any] = 1.0,
|
|
654
660
|
):
|
|
655
661
|
"""Add mask to the right of a line as you move the brush
|
|
656
662
|
|
|
657
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
658
|
-
:type execution_context: typing.Union[str, int]
|
|
659
|
-
:type undo: bool
|
|
663
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
664
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
665
|
+
:type undo: typing.Optional[bool]
|
|
660
666
|
:param xstart: X Start
|
|
661
|
-
:type xstart: typing.Any
|
|
667
|
+
:type xstart: typing.Optional[typing.Any]
|
|
662
668
|
:param xend: X End
|
|
663
|
-
:type xend: typing.Any
|
|
669
|
+
:type xend: typing.Optional[typing.Any]
|
|
664
670
|
:param ystart: Y Start
|
|
665
|
-
:type ystart: typing.Any
|
|
671
|
+
:type ystart: typing.Optional[typing.Any]
|
|
666
672
|
:param yend: Y End
|
|
667
|
-
:type yend: typing.Any
|
|
673
|
+
:type yend: typing.Optional[typing.Any]
|
|
668
674
|
:param flip: Flip
|
|
669
|
-
:type flip: typing.Union[bool, typing.Any]
|
|
675
|
+
:type flip: typing.Optional[typing.Union[bool, typing.Any]]
|
|
670
676
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
671
|
-
:type cursor: typing.Any
|
|
677
|
+
:type cursor: typing.Optional[typing.Any]
|
|
672
678
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
673
|
-
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
679
|
+
:type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
|
|
674
680
|
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
675
|
-
:type use_limit_to_segment: typing.Union[bool, typing.Any]
|
|
681
|
+
:type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
|
|
676
682
|
:param mode: Mode
|
|
677
683
|
|
|
678
684
|
VALUE
|
|
@@ -683,78 +689,78 @@ def mask_line_gesture(
|
|
|
683
689
|
|
|
684
690
|
INVERT
|
|
685
691
|
Invert -- Invert the mask.
|
|
686
|
-
:type mode: typing.Any
|
|
692
|
+
:type mode: typing.Optional[typing.Any]
|
|
687
693
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
688
|
-
:type value: typing.Any
|
|
694
|
+
:type value: typing.Optional[typing.Any]
|
|
689
695
|
"""
|
|
690
696
|
|
|
691
697
|
...
|
|
692
698
|
|
|
693
699
|
def project_image(
|
|
694
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
695
|
-
execution_context: typing.Union[str, int] = None,
|
|
696
|
-
undo: bool = None,
|
|
697
|
-
image: typing.Union[str, int, typing.Any] = "",
|
|
700
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
701
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
702
|
+
undo: typing.Optional[bool] = None,
|
|
703
|
+
image: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
698
704
|
):
|
|
699
705
|
"""Project an edited render from the active camera back onto the object
|
|
700
706
|
|
|
701
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
702
|
-
:type execution_context: typing.Union[str, int]
|
|
703
|
-
:type undo: bool
|
|
707
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
708
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
709
|
+
:type undo: typing.Optional[bool]
|
|
704
710
|
:param image: Image
|
|
705
|
-
:type image: typing.Union[str, int, typing.Any]
|
|
711
|
+
:type image: typing.Optional[typing.Union[str, int, typing.Any]]
|
|
706
712
|
"""
|
|
707
713
|
|
|
708
714
|
...
|
|
709
715
|
|
|
710
716
|
def sample_color(
|
|
711
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
712
|
-
execution_context: typing.Union[str, int] = None,
|
|
713
|
-
undo: bool = None,
|
|
714
|
-
location: typing.Any = (0, 0),
|
|
715
|
-
merged: typing.Union[bool, typing.Any] = False,
|
|
716
|
-
palette: typing.Union[bool, typing.Any] = False,
|
|
717
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
718
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
719
|
+
undo: typing.Optional[bool] = None,
|
|
720
|
+
location: typing.Optional[typing.Any] = (0, 0),
|
|
721
|
+
merged: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
722
|
+
palette: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
717
723
|
):
|
|
718
724
|
"""Use the mouse to sample a color in the image
|
|
719
725
|
|
|
720
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
721
|
-
:type execution_context: typing.Union[str, int]
|
|
722
|
-
:type undo: bool
|
|
726
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
727
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
728
|
+
:type undo: typing.Optional[bool]
|
|
723
729
|
:param location: Location
|
|
724
|
-
:type location: typing.Any
|
|
730
|
+
:type location: typing.Optional[typing.Any]
|
|
725
731
|
:param merged: Sample Merged, Sample the output display color
|
|
726
|
-
:type merged: typing.Union[bool, typing.Any]
|
|
732
|
+
:type merged: typing.Optional[typing.Union[bool, typing.Any]]
|
|
727
733
|
:param palette: Add to Palette
|
|
728
|
-
:type palette: typing.Union[bool, typing.Any]
|
|
734
|
+
:type palette: typing.Optional[typing.Union[bool, typing.Any]]
|
|
729
735
|
"""
|
|
730
736
|
|
|
731
737
|
...
|
|
732
738
|
|
|
733
739
|
def texture_paint_toggle(
|
|
734
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
735
|
-
execution_context: typing.Union[str, int] = None,
|
|
736
|
-
undo: bool = None,
|
|
740
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
741
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
742
|
+
undo: typing.Optional[bool] = None,
|
|
737
743
|
):
|
|
738
744
|
"""Toggle texture paint mode in 3D view
|
|
739
745
|
|
|
740
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
741
|
-
:type execution_context: typing.Union[str, int]
|
|
742
|
-
:type undo: bool
|
|
746
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
747
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
748
|
+
:type undo: typing.Optional[bool]
|
|
743
749
|
"""
|
|
744
750
|
|
|
745
751
|
...
|
|
746
752
|
|
|
747
753
|
def vert_select_all(
|
|
748
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
749
|
-
execution_context: typing.Union[str, int] = None,
|
|
750
|
-
undo: bool = None,
|
|
751
|
-
action: typing.Any = "TOGGLE",
|
|
754
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
755
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
756
|
+
undo: typing.Optional[bool] = None,
|
|
757
|
+
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
752
758
|
):
|
|
753
759
|
"""Change selection for all vertices
|
|
754
760
|
|
|
755
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
756
|
-
:type execution_context: typing.Union[str, int]
|
|
757
|
-
:type undo: bool
|
|
761
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
762
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
763
|
+
:type undo: typing.Optional[bool]
|
|
758
764
|
:param action: Action, Selection action to execute
|
|
759
765
|
|
|
760
766
|
TOGGLE
|
|
@@ -768,278 +774,280 @@ def vert_select_all(
|
|
|
768
774
|
|
|
769
775
|
INVERT
|
|
770
776
|
Invert -- Invert selection of all elements.
|
|
771
|
-
:type action: typing.Any
|
|
777
|
+
:type action: typing.Optional[typing.Any]
|
|
772
778
|
"""
|
|
773
779
|
|
|
774
780
|
...
|
|
775
781
|
|
|
776
782
|
def vert_select_hide(
|
|
777
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
778
|
-
execution_context: typing.Union[str, int] = None,
|
|
779
|
-
undo: bool = None,
|
|
780
|
-
unselected: typing.Union[bool, typing.Any] = False,
|
|
783
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
784
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
785
|
+
undo: typing.Optional[bool] = None,
|
|
786
|
+
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
781
787
|
):
|
|
782
788
|
"""Hide selected vertices
|
|
783
789
|
|
|
784
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
785
|
-
:type execution_context: typing.Union[str, int]
|
|
786
|
-
:type undo: bool
|
|
790
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
791
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
792
|
+
:type undo: typing.Optional[bool]
|
|
787
793
|
:param unselected: Unselected, Hide unselected rather than selected vertices
|
|
788
|
-
:type unselected: typing.Union[bool, typing.Any]
|
|
794
|
+
:type unselected: typing.Optional[typing.Union[bool, typing.Any]]
|
|
789
795
|
"""
|
|
790
796
|
|
|
791
797
|
...
|
|
792
798
|
|
|
793
799
|
def vert_select_less(
|
|
794
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
795
|
-
execution_context: typing.Union[str, int] = None,
|
|
796
|
-
undo: bool = None,
|
|
797
|
-
face_step: typing.Union[bool, typing.Any] = True,
|
|
800
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
801
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
802
|
+
undo: typing.Optional[bool] = None,
|
|
803
|
+
face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
798
804
|
):
|
|
799
805
|
"""Deselect Vertices connected to existing selection
|
|
800
806
|
|
|
801
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
802
|
-
:type execution_context: typing.Union[str, int]
|
|
803
|
-
:type undo: bool
|
|
807
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
808
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
809
|
+
:type undo: typing.Optional[bool]
|
|
804
810
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
805
|
-
:type face_step: typing.Union[bool, typing.Any]
|
|
811
|
+
:type face_step: typing.Optional[typing.Union[bool, typing.Any]]
|
|
806
812
|
"""
|
|
807
813
|
|
|
808
814
|
...
|
|
809
815
|
|
|
810
816
|
def vert_select_linked(
|
|
811
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
812
|
-
execution_context: typing.Union[str, int] = None,
|
|
813
|
-
undo: bool = None,
|
|
817
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
818
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
819
|
+
undo: typing.Optional[bool] = None,
|
|
814
820
|
):
|
|
815
821
|
"""Select linked vertices
|
|
816
822
|
|
|
817
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
818
|
-
:type execution_context: typing.Union[str, int]
|
|
819
|
-
:type undo: bool
|
|
823
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
824
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
825
|
+
:type undo: typing.Optional[bool]
|
|
820
826
|
"""
|
|
821
827
|
|
|
822
828
|
...
|
|
823
829
|
|
|
824
830
|
def vert_select_linked_pick(
|
|
825
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
826
|
-
execution_context: typing.Union[str, int] = None,
|
|
827
|
-
undo: bool = None,
|
|
828
|
-
select: typing.Union[bool, typing.Any] = True,
|
|
831
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
832
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
833
|
+
undo: typing.Optional[bool] = None,
|
|
834
|
+
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
829
835
|
):
|
|
830
836
|
"""Select linked vertices under the cursor
|
|
831
837
|
|
|
832
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
833
|
-
:type execution_context: typing.Union[str, int]
|
|
834
|
-
:type undo: bool
|
|
838
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
839
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
840
|
+
:type undo: typing.Optional[bool]
|
|
835
841
|
:param select: Select, Whether to select or deselect linked vertices under the cursor
|
|
836
|
-
:type select: typing.Union[bool, typing.Any]
|
|
842
|
+
:type select: typing.Optional[typing.Union[bool, typing.Any]]
|
|
837
843
|
"""
|
|
838
844
|
|
|
839
845
|
...
|
|
840
846
|
|
|
841
847
|
def vert_select_more(
|
|
842
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
843
|
-
execution_context: typing.Union[str, int] = None,
|
|
844
|
-
undo: bool = None,
|
|
845
|
-
face_step: typing.Union[bool, typing.Any] = True,
|
|
848
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
849
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
850
|
+
undo: typing.Optional[bool] = None,
|
|
851
|
+
face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
846
852
|
):
|
|
847
853
|
"""Select Vertices connected to existing selection
|
|
848
854
|
|
|
849
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
850
|
-
:type execution_context: typing.Union[str, int]
|
|
851
|
-
:type undo: bool
|
|
855
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
856
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
857
|
+
:type undo: typing.Optional[bool]
|
|
852
858
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
853
|
-
:type face_step: typing.Union[bool, typing.Any]
|
|
859
|
+
:type face_step: typing.Optional[typing.Union[bool, typing.Any]]
|
|
854
860
|
"""
|
|
855
861
|
|
|
856
862
|
...
|
|
857
863
|
|
|
858
864
|
def vert_select_ungrouped(
|
|
859
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
860
|
-
execution_context: typing.Union[str, int] = None,
|
|
861
|
-
undo: bool = None,
|
|
862
|
-
extend: typing.Union[bool, typing.Any] = False,
|
|
865
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
866
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
867
|
+
undo: typing.Optional[bool] = None,
|
|
868
|
+
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
863
869
|
):
|
|
864
870
|
"""Select vertices without a group
|
|
865
871
|
|
|
866
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
867
|
-
:type execution_context: typing.Union[str, int]
|
|
868
|
-
:type undo: bool
|
|
872
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
873
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
874
|
+
:type undo: typing.Optional[bool]
|
|
869
875
|
:param extend: Extend, Extend the selection
|
|
870
|
-
:type extend: typing.Union[bool, typing.Any]
|
|
876
|
+
:type extend: typing.Optional[typing.Union[bool, typing.Any]]
|
|
871
877
|
"""
|
|
872
878
|
|
|
873
879
|
...
|
|
874
880
|
|
|
875
881
|
def vertex_color_brightness_contrast(
|
|
876
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
877
|
-
execution_context: typing.Union[str, int] = None,
|
|
878
|
-
undo: bool = None,
|
|
879
|
-
brightness: typing.Any = 0.0,
|
|
880
|
-
contrast: typing.Any = 0.0,
|
|
882
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
883
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
884
|
+
undo: typing.Optional[bool] = None,
|
|
885
|
+
brightness: typing.Optional[typing.Any] = 0.0,
|
|
886
|
+
contrast: typing.Optional[typing.Any] = 0.0,
|
|
881
887
|
):
|
|
882
888
|
"""Adjust vertex color brightness/contrast
|
|
883
889
|
|
|
884
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
885
|
-
:type execution_context: typing.Union[str, int]
|
|
886
|
-
:type undo: bool
|
|
890
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
891
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
892
|
+
:type undo: typing.Optional[bool]
|
|
887
893
|
:param brightness: Brightness
|
|
888
|
-
:type brightness: typing.Any
|
|
894
|
+
:type brightness: typing.Optional[typing.Any]
|
|
889
895
|
:param contrast: Contrast
|
|
890
|
-
:type contrast: typing.Any
|
|
896
|
+
:type contrast: typing.Optional[typing.Any]
|
|
891
897
|
"""
|
|
892
898
|
|
|
893
899
|
...
|
|
894
900
|
|
|
895
901
|
def vertex_color_dirt(
|
|
896
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
897
|
-
execution_context: typing.Union[str, int] = None,
|
|
898
|
-
undo: bool = None,
|
|
899
|
-
blur_strength: typing.Any = 1.0,
|
|
900
|
-
blur_iterations: typing.Any = 1,
|
|
901
|
-
clean_angle: typing.Any = 3.14159,
|
|
902
|
-
dirt_angle: typing.Any = 0.0,
|
|
903
|
-
dirt_only: typing.Union[bool, typing.Any] = False,
|
|
904
|
-
normalize: typing.Union[bool, typing.Any] = True,
|
|
902
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
903
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
904
|
+
undo: typing.Optional[bool] = None,
|
|
905
|
+
blur_strength: typing.Optional[typing.Any] = 1.0,
|
|
906
|
+
blur_iterations: typing.Optional[typing.Any] = 1,
|
|
907
|
+
clean_angle: typing.Optional[typing.Any] = 3.14159,
|
|
908
|
+
dirt_angle: typing.Optional[typing.Any] = 0.0,
|
|
909
|
+
dirt_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
910
|
+
normalize: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
905
911
|
):
|
|
906
912
|
"""Generate a dirt map gradient based on cavity
|
|
907
913
|
|
|
908
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
909
|
-
:type execution_context: typing.Union[str, int]
|
|
910
|
-
:type undo: bool
|
|
914
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
915
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
916
|
+
:type undo: typing.Optional[bool]
|
|
911
917
|
:param blur_strength: Blur Strength, Blur strength per iteration
|
|
912
|
-
:type blur_strength: typing.Any
|
|
918
|
+
:type blur_strength: typing.Optional[typing.Any]
|
|
913
919
|
:param blur_iterations: Blur Iterations, Number of times to blur the colors (higher blurs more)
|
|
914
|
-
:type blur_iterations: typing.Any
|
|
920
|
+
:type blur_iterations: typing.Optional[typing.Any]
|
|
915
921
|
:param clean_angle: Highlight Angle, Less than 90 limits the angle used in the tonal range
|
|
916
|
-
:type clean_angle: typing.Any
|
|
922
|
+
:type clean_angle: typing.Optional[typing.Any]
|
|
917
923
|
:param dirt_angle: Dirt Angle, Less than 90 limits the angle used in the tonal range
|
|
918
|
-
:type dirt_angle: typing.Any
|
|
924
|
+
:type dirt_angle: typing.Optional[typing.Any]
|
|
919
925
|
:param dirt_only: Dirt Only, Don't calculate cleans for convex areas
|
|
920
|
-
:type dirt_only: typing.Union[bool, typing.Any]
|
|
926
|
+
:type dirt_only: typing.Optional[typing.Union[bool, typing.Any]]
|
|
921
927
|
:param normalize: Normalize, Normalize the colors, increasing the contrast
|
|
922
|
-
:type normalize: typing.Union[bool, typing.Any]
|
|
928
|
+
:type normalize: typing.Optional[typing.Union[bool, typing.Any]]
|
|
923
929
|
"""
|
|
924
930
|
|
|
925
931
|
...
|
|
926
932
|
|
|
927
933
|
def vertex_color_from_weight(
|
|
928
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
929
|
-
execution_context: typing.Union[str, int] = None,
|
|
930
|
-
undo: bool = None,
|
|
934
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
935
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
936
|
+
undo: typing.Optional[bool] = None,
|
|
931
937
|
):
|
|
932
938
|
"""Convert active weight into gray scale vertex colors
|
|
933
939
|
|
|
934
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
935
|
-
:type execution_context: typing.Union[str, int]
|
|
936
|
-
:type undo: bool
|
|
940
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
941
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
942
|
+
:type undo: typing.Optional[bool]
|
|
937
943
|
"""
|
|
938
944
|
|
|
939
945
|
...
|
|
940
946
|
|
|
941
947
|
def vertex_color_hsv(
|
|
942
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
943
|
-
execution_context: typing.Union[str, int] = None,
|
|
944
|
-
undo: bool = None,
|
|
945
|
-
h: typing.Any = 0.5,
|
|
946
|
-
s: typing.Any = 1.0,
|
|
947
|
-
v: typing.Any = 1.0,
|
|
948
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
949
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
950
|
+
undo: typing.Optional[bool] = None,
|
|
951
|
+
h: typing.Optional[typing.Any] = 0.5,
|
|
952
|
+
s: typing.Optional[typing.Any] = 1.0,
|
|
953
|
+
v: typing.Optional[typing.Any] = 1.0,
|
|
948
954
|
):
|
|
949
955
|
"""Adjust vertex color Hue/Saturation/Value
|
|
950
956
|
|
|
951
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
952
|
-
:type execution_context: typing.Union[str, int]
|
|
953
|
-
:type undo: bool
|
|
957
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
958
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
959
|
+
:type undo: typing.Optional[bool]
|
|
954
960
|
:param h: Hue
|
|
955
|
-
:type h: typing.Any
|
|
961
|
+
:type h: typing.Optional[typing.Any]
|
|
956
962
|
:param s: Saturation
|
|
957
|
-
:type s: typing.Any
|
|
963
|
+
:type s: typing.Optional[typing.Any]
|
|
958
964
|
:param v: Value
|
|
959
|
-
:type v: typing.Any
|
|
965
|
+
:type v: typing.Optional[typing.Any]
|
|
960
966
|
"""
|
|
961
967
|
|
|
962
968
|
...
|
|
963
969
|
|
|
964
970
|
def vertex_color_invert(
|
|
965
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
966
|
-
execution_context: typing.Union[str, int] = None,
|
|
967
|
-
undo: bool = None,
|
|
971
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
972
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
973
|
+
undo: typing.Optional[bool] = None,
|
|
968
974
|
):
|
|
969
975
|
"""Invert RGB values
|
|
970
976
|
|
|
971
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
972
|
-
:type execution_context: typing.Union[str, int]
|
|
973
|
-
:type undo: bool
|
|
977
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
978
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
979
|
+
:type undo: typing.Optional[bool]
|
|
974
980
|
"""
|
|
975
981
|
|
|
976
982
|
...
|
|
977
983
|
|
|
978
984
|
def vertex_color_levels(
|
|
979
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
980
|
-
execution_context: typing.Union[str, int] = None,
|
|
981
|
-
undo: bool = None,
|
|
982
|
-
offset: typing.Any = 0.0,
|
|
983
|
-
gain: typing.Any = 1.0,
|
|
985
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
986
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
987
|
+
undo: typing.Optional[bool] = None,
|
|
988
|
+
offset: typing.Optional[typing.Any] = 0.0,
|
|
989
|
+
gain: typing.Optional[typing.Any] = 1.0,
|
|
984
990
|
):
|
|
985
991
|
"""Adjust levels of vertex colors
|
|
986
992
|
|
|
987
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
988
|
-
:type execution_context: typing.Union[str, int]
|
|
989
|
-
:type undo: bool
|
|
993
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
994
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
995
|
+
:type undo: typing.Optional[bool]
|
|
990
996
|
:param offset: Offset, Value to add to colors
|
|
991
|
-
:type offset: typing.Any
|
|
997
|
+
:type offset: typing.Optional[typing.Any]
|
|
992
998
|
:param gain: Gain, Value to multiply colors by
|
|
993
|
-
:type gain: typing.Any
|
|
999
|
+
:type gain: typing.Optional[typing.Any]
|
|
994
1000
|
"""
|
|
995
1001
|
|
|
996
1002
|
...
|
|
997
1003
|
|
|
998
1004
|
def vertex_color_set(
|
|
999
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1000
|
-
execution_context: typing.Union[str, int] = None,
|
|
1001
|
-
undo: bool = None,
|
|
1002
|
-
use_alpha: typing.Union[bool, typing.Any] = True,
|
|
1005
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1006
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1007
|
+
undo: typing.Optional[bool] = None,
|
|
1008
|
+
use_alpha: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1003
1009
|
):
|
|
1004
1010
|
"""Fill the active vertex color layer with the current paint color
|
|
1005
1011
|
|
|
1006
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1007
|
-
:type execution_context: typing.Union[str, int]
|
|
1008
|
-
:type undo: bool
|
|
1012
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1013
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1014
|
+
:type undo: typing.Optional[bool]
|
|
1009
1015
|
:param use_alpha: Affect Alpha, Set color completely opaque instead of reusing existing alpha
|
|
1010
|
-
:type use_alpha: typing.Union[bool, typing.Any]
|
|
1016
|
+
:type use_alpha: typing.Optional[typing.Union[bool, typing.Any]]
|
|
1011
1017
|
"""
|
|
1012
1018
|
|
|
1013
1019
|
...
|
|
1014
1020
|
|
|
1015
1021
|
def vertex_color_smooth(
|
|
1016
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1017
|
-
execution_context: typing.Union[str, int] = None,
|
|
1018
|
-
undo: bool = None,
|
|
1022
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1023
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1024
|
+
undo: typing.Optional[bool] = None,
|
|
1019
1025
|
):
|
|
1020
1026
|
"""Smooth colors across vertices
|
|
1021
1027
|
|
|
1022
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1023
|
-
:type execution_context: typing.Union[str, int]
|
|
1024
|
-
:type undo: bool
|
|
1028
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1029
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1030
|
+
:type undo: typing.Optional[bool]
|
|
1025
1031
|
"""
|
|
1026
1032
|
|
|
1027
1033
|
...
|
|
1028
1034
|
|
|
1029
1035
|
def vertex_paint(
|
|
1030
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1031
|
-
execution_context: typing.Union[str, int] = None,
|
|
1032
|
-
undo: bool = None,
|
|
1033
|
-
stroke:
|
|
1034
|
-
|
|
1036
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1037
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1038
|
+
undo: typing.Optional[bool] = None,
|
|
1039
|
+
stroke: typing.Optional[
|
|
1040
|
+
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1041
|
+
] = None,
|
|
1042
|
+
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
1035
1043
|
):
|
|
1036
1044
|
"""Paint a stroke in the active color attribute layer
|
|
1037
1045
|
|
|
1038
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1039
|
-
:type execution_context: typing.Union[str, int]
|
|
1040
|
-
:type undo: bool
|
|
1046
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1047
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1048
|
+
:type undo: typing.Optional[bool]
|
|
1041
1049
|
:param stroke: Stroke
|
|
1042
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1050
|
+
:type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
|
|
1043
1051
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
1044
1052
|
|
|
1045
1053
|
NORMAL
|
|
@@ -1050,50 +1058,50 @@ def vertex_paint(
|
|
|
1050
1058
|
|
|
1051
1059
|
SMOOTH
|
|
1052
1060
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1053
|
-
:type mode: typing.Any
|
|
1061
|
+
:type mode: typing.Optional[typing.Any]
|
|
1054
1062
|
"""
|
|
1055
1063
|
|
|
1056
1064
|
...
|
|
1057
1065
|
|
|
1058
1066
|
def vertex_paint_toggle(
|
|
1059
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1060
|
-
execution_context: typing.Union[str, int] = None,
|
|
1061
|
-
undo: bool = None,
|
|
1067
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1068
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1069
|
+
undo: typing.Optional[bool] = None,
|
|
1062
1070
|
):
|
|
1063
1071
|
"""Toggle the vertex paint mode in 3D view
|
|
1064
1072
|
|
|
1065
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1066
|
-
:type execution_context: typing.Union[str, int]
|
|
1067
|
-
:type undo: bool
|
|
1073
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1074
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1075
|
+
:type undo: typing.Optional[bool]
|
|
1068
1076
|
"""
|
|
1069
1077
|
|
|
1070
1078
|
...
|
|
1071
1079
|
|
|
1072
1080
|
def visibility_invert(
|
|
1073
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1074
|
-
execution_context: typing.Union[str, int] = None,
|
|
1075
|
-
undo: bool = None,
|
|
1081
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1082
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1083
|
+
undo: typing.Optional[bool] = None,
|
|
1076
1084
|
):
|
|
1077
1085
|
"""Invert the visibility of all vertices
|
|
1078
1086
|
|
|
1079
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1080
|
-
:type execution_context: typing.Union[str, int]
|
|
1081
|
-
:type undo: bool
|
|
1087
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1088
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1089
|
+
:type undo: typing.Optional[bool]
|
|
1082
1090
|
"""
|
|
1083
1091
|
|
|
1084
1092
|
...
|
|
1085
1093
|
|
|
1086
1094
|
def weight_from_bones(
|
|
1087
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1088
|
-
execution_context: typing.Union[str, int] = None,
|
|
1089
|
-
undo: bool = None,
|
|
1090
|
-
type: typing.Any = "AUTOMATIC",
|
|
1095
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1096
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1097
|
+
undo: typing.Optional[bool] = None,
|
|
1098
|
+
type: typing.Optional[typing.Any] = "AUTOMATIC",
|
|
1091
1099
|
):
|
|
1092
1100
|
"""Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
|
|
1093
1101
|
|
|
1094
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1095
|
-
:type execution_context: typing.Union[str, int]
|
|
1096
|
-
:type undo: bool
|
|
1102
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1103
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1104
|
+
:type undo: typing.Optional[bool]
|
|
1097
1105
|
:param type: Type, Method to use for assigning weights
|
|
1098
1106
|
|
|
1099
1107
|
AUTOMATIC
|
|
@@ -1101,60 +1109,62 @@ def weight_from_bones(
|
|
|
1101
1109
|
|
|
1102
1110
|
ENVELOPES
|
|
1103
1111
|
From Envelopes -- Weights from envelopes with user defined radius.
|
|
1104
|
-
:type type: typing.Any
|
|
1112
|
+
:type type: typing.Optional[typing.Any]
|
|
1105
1113
|
"""
|
|
1106
1114
|
|
|
1107
1115
|
...
|
|
1108
1116
|
|
|
1109
1117
|
def weight_gradient(
|
|
1110
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1111
|
-
execution_context: typing.Union[str, int] = None,
|
|
1112
|
-
undo: bool = None,
|
|
1113
|
-
type: typing.Any = "LINEAR",
|
|
1114
|
-
xstart: typing.Any = 0,
|
|
1115
|
-
xend: typing.Any = 0,
|
|
1116
|
-
ystart: typing.Any = 0,
|
|
1117
|
-
yend: typing.Any = 0,
|
|
1118
|
-
flip: typing.Union[bool, typing.Any] = False,
|
|
1119
|
-
cursor: typing.Any = 5,
|
|
1118
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1119
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1120
|
+
undo: typing.Optional[bool] = None,
|
|
1121
|
+
type: typing.Optional[typing.Any] = "LINEAR",
|
|
1122
|
+
xstart: typing.Optional[typing.Any] = 0,
|
|
1123
|
+
xend: typing.Optional[typing.Any] = 0,
|
|
1124
|
+
ystart: typing.Optional[typing.Any] = 0,
|
|
1125
|
+
yend: typing.Optional[typing.Any] = 0,
|
|
1126
|
+
flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1127
|
+
cursor: typing.Optional[typing.Any] = 5,
|
|
1120
1128
|
):
|
|
1121
1129
|
"""Draw a line to apply a weight gradient to selected vertices
|
|
1122
1130
|
|
|
1123
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1124
|
-
:type execution_context: typing.Union[str, int]
|
|
1125
|
-
:type undo: bool
|
|
1131
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1132
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1133
|
+
:type undo: typing.Optional[bool]
|
|
1126
1134
|
:param type: Type
|
|
1127
|
-
:type type: typing.Any
|
|
1135
|
+
:type type: typing.Optional[typing.Any]
|
|
1128
1136
|
:param xstart: X Start
|
|
1129
|
-
:type xstart: typing.Any
|
|
1137
|
+
:type xstart: typing.Optional[typing.Any]
|
|
1130
1138
|
:param xend: X End
|
|
1131
|
-
:type xend: typing.Any
|
|
1139
|
+
:type xend: typing.Optional[typing.Any]
|
|
1132
1140
|
:param ystart: Y Start
|
|
1133
|
-
:type ystart: typing.Any
|
|
1141
|
+
:type ystart: typing.Optional[typing.Any]
|
|
1134
1142
|
:param yend: Y End
|
|
1135
|
-
:type yend: typing.Any
|
|
1143
|
+
:type yend: typing.Optional[typing.Any]
|
|
1136
1144
|
:param flip: Flip
|
|
1137
|
-
:type flip: typing.Union[bool, typing.Any]
|
|
1145
|
+
:type flip: typing.Optional[typing.Union[bool, typing.Any]]
|
|
1138
1146
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
1139
|
-
:type cursor: typing.Any
|
|
1147
|
+
:type cursor: typing.Optional[typing.Any]
|
|
1140
1148
|
"""
|
|
1141
1149
|
|
|
1142
1150
|
...
|
|
1143
1151
|
|
|
1144
1152
|
def weight_paint(
|
|
1145
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1146
|
-
execution_context: typing.Union[str, int] = None,
|
|
1147
|
-
undo: bool = None,
|
|
1148
|
-
stroke:
|
|
1149
|
-
|
|
1153
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1154
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1155
|
+
undo: typing.Optional[bool] = None,
|
|
1156
|
+
stroke: typing.Optional[
|
|
1157
|
+
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1158
|
+
] = None,
|
|
1159
|
+
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
1150
1160
|
):
|
|
1151
1161
|
"""Paint a stroke in the current vertex group's weights
|
|
1152
1162
|
|
|
1153
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1154
|
-
:type execution_context: typing.Union[str, int]
|
|
1155
|
-
:type undo: bool
|
|
1163
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1164
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1165
|
+
:type undo: typing.Optional[bool]
|
|
1156
1166
|
:param stroke: Stroke
|
|
1157
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1167
|
+
:type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
|
|
1158
1168
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
1159
1169
|
|
|
1160
1170
|
NORMAL
|
|
@@ -1165,63 +1175,63 @@ def weight_paint(
|
|
|
1165
1175
|
|
|
1166
1176
|
SMOOTH
|
|
1167
1177
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1168
|
-
:type mode: typing.Any
|
|
1178
|
+
:type mode: typing.Optional[typing.Any]
|
|
1169
1179
|
"""
|
|
1170
1180
|
|
|
1171
1181
|
...
|
|
1172
1182
|
|
|
1173
1183
|
def weight_paint_toggle(
|
|
1174
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1175
|
-
execution_context: typing.Union[str, int] = None,
|
|
1176
|
-
undo: bool = None,
|
|
1184
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1185
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1186
|
+
undo: typing.Optional[bool] = None,
|
|
1177
1187
|
):
|
|
1178
1188
|
"""Toggle weight paint mode in 3D view
|
|
1179
1189
|
|
|
1180
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1181
|
-
:type execution_context: typing.Union[str, int]
|
|
1182
|
-
:type undo: bool
|
|
1190
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1191
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1192
|
+
:type undo: typing.Optional[bool]
|
|
1183
1193
|
"""
|
|
1184
1194
|
|
|
1185
1195
|
...
|
|
1186
1196
|
|
|
1187
1197
|
def weight_sample(
|
|
1188
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1189
|
-
execution_context: typing.Union[str, int] = None,
|
|
1190
|
-
undo: bool = None,
|
|
1198
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1199
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1200
|
+
undo: typing.Optional[bool] = None,
|
|
1191
1201
|
):
|
|
1192
1202
|
"""Use the mouse to sample a weight in the 3D view
|
|
1193
1203
|
|
|
1194
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1195
|
-
:type execution_context: typing.Union[str, int]
|
|
1196
|
-
:type undo: bool
|
|
1204
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1205
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1206
|
+
:type undo: typing.Optional[bool]
|
|
1197
1207
|
"""
|
|
1198
1208
|
|
|
1199
1209
|
...
|
|
1200
1210
|
|
|
1201
1211
|
def weight_sample_group(
|
|
1202
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1203
|
-
execution_context: typing.Union[str, int] = None,
|
|
1204
|
-
undo: bool = None,
|
|
1212
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1213
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1214
|
+
undo: typing.Optional[bool] = None,
|
|
1205
1215
|
):
|
|
1206
1216
|
"""Select one of the vertex groups available under current mouse position
|
|
1207
1217
|
|
|
1208
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1209
|
-
:type execution_context: typing.Union[str, int]
|
|
1210
|
-
:type undo: bool
|
|
1218
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1219
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1220
|
+
:type undo: typing.Optional[bool]
|
|
1211
1221
|
"""
|
|
1212
1222
|
|
|
1213
1223
|
...
|
|
1214
1224
|
|
|
1215
1225
|
def weight_set(
|
|
1216
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1217
|
-
execution_context: typing.Union[str, int] = None,
|
|
1218
|
-
undo: bool = None,
|
|
1226
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1227
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1228
|
+
undo: typing.Optional[bool] = None,
|
|
1219
1229
|
):
|
|
1220
1230
|
"""Fill the active vertex group with the current paint weight
|
|
1221
1231
|
|
|
1222
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1223
|
-
:type execution_context: typing.Union[str, int]
|
|
1224
|
-
:type undo: bool
|
|
1232
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1233
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1234
|
+
:type undo: typing.Optional[bool]
|
|
1225
1235
|
"""
|
|
1226
1236
|
|
|
1227
1237
|
...
|