fake-bpy-module 20240417__py3-none-any.whl → 20240418__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.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +4 -0
- _bpy_internal/freedesktop/__init__.pyi +88 -0
- _bpy_internal/freedesktop/py.typed +0 -0
- _bpy_internal/py.typed +0 -0
- aud/__init__.pyi +121 -48
- bgl/__init__.pyi +2443 -1265
- bl_math/__init__.pyi +19 -3
- blf/__init__.pyi +63 -13
- bmesh/__init__.pyi +13 -0
- bmesh/geometry/__init__.pyi +5 -0
- bmesh/ops/__init__.pyi +157 -68
- bmesh/types/__init__.pyi +109 -62
- bmesh/utils/__init__.pyi +11 -2
- bpy/__init__.pyi +7 -0
- bpy/app/__init__.pyi +13 -0
- bpy/app/handlers/__init__.pyi +41 -0
- bpy/app/icons/__init__.pyi +4 -2
- bpy/app/timers/__init__.pyi +38 -2
- bpy/app/translations/__init__.pyi +58 -0
- bpy/msgbus/__init__.pyi +46 -0
- bpy/ops/__init__.pyi +151 -0
- bpy/ops/action/__init__.pyi +76 -76
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +96 -96
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +16 -16
- bpy/ops/brush/__init__.pyi +18 -18
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +184 -184
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +18 -18
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +102 -102
- bpy/ops/curves/__init__.pyi +54 -54
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +7 -7
- bpy/ops/file/__init__.pyi +80 -80
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +300 -300
- bpy/ops/graph/__init__.pyi +130 -130
- bpy/ops/grease_pencil/__init__.pyi +112 -112
- bpy/ops/image/__init__.pyi +92 -92
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +78 -78
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +16 -16
- bpy/ops/mesh/__init__.pyi +326 -326
- bpy/ops/nla/__init__.pyi +79 -79
- bpy/ops/node/__init__.pyi +202 -202
- bpy/ops/object/__init__.pyi +488 -500
- bpy/ops/outliner/__init__.pyi +138 -138
- bpy/ops/paint/__init__.pyi +104 -104
- bpy/ops/paintcurve/__init__.pyi +16 -16
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +78 -78
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +76 -76
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +26 -26
- bpy/ops/scene/__init__.pyi +78 -78
- bpy/ops/screen/__init__.pyi +78 -78
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +62 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +170 -170
- bpy/ops/sound/__init__.pyi +14 -14
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +54 -54
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +98 -98
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +224 -224
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/path/__init__.pyi +6 -0
- bpy/props/__init__.pyi +141 -29
- bpy/types/__init__.pyi +101490 -5018
- bpy/utils/__init__.pyi +18 -3
- bpy/utils/previews/__init__.pyi +15 -0
- bpy/utils/units/__init__.pyi +11 -3
- bpy_extras/__init__.pyi +19 -0
- bpy_extras/asset_utils/__init__.pyi +5 -0
- {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240418.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240418.dist-info}/RECORD +137 -133
- {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240418.dist-info}/top_level.txt +1 -0
- freestyle/__init__.pyi +18 -0
- freestyle/chainingiterators/__init__.pyi +20 -5
- freestyle/functions/__init__.pyi +151 -155
- freestyle/predicates/__init__.pyi +53 -46
- freestyle/shaders/__init__.pyi +91 -32
- freestyle/types/__init__.pyi +362 -120
- freestyle/utils/ContextFunctions/__init__.pyi +32 -7
- freestyle/utils/__init__.pyi +13 -1
- gpu/__init__.pyi +225 -0
- gpu/capabilities/__init__.pyi +37 -15
- gpu/matrix/__init__.pyi +7 -1
- gpu/platform/__init__.pyi +5 -0
- gpu/select/__init__.pyi +5 -0
- gpu/shader/__init__.pyi +77 -0
- gpu/state/__init__.pyi +15 -4
- gpu/texture/__init__.pyi +5 -0
- gpu/types/__init__.pyi +91 -33
- gpu_extras/__init__.pyi +15 -0
- gpu_extras/presets/__init__.pyi +16 -4
- imbuf/__init__.pyi +13 -0
- imbuf/types/__init__.pyi +20 -5
- mathutils/__init__.pyi +349 -227
- mathutils/bvhtree/__init__.pyi +21 -8
- mathutils/geometry/__init__.pyi +23 -9
- mathutils/interpolate/__init__.pyi +5 -0
- mathutils/kdtree/__init__.pyi +19 -5
- mathutils/noise/__init__.pyi +87 -41
- {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240418.dist-info}/WHEEL +0 -0
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
5
5
|
|
|
6
6
|
def add_simple_uvs(
|
|
7
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: str = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
9
|
undo: bool = None,
|
|
10
10
|
):
|
|
11
11
|
"""Add cube map UVs on mesh
|
|
12
12
|
|
|
13
13
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: str
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
15
|
:type undo: bool
|
|
16
16
|
"""
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ def add_simple_uvs(
|
|
|
19
19
|
|
|
20
20
|
def add_texture_paint_slot(
|
|
21
21
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context: str = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
23
|
undo: bool = None,
|
|
24
24
|
type: typing.Any = "BASE_COLOR",
|
|
25
25
|
slot_type: typing.Any = "IMAGE",
|
|
@@ -36,7 +36,7 @@ def add_texture_paint_slot(
|
|
|
36
36
|
"""Add a paint slot
|
|
37
37
|
|
|
38
38
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
39
|
-
:type execution_context: str
|
|
39
|
+
:type execution_context: typing.Union[str, int]
|
|
40
40
|
:type undo: bool
|
|
41
41
|
:param type: Material Layer Type, Material layer type of new paint slot
|
|
42
42
|
:type type: typing.Any
|
|
@@ -66,13 +66,13 @@ def add_texture_paint_slot(
|
|
|
66
66
|
|
|
67
67
|
def brush_colors_flip(
|
|
68
68
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
69
|
-
execution_context: str = None,
|
|
69
|
+
execution_context: typing.Union[str, int] = None,
|
|
70
70
|
undo: bool = None,
|
|
71
71
|
):
|
|
72
72
|
"""Swap primary and secondary brush colors
|
|
73
73
|
|
|
74
74
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
75
|
-
:type execution_context: str
|
|
75
|
+
:type execution_context: typing.Union[str, int]
|
|
76
76
|
:type undo: bool
|
|
77
77
|
"""
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ def brush_colors_flip(
|
|
|
80
80
|
|
|
81
81
|
def brush_select(
|
|
82
82
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
83
|
-
execution_context: str = None,
|
|
83
|
+
execution_context: typing.Union[str, int] = None,
|
|
84
84
|
undo: bool = None,
|
|
85
85
|
sculpt_tool: typing.Union[str, int] = "DRAW",
|
|
86
86
|
vertex_tool: typing.Union[str, int] = "DRAW",
|
|
@@ -97,7 +97,7 @@ def brush_select(
|
|
|
97
97
|
"""Select a paint mode's brush by tool type
|
|
98
98
|
|
|
99
99
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
100
|
-
:type execution_context: str
|
|
100
|
+
:type execution_context: typing.Union[str, int]
|
|
101
101
|
:type undo: bool
|
|
102
102
|
:param sculpt_tool: sculpt_tool
|
|
103
103
|
:type sculpt_tool: typing.Union[str, int]
|
|
@@ -127,14 +127,14 @@ def brush_select(
|
|
|
127
127
|
|
|
128
128
|
def face_select_all(
|
|
129
129
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
130
|
-
execution_context: str = None,
|
|
130
|
+
execution_context: typing.Union[str, int] = None,
|
|
131
131
|
undo: bool = None,
|
|
132
132
|
action: typing.Any = "TOGGLE",
|
|
133
133
|
):
|
|
134
134
|
"""Change selection for all faces
|
|
135
135
|
|
|
136
136
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
137
|
-
:type execution_context: str
|
|
137
|
+
:type execution_context: typing.Union[str, int]
|
|
138
138
|
:type undo: bool
|
|
139
139
|
:param action: Action, Selection action to execute
|
|
140
140
|
|
|
@@ -156,14 +156,14 @@ def face_select_all(
|
|
|
156
156
|
|
|
157
157
|
def face_select_hide(
|
|
158
158
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
159
|
-
execution_context: str = None,
|
|
159
|
+
execution_context: typing.Union[str, int] = None,
|
|
160
160
|
undo: bool = None,
|
|
161
161
|
unselected: typing.Union[bool, typing.Any] = False,
|
|
162
162
|
):
|
|
163
163
|
"""Hide selected faces
|
|
164
164
|
|
|
165
165
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
166
|
-
:type execution_context: str
|
|
166
|
+
:type execution_context: typing.Union[str, int]
|
|
167
167
|
:type undo: bool
|
|
168
168
|
:param unselected: Unselected, Hide unselected rather than selected objects
|
|
169
169
|
:type unselected: typing.Union[bool, typing.Any]
|
|
@@ -173,14 +173,14 @@ def face_select_hide(
|
|
|
173
173
|
|
|
174
174
|
def face_select_less(
|
|
175
175
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
176
|
-
execution_context: str = None,
|
|
176
|
+
execution_context: typing.Union[str, int] = None,
|
|
177
177
|
undo: bool = None,
|
|
178
178
|
face_step: typing.Union[bool, typing.Any] = True,
|
|
179
179
|
):
|
|
180
180
|
"""Deselect Faces connected to existing selection
|
|
181
181
|
|
|
182
182
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
-
:type execution_context: str
|
|
183
|
+
:type execution_context: typing.Union[str, int]
|
|
184
184
|
:type undo: bool
|
|
185
185
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
186
186
|
:type face_step: typing.Union[bool, typing.Any]
|
|
@@ -190,13 +190,13 @@ def face_select_less(
|
|
|
190
190
|
|
|
191
191
|
def face_select_linked(
|
|
192
192
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
193
|
-
execution_context: str = None,
|
|
193
|
+
execution_context: typing.Union[str, int] = None,
|
|
194
194
|
undo: bool = None,
|
|
195
195
|
):
|
|
196
196
|
"""Select linked faces
|
|
197
197
|
|
|
198
198
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
199
|
-
:type execution_context: str
|
|
199
|
+
:type execution_context: typing.Union[str, int]
|
|
200
200
|
:type undo: bool
|
|
201
201
|
"""
|
|
202
202
|
|
|
@@ -204,14 +204,14 @@ def face_select_linked(
|
|
|
204
204
|
|
|
205
205
|
def face_select_linked_pick(
|
|
206
206
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
207
|
-
execution_context: str = None,
|
|
207
|
+
execution_context: typing.Union[str, int] = None,
|
|
208
208
|
undo: bool = None,
|
|
209
209
|
deselect: typing.Union[bool, typing.Any] = False,
|
|
210
210
|
):
|
|
211
211
|
"""Select linked faces under the cursor
|
|
212
212
|
|
|
213
213
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
214
|
-
:type execution_context: str
|
|
214
|
+
:type execution_context: typing.Union[str, int]
|
|
215
215
|
:type undo: bool
|
|
216
216
|
:param deselect: Deselect, Deselect rather than select items
|
|
217
217
|
:type deselect: typing.Union[bool, typing.Any]
|
|
@@ -221,7 +221,7 @@ def face_select_linked_pick(
|
|
|
221
221
|
|
|
222
222
|
def face_select_loop(
|
|
223
223
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
224
|
-
execution_context: str = None,
|
|
224
|
+
execution_context: typing.Union[str, int] = None,
|
|
225
225
|
undo: bool = None,
|
|
226
226
|
select: typing.Union[bool, typing.Any] = True,
|
|
227
227
|
extend: typing.Union[bool, typing.Any] = False,
|
|
@@ -229,7 +229,7 @@ def face_select_loop(
|
|
|
229
229
|
"""Select face loop under the cursor
|
|
230
230
|
|
|
231
231
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
232
|
-
:type execution_context: str
|
|
232
|
+
:type execution_context: typing.Union[str, int]
|
|
233
233
|
:type undo: bool
|
|
234
234
|
:param select: Select, If false, faces will be deselected
|
|
235
235
|
:type select: typing.Union[bool, typing.Any]
|
|
@@ -241,14 +241,14 @@ def face_select_loop(
|
|
|
241
241
|
|
|
242
242
|
def face_select_more(
|
|
243
243
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
244
|
-
execution_context: str = None,
|
|
244
|
+
execution_context: typing.Union[str, int] = None,
|
|
245
245
|
undo: bool = None,
|
|
246
246
|
face_step: typing.Union[bool, typing.Any] = True,
|
|
247
247
|
):
|
|
248
248
|
"""Select Faces connected to existing selection
|
|
249
249
|
|
|
250
250
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
251
|
-
:type execution_context: str
|
|
251
|
+
:type execution_context: typing.Union[str, int]
|
|
252
252
|
:type undo: bool
|
|
253
253
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
254
254
|
:type face_step: typing.Union[bool, typing.Any]
|
|
@@ -258,14 +258,14 @@ def face_select_more(
|
|
|
258
258
|
|
|
259
259
|
def face_vert_reveal(
|
|
260
260
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
261
|
-
execution_context: str = None,
|
|
261
|
+
execution_context: typing.Union[str, int] = None,
|
|
262
262
|
undo: bool = None,
|
|
263
263
|
select: typing.Union[bool, typing.Any] = True,
|
|
264
264
|
):
|
|
265
265
|
"""Reveal hidden faces and vertices
|
|
266
266
|
|
|
267
267
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
-
:type execution_context: str
|
|
268
|
+
:type execution_context: typing.Union[str, int]
|
|
269
269
|
:type undo: bool
|
|
270
270
|
:param select: Select, Specifies whether the newly revealed geometry should be selected
|
|
271
271
|
:type select: typing.Union[bool, typing.Any]
|
|
@@ -275,14 +275,14 @@ def face_vert_reveal(
|
|
|
275
275
|
|
|
276
276
|
def grab_clone(
|
|
277
277
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
278
|
-
execution_context: str = None,
|
|
278
|
+
execution_context: typing.Union[str, int] = None,
|
|
279
279
|
undo: bool = None,
|
|
280
280
|
delta: typing.Any = (0.0, 0.0),
|
|
281
281
|
):
|
|
282
282
|
"""Move the clone source image
|
|
283
283
|
|
|
284
284
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
285
|
-
:type execution_context: str
|
|
285
|
+
:type execution_context: typing.Union[str, int]
|
|
286
286
|
:type undo: bool
|
|
287
287
|
:param delta: Delta, Delta offset of clone image in 0.0 to 1.0 coordinates
|
|
288
288
|
:type delta: typing.Any
|
|
@@ -292,7 +292,7 @@ def grab_clone(
|
|
|
292
292
|
|
|
293
293
|
def hide_show(
|
|
294
294
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
295
|
-
execution_context: str = None,
|
|
295
|
+
execution_context: typing.Union[str, int] = None,
|
|
296
296
|
undo: bool = None,
|
|
297
297
|
xmin: typing.Any = 0,
|
|
298
298
|
xmax: typing.Any = 0,
|
|
@@ -306,7 +306,7 @@ def hide_show(
|
|
|
306
306
|
"""Hide/show some vertices
|
|
307
307
|
|
|
308
308
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
309
|
-
:type execution_context: str
|
|
309
|
+
:type execution_context: typing.Union[str, int]
|
|
310
310
|
:type undo: bool
|
|
311
311
|
:param xmin: X Min
|
|
312
312
|
:type xmin: typing.Any
|
|
@@ -342,14 +342,14 @@ def hide_show(
|
|
|
342
342
|
|
|
343
343
|
def hide_show_all(
|
|
344
344
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
345
|
-
execution_context: str = None,
|
|
345
|
+
execution_context: typing.Union[str, int] = None,
|
|
346
346
|
undo: bool = None,
|
|
347
347
|
action: typing.Any = "HIDE",
|
|
348
348
|
):
|
|
349
349
|
"""Hide/show all vertices
|
|
350
350
|
|
|
351
351
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
352
|
-
:type execution_context: str
|
|
352
|
+
:type execution_context: typing.Union[str, int]
|
|
353
353
|
:type undo: bool
|
|
354
354
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
355
355
|
|
|
@@ -365,7 +365,7 @@ def hide_show_all(
|
|
|
365
365
|
|
|
366
366
|
def hide_show_lasso_gesture(
|
|
367
367
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
368
|
-
execution_context: str = None,
|
|
368
|
+
execution_context: typing.Union[str, int] = None,
|
|
369
369
|
undo: bool = None,
|
|
370
370
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
371
371
|
action: typing.Any = "HIDE",
|
|
@@ -375,7 +375,7 @@ def hide_show_lasso_gesture(
|
|
|
375
375
|
"""Hide/show some vertices
|
|
376
376
|
|
|
377
377
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
378
|
-
:type execution_context: str
|
|
378
|
+
:type execution_context: typing.Union[str, int]
|
|
379
379
|
:type undo: bool
|
|
380
380
|
:param path: Path
|
|
381
381
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
@@ -403,7 +403,7 @@ def hide_show_lasso_gesture(
|
|
|
403
403
|
|
|
404
404
|
def hide_show_line_gesture(
|
|
405
405
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
406
|
-
execution_context: str = None,
|
|
406
|
+
execution_context: typing.Union[str, int] = None,
|
|
407
407
|
undo: bool = None,
|
|
408
408
|
xstart: typing.Any = 0,
|
|
409
409
|
xend: typing.Any = 0,
|
|
@@ -419,7 +419,7 @@ def hide_show_line_gesture(
|
|
|
419
419
|
"""Hide/show some vertices
|
|
420
420
|
|
|
421
421
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
422
|
-
:type execution_context: str
|
|
422
|
+
:type execution_context: typing.Union[str, int]
|
|
423
423
|
:type undo: bool
|
|
424
424
|
:param xstart: X Start
|
|
425
425
|
:type xstart: typing.Any
|
|
@@ -459,14 +459,14 @@ def hide_show_line_gesture(
|
|
|
459
459
|
|
|
460
460
|
def hide_show_masked(
|
|
461
461
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
462
|
-
execution_context: str = None,
|
|
462
|
+
execution_context: typing.Union[str, int] = None,
|
|
463
463
|
undo: bool = None,
|
|
464
464
|
action: typing.Any = "HIDE",
|
|
465
465
|
):
|
|
466
466
|
"""Hide/show all masked vertices above a threshold
|
|
467
467
|
|
|
468
468
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
469
|
-
:type execution_context: str
|
|
469
|
+
:type execution_context: typing.Union[str, int]
|
|
470
470
|
:type undo: bool
|
|
471
471
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
472
472
|
|
|
@@ -482,14 +482,14 @@ def hide_show_masked(
|
|
|
482
482
|
|
|
483
483
|
def image_from_view(
|
|
484
484
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
485
|
-
execution_context: str = None,
|
|
485
|
+
execution_context: typing.Union[str, int] = None,
|
|
486
486
|
undo: bool = None,
|
|
487
487
|
filepath: typing.Union[str, typing.Any] = "",
|
|
488
488
|
):
|
|
489
489
|
"""Make an image from biggest 3D view for reprojection
|
|
490
490
|
|
|
491
491
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
492
|
-
:type execution_context: str
|
|
492
|
+
:type execution_context: typing.Union[str, int]
|
|
493
493
|
:type undo: bool
|
|
494
494
|
:param filepath: File Path, Name of the file
|
|
495
495
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -499,7 +499,7 @@ def image_from_view(
|
|
|
499
499
|
|
|
500
500
|
def image_paint(
|
|
501
501
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
502
|
-
execution_context: str = None,
|
|
502
|
+
execution_context: typing.Union[str, int] = None,
|
|
503
503
|
undo: bool = None,
|
|
504
504
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
505
505
|
mode: typing.Any = "NORMAL",
|
|
@@ -507,7 +507,7 @@ def image_paint(
|
|
|
507
507
|
"""Paint a stroke into the image
|
|
508
508
|
|
|
509
509
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
510
|
-
:type execution_context: str
|
|
510
|
+
:type execution_context: typing.Union[str, int]
|
|
511
511
|
:type undo: bool
|
|
512
512
|
:param stroke: Stroke
|
|
513
513
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -528,7 +528,7 @@ def image_paint(
|
|
|
528
528
|
|
|
529
529
|
def mask_box_gesture(
|
|
530
530
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
531
|
-
execution_context: str = None,
|
|
531
|
+
execution_context: typing.Union[str, int] = None,
|
|
532
532
|
undo: bool = None,
|
|
533
533
|
xmin: typing.Any = 0,
|
|
534
534
|
xmax: typing.Any = 0,
|
|
@@ -542,7 +542,7 @@ def mask_box_gesture(
|
|
|
542
542
|
"""Add mask within the box as you move the brush
|
|
543
543
|
|
|
544
544
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
545
|
-
:type execution_context: str
|
|
545
|
+
:type execution_context: typing.Union[str, int]
|
|
546
546
|
:type undo: bool
|
|
547
547
|
:param xmin: X Min
|
|
548
548
|
:type xmin: typing.Any
|
|
@@ -575,7 +575,7 @@ def mask_box_gesture(
|
|
|
575
575
|
|
|
576
576
|
def mask_flood_fill(
|
|
577
577
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
578
|
-
execution_context: str = None,
|
|
578
|
+
execution_context: typing.Union[str, int] = None,
|
|
579
579
|
undo: bool = None,
|
|
580
580
|
mode: typing.Any = "VALUE",
|
|
581
581
|
value: typing.Any = 0.0,
|
|
@@ -583,7 +583,7 @@ def mask_flood_fill(
|
|
|
583
583
|
"""Fill the whole mask with a given value, or invert its values
|
|
584
584
|
|
|
585
585
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
586
|
-
:type execution_context: str
|
|
586
|
+
:type execution_context: typing.Union[str, int]
|
|
587
587
|
:type undo: bool
|
|
588
588
|
:param mode: Mode
|
|
589
589
|
|
|
@@ -604,7 +604,7 @@ def mask_flood_fill(
|
|
|
604
604
|
|
|
605
605
|
def mask_lasso_gesture(
|
|
606
606
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
607
|
-
execution_context: str = None,
|
|
607
|
+
execution_context: typing.Union[str, int] = None,
|
|
608
608
|
undo: bool = None,
|
|
609
609
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
610
610
|
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
@@ -614,7 +614,7 @@ def mask_lasso_gesture(
|
|
|
614
614
|
"""Add mask within the lasso as you move the brush
|
|
615
615
|
|
|
616
616
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
617
|
-
:type execution_context: str
|
|
617
|
+
:type execution_context: typing.Union[str, int]
|
|
618
618
|
:type undo: bool
|
|
619
619
|
:param path: Path
|
|
620
620
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
@@ -639,7 +639,7 @@ def mask_lasso_gesture(
|
|
|
639
639
|
|
|
640
640
|
def mask_line_gesture(
|
|
641
641
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
642
|
-
execution_context: str = None,
|
|
642
|
+
execution_context: typing.Union[str, int] = None,
|
|
643
643
|
undo: bool = None,
|
|
644
644
|
xstart: typing.Any = 0,
|
|
645
645
|
xend: typing.Any = 0,
|
|
@@ -655,7 +655,7 @@ def mask_line_gesture(
|
|
|
655
655
|
"""Add mask to the right of a line as you move the brush
|
|
656
656
|
|
|
657
657
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
658
|
-
:type execution_context: str
|
|
658
|
+
:type execution_context: typing.Union[str, int]
|
|
659
659
|
:type undo: bool
|
|
660
660
|
:param xstart: X Start
|
|
661
661
|
:type xstart: typing.Any
|
|
@@ -692,14 +692,14 @@ def mask_line_gesture(
|
|
|
692
692
|
|
|
693
693
|
def project_image(
|
|
694
694
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
695
|
-
execution_context: str = None,
|
|
695
|
+
execution_context: typing.Union[str, int] = None,
|
|
696
696
|
undo: bool = None,
|
|
697
697
|
image: typing.Union[str, int, typing.Any] = "",
|
|
698
698
|
):
|
|
699
699
|
"""Project an edited render from the active camera back onto the object
|
|
700
700
|
|
|
701
701
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
702
|
-
:type execution_context: str
|
|
702
|
+
:type execution_context: typing.Union[str, int]
|
|
703
703
|
:type undo: bool
|
|
704
704
|
:param image: Image
|
|
705
705
|
:type image: typing.Union[str, int, typing.Any]
|
|
@@ -709,7 +709,7 @@ def project_image(
|
|
|
709
709
|
|
|
710
710
|
def sample_color(
|
|
711
711
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
712
|
-
execution_context: str = None,
|
|
712
|
+
execution_context: typing.Union[str, int] = None,
|
|
713
713
|
undo: bool = None,
|
|
714
714
|
location: typing.Any = (0, 0),
|
|
715
715
|
merged: typing.Union[bool, typing.Any] = False,
|
|
@@ -718,7 +718,7 @@ def sample_color(
|
|
|
718
718
|
"""Use the mouse to sample a color in the image
|
|
719
719
|
|
|
720
720
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
721
|
-
:type execution_context: str
|
|
721
|
+
:type execution_context: typing.Union[str, int]
|
|
722
722
|
:type undo: bool
|
|
723
723
|
:param location: Location
|
|
724
724
|
:type location: typing.Any
|
|
@@ -732,13 +732,13 @@ def sample_color(
|
|
|
732
732
|
|
|
733
733
|
def texture_paint_toggle(
|
|
734
734
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
735
|
-
execution_context: str = None,
|
|
735
|
+
execution_context: typing.Union[str, int] = None,
|
|
736
736
|
undo: bool = None,
|
|
737
737
|
):
|
|
738
738
|
"""Toggle texture paint mode in 3D view
|
|
739
739
|
|
|
740
740
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
741
|
-
:type execution_context: str
|
|
741
|
+
:type execution_context: typing.Union[str, int]
|
|
742
742
|
:type undo: bool
|
|
743
743
|
"""
|
|
744
744
|
|
|
@@ -746,14 +746,14 @@ def texture_paint_toggle(
|
|
|
746
746
|
|
|
747
747
|
def vert_select_all(
|
|
748
748
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
749
|
-
execution_context: str = None,
|
|
749
|
+
execution_context: typing.Union[str, int] = None,
|
|
750
750
|
undo: bool = None,
|
|
751
751
|
action: typing.Any = "TOGGLE",
|
|
752
752
|
):
|
|
753
753
|
"""Change selection for all vertices
|
|
754
754
|
|
|
755
755
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
756
|
-
:type execution_context: str
|
|
756
|
+
:type execution_context: typing.Union[str, int]
|
|
757
757
|
:type undo: bool
|
|
758
758
|
:param action: Action, Selection action to execute
|
|
759
759
|
|
|
@@ -775,14 +775,14 @@ def vert_select_all(
|
|
|
775
775
|
|
|
776
776
|
def vert_select_hide(
|
|
777
777
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
778
|
-
execution_context: str = None,
|
|
778
|
+
execution_context: typing.Union[str, int] = None,
|
|
779
779
|
undo: bool = None,
|
|
780
780
|
unselected: typing.Union[bool, typing.Any] = False,
|
|
781
781
|
):
|
|
782
782
|
"""Hide selected vertices
|
|
783
783
|
|
|
784
784
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
785
|
-
:type execution_context: str
|
|
785
|
+
:type execution_context: typing.Union[str, int]
|
|
786
786
|
:type undo: bool
|
|
787
787
|
:param unselected: Unselected, Hide unselected rather than selected vertices
|
|
788
788
|
:type unselected: typing.Union[bool, typing.Any]
|
|
@@ -792,14 +792,14 @@ def vert_select_hide(
|
|
|
792
792
|
|
|
793
793
|
def vert_select_less(
|
|
794
794
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
795
|
-
execution_context: str = None,
|
|
795
|
+
execution_context: typing.Union[str, int] = None,
|
|
796
796
|
undo: bool = None,
|
|
797
797
|
face_step: typing.Union[bool, typing.Any] = True,
|
|
798
798
|
):
|
|
799
799
|
"""Deselect Vertices connected to existing selection
|
|
800
800
|
|
|
801
801
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
802
|
-
:type execution_context: str
|
|
802
|
+
:type execution_context: typing.Union[str, int]
|
|
803
803
|
:type undo: bool
|
|
804
804
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
805
805
|
:type face_step: typing.Union[bool, typing.Any]
|
|
@@ -809,13 +809,13 @@ def vert_select_less(
|
|
|
809
809
|
|
|
810
810
|
def vert_select_linked(
|
|
811
811
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
812
|
-
execution_context: str = None,
|
|
812
|
+
execution_context: typing.Union[str, int] = None,
|
|
813
813
|
undo: bool = None,
|
|
814
814
|
):
|
|
815
815
|
"""Select linked vertices
|
|
816
816
|
|
|
817
817
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
818
|
-
:type execution_context: str
|
|
818
|
+
:type execution_context: typing.Union[str, int]
|
|
819
819
|
:type undo: bool
|
|
820
820
|
"""
|
|
821
821
|
|
|
@@ -823,14 +823,14 @@ def vert_select_linked(
|
|
|
823
823
|
|
|
824
824
|
def vert_select_linked_pick(
|
|
825
825
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
826
|
-
execution_context: str = None,
|
|
826
|
+
execution_context: typing.Union[str, int] = None,
|
|
827
827
|
undo: bool = None,
|
|
828
828
|
select: typing.Union[bool, typing.Any] = True,
|
|
829
829
|
):
|
|
830
830
|
"""Select linked vertices under the cursor
|
|
831
831
|
|
|
832
832
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
833
|
-
:type execution_context: str
|
|
833
|
+
:type execution_context: typing.Union[str, int]
|
|
834
834
|
:type undo: bool
|
|
835
835
|
:param select: Select, Whether to select or deselect linked vertices under the cursor
|
|
836
836
|
:type select: typing.Union[bool, typing.Any]
|
|
@@ -840,14 +840,14 @@ def vert_select_linked_pick(
|
|
|
840
840
|
|
|
841
841
|
def vert_select_more(
|
|
842
842
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
843
|
-
execution_context: str = None,
|
|
843
|
+
execution_context: typing.Union[str, int] = None,
|
|
844
844
|
undo: bool = None,
|
|
845
845
|
face_step: typing.Union[bool, typing.Any] = True,
|
|
846
846
|
):
|
|
847
847
|
"""Select Vertices connected to existing selection
|
|
848
848
|
|
|
849
849
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
850
|
-
:type execution_context: str
|
|
850
|
+
:type execution_context: typing.Union[str, int]
|
|
851
851
|
:type undo: bool
|
|
852
852
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
853
853
|
:type face_step: typing.Union[bool, typing.Any]
|
|
@@ -857,14 +857,14 @@ def vert_select_more(
|
|
|
857
857
|
|
|
858
858
|
def vert_select_ungrouped(
|
|
859
859
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
860
|
-
execution_context: str = None,
|
|
860
|
+
execution_context: typing.Union[str, int] = None,
|
|
861
861
|
undo: bool = None,
|
|
862
862
|
extend: typing.Union[bool, typing.Any] = False,
|
|
863
863
|
):
|
|
864
864
|
"""Select vertices without a group
|
|
865
865
|
|
|
866
866
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
867
|
-
:type execution_context: str
|
|
867
|
+
:type execution_context: typing.Union[str, int]
|
|
868
868
|
:type undo: bool
|
|
869
869
|
:param extend: Extend, Extend the selection
|
|
870
870
|
:type extend: typing.Union[bool, typing.Any]
|
|
@@ -874,7 +874,7 @@ def vert_select_ungrouped(
|
|
|
874
874
|
|
|
875
875
|
def vertex_color_brightness_contrast(
|
|
876
876
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
877
|
-
execution_context: str = None,
|
|
877
|
+
execution_context: typing.Union[str, int] = None,
|
|
878
878
|
undo: bool = None,
|
|
879
879
|
brightness: typing.Any = 0.0,
|
|
880
880
|
contrast: typing.Any = 0.0,
|
|
@@ -882,7 +882,7 @@ def vertex_color_brightness_contrast(
|
|
|
882
882
|
"""Adjust vertex color brightness/contrast
|
|
883
883
|
|
|
884
884
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
885
|
-
:type execution_context: str
|
|
885
|
+
:type execution_context: typing.Union[str, int]
|
|
886
886
|
:type undo: bool
|
|
887
887
|
:param brightness: Brightness
|
|
888
888
|
:type brightness: typing.Any
|
|
@@ -894,7 +894,7 @@ def vertex_color_brightness_contrast(
|
|
|
894
894
|
|
|
895
895
|
def vertex_color_dirt(
|
|
896
896
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
897
|
-
execution_context: str = None,
|
|
897
|
+
execution_context: typing.Union[str, int] = None,
|
|
898
898
|
undo: bool = None,
|
|
899
899
|
blur_strength: typing.Any = 1.0,
|
|
900
900
|
blur_iterations: typing.Any = 1,
|
|
@@ -906,7 +906,7 @@ def vertex_color_dirt(
|
|
|
906
906
|
"""Generate a dirt map gradient based on cavity
|
|
907
907
|
|
|
908
908
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
909
|
-
:type execution_context: str
|
|
909
|
+
:type execution_context: typing.Union[str, int]
|
|
910
910
|
:type undo: bool
|
|
911
911
|
:param blur_strength: Blur Strength, Blur strength per iteration
|
|
912
912
|
:type blur_strength: typing.Any
|
|
@@ -926,13 +926,13 @@ def vertex_color_dirt(
|
|
|
926
926
|
|
|
927
927
|
def vertex_color_from_weight(
|
|
928
928
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
929
|
-
execution_context: str = None,
|
|
929
|
+
execution_context: typing.Union[str, int] = None,
|
|
930
930
|
undo: bool = None,
|
|
931
931
|
):
|
|
932
932
|
"""Convert active weight into gray scale vertex colors
|
|
933
933
|
|
|
934
934
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
935
|
-
:type execution_context: str
|
|
935
|
+
:type execution_context: typing.Union[str, int]
|
|
936
936
|
:type undo: bool
|
|
937
937
|
"""
|
|
938
938
|
|
|
@@ -940,7 +940,7 @@ def vertex_color_from_weight(
|
|
|
940
940
|
|
|
941
941
|
def vertex_color_hsv(
|
|
942
942
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
943
|
-
execution_context: str = None,
|
|
943
|
+
execution_context: typing.Union[str, int] = None,
|
|
944
944
|
undo: bool = None,
|
|
945
945
|
h: typing.Any = 0.5,
|
|
946
946
|
s: typing.Any = 1.0,
|
|
@@ -949,7 +949,7 @@ def vertex_color_hsv(
|
|
|
949
949
|
"""Adjust vertex color Hue/Saturation/Value
|
|
950
950
|
|
|
951
951
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
952
|
-
:type execution_context: str
|
|
952
|
+
:type execution_context: typing.Union[str, int]
|
|
953
953
|
:type undo: bool
|
|
954
954
|
:param h: Hue
|
|
955
955
|
:type h: typing.Any
|
|
@@ -963,13 +963,13 @@ def vertex_color_hsv(
|
|
|
963
963
|
|
|
964
964
|
def vertex_color_invert(
|
|
965
965
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
966
|
-
execution_context: str = None,
|
|
966
|
+
execution_context: typing.Union[str, int] = None,
|
|
967
967
|
undo: bool = None,
|
|
968
968
|
):
|
|
969
969
|
"""Invert RGB values
|
|
970
970
|
|
|
971
971
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
972
|
-
:type execution_context: str
|
|
972
|
+
:type execution_context: typing.Union[str, int]
|
|
973
973
|
:type undo: bool
|
|
974
974
|
"""
|
|
975
975
|
|
|
@@ -977,7 +977,7 @@ def vertex_color_invert(
|
|
|
977
977
|
|
|
978
978
|
def vertex_color_levels(
|
|
979
979
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
980
|
-
execution_context: str = None,
|
|
980
|
+
execution_context: typing.Union[str, int] = None,
|
|
981
981
|
undo: bool = None,
|
|
982
982
|
offset: typing.Any = 0.0,
|
|
983
983
|
gain: typing.Any = 1.0,
|
|
@@ -985,7 +985,7 @@ def vertex_color_levels(
|
|
|
985
985
|
"""Adjust levels of vertex colors
|
|
986
986
|
|
|
987
987
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
988
|
-
:type execution_context: str
|
|
988
|
+
:type execution_context: typing.Union[str, int]
|
|
989
989
|
:type undo: bool
|
|
990
990
|
:param offset: Offset, Value to add to colors
|
|
991
991
|
:type offset: typing.Any
|
|
@@ -997,14 +997,14 @@ def vertex_color_levels(
|
|
|
997
997
|
|
|
998
998
|
def vertex_color_set(
|
|
999
999
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1000
|
-
execution_context: str = None,
|
|
1000
|
+
execution_context: typing.Union[str, int] = None,
|
|
1001
1001
|
undo: bool = None,
|
|
1002
1002
|
use_alpha: typing.Union[bool, typing.Any] = True,
|
|
1003
1003
|
):
|
|
1004
1004
|
"""Fill the active vertex color layer with the current paint color
|
|
1005
1005
|
|
|
1006
1006
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1007
|
-
:type execution_context: str
|
|
1007
|
+
:type execution_context: typing.Union[str, int]
|
|
1008
1008
|
:type undo: bool
|
|
1009
1009
|
:param use_alpha: Affect Alpha, Set color completely opaque instead of reusing existing alpha
|
|
1010
1010
|
:type use_alpha: typing.Union[bool, typing.Any]
|
|
@@ -1014,13 +1014,13 @@ def vertex_color_set(
|
|
|
1014
1014
|
|
|
1015
1015
|
def vertex_color_smooth(
|
|
1016
1016
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1017
|
-
execution_context: str = None,
|
|
1017
|
+
execution_context: typing.Union[str, int] = None,
|
|
1018
1018
|
undo: bool = None,
|
|
1019
1019
|
):
|
|
1020
1020
|
"""Smooth colors across vertices
|
|
1021
1021
|
|
|
1022
1022
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1023
|
-
:type execution_context: str
|
|
1023
|
+
:type execution_context: typing.Union[str, int]
|
|
1024
1024
|
:type undo: bool
|
|
1025
1025
|
"""
|
|
1026
1026
|
|
|
@@ -1028,7 +1028,7 @@ def vertex_color_smooth(
|
|
|
1028
1028
|
|
|
1029
1029
|
def vertex_paint(
|
|
1030
1030
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1031
|
-
execution_context: str = None,
|
|
1031
|
+
execution_context: typing.Union[str, int] = None,
|
|
1032
1032
|
undo: bool = None,
|
|
1033
1033
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
1034
1034
|
mode: typing.Any = "NORMAL",
|
|
@@ -1036,7 +1036,7 @@ def vertex_paint(
|
|
|
1036
1036
|
"""Paint a stroke in the active color attribute layer
|
|
1037
1037
|
|
|
1038
1038
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1039
|
-
:type execution_context: str
|
|
1039
|
+
:type execution_context: typing.Union[str, int]
|
|
1040
1040
|
:type undo: bool
|
|
1041
1041
|
:param stroke: Stroke
|
|
1042
1042
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -1057,13 +1057,13 @@ def vertex_paint(
|
|
|
1057
1057
|
|
|
1058
1058
|
def vertex_paint_toggle(
|
|
1059
1059
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1060
|
-
execution_context: str = None,
|
|
1060
|
+
execution_context: typing.Union[str, int] = None,
|
|
1061
1061
|
undo: bool = None,
|
|
1062
1062
|
):
|
|
1063
1063
|
"""Toggle the vertex paint mode in 3D view
|
|
1064
1064
|
|
|
1065
1065
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1066
|
-
:type execution_context: str
|
|
1066
|
+
:type execution_context: typing.Union[str, int]
|
|
1067
1067
|
:type undo: bool
|
|
1068
1068
|
"""
|
|
1069
1069
|
|
|
@@ -1071,13 +1071,13 @@ def vertex_paint_toggle(
|
|
|
1071
1071
|
|
|
1072
1072
|
def visibility_invert(
|
|
1073
1073
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1074
|
-
execution_context: str = None,
|
|
1074
|
+
execution_context: typing.Union[str, int] = None,
|
|
1075
1075
|
undo: bool = None,
|
|
1076
1076
|
):
|
|
1077
1077
|
"""Invert the visibility of all vertices
|
|
1078
1078
|
|
|
1079
1079
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1080
|
-
:type execution_context: str
|
|
1080
|
+
:type execution_context: typing.Union[str, int]
|
|
1081
1081
|
:type undo: bool
|
|
1082
1082
|
"""
|
|
1083
1083
|
|
|
@@ -1085,14 +1085,14 @@ def visibility_invert(
|
|
|
1085
1085
|
|
|
1086
1086
|
def weight_from_bones(
|
|
1087
1087
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1088
|
-
execution_context: str = None,
|
|
1088
|
+
execution_context: typing.Union[str, int] = None,
|
|
1089
1089
|
undo: bool = None,
|
|
1090
1090
|
type: typing.Any = "AUTOMATIC",
|
|
1091
1091
|
):
|
|
1092
1092
|
"""Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
|
|
1093
1093
|
|
|
1094
1094
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1095
|
-
:type execution_context: str
|
|
1095
|
+
:type execution_context: typing.Union[str, int]
|
|
1096
1096
|
:type undo: bool
|
|
1097
1097
|
:param type: Type, Method to use for assigning weights
|
|
1098
1098
|
|
|
@@ -1108,7 +1108,7 @@ def weight_from_bones(
|
|
|
1108
1108
|
|
|
1109
1109
|
def weight_gradient(
|
|
1110
1110
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1111
|
-
execution_context: str = None,
|
|
1111
|
+
execution_context: typing.Union[str, int] = None,
|
|
1112
1112
|
undo: bool = None,
|
|
1113
1113
|
type: typing.Any = "LINEAR",
|
|
1114
1114
|
xstart: typing.Any = 0,
|
|
@@ -1121,7 +1121,7 @@ def weight_gradient(
|
|
|
1121
1121
|
"""Draw a line to apply a weight gradient to selected vertices
|
|
1122
1122
|
|
|
1123
1123
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1124
|
-
:type execution_context: str
|
|
1124
|
+
:type execution_context: typing.Union[str, int]
|
|
1125
1125
|
:type undo: bool
|
|
1126
1126
|
:param type: Type
|
|
1127
1127
|
:type type: typing.Any
|
|
@@ -1143,7 +1143,7 @@ def weight_gradient(
|
|
|
1143
1143
|
|
|
1144
1144
|
def weight_paint(
|
|
1145
1145
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1146
|
-
execution_context: str = None,
|
|
1146
|
+
execution_context: typing.Union[str, int] = None,
|
|
1147
1147
|
undo: bool = None,
|
|
1148
1148
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
1149
1149
|
mode: typing.Any = "NORMAL",
|
|
@@ -1151,7 +1151,7 @@ def weight_paint(
|
|
|
1151
1151
|
"""Paint a stroke in the current vertex group's weights
|
|
1152
1152
|
|
|
1153
1153
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1154
|
-
:type execution_context: str
|
|
1154
|
+
:type execution_context: typing.Union[str, int]
|
|
1155
1155
|
:type undo: bool
|
|
1156
1156
|
:param stroke: Stroke
|
|
1157
1157
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -1172,13 +1172,13 @@ def weight_paint(
|
|
|
1172
1172
|
|
|
1173
1173
|
def weight_paint_toggle(
|
|
1174
1174
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1175
|
-
execution_context: str = None,
|
|
1175
|
+
execution_context: typing.Union[str, int] = None,
|
|
1176
1176
|
undo: bool = None,
|
|
1177
1177
|
):
|
|
1178
1178
|
"""Toggle weight paint mode in 3D view
|
|
1179
1179
|
|
|
1180
1180
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1181
|
-
:type execution_context: str
|
|
1181
|
+
:type execution_context: typing.Union[str, int]
|
|
1182
1182
|
:type undo: bool
|
|
1183
1183
|
"""
|
|
1184
1184
|
|
|
@@ -1186,13 +1186,13 @@ def weight_paint_toggle(
|
|
|
1186
1186
|
|
|
1187
1187
|
def weight_sample(
|
|
1188
1188
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1189
|
-
execution_context: str = None,
|
|
1189
|
+
execution_context: typing.Union[str, int] = None,
|
|
1190
1190
|
undo: bool = None,
|
|
1191
1191
|
):
|
|
1192
1192
|
"""Use the mouse to sample a weight in the 3D view
|
|
1193
1193
|
|
|
1194
1194
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1195
|
-
:type execution_context: str
|
|
1195
|
+
:type execution_context: typing.Union[str, int]
|
|
1196
1196
|
:type undo: bool
|
|
1197
1197
|
"""
|
|
1198
1198
|
|
|
@@ -1200,13 +1200,13 @@ def weight_sample(
|
|
|
1200
1200
|
|
|
1201
1201
|
def weight_sample_group(
|
|
1202
1202
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1203
|
-
execution_context: str = None,
|
|
1203
|
+
execution_context: typing.Union[str, int] = None,
|
|
1204
1204
|
undo: bool = None,
|
|
1205
1205
|
):
|
|
1206
1206
|
"""Select one of the vertex groups available under current mouse position
|
|
1207
1207
|
|
|
1208
1208
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1209
|
-
:type execution_context: str
|
|
1209
|
+
:type execution_context: typing.Union[str, int]
|
|
1210
1210
|
:type undo: bool
|
|
1211
1211
|
"""
|
|
1212
1212
|
|
|
@@ -1214,13 +1214,13 @@ def weight_sample_group(
|
|
|
1214
1214
|
|
|
1215
1215
|
def weight_set(
|
|
1216
1216
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1217
|
-
execution_context: str = None,
|
|
1217
|
+
execution_context: typing.Union[str, int] = None,
|
|
1218
1218
|
undo: bool = None,
|
|
1219
1219
|
):
|
|
1220
1220
|
"""Fill the active vertex group with the current paint weight
|
|
1221
1221
|
|
|
1222
1222
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1223
|
-
:type execution_context: str
|
|
1223
|
+
:type execution_context: typing.Union[str, int]
|
|
1224
1224
|
:type undo: bool
|
|
1225
1225
|
"""
|
|
1226
1226
|
|