fake-bpy-module 20240620__py3-none-any.whl → 20240622__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.
- bl_ui/space_userpref/__init__.pyi +225 -0
- bpy/ops/action/__init__.pyi +50 -50
- bpy/ops/anim/__init__.pyi +94 -94
- bpy/ops/armature/__init__.pyi +54 -54
- bpy/ops/asset/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +10 -10
- bpy/ops/buttons/__init__.pyi +88 -88
- bpy/ops/cachefile/__init__.pyi +88 -88
- bpy/ops/camera/__init__.pyi +14 -14
- bpy/ops/clip/__init__.pyi +175 -174
- bpy/ops/cloth/__init__.pyi +6 -6
- bpy/ops/collection/__init__.pyi +8 -8
- bpy/ops/console/__init__.pyi +26 -26
- bpy/ops/constraint/__init__.pyi +42 -42
- bpy/ops/curve/__init__.pyi +167 -122
- bpy/ops/curves/__init__.pyi +75 -58
- bpy/ops/cycles/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +50 -50
- bpy/ops/export_anim/__init__.pyi +14 -14
- bpy/ops/export_scene/__init__.pyi +250 -250
- bpy/ops/extensions/__init__.pyi +73 -73
- bpy/ops/file/__init__.pyi +94 -94
- bpy/ops/fluid/__init__.pyi +6 -6
- bpy/ops/font/__init__.pyi +100 -100
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +10 -10
- bpy/ops/gpencil/__init__.pyi +411 -410
- bpy/ops/graph/__init__.pyi +194 -194
- bpy/ops/grease_pencil/__init__.pyi +100 -100
- bpy/ops/image/__init__.pyi +399 -390
- bpy/ops/import_anim/__init__.pyi +16 -16
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +56 -56
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +8 -8
- bpy/ops/marker/__init__.pyi +34 -34
- bpy/ops/mask/__init__.pyi +63 -62
- bpy/ops/mball/__init__.pyi +12 -12
- bpy/ops/mesh/__init__.pyi +893 -790
- bpy/ops/nla/__init__.pyi +70 -70
- bpy/ops/node/__init__.pyi +192 -192
- bpy/ops/object/__init__.pyi +1013 -840
- bpy/ops/outliner/__init__.pyi +44 -44
- bpy/ops/paint/__init__.pyi +169 -168
- bpy/ops/paintcurve/__init__.pyi +12 -12
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +34 -34
- bpy/ops/pose/__init__.pyi +60 -60
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +150 -150
- bpy/ops/ptcache/__init__.pyi +4 -4
- bpy/ops/render/__init__.pyi +56 -56
- bpy/ops/rigidbody/__init__.pyi +8 -8
- bpy/ops/scene/__init__.pyi +20 -20
- bpy/ops/screen/__init__.pyi +128 -128
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +207 -202
- bpy/ops/sculpt_curves/__init__.pyi +12 -12
- bpy/ops/sequencer/__init__.pyi +465 -464
- bpy/ops/sound/__init__.pyi +154 -154
- bpy/ops/spreadsheet/__init__.pyi +6 -6
- bpy/ops/surface/__init__.pyi +109 -60
- bpy/ops/text/__init__.pyi +110 -110
- bpy/ops/text_editor/__init__.pyi +6 -6
- bpy/ops/transform/__init__.pyi +628 -566
- bpy/ops/ui/__init__.pyi +25 -24
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +235 -234
- bpy/ops/view2d/__init__.pyi +72 -72
- bpy/ops/view3d/__init__.pyi +144 -144
- bpy/ops/wm/__init__.pyi +1813 -1806
- bpy/ops/workspace/__init__.pyi +4 -4
- bpy/types/__init__.pyi +1614 -1805
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/METADATA +3 -5
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/RECORD +77 -77
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/top_level.txt +0 -0
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import bpy.types
|
|
4
|
+
import mathutils
|
|
4
5
|
|
|
5
6
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
@@ -26,13 +27,13 @@ def add_texture_paint_slot(
|
|
|
26
27
|
*,
|
|
27
28
|
type: str | None = "BASE_COLOR",
|
|
28
29
|
slot_type: str | None = "IMAGE",
|
|
29
|
-
name: str
|
|
30
|
-
color:
|
|
31
|
-
width:
|
|
32
|
-
height:
|
|
33
|
-
alpha: bool |
|
|
30
|
+
name: str = "Untitled",
|
|
31
|
+
color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
|
|
32
|
+
width: int | None = 1024,
|
|
33
|
+
height: int | None = 1024,
|
|
34
|
+
alpha: bool | None = True,
|
|
34
35
|
generated_type: str | None = "BLANK",
|
|
35
|
-
float: bool |
|
|
36
|
+
float: bool | None = False,
|
|
36
37
|
domain: str | None = "POINT",
|
|
37
38
|
data_type: str | None = "FLOAT_COLOR",
|
|
38
39
|
):
|
|
@@ -46,19 +47,19 @@ def add_texture_paint_slot(
|
|
|
46
47
|
:param slot_type: Slot Type, Type of new paint slot
|
|
47
48
|
:type slot_type: str | None
|
|
48
49
|
:param name: Name, Name for new paint slot source
|
|
49
|
-
:type name: str
|
|
50
|
+
:type name: str
|
|
50
51
|
:param color: Color, Default fill color
|
|
51
|
-
:type color:
|
|
52
|
+
:type color: collections.abc.Iterable[float] | None
|
|
52
53
|
:param width: Width, Image width
|
|
53
|
-
:type width:
|
|
54
|
+
:type width: int | None
|
|
54
55
|
:param height: Height, Image height
|
|
55
|
-
:type height:
|
|
56
|
+
:type height: int | None
|
|
56
57
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
57
|
-
:type alpha: bool |
|
|
58
|
+
:type alpha: bool | None
|
|
58
59
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
59
60
|
:type generated_type: str | None
|
|
60
61
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
61
|
-
:type float: bool |
|
|
62
|
+
:type float: bool | None
|
|
62
63
|
:param domain: Domain, Type of element that attribute is stored on
|
|
63
64
|
:type domain: str | None
|
|
64
65
|
:param data_type: Data Type, Type of data stored in attribute
|
|
@@ -95,8 +96,8 @@ def brush_select(
|
|
|
95
96
|
gpencil_sculpt_tool: str | None = "SMOOTH",
|
|
96
97
|
gpencil_weight_tool: str | None = "WEIGHT",
|
|
97
98
|
curves_sculpt_tool: str | None = "COMB",
|
|
98
|
-
toggle: bool |
|
|
99
|
-
create_missing: bool |
|
|
99
|
+
toggle: bool | None = False,
|
|
100
|
+
create_missing: bool | None = False,
|
|
100
101
|
):
|
|
101
102
|
"""Select a paint mode's brush by tool type
|
|
102
103
|
|
|
@@ -122,9 +123,9 @@ def brush_select(
|
|
|
122
123
|
:param curves_sculpt_tool: curves_sculpt_tool
|
|
123
124
|
:type curves_sculpt_tool: str | None
|
|
124
125
|
:param toggle: Toggle, Toggle between two brushes rather than cycling
|
|
125
|
-
:type toggle: bool |
|
|
126
|
+
:type toggle: bool | None
|
|
126
127
|
:param create_missing: Create Missing, If the requested brush type does not exist, create a new brush
|
|
127
|
-
:type create_missing: bool |
|
|
128
|
+
:type create_missing: bool | None
|
|
128
129
|
"""
|
|
129
130
|
|
|
130
131
|
...
|
|
@@ -164,7 +165,7 @@ def face_select_hide(
|
|
|
164
165
|
execution_context: int | str | None = None,
|
|
165
166
|
undo: bool | None = None,
|
|
166
167
|
*,
|
|
167
|
-
unselected: bool |
|
|
168
|
+
unselected: bool | None = False,
|
|
168
169
|
):
|
|
169
170
|
"""Hide selected faces
|
|
170
171
|
|
|
@@ -172,7 +173,7 @@ def face_select_hide(
|
|
|
172
173
|
:type execution_context: int | str | None
|
|
173
174
|
:type undo: bool | None
|
|
174
175
|
:param unselected: Unselected, Hide unselected rather than selected objects
|
|
175
|
-
:type unselected: bool |
|
|
176
|
+
:type unselected: bool | None
|
|
176
177
|
"""
|
|
177
178
|
|
|
178
179
|
...
|
|
@@ -182,7 +183,7 @@ def face_select_less(
|
|
|
182
183
|
execution_context: int | str | None = None,
|
|
183
184
|
undo: bool | None = None,
|
|
184
185
|
*,
|
|
185
|
-
face_step: bool |
|
|
186
|
+
face_step: bool | None = True,
|
|
186
187
|
):
|
|
187
188
|
"""Deselect Faces connected to existing selection
|
|
188
189
|
|
|
@@ -190,7 +191,7 @@ def face_select_less(
|
|
|
190
191
|
:type execution_context: int | str | None
|
|
191
192
|
:type undo: bool | None
|
|
192
193
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
193
|
-
:type face_step: bool |
|
|
194
|
+
:type face_step: bool | None
|
|
194
195
|
"""
|
|
195
196
|
|
|
196
197
|
...
|
|
@@ -214,7 +215,7 @@ def face_select_linked_pick(
|
|
|
214
215
|
execution_context: int | str | None = None,
|
|
215
216
|
undo: bool | None = None,
|
|
216
217
|
*,
|
|
217
|
-
deselect: bool |
|
|
218
|
+
deselect: bool | None = False,
|
|
218
219
|
):
|
|
219
220
|
"""Select linked faces under the cursor
|
|
220
221
|
|
|
@@ -222,7 +223,7 @@ def face_select_linked_pick(
|
|
|
222
223
|
:type execution_context: int | str | None
|
|
223
224
|
:type undo: bool | None
|
|
224
225
|
:param deselect: Deselect, Deselect rather than select items
|
|
225
|
-
:type deselect: bool |
|
|
226
|
+
:type deselect: bool | None
|
|
226
227
|
"""
|
|
227
228
|
|
|
228
229
|
...
|
|
@@ -232,8 +233,8 @@ def face_select_loop(
|
|
|
232
233
|
execution_context: int | str | None = None,
|
|
233
234
|
undo: bool | None = None,
|
|
234
235
|
*,
|
|
235
|
-
select: bool |
|
|
236
|
-
extend: bool |
|
|
236
|
+
select: bool | None = True,
|
|
237
|
+
extend: bool | None = False,
|
|
237
238
|
):
|
|
238
239
|
"""Select face loop under the cursor
|
|
239
240
|
|
|
@@ -241,9 +242,9 @@ def face_select_loop(
|
|
|
241
242
|
:type execution_context: int | str | None
|
|
242
243
|
:type undo: bool | None
|
|
243
244
|
:param select: Select, If false, faces will be deselected
|
|
244
|
-
:type select: bool |
|
|
245
|
+
:type select: bool | None
|
|
245
246
|
:param extend: Extend, Extend the selection
|
|
246
|
-
:type extend: bool |
|
|
247
|
+
:type extend: bool | None
|
|
247
248
|
"""
|
|
248
249
|
|
|
249
250
|
...
|
|
@@ -253,7 +254,7 @@ def face_select_more(
|
|
|
253
254
|
execution_context: int | str | None = None,
|
|
254
255
|
undo: bool | None = None,
|
|
255
256
|
*,
|
|
256
|
-
face_step: bool |
|
|
257
|
+
face_step: bool | None = True,
|
|
257
258
|
):
|
|
258
259
|
"""Select Faces connected to existing selection
|
|
259
260
|
|
|
@@ -261,7 +262,7 @@ def face_select_more(
|
|
|
261
262
|
:type execution_context: int | str | None
|
|
262
263
|
:type undo: bool | None
|
|
263
264
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
264
|
-
:type face_step: bool |
|
|
265
|
+
:type face_step: bool | None
|
|
265
266
|
"""
|
|
266
267
|
|
|
267
268
|
...
|
|
@@ -271,7 +272,7 @@ def face_vert_reveal(
|
|
|
271
272
|
execution_context: int | str | None = None,
|
|
272
273
|
undo: bool | None = None,
|
|
273
274
|
*,
|
|
274
|
-
select: bool |
|
|
275
|
+
select: bool | None = True,
|
|
275
276
|
):
|
|
276
277
|
"""Reveal hidden faces and vertices
|
|
277
278
|
|
|
@@ -279,7 +280,7 @@ def face_vert_reveal(
|
|
|
279
280
|
:type execution_context: int | str | None
|
|
280
281
|
:type undo: bool | None
|
|
281
282
|
:param select: Select, Specifies whether the newly revealed geometry should be selected
|
|
282
|
-
:type select: bool |
|
|
283
|
+
:type select: bool | None
|
|
283
284
|
"""
|
|
284
285
|
|
|
285
286
|
...
|
|
@@ -289,7 +290,7 @@ def grab_clone(
|
|
|
289
290
|
execution_context: int | str | None = None,
|
|
290
291
|
undo: bool | None = None,
|
|
291
292
|
*,
|
|
292
|
-
delta:
|
|
293
|
+
delta: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
293
294
|
):
|
|
294
295
|
"""Move the clone source image
|
|
295
296
|
|
|
@@ -297,7 +298,7 @@ def grab_clone(
|
|
|
297
298
|
:type execution_context: int | str | None
|
|
298
299
|
:type undo: bool | None
|
|
299
300
|
:param delta: Delta, Delta offset of clone image in 0.0 to 1.0 coordinates
|
|
300
|
-
:type delta:
|
|
301
|
+
:type delta: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
301
302
|
"""
|
|
302
303
|
|
|
303
304
|
...
|
|
@@ -307,14 +308,14 @@ def hide_show(
|
|
|
307
308
|
execution_context: int | str | None = None,
|
|
308
309
|
undo: bool | None = None,
|
|
309
310
|
*,
|
|
310
|
-
xmin:
|
|
311
|
-
xmax:
|
|
312
|
-
ymin:
|
|
313
|
-
ymax:
|
|
314
|
-
wait_for_input: bool |
|
|
311
|
+
xmin: int | None = 0,
|
|
312
|
+
xmax: int | None = 0,
|
|
313
|
+
ymin: int | None = 0,
|
|
314
|
+
ymax: int | None = 0,
|
|
315
|
+
wait_for_input: bool | None = True,
|
|
315
316
|
action: str | None = "HIDE",
|
|
316
317
|
area: str | None = "Inside",
|
|
317
|
-
use_front_faces_only: bool |
|
|
318
|
+
use_front_faces_only: bool | None = False,
|
|
318
319
|
):
|
|
319
320
|
"""Hide/show some vertices
|
|
320
321
|
|
|
@@ -322,15 +323,15 @@ def hide_show(
|
|
|
322
323
|
:type execution_context: int | str | None
|
|
323
324
|
:type undo: bool | None
|
|
324
325
|
:param xmin: X Min
|
|
325
|
-
:type xmin:
|
|
326
|
+
:type xmin: int | None
|
|
326
327
|
:param xmax: X Max
|
|
327
|
-
:type xmax:
|
|
328
|
+
:type xmax: int | None
|
|
328
329
|
:param ymin: Y Min
|
|
329
|
-
:type ymin:
|
|
330
|
+
:type ymin: int | None
|
|
330
331
|
:param ymax: Y Max
|
|
331
|
-
:type ymax:
|
|
332
|
+
:type ymax: int | None
|
|
332
333
|
:param wait_for_input: Wait for Input
|
|
333
|
-
:type wait_for_input: bool |
|
|
334
|
+
:type wait_for_input: bool | None
|
|
334
335
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
335
336
|
|
|
336
337
|
HIDE
|
|
@@ -348,7 +349,7 @@ def hide_show(
|
|
|
348
349
|
Inside -- Hide or show vertices inside the selection.
|
|
349
350
|
:type area: str | None
|
|
350
351
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
351
|
-
:type use_front_faces_only: bool |
|
|
352
|
+
:type use_front_faces_only: bool | None
|
|
352
353
|
"""
|
|
353
354
|
|
|
354
355
|
...
|
|
@@ -385,7 +386,7 @@ def hide_show_lasso_gesture(
|
|
|
385
386
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
386
387
|
action: str | None = "HIDE",
|
|
387
388
|
area: str | None = "Inside",
|
|
388
|
-
use_front_faces_only: bool |
|
|
389
|
+
use_front_faces_only: bool | None = False,
|
|
389
390
|
):
|
|
390
391
|
"""Hide/show some vertices
|
|
391
392
|
|
|
@@ -411,7 +412,7 @@ def hide_show_lasso_gesture(
|
|
|
411
412
|
Inside -- Hide or show vertices inside the selection.
|
|
412
413
|
:type area: str | None
|
|
413
414
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
414
|
-
:type use_front_faces_only: bool |
|
|
415
|
+
:type use_front_faces_only: bool | None
|
|
415
416
|
"""
|
|
416
417
|
|
|
417
418
|
...
|
|
@@ -421,16 +422,16 @@ def hide_show_line_gesture(
|
|
|
421
422
|
execution_context: int | str | None = None,
|
|
422
423
|
undo: bool | None = None,
|
|
423
424
|
*,
|
|
424
|
-
xstart:
|
|
425
|
-
xend:
|
|
426
|
-
ystart:
|
|
427
|
-
yend:
|
|
428
|
-
flip: bool |
|
|
429
|
-
cursor:
|
|
425
|
+
xstart: int | None = 0,
|
|
426
|
+
xend: int | None = 0,
|
|
427
|
+
ystart: int | None = 0,
|
|
428
|
+
yend: int | None = 0,
|
|
429
|
+
flip: bool | None = False,
|
|
430
|
+
cursor: int | None = 5,
|
|
430
431
|
action: str | None = "HIDE",
|
|
431
432
|
area: str | None = "Inside",
|
|
432
|
-
use_front_faces_only: bool |
|
|
433
|
-
use_limit_to_segment: bool |
|
|
433
|
+
use_front_faces_only: bool | None = False,
|
|
434
|
+
use_limit_to_segment: bool | None = False,
|
|
434
435
|
):
|
|
435
436
|
"""Hide/show some vertices
|
|
436
437
|
|
|
@@ -438,17 +439,17 @@ def hide_show_line_gesture(
|
|
|
438
439
|
:type execution_context: int | str | None
|
|
439
440
|
:type undo: bool | None
|
|
440
441
|
:param xstart: X Start
|
|
441
|
-
:type xstart:
|
|
442
|
+
:type xstart: int | None
|
|
442
443
|
:param xend: X End
|
|
443
|
-
:type xend:
|
|
444
|
+
:type xend: int | None
|
|
444
445
|
:param ystart: Y Start
|
|
445
|
-
:type ystart:
|
|
446
|
+
:type ystart: int | None
|
|
446
447
|
:param yend: Y End
|
|
447
|
-
:type yend:
|
|
448
|
+
:type yend: int | None
|
|
448
449
|
:param flip: Flip
|
|
449
|
-
:type flip: bool |
|
|
450
|
+
:type flip: bool | None
|
|
450
451
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
451
|
-
:type cursor:
|
|
452
|
+
:type cursor: int | None
|
|
452
453
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
453
454
|
|
|
454
455
|
HIDE
|
|
@@ -466,9 +467,9 @@ def hide_show_line_gesture(
|
|
|
466
467
|
Inside -- Hide or show vertices inside the selection.
|
|
467
468
|
:type area: str | None
|
|
468
469
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
469
|
-
:type use_front_faces_only: bool |
|
|
470
|
+
:type use_front_faces_only: bool | None
|
|
470
471
|
: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
|
|
471
|
-
:type use_limit_to_segment: bool |
|
|
472
|
+
:type use_limit_to_segment: bool | None
|
|
472
473
|
"""
|
|
473
474
|
|
|
474
475
|
...
|
|
@@ -505,7 +506,7 @@ def hide_show_polyline_gesture(
|
|
|
505
506
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
506
507
|
action: str | None = "HIDE",
|
|
507
508
|
area: str | None = "Inside",
|
|
508
|
-
use_front_faces_only: bool |
|
|
509
|
+
use_front_faces_only: bool | None = False,
|
|
509
510
|
):
|
|
510
511
|
"""Hide/show some vertices
|
|
511
512
|
|
|
@@ -531,7 +532,7 @@ def hide_show_polyline_gesture(
|
|
|
531
532
|
Inside -- Hide or show vertices inside the selection.
|
|
532
533
|
:type area: str | None
|
|
533
534
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
534
|
-
:type use_front_faces_only: bool |
|
|
535
|
+
:type use_front_faces_only: bool | None
|
|
535
536
|
"""
|
|
536
537
|
|
|
537
538
|
...
|
|
@@ -541,7 +542,7 @@ def image_from_view(
|
|
|
541
542
|
execution_context: int | str | None = None,
|
|
542
543
|
undo: bool | None = None,
|
|
543
544
|
*,
|
|
544
|
-
filepath: str
|
|
545
|
+
filepath: str = "",
|
|
545
546
|
):
|
|
546
547
|
"""Make an image from biggest 3D view for reprojection
|
|
547
548
|
|
|
@@ -549,7 +550,7 @@ def image_from_view(
|
|
|
549
550
|
:type execution_context: int | str | None
|
|
550
551
|
:type undo: bool | None
|
|
551
552
|
:param filepath: File Path, Name of the file
|
|
552
|
-
:type filepath: str
|
|
553
|
+
:type filepath: str
|
|
553
554
|
"""
|
|
554
555
|
|
|
555
556
|
...
|
|
@@ -590,14 +591,14 @@ def mask_box_gesture(
|
|
|
590
591
|
execution_context: int | str | None = None,
|
|
591
592
|
undo: bool | None = None,
|
|
592
593
|
*,
|
|
593
|
-
xmin:
|
|
594
|
-
xmax:
|
|
595
|
-
ymin:
|
|
596
|
-
ymax:
|
|
597
|
-
wait_for_input: bool |
|
|
598
|
-
use_front_faces_only: bool |
|
|
594
|
+
xmin: int | None = 0,
|
|
595
|
+
xmax: int | None = 0,
|
|
596
|
+
ymin: int | None = 0,
|
|
597
|
+
ymax: int | None = 0,
|
|
598
|
+
wait_for_input: bool | None = True,
|
|
599
|
+
use_front_faces_only: bool | None = False,
|
|
599
600
|
mode: str | None = "VALUE",
|
|
600
|
-
value:
|
|
601
|
+
value: float | None = 1.0,
|
|
601
602
|
):
|
|
602
603
|
"""Mask within a rectangle defined by the cursor
|
|
603
604
|
|
|
@@ -605,17 +606,17 @@ def mask_box_gesture(
|
|
|
605
606
|
:type execution_context: int | str | None
|
|
606
607
|
:type undo: bool | None
|
|
607
608
|
:param xmin: X Min
|
|
608
|
-
:type xmin:
|
|
609
|
+
:type xmin: int | None
|
|
609
610
|
:param xmax: X Max
|
|
610
|
-
:type xmax:
|
|
611
|
+
:type xmax: int | None
|
|
611
612
|
:param ymin: Y Min
|
|
612
|
-
:type ymin:
|
|
613
|
+
:type ymin: int | None
|
|
613
614
|
:param ymax: Y Max
|
|
614
|
-
:type ymax:
|
|
615
|
+
:type ymax: int | None
|
|
615
616
|
:param wait_for_input: Wait for Input
|
|
616
|
-
:type wait_for_input: bool |
|
|
617
|
+
:type wait_for_input: bool | None
|
|
617
618
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
618
|
-
:type use_front_faces_only: bool |
|
|
619
|
+
:type use_front_faces_only: bool | None
|
|
619
620
|
:param mode: Mode
|
|
620
621
|
|
|
621
622
|
VALUE
|
|
@@ -628,7 +629,7 @@ def mask_box_gesture(
|
|
|
628
629
|
Invert -- Invert the mask.
|
|
629
630
|
:type mode: str | None
|
|
630
631
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
631
|
-
:type value:
|
|
632
|
+
:type value: float | None
|
|
632
633
|
"""
|
|
633
634
|
|
|
634
635
|
...
|
|
@@ -639,7 +640,7 @@ def mask_flood_fill(
|
|
|
639
640
|
undo: bool | None = None,
|
|
640
641
|
*,
|
|
641
642
|
mode: str | None = "VALUE",
|
|
642
|
-
value:
|
|
643
|
+
value: float | None = 0.0,
|
|
643
644
|
):
|
|
644
645
|
"""Fill the whole mask with a given value, or invert its values
|
|
645
646
|
|
|
@@ -658,7 +659,7 @@ def mask_flood_fill(
|
|
|
658
659
|
Invert -- Invert the mask.
|
|
659
660
|
:type mode: str | None
|
|
660
661
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
661
|
-
:type value:
|
|
662
|
+
:type value: float | None
|
|
662
663
|
"""
|
|
663
664
|
|
|
664
665
|
...
|
|
@@ -669,9 +670,9 @@ def mask_lasso_gesture(
|
|
|
669
670
|
undo: bool | None = None,
|
|
670
671
|
*,
|
|
671
672
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
672
|
-
use_front_faces_only: bool |
|
|
673
|
+
use_front_faces_only: bool | None = False,
|
|
673
674
|
mode: str | None = "VALUE",
|
|
674
|
-
value:
|
|
675
|
+
value: float | None = 1.0,
|
|
675
676
|
):
|
|
676
677
|
"""Mask within a shape defined by the cursor
|
|
677
678
|
|
|
@@ -681,7 +682,7 @@ def mask_lasso_gesture(
|
|
|
681
682
|
:param path: Path
|
|
682
683
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
683
684
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
684
|
-
:type use_front_faces_only: bool |
|
|
685
|
+
:type use_front_faces_only: bool | None
|
|
685
686
|
:param mode: Mode
|
|
686
687
|
|
|
687
688
|
VALUE
|
|
@@ -694,7 +695,7 @@ def mask_lasso_gesture(
|
|
|
694
695
|
Invert -- Invert the mask.
|
|
695
696
|
:type mode: str | None
|
|
696
697
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
697
|
-
:type value:
|
|
698
|
+
:type value: float | None
|
|
698
699
|
"""
|
|
699
700
|
|
|
700
701
|
...
|
|
@@ -704,16 +705,16 @@ def mask_line_gesture(
|
|
|
704
705
|
execution_context: int | str | None = None,
|
|
705
706
|
undo: bool | None = None,
|
|
706
707
|
*,
|
|
707
|
-
xstart:
|
|
708
|
-
xend:
|
|
709
|
-
ystart:
|
|
710
|
-
yend:
|
|
711
|
-
flip: bool |
|
|
712
|
-
cursor:
|
|
713
|
-
use_front_faces_only: bool |
|
|
714
|
-
use_limit_to_segment: bool |
|
|
708
|
+
xstart: int | None = 0,
|
|
709
|
+
xend: int | None = 0,
|
|
710
|
+
ystart: int | None = 0,
|
|
711
|
+
yend: int | None = 0,
|
|
712
|
+
flip: bool | None = False,
|
|
713
|
+
cursor: int | None = 5,
|
|
714
|
+
use_front_faces_only: bool | None = False,
|
|
715
|
+
use_limit_to_segment: bool | None = False,
|
|
715
716
|
mode: str | None = "VALUE",
|
|
716
|
-
value:
|
|
717
|
+
value: float | None = 1.0,
|
|
717
718
|
):
|
|
718
719
|
"""Mask to one side of a line defined by the cursor
|
|
719
720
|
|
|
@@ -721,21 +722,21 @@ def mask_line_gesture(
|
|
|
721
722
|
:type execution_context: int | str | None
|
|
722
723
|
:type undo: bool | None
|
|
723
724
|
:param xstart: X Start
|
|
724
|
-
:type xstart:
|
|
725
|
+
:type xstart: int | None
|
|
725
726
|
:param xend: X End
|
|
726
|
-
:type xend:
|
|
727
|
+
:type xend: int | None
|
|
727
728
|
:param ystart: Y Start
|
|
728
|
-
:type ystart:
|
|
729
|
+
:type ystart: int | None
|
|
729
730
|
:param yend: Y End
|
|
730
|
-
:type yend:
|
|
731
|
+
:type yend: int | None
|
|
731
732
|
:param flip: Flip
|
|
732
|
-
:type flip: bool |
|
|
733
|
+
:type flip: bool | None
|
|
733
734
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
734
|
-
:type cursor:
|
|
735
|
+
:type cursor: int | None
|
|
735
736
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
736
|
-
:type use_front_faces_only: bool |
|
|
737
|
+
:type use_front_faces_only: bool | None
|
|
737
738
|
: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
|
|
738
|
-
:type use_limit_to_segment: bool |
|
|
739
|
+
:type use_limit_to_segment: bool | None
|
|
739
740
|
:param mode: Mode
|
|
740
741
|
|
|
741
742
|
VALUE
|
|
@@ -748,7 +749,7 @@ def mask_line_gesture(
|
|
|
748
749
|
Invert -- Invert the mask.
|
|
749
750
|
:type mode: str | None
|
|
750
751
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
751
|
-
:type value:
|
|
752
|
+
:type value: float | None
|
|
752
753
|
"""
|
|
753
754
|
|
|
754
755
|
...
|
|
@@ -759,9 +760,9 @@ def mask_polyline_gesture(
|
|
|
759
760
|
undo: bool | None = None,
|
|
760
761
|
*,
|
|
761
762
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
762
|
-
use_front_faces_only: bool |
|
|
763
|
+
use_front_faces_only: bool | None = False,
|
|
763
764
|
mode: str | None = "VALUE",
|
|
764
|
-
value:
|
|
765
|
+
value: float | None = 1.0,
|
|
765
766
|
):
|
|
766
767
|
"""Mask within a shape defined by the cursor
|
|
767
768
|
|
|
@@ -771,7 +772,7 @@ def mask_polyline_gesture(
|
|
|
771
772
|
:param path: Path
|
|
772
773
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
773
774
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
774
|
-
:type use_front_faces_only: bool |
|
|
775
|
+
:type use_front_faces_only: bool | None
|
|
775
776
|
:param mode: Mode
|
|
776
777
|
|
|
777
778
|
VALUE
|
|
@@ -784,7 +785,7 @@ def mask_polyline_gesture(
|
|
|
784
785
|
Invert -- Invert the mask.
|
|
785
786
|
:type mode: str | None
|
|
786
787
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
787
|
-
:type value:
|
|
788
|
+
:type value: float | None
|
|
788
789
|
"""
|
|
789
790
|
|
|
790
791
|
...
|
|
@@ -812,9 +813,9 @@ def sample_color(
|
|
|
812
813
|
execution_context: int | str | None = None,
|
|
813
814
|
undo: bool | None = None,
|
|
814
815
|
*,
|
|
815
|
-
location:
|
|
816
|
-
merged: bool |
|
|
817
|
-
palette: bool |
|
|
816
|
+
location: collections.abc.Iterable[int] | None = (0, 0),
|
|
817
|
+
merged: bool | None = False,
|
|
818
|
+
palette: bool | None = False,
|
|
818
819
|
):
|
|
819
820
|
"""Use the mouse to sample a color in the image
|
|
820
821
|
|
|
@@ -822,11 +823,11 @@ def sample_color(
|
|
|
822
823
|
:type execution_context: int | str | None
|
|
823
824
|
:type undo: bool | None
|
|
824
825
|
:param location: Location
|
|
825
|
-
:type location:
|
|
826
|
+
:type location: collections.abc.Iterable[int] | None
|
|
826
827
|
:param merged: Sample Merged, Sample the output display color
|
|
827
|
-
:type merged: bool |
|
|
828
|
+
:type merged: bool | None
|
|
828
829
|
:param palette: Add to Palette
|
|
829
|
-
:type palette: bool |
|
|
830
|
+
:type palette: bool | None
|
|
830
831
|
"""
|
|
831
832
|
|
|
832
833
|
...
|
|
@@ -880,7 +881,7 @@ def vert_select_hide(
|
|
|
880
881
|
execution_context: int | str | None = None,
|
|
881
882
|
undo: bool | None = None,
|
|
882
883
|
*,
|
|
883
|
-
unselected: bool |
|
|
884
|
+
unselected: bool | None = False,
|
|
884
885
|
):
|
|
885
886
|
"""Hide selected vertices
|
|
886
887
|
|
|
@@ -888,7 +889,7 @@ def vert_select_hide(
|
|
|
888
889
|
:type execution_context: int | str | None
|
|
889
890
|
:type undo: bool | None
|
|
890
891
|
:param unselected: Unselected, Hide unselected rather than selected vertices
|
|
891
|
-
:type unselected: bool |
|
|
892
|
+
:type unselected: bool | None
|
|
892
893
|
"""
|
|
893
894
|
|
|
894
895
|
...
|
|
@@ -898,7 +899,7 @@ def vert_select_less(
|
|
|
898
899
|
execution_context: int | str | None = None,
|
|
899
900
|
undo: bool | None = None,
|
|
900
901
|
*,
|
|
901
|
-
face_step: bool |
|
|
902
|
+
face_step: bool | None = True,
|
|
902
903
|
):
|
|
903
904
|
"""Deselect Vertices connected to existing selection
|
|
904
905
|
|
|
@@ -906,7 +907,7 @@ def vert_select_less(
|
|
|
906
907
|
:type execution_context: int | str | None
|
|
907
908
|
:type undo: bool | None
|
|
908
909
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
909
|
-
:type face_step: bool |
|
|
910
|
+
:type face_step: bool | None
|
|
910
911
|
"""
|
|
911
912
|
|
|
912
913
|
...
|
|
@@ -930,7 +931,7 @@ def vert_select_linked_pick(
|
|
|
930
931
|
execution_context: int | str | None = None,
|
|
931
932
|
undo: bool | None = None,
|
|
932
933
|
*,
|
|
933
|
-
select: bool |
|
|
934
|
+
select: bool | None = True,
|
|
934
935
|
):
|
|
935
936
|
"""Select linked vertices under the cursor
|
|
936
937
|
|
|
@@ -938,7 +939,7 @@ def vert_select_linked_pick(
|
|
|
938
939
|
:type execution_context: int | str | None
|
|
939
940
|
:type undo: bool | None
|
|
940
941
|
:param select: Select, Whether to select or deselect linked vertices under the cursor
|
|
941
|
-
:type select: bool |
|
|
942
|
+
:type select: bool | None
|
|
942
943
|
"""
|
|
943
944
|
|
|
944
945
|
...
|
|
@@ -948,7 +949,7 @@ def vert_select_more(
|
|
|
948
949
|
execution_context: int | str | None = None,
|
|
949
950
|
undo: bool | None = None,
|
|
950
951
|
*,
|
|
951
|
-
face_step: bool |
|
|
952
|
+
face_step: bool | None = True,
|
|
952
953
|
):
|
|
953
954
|
"""Select Vertices connected to existing selection
|
|
954
955
|
|
|
@@ -956,7 +957,7 @@ def vert_select_more(
|
|
|
956
957
|
:type execution_context: int | str | None
|
|
957
958
|
:type undo: bool | None
|
|
958
959
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
959
|
-
:type face_step: bool |
|
|
960
|
+
:type face_step: bool | None
|
|
960
961
|
"""
|
|
961
962
|
|
|
962
963
|
...
|
|
@@ -966,7 +967,7 @@ def vert_select_ungrouped(
|
|
|
966
967
|
execution_context: int | str | None = None,
|
|
967
968
|
undo: bool | None = None,
|
|
968
969
|
*,
|
|
969
|
-
extend: bool |
|
|
970
|
+
extend: bool | None = False,
|
|
970
971
|
):
|
|
971
972
|
"""Select vertices without a group
|
|
972
973
|
|
|
@@ -974,7 +975,7 @@ def vert_select_ungrouped(
|
|
|
974
975
|
:type execution_context: int | str | None
|
|
975
976
|
:type undo: bool | None
|
|
976
977
|
:param extend: Extend, Extend the selection
|
|
977
|
-
:type extend: bool |
|
|
978
|
+
:type extend: bool | None
|
|
978
979
|
"""
|
|
979
980
|
|
|
980
981
|
...
|
|
@@ -984,8 +985,8 @@ def vertex_color_brightness_contrast(
|
|
|
984
985
|
execution_context: int | str | None = None,
|
|
985
986
|
undo: bool | None = None,
|
|
986
987
|
*,
|
|
987
|
-
brightness:
|
|
988
|
-
contrast:
|
|
988
|
+
brightness: float | None = 0.0,
|
|
989
|
+
contrast: float | None = 0.0,
|
|
989
990
|
):
|
|
990
991
|
"""Adjust vertex color brightness/contrast
|
|
991
992
|
|
|
@@ -993,9 +994,9 @@ def vertex_color_brightness_contrast(
|
|
|
993
994
|
:type execution_context: int | str | None
|
|
994
995
|
:type undo: bool | None
|
|
995
996
|
:param brightness: Brightness
|
|
996
|
-
:type brightness:
|
|
997
|
+
:type brightness: float | None
|
|
997
998
|
:param contrast: Contrast
|
|
998
|
-
:type contrast:
|
|
999
|
+
:type contrast: float | None
|
|
999
1000
|
"""
|
|
1000
1001
|
|
|
1001
1002
|
...
|
|
@@ -1005,12 +1006,12 @@ def vertex_color_dirt(
|
|
|
1005
1006
|
execution_context: int | str | None = None,
|
|
1006
1007
|
undo: bool | None = None,
|
|
1007
1008
|
*,
|
|
1008
|
-
blur_strength:
|
|
1009
|
-
blur_iterations:
|
|
1010
|
-
clean_angle:
|
|
1011
|
-
dirt_angle:
|
|
1012
|
-
dirt_only: bool |
|
|
1013
|
-
normalize: bool |
|
|
1009
|
+
blur_strength: float | None = 1.0,
|
|
1010
|
+
blur_iterations: int | None = 1,
|
|
1011
|
+
clean_angle: float | None = 3.14159,
|
|
1012
|
+
dirt_angle: float | None = 0.0,
|
|
1013
|
+
dirt_only: bool | None = False,
|
|
1014
|
+
normalize: bool | None = True,
|
|
1014
1015
|
):
|
|
1015
1016
|
"""Generate a dirt map gradient based on cavity
|
|
1016
1017
|
|
|
@@ -1018,17 +1019,17 @@ def vertex_color_dirt(
|
|
|
1018
1019
|
:type execution_context: int | str | None
|
|
1019
1020
|
:type undo: bool | None
|
|
1020
1021
|
:param blur_strength: Blur Strength, Blur strength per iteration
|
|
1021
|
-
:type blur_strength:
|
|
1022
|
+
:type blur_strength: float | None
|
|
1022
1023
|
:param blur_iterations: Blur Iterations, Number of times to blur the colors (higher blurs more)
|
|
1023
|
-
:type blur_iterations:
|
|
1024
|
+
:type blur_iterations: int | None
|
|
1024
1025
|
:param clean_angle: Highlight Angle, Less than 90 limits the angle used in the tonal range
|
|
1025
|
-
:type clean_angle:
|
|
1026
|
+
:type clean_angle: float | None
|
|
1026
1027
|
:param dirt_angle: Dirt Angle, Less than 90 limits the angle used in the tonal range
|
|
1027
|
-
:type dirt_angle:
|
|
1028
|
+
:type dirt_angle: float | None
|
|
1028
1029
|
:param dirt_only: Dirt Only, Don't calculate cleans for convex areas
|
|
1029
|
-
:type dirt_only: bool |
|
|
1030
|
+
:type dirt_only: bool | None
|
|
1030
1031
|
:param normalize: Normalize, Normalize the colors, increasing the contrast
|
|
1031
|
-
:type normalize: bool |
|
|
1032
|
+
:type normalize: bool | None
|
|
1032
1033
|
"""
|
|
1033
1034
|
|
|
1034
1035
|
...
|
|
@@ -1052,9 +1053,9 @@ def vertex_color_hsv(
|
|
|
1052
1053
|
execution_context: int | str | None = None,
|
|
1053
1054
|
undo: bool | None = None,
|
|
1054
1055
|
*,
|
|
1055
|
-
h:
|
|
1056
|
-
s:
|
|
1057
|
-
v:
|
|
1056
|
+
h: float | None = 0.5,
|
|
1057
|
+
s: float | None = 1.0,
|
|
1058
|
+
v: float | None = 1.0,
|
|
1058
1059
|
):
|
|
1059
1060
|
"""Adjust vertex color Hue/Saturation/Value
|
|
1060
1061
|
|
|
@@ -1062,11 +1063,11 @@ def vertex_color_hsv(
|
|
|
1062
1063
|
:type execution_context: int | str | None
|
|
1063
1064
|
:type undo: bool | None
|
|
1064
1065
|
:param h: Hue
|
|
1065
|
-
:type h:
|
|
1066
|
+
:type h: float | None
|
|
1066
1067
|
:param s: Saturation
|
|
1067
|
-
:type s:
|
|
1068
|
+
:type s: float | None
|
|
1068
1069
|
:param v: Value
|
|
1069
|
-
:type v:
|
|
1070
|
+
:type v: float | None
|
|
1070
1071
|
"""
|
|
1071
1072
|
|
|
1072
1073
|
...
|
|
@@ -1090,8 +1091,8 @@ def vertex_color_levels(
|
|
|
1090
1091
|
execution_context: int | str | None = None,
|
|
1091
1092
|
undo: bool | None = None,
|
|
1092
1093
|
*,
|
|
1093
|
-
offset:
|
|
1094
|
-
gain:
|
|
1094
|
+
offset: float | None = 0.0,
|
|
1095
|
+
gain: float | None = 1.0,
|
|
1095
1096
|
):
|
|
1096
1097
|
"""Adjust levels of vertex colors
|
|
1097
1098
|
|
|
@@ -1099,9 +1100,9 @@ def vertex_color_levels(
|
|
|
1099
1100
|
:type execution_context: int | str | None
|
|
1100
1101
|
:type undo: bool | None
|
|
1101
1102
|
:param offset: Offset, Value to add to colors
|
|
1102
|
-
:type offset:
|
|
1103
|
+
:type offset: float | None
|
|
1103
1104
|
:param gain: Gain, Value to multiply colors by
|
|
1104
|
-
:type gain:
|
|
1105
|
+
:type gain: float | None
|
|
1105
1106
|
"""
|
|
1106
1107
|
|
|
1107
1108
|
...
|
|
@@ -1111,7 +1112,7 @@ def vertex_color_set(
|
|
|
1111
1112
|
execution_context: int | str | None = None,
|
|
1112
1113
|
undo: bool | None = None,
|
|
1113
1114
|
*,
|
|
1114
|
-
use_alpha: bool |
|
|
1115
|
+
use_alpha: bool | None = True,
|
|
1115
1116
|
):
|
|
1116
1117
|
"""Fill the active vertex color layer with the current paint color
|
|
1117
1118
|
|
|
@@ -1119,7 +1120,7 @@ def vertex_color_set(
|
|
|
1119
1120
|
:type execution_context: int | str | None
|
|
1120
1121
|
:type undo: bool | None
|
|
1121
1122
|
:param use_alpha: Affect Alpha, Set color completely opaque instead of reusing existing alpha
|
|
1122
|
-
:type use_alpha: bool |
|
|
1123
|
+
:type use_alpha: bool | None
|
|
1123
1124
|
"""
|
|
1124
1125
|
|
|
1125
1126
|
...
|
|
@@ -1189,8 +1190,8 @@ def visibility_filter(
|
|
|
1189
1190
|
undo: bool | None = None,
|
|
1190
1191
|
*,
|
|
1191
1192
|
action: str | None = "GROW",
|
|
1192
|
-
iterations:
|
|
1193
|
-
auto_iteration_count: bool |
|
|
1193
|
+
iterations: int | None = 1,
|
|
1194
|
+
auto_iteration_count: bool | None = True,
|
|
1194
1195
|
):
|
|
1195
1196
|
"""Edit the visibility of the current mesh
|
|
1196
1197
|
|
|
@@ -1206,9 +1207,9 @@ def visibility_filter(
|
|
|
1206
1207
|
Shrink Visibility -- Shrink the visibility by one face based on mesh topology.
|
|
1207
1208
|
:type action: str | None
|
|
1208
1209
|
:param iterations: Iterations, Number of times that the filter is going to be applied
|
|
1209
|
-
:type iterations:
|
|
1210
|
+
:type iterations: int | None
|
|
1210
1211
|
:param auto_iteration_count: Auto Iteration Count, Use an automatic number of iterations based on the number of vertices of the sculpt
|
|
1211
|
-
:type auto_iteration_count: bool |
|
|
1212
|
+
:type auto_iteration_count: bool | None
|
|
1212
1213
|
"""
|
|
1213
1214
|
|
|
1214
1215
|
...
|
|
@@ -1257,12 +1258,12 @@ def weight_gradient(
|
|
|
1257
1258
|
undo: bool | None = None,
|
|
1258
1259
|
*,
|
|
1259
1260
|
type: str | None = "LINEAR",
|
|
1260
|
-
xstart:
|
|
1261
|
-
xend:
|
|
1262
|
-
ystart:
|
|
1263
|
-
yend:
|
|
1264
|
-
flip: bool |
|
|
1265
|
-
cursor:
|
|
1261
|
+
xstart: int | None = 0,
|
|
1262
|
+
xend: int | None = 0,
|
|
1263
|
+
ystart: int | None = 0,
|
|
1264
|
+
yend: int | None = 0,
|
|
1265
|
+
flip: bool | None = False,
|
|
1266
|
+
cursor: int | None = 5,
|
|
1266
1267
|
):
|
|
1267
1268
|
"""Draw a line to apply a weight gradient to selected vertices
|
|
1268
1269
|
|
|
@@ -1272,17 +1273,17 @@ def weight_gradient(
|
|
|
1272
1273
|
:param type: Type
|
|
1273
1274
|
:type type: str | None
|
|
1274
1275
|
:param xstart: X Start
|
|
1275
|
-
:type xstart:
|
|
1276
|
+
:type xstart: int | None
|
|
1276
1277
|
:param xend: X End
|
|
1277
|
-
:type xend:
|
|
1278
|
+
:type xend: int | None
|
|
1278
1279
|
:param ystart: Y Start
|
|
1279
|
-
:type ystart:
|
|
1280
|
+
:type ystart: int | None
|
|
1280
1281
|
:param yend: Y End
|
|
1281
|
-
:type yend:
|
|
1282
|
+
:type yend: int | None
|
|
1282
1283
|
:param flip: Flip
|
|
1283
|
-
:type flip: bool |
|
|
1284
|
+
:type flip: bool | None
|
|
1284
1285
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
1285
|
-
:type cursor:
|
|
1286
|
+
:type cursor: int | None
|
|
1286
1287
|
"""
|
|
1287
1288
|
|
|
1288
1289
|
...
|