fake-bpy-module 20240327__py3-none-any.whl → 20240330__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.
- aud/__init__.pyi +34 -96
- bgl/__init__.pyi +1265 -2417
- bl_math/__init__.pyi +3 -14
- bl_ui/space_toolsystem_toolbar/__init__.pyi +6 -0
- blf/__init__.pyi +13 -50
- bmesh/ops/__init__.pyi +68 -142
- bmesh/types/__init__.pyi +18 -44
- bmesh/utils/__init__.pyi +2 -6
- bpy/app/icons/__init__.pyi +2 -4
- bpy/app/timers/__init__.pyi +2 -6
- bpy/ops/action/__init__.pyi +92 -93
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +108 -112
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +18 -18
- 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 +194 -195
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +10 -10
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +114 -118
- bpy/ops/curves/__init__.pyi +55 -53
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +12 -12
- 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 +9 -9
- bpy/ops/file/__init__.pyi +80 -83
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +38 -38
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +308 -309
- bpy/ops/graph/__init__.pyi +150 -151
- bpy/ops/grease_pencil/__init__.pyi +114 -115
- bpy/ops/image/__init__.pyi +100 -100
- 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 +90 -91
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +20 -21
- bpy/ops/mesh/__init__.pyi +431 -429
- bpy/ops/nla/__init__.pyi +89 -90
- bpy/ops/node/__init__.pyi +242 -243
- bpy/ops/object/__init__.pyi +572 -567
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +182 -126
- bpy/ops/paintcurve/__init__.pyi +20 -20
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +90 -90
- 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 +34 -34
- bpy/ops/scene/__init__.pyi +86 -86
- bpy/ops/screen/__init__.pyi +84 -84
- 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 +184 -185
- bpy/ops/sound/__init__.pyi +16 -16
- 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 +112 -112
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +104 -105
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +232 -232
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +29 -52
- bpy/types/__init__.pyi +5354 -3708
- bpy/utils/__init__.pyi +3 -6
- bpy/utils/units/__init__.pyi +3 -6
- bpy_extras/io_utils/__init__.pyi +8 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/RECORD +114 -114
- freestyle/chainingiterators/__init__.pyi +5 -12
- freestyle/functions/__init__.pyi +19 -73
- freestyle/predicates/__init__.pyi +8 -21
- freestyle/shaders/__init__.pyi +32 -81
- freestyle/types/__init__.pyi +100 -270
- freestyle/utils/ContextFunctions/__init__.pyi +7 -27
- freestyle/utils/__init__.pyi +1 -2
- gpu/capabilities/__init__.pyi +15 -32
- gpu/matrix/__init__.pyi +1 -2
- gpu/state/__init__.pyi +4 -10
- gpu/types/__init__.pyi +29 -87
- gpu_extras/presets/__init__.pyi +4 -16
- imbuf/types/__init__.pyi +4 -10
- mathutils/__init__.pyi +106 -257
- mathutils/bvhtree/__init__.pyi +7 -15
- mathutils/geometry/__init__.pyi +9 -18
- mathutils/kdtree/__init__.pyi +4 -11
- mathutils/noise/__init__.pyi +41 -82
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/top_level.txt +0 -0
bpy/ops/gpencil/__init__.pyi
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import typing
|
|
2
|
-
import bpy.ops.transform
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def active_frame_delete(
|
|
8
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
9
|
-
execution_context:
|
|
8
|
+
execution_context: str = None,
|
|
10
9
|
undo: bool = None,
|
|
11
10
|
):
|
|
12
11
|
"""Delete the active frame for the active Grease Pencil Layer
|
|
13
12
|
|
|
14
13
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
-
:type execution_context:
|
|
14
|
+
:type execution_context: str
|
|
16
15
|
:type undo: bool
|
|
17
16
|
"""
|
|
18
17
|
|
|
@@ -20,13 +19,13 @@ def active_frame_delete(
|
|
|
20
19
|
|
|
21
20
|
def active_frames_delete_all(
|
|
22
21
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
23
|
-
execution_context:
|
|
22
|
+
execution_context: str = None,
|
|
24
23
|
undo: bool = None,
|
|
25
24
|
):
|
|
26
25
|
"""Delete the active frame(s) of all editable Grease Pencil layers
|
|
27
26
|
|
|
28
27
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
-
:type execution_context:
|
|
28
|
+
:type execution_context: str
|
|
30
29
|
:type undo: bool
|
|
31
30
|
"""
|
|
32
31
|
|
|
@@ -34,7 +33,7 @@ def active_frames_delete_all(
|
|
|
34
33
|
|
|
35
34
|
def annotate(
|
|
36
35
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
37
|
-
execution_context:
|
|
36
|
+
execution_context: str = None,
|
|
38
37
|
undo: bool = None,
|
|
39
38
|
mode: typing.Any = "DRAW",
|
|
40
39
|
arrowstyle_start: typing.Any = "NONE",
|
|
@@ -48,7 +47,7 @@ def annotate(
|
|
|
48
47
|
"""Make annotations on the active data
|
|
49
48
|
|
|
50
49
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
51
|
-
:type execution_context:
|
|
50
|
+
:type execution_context: str
|
|
52
51
|
:type undo: bool
|
|
53
52
|
:param mode: Mode, Way to interpret mouse movements
|
|
54
53
|
|
|
@@ -114,13 +113,13 @@ def annotate(
|
|
|
114
113
|
|
|
115
114
|
def annotation_active_frame_delete(
|
|
116
115
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
117
|
-
execution_context:
|
|
116
|
+
execution_context: str = None,
|
|
118
117
|
undo: bool = None,
|
|
119
118
|
):
|
|
120
119
|
"""Delete the active frame for the active Annotation Layer
|
|
121
120
|
|
|
122
121
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
123
|
-
:type execution_context:
|
|
122
|
+
:type execution_context: str
|
|
124
123
|
:type undo: bool
|
|
125
124
|
"""
|
|
126
125
|
|
|
@@ -128,13 +127,13 @@ def annotation_active_frame_delete(
|
|
|
128
127
|
|
|
129
128
|
def annotation_add(
|
|
130
129
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
131
|
-
execution_context:
|
|
130
|
+
execution_context: str = None,
|
|
132
131
|
undo: bool = None,
|
|
133
132
|
):
|
|
134
133
|
"""Add new Annotation data-block
|
|
135
134
|
|
|
136
135
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
137
|
-
:type execution_context:
|
|
136
|
+
:type execution_context: str
|
|
138
137
|
:type undo: bool
|
|
139
138
|
"""
|
|
140
139
|
|
|
@@ -142,7 +141,7 @@ def annotation_add(
|
|
|
142
141
|
|
|
143
142
|
def bake_grease_pencil_animation(
|
|
144
143
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
145
|
-
execution_context:
|
|
144
|
+
execution_context: str = None,
|
|
146
145
|
undo: bool = None,
|
|
147
146
|
frame_start: typing.Any = 1,
|
|
148
147
|
frame_end: typing.Any = 250,
|
|
@@ -154,7 +153,7 @@ def bake_grease_pencil_animation(
|
|
|
154
153
|
"""Bake grease pencil object transform to grease pencil keyframes
|
|
155
154
|
|
|
156
155
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
157
|
-
:type execution_context:
|
|
156
|
+
:type execution_context: str
|
|
158
157
|
:type undo: bool
|
|
159
158
|
:param frame_start: Start Frame, The start frame
|
|
160
159
|
:type frame_start: typing.Any
|
|
@@ -192,7 +191,7 @@ def bake_grease_pencil_animation(
|
|
|
192
191
|
|
|
193
192
|
def bake_mesh_animation(
|
|
194
193
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
195
|
-
execution_context:
|
|
194
|
+
execution_context: str = None,
|
|
196
195
|
undo: bool = None,
|
|
197
196
|
target: typing.Any = "NEW",
|
|
198
197
|
frame_start: typing.Any = 1,
|
|
@@ -210,7 +209,7 @@ def bake_mesh_animation(
|
|
|
210
209
|
"""Bake mesh animation to grease pencil strokes
|
|
211
210
|
|
|
212
211
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
213
|
-
:type execution_context:
|
|
212
|
+
:type execution_context: str
|
|
214
213
|
:type undo: bool
|
|
215
214
|
:param target: Target Object, Target grease pencil
|
|
216
215
|
:type target: typing.Any
|
|
@@ -260,14 +259,14 @@ def bake_mesh_animation(
|
|
|
260
259
|
|
|
261
260
|
def blank_frame_add(
|
|
262
261
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
263
|
-
execution_context:
|
|
262
|
+
execution_context: str = None,
|
|
264
263
|
undo: bool = None,
|
|
265
264
|
all_layers: typing.Union[bool, typing.Any] = False,
|
|
266
265
|
):
|
|
267
266
|
"""Insert a blank frame on the current frame (all subsequently existing frames, if any, are shifted right by one frame)
|
|
268
267
|
|
|
269
268
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
270
|
-
:type execution_context:
|
|
269
|
+
:type execution_context: str
|
|
271
270
|
:type undo: bool
|
|
272
271
|
:param all_layers: All Layers, Create blank frame in all layers, not only active
|
|
273
272
|
:type all_layers: typing.Union[bool, typing.Any]
|
|
@@ -277,13 +276,13 @@ def blank_frame_add(
|
|
|
277
276
|
|
|
278
277
|
def brush_reset(
|
|
279
278
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
280
|
-
execution_context:
|
|
279
|
+
execution_context: str = None,
|
|
281
280
|
undo: bool = None,
|
|
282
281
|
):
|
|
283
282
|
"""Reset brush to default parameters
|
|
284
283
|
|
|
285
284
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
286
|
-
:type execution_context:
|
|
285
|
+
:type execution_context: str
|
|
287
286
|
:type undo: bool
|
|
288
287
|
"""
|
|
289
288
|
|
|
@@ -291,13 +290,13 @@ def brush_reset(
|
|
|
291
290
|
|
|
292
291
|
def brush_reset_all(
|
|
293
292
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
294
|
-
execution_context:
|
|
293
|
+
execution_context: str = None,
|
|
295
294
|
undo: bool = None,
|
|
296
295
|
):
|
|
297
296
|
"""Delete all mode brushes and recreate a default set
|
|
298
297
|
|
|
299
298
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
300
|
-
:type execution_context:
|
|
299
|
+
:type execution_context: str
|
|
301
300
|
:type undo: bool
|
|
302
301
|
"""
|
|
303
302
|
|
|
@@ -305,7 +304,7 @@ def brush_reset_all(
|
|
|
305
304
|
|
|
306
305
|
def convert(
|
|
307
306
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
308
|
-
execution_context:
|
|
307
|
+
execution_context: str = None,
|
|
309
308
|
undo: bool = None,
|
|
310
309
|
type: typing.Any = "PATH",
|
|
311
310
|
bevel_depth: typing.Any = 0.0,
|
|
@@ -326,7 +325,7 @@ def convert(
|
|
|
326
325
|
"""Convert the active Grease Pencil layer to a new Curve Object
|
|
327
326
|
|
|
328
327
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
329
|
-
:type execution_context:
|
|
328
|
+
:type execution_context: str
|
|
330
329
|
:type undo: bool
|
|
331
330
|
:param type: Type, Which type of curve to convert to
|
|
332
331
|
|
|
@@ -385,14 +384,14 @@ def convert(
|
|
|
385
384
|
|
|
386
385
|
def convert_old_files(
|
|
387
386
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
388
|
-
execution_context:
|
|
387
|
+
execution_context: str = None,
|
|
389
388
|
undo: bool = None,
|
|
390
389
|
annotation: typing.Union[bool, typing.Any] = False,
|
|
391
390
|
):
|
|
392
391
|
"""Convert 2.7x grease pencil files to 2.80
|
|
393
392
|
|
|
394
393
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
395
|
-
:type execution_context:
|
|
394
|
+
:type execution_context: str
|
|
396
395
|
:type undo: bool
|
|
397
396
|
:param annotation: Annotation, Convert to Annotations
|
|
398
397
|
:type annotation: typing.Union[bool, typing.Any]
|
|
@@ -402,13 +401,13 @@ def convert_old_files(
|
|
|
402
401
|
|
|
403
402
|
def copy(
|
|
404
403
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
405
|
-
execution_context:
|
|
404
|
+
execution_context: str = None,
|
|
406
405
|
undo: bool = None,
|
|
407
406
|
):
|
|
408
407
|
"""Copy selected Grease Pencil points and strokes
|
|
409
408
|
|
|
410
409
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
411
|
-
:type execution_context:
|
|
410
|
+
:type execution_context: str
|
|
412
411
|
:type undo: bool
|
|
413
412
|
"""
|
|
414
413
|
|
|
@@ -416,13 +415,13 @@ def copy(
|
|
|
416
415
|
|
|
417
416
|
def data_unlink(
|
|
418
417
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
419
|
-
execution_context:
|
|
418
|
+
execution_context: str = None,
|
|
420
419
|
undo: bool = None,
|
|
421
420
|
):
|
|
422
421
|
"""Unlink active Annotation data-block
|
|
423
422
|
|
|
424
423
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
425
|
-
:type execution_context:
|
|
424
|
+
:type execution_context: str
|
|
426
425
|
:type undo: bool
|
|
427
426
|
"""
|
|
428
427
|
|
|
@@ -430,14 +429,14 @@ def data_unlink(
|
|
|
430
429
|
|
|
431
430
|
def delete(
|
|
432
431
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
433
|
-
execution_context:
|
|
432
|
+
execution_context: str = None,
|
|
434
433
|
undo: bool = None,
|
|
435
434
|
type: typing.Any = "POINTS",
|
|
436
435
|
):
|
|
437
436
|
"""Delete selected Grease Pencil strokes, vertices, or frames
|
|
438
437
|
|
|
439
438
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
440
|
-
:type execution_context:
|
|
439
|
+
:type execution_context: str
|
|
441
440
|
:type undo: bool
|
|
442
441
|
:param type: Type, Method used for deleting Grease Pencil data
|
|
443
442
|
|
|
@@ -456,14 +455,14 @@ def delete(
|
|
|
456
455
|
|
|
457
456
|
def dissolve(
|
|
458
457
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
459
|
-
execution_context:
|
|
458
|
+
execution_context: str = None,
|
|
460
459
|
undo: bool = None,
|
|
461
460
|
type: typing.Any = "POINTS",
|
|
462
461
|
):
|
|
463
462
|
"""Delete selected points without splitting strokes
|
|
464
463
|
|
|
465
464
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
466
|
-
:type execution_context:
|
|
465
|
+
:type execution_context: str
|
|
467
466
|
:type undo: bool
|
|
468
467
|
:param type: Type, Method used for dissolving stroke points
|
|
469
468
|
|
|
@@ -482,7 +481,7 @@ def dissolve(
|
|
|
482
481
|
|
|
483
482
|
def draw(
|
|
484
483
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
485
|
-
execution_context:
|
|
484
|
+
execution_context: str = None,
|
|
486
485
|
undo: bool = None,
|
|
487
486
|
mode: typing.Any = "DRAW",
|
|
488
487
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
@@ -495,7 +494,7 @@ def draw(
|
|
|
495
494
|
"""Draw a new stroke in the active Grease Pencil object
|
|
496
495
|
|
|
497
496
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
498
|
-
:type execution_context:
|
|
497
|
+
:type execution_context: str
|
|
499
498
|
:type undo: bool
|
|
500
499
|
:param mode: Mode, Way to interpret mouse movements
|
|
501
500
|
|
|
@@ -526,13 +525,13 @@ def draw(
|
|
|
526
525
|
|
|
527
526
|
def duplicate(
|
|
528
527
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
529
|
-
execution_context:
|
|
528
|
+
execution_context: str = None,
|
|
530
529
|
undo: bool = None,
|
|
531
530
|
):
|
|
532
531
|
"""Duplicate the selected Grease Pencil strokes
|
|
533
532
|
|
|
534
533
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
535
|
-
:type execution_context:
|
|
534
|
+
:type execution_context: str
|
|
536
535
|
:type undo: bool
|
|
537
536
|
"""
|
|
538
537
|
|
|
@@ -540,34 +539,34 @@ def duplicate(
|
|
|
540
539
|
|
|
541
540
|
def duplicate_move(
|
|
542
541
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
543
|
-
execution_context:
|
|
542
|
+
execution_context: str = None,
|
|
544
543
|
undo: bool = None,
|
|
545
|
-
GPENCIL_OT_duplicate:
|
|
546
|
-
TRANSFORM_OT_translate:
|
|
544
|
+
GPENCIL_OT_duplicate: typing.Any = None,
|
|
545
|
+
TRANSFORM_OT_translate: typing.Any = None,
|
|
547
546
|
):
|
|
548
547
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
549
548
|
|
|
550
549
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
551
|
-
:type execution_context:
|
|
550
|
+
:type execution_context: str
|
|
552
551
|
:type undo: bool
|
|
553
552
|
:param GPENCIL_OT_duplicate: Duplicate Strokes, Duplicate the selected Grease Pencil strokes
|
|
554
|
-
:type GPENCIL_OT_duplicate:
|
|
553
|
+
:type GPENCIL_OT_duplicate: typing.Any
|
|
555
554
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
556
|
-
:type TRANSFORM_OT_translate:
|
|
555
|
+
:type TRANSFORM_OT_translate: typing.Any
|
|
557
556
|
"""
|
|
558
557
|
|
|
559
558
|
...
|
|
560
559
|
|
|
561
560
|
def editmode_toggle(
|
|
562
561
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
563
|
-
execution_context:
|
|
562
|
+
execution_context: str = None,
|
|
564
563
|
undo: bool = None,
|
|
565
564
|
back: typing.Union[bool, typing.Any] = False,
|
|
566
565
|
):
|
|
567
566
|
"""Enter/Exit edit mode for Grease Pencil strokes
|
|
568
567
|
|
|
569
568
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
570
|
-
:type execution_context:
|
|
569
|
+
:type execution_context: str
|
|
571
570
|
:type undo: bool
|
|
572
571
|
:param back: Return to Previous Mode, Return to previous mode
|
|
573
572
|
:type back: typing.Union[bool, typing.Any]
|
|
@@ -577,7 +576,7 @@ def editmode_toggle(
|
|
|
577
576
|
|
|
578
577
|
def extract_palette_vertex(
|
|
579
578
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
580
|
-
execution_context:
|
|
579
|
+
execution_context: str = None,
|
|
581
580
|
undo: bool = None,
|
|
582
581
|
selected: typing.Union[bool, typing.Any] = False,
|
|
583
582
|
threshold: typing.Any = 1,
|
|
@@ -585,7 +584,7 @@ def extract_palette_vertex(
|
|
|
585
584
|
"""Extract all colors used in Grease Pencil Vertex and create a Palette
|
|
586
585
|
|
|
587
586
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
588
|
-
:type execution_context:
|
|
587
|
+
:type execution_context: str
|
|
589
588
|
:type undo: bool
|
|
590
589
|
:param selected: Only Selected, Convert only selected strokes
|
|
591
590
|
:type selected: typing.Union[bool, typing.Any]
|
|
@@ -597,13 +596,13 @@ def extract_palette_vertex(
|
|
|
597
596
|
|
|
598
597
|
def extrude(
|
|
599
598
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
600
|
-
execution_context:
|
|
599
|
+
execution_context: str = None,
|
|
601
600
|
undo: bool = None,
|
|
602
601
|
):
|
|
603
602
|
"""Extrude the selected Grease Pencil points
|
|
604
603
|
|
|
605
604
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
606
|
-
:type execution_context:
|
|
605
|
+
:type execution_context: str
|
|
607
606
|
:type undo: bool
|
|
608
607
|
"""
|
|
609
608
|
|
|
@@ -611,34 +610,34 @@ def extrude(
|
|
|
611
610
|
|
|
612
611
|
def extrude_move(
|
|
613
612
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
614
|
-
execution_context:
|
|
613
|
+
execution_context: str = None,
|
|
615
614
|
undo: bool = None,
|
|
616
|
-
GPENCIL_OT_extrude:
|
|
617
|
-
TRANSFORM_OT_translate:
|
|
615
|
+
GPENCIL_OT_extrude: typing.Any = None,
|
|
616
|
+
TRANSFORM_OT_translate: typing.Any = None,
|
|
618
617
|
):
|
|
619
618
|
"""Extrude selected points and move them
|
|
620
619
|
|
|
621
620
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
622
|
-
:type execution_context:
|
|
621
|
+
:type execution_context: str
|
|
623
622
|
:type undo: bool
|
|
624
623
|
:param GPENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected Grease Pencil points
|
|
625
|
-
:type GPENCIL_OT_extrude:
|
|
624
|
+
:type GPENCIL_OT_extrude: typing.Any
|
|
626
625
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
627
|
-
:type TRANSFORM_OT_translate:
|
|
626
|
+
:type TRANSFORM_OT_translate: typing.Any
|
|
628
627
|
"""
|
|
629
628
|
|
|
630
629
|
...
|
|
631
630
|
|
|
632
631
|
def fill(
|
|
633
632
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
634
|
-
execution_context:
|
|
633
|
+
execution_context: str = None,
|
|
635
634
|
undo: bool = None,
|
|
636
635
|
on_back: typing.Union[bool, typing.Any] = False,
|
|
637
636
|
):
|
|
638
637
|
"""Fill with color the shape formed by strokes
|
|
639
638
|
|
|
640
639
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
641
|
-
:type execution_context:
|
|
640
|
+
:type execution_context: str
|
|
642
641
|
:type undo: bool
|
|
643
642
|
:param on_back: Draw on Back, Send new stroke to back
|
|
644
643
|
:type on_back: typing.Union[bool, typing.Any]
|
|
@@ -648,14 +647,14 @@ def fill(
|
|
|
648
647
|
|
|
649
648
|
def frame_clean_duplicate(
|
|
650
649
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
651
|
-
execution_context:
|
|
650
|
+
execution_context: str = None,
|
|
652
651
|
undo: bool = None,
|
|
653
652
|
type: typing.Any = "ALL",
|
|
654
653
|
):
|
|
655
654
|
"""Remove duplicate keyframes
|
|
656
655
|
|
|
657
656
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
658
|
-
:type execution_context:
|
|
657
|
+
:type execution_context: str
|
|
659
658
|
:type undo: bool
|
|
660
659
|
:param type: Type
|
|
661
660
|
:type type: typing.Any
|
|
@@ -665,14 +664,14 @@ def frame_clean_duplicate(
|
|
|
665
664
|
|
|
666
665
|
def frame_clean_fill(
|
|
667
666
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
668
|
-
execution_context:
|
|
667
|
+
execution_context: str = None,
|
|
669
668
|
undo: bool = None,
|
|
670
669
|
mode: typing.Any = "ACTIVE",
|
|
671
670
|
):
|
|
672
671
|
"""Remove 'no fill' boundary strokes
|
|
673
672
|
|
|
674
673
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
675
|
-
:type execution_context:
|
|
674
|
+
:type execution_context: str
|
|
676
675
|
:type undo: bool
|
|
677
676
|
:param mode: Mode
|
|
678
677
|
|
|
@@ -688,14 +687,14 @@ def frame_clean_fill(
|
|
|
688
687
|
|
|
689
688
|
def frame_clean_loose(
|
|
690
689
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
691
|
-
execution_context:
|
|
690
|
+
execution_context: str = None,
|
|
692
691
|
undo: bool = None,
|
|
693
692
|
limit: typing.Any = 1,
|
|
694
693
|
):
|
|
695
694
|
"""Remove loose points
|
|
696
695
|
|
|
697
696
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
698
|
-
:type execution_context:
|
|
697
|
+
:type execution_context: str
|
|
699
698
|
:type undo: bool
|
|
700
699
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
701
700
|
:type limit: typing.Any
|
|
@@ -705,14 +704,14 @@ def frame_clean_loose(
|
|
|
705
704
|
|
|
706
705
|
def frame_duplicate(
|
|
707
706
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
708
|
-
execution_context:
|
|
707
|
+
execution_context: str = None,
|
|
709
708
|
undo: bool = None,
|
|
710
709
|
mode: typing.Any = "ACTIVE",
|
|
711
710
|
):
|
|
712
711
|
"""Make a copy of the active Grease Pencil Frame
|
|
713
712
|
|
|
714
713
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
715
|
-
:type execution_context:
|
|
714
|
+
:type execution_context: str
|
|
716
715
|
:type undo: bool
|
|
717
716
|
:param mode: Mode
|
|
718
717
|
|
|
@@ -728,7 +727,7 @@ def frame_duplicate(
|
|
|
728
727
|
|
|
729
728
|
def generate_weights(
|
|
730
729
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
731
|
-
execution_context:
|
|
730
|
+
execution_context: str = None,
|
|
732
731
|
undo: bool = None,
|
|
733
732
|
mode: typing.Any = "NAME",
|
|
734
733
|
armature: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
@@ -738,7 +737,7 @@ def generate_weights(
|
|
|
738
737
|
"""Generate automatic weights for armatures (requires armature modifier)
|
|
739
738
|
|
|
740
739
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
741
|
-
:type execution_context:
|
|
740
|
+
:type execution_context: str
|
|
742
741
|
:type undo: bool
|
|
743
742
|
:param mode: Mode
|
|
744
743
|
:type mode: typing.Any
|
|
@@ -754,7 +753,7 @@ def generate_weights(
|
|
|
754
753
|
|
|
755
754
|
def guide_rotate(
|
|
756
755
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
757
|
-
execution_context:
|
|
756
|
+
execution_context: str = None,
|
|
758
757
|
undo: bool = None,
|
|
759
758
|
increment: typing.Union[bool, typing.Any] = True,
|
|
760
759
|
angle: typing.Any = 0.0,
|
|
@@ -762,7 +761,7 @@ def guide_rotate(
|
|
|
762
761
|
"""Rotate guide angle
|
|
763
762
|
|
|
764
763
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
765
|
-
:type execution_context:
|
|
764
|
+
:type execution_context: str
|
|
766
765
|
:type undo: bool
|
|
767
766
|
:param increment: Increment, Increment angle
|
|
768
767
|
:type increment: typing.Union[bool, typing.Any]
|
|
@@ -774,14 +773,14 @@ def guide_rotate(
|
|
|
774
773
|
|
|
775
774
|
def hide(
|
|
776
775
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
777
|
-
execution_context:
|
|
776
|
+
execution_context: str = None,
|
|
778
777
|
undo: bool = None,
|
|
779
778
|
unselected: typing.Union[bool, typing.Any] = False,
|
|
780
779
|
):
|
|
781
780
|
"""Hide selected/unselected Grease Pencil layers
|
|
782
781
|
|
|
783
782
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
784
|
-
:type execution_context:
|
|
783
|
+
:type execution_context: str
|
|
785
784
|
:type undo: bool
|
|
786
785
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
787
786
|
:type unselected: typing.Union[bool, typing.Any]
|
|
@@ -791,7 +790,7 @@ def hide(
|
|
|
791
790
|
|
|
792
791
|
def image_to_grease_pencil(
|
|
793
792
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
794
|
-
execution_context:
|
|
793
|
+
execution_context: str = None,
|
|
795
794
|
undo: bool = None,
|
|
796
795
|
size: typing.Any = 0.005,
|
|
797
796
|
mask: typing.Union[bool, typing.Any] = False,
|
|
@@ -799,7 +798,7 @@ def image_to_grease_pencil(
|
|
|
799
798
|
"""Generate a Grease Pencil Object using Image as source
|
|
800
799
|
|
|
801
800
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
802
|
-
:type execution_context:
|
|
801
|
+
:type execution_context: str
|
|
803
802
|
:type undo: bool
|
|
804
803
|
:param size: Point Size, Size used for grease pencil points
|
|
805
804
|
:type size: typing.Any
|
|
@@ -811,7 +810,7 @@ def image_to_grease_pencil(
|
|
|
811
810
|
|
|
812
811
|
def interpolate(
|
|
813
812
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
814
|
-
execution_context:
|
|
813
|
+
execution_context: str = None,
|
|
815
814
|
undo: bool = None,
|
|
816
815
|
shift: typing.Any = 0.0,
|
|
817
816
|
layers: typing.Any = "ACTIVE",
|
|
@@ -825,7 +824,7 @@ def interpolate(
|
|
|
825
824
|
"""Interpolate grease pencil strokes between frames
|
|
826
825
|
|
|
827
826
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
828
|
-
:type execution_context:
|
|
827
|
+
:type execution_context: str
|
|
829
828
|
:type undo: bool
|
|
830
829
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
831
830
|
:type shift: typing.Any
|
|
@@ -849,13 +848,13 @@ def interpolate(
|
|
|
849
848
|
|
|
850
849
|
def interpolate_reverse(
|
|
851
850
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
852
|
-
execution_context:
|
|
851
|
+
execution_context: str = None,
|
|
853
852
|
undo: bool = None,
|
|
854
853
|
):
|
|
855
854
|
"""Remove breakdown frames generated by interpolating between two Grease Pencil frames
|
|
856
855
|
|
|
857
856
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
858
|
-
:type execution_context:
|
|
857
|
+
:type execution_context: str
|
|
859
858
|
:type undo: bool
|
|
860
859
|
"""
|
|
861
860
|
|
|
@@ -863,7 +862,7 @@ def interpolate_reverse(
|
|
|
863
862
|
|
|
864
863
|
def interpolate_sequence(
|
|
865
864
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
866
|
-
execution_context:
|
|
865
|
+
execution_context: str = None,
|
|
867
866
|
undo: bool = None,
|
|
868
867
|
step: typing.Any = 1,
|
|
869
868
|
layers: typing.Any = "ACTIVE",
|
|
@@ -881,7 +880,7 @@ def interpolate_sequence(
|
|
|
881
880
|
"""Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
|
|
882
881
|
|
|
883
882
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
884
|
-
:type execution_context:
|
|
883
|
+
:type execution_context: str
|
|
885
884
|
:type undo: bool
|
|
886
885
|
:param step: Step, Number of frames between generated interpolated frames
|
|
887
886
|
:type step: typing.Any
|
|
@@ -961,14 +960,14 @@ def interpolate_sequence(
|
|
|
961
960
|
|
|
962
961
|
def layer_active(
|
|
963
962
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
964
|
-
execution_context:
|
|
963
|
+
execution_context: str = None,
|
|
965
964
|
undo: bool = None,
|
|
966
965
|
layer: typing.Any = 0,
|
|
967
966
|
):
|
|
968
967
|
"""Active Grease Pencil layer
|
|
969
968
|
|
|
970
969
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
971
|
-
:type execution_context:
|
|
970
|
+
:type execution_context: str
|
|
972
971
|
:type undo: bool
|
|
973
972
|
:param layer: Grease Pencil Layer
|
|
974
973
|
:type layer: typing.Any
|
|
@@ -978,7 +977,7 @@ def layer_active(
|
|
|
978
977
|
|
|
979
978
|
def layer_add(
|
|
980
979
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
981
|
-
execution_context:
|
|
980
|
+
execution_context: str = None,
|
|
982
981
|
undo: bool = None,
|
|
983
982
|
layer: typing.Any = 0,
|
|
984
983
|
new_layer_name: typing.Union[str, typing.Any] = "",
|
|
@@ -986,7 +985,7 @@ def layer_add(
|
|
|
986
985
|
"""Add new layer or note for the active data-block
|
|
987
986
|
|
|
988
987
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
989
|
-
:type execution_context:
|
|
988
|
+
:type execution_context: str
|
|
990
989
|
:type undo: bool
|
|
991
990
|
:param layer: Grease Pencil Layer
|
|
992
991
|
:type layer: typing.Any
|
|
@@ -998,13 +997,13 @@ def layer_add(
|
|
|
998
997
|
|
|
999
998
|
def layer_annotation_add(
|
|
1000
999
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1001
|
-
execution_context:
|
|
1000
|
+
execution_context: str = None,
|
|
1002
1001
|
undo: bool = None,
|
|
1003
1002
|
):
|
|
1004
1003
|
"""Add new Annotation layer or note for the active data-block
|
|
1005
1004
|
|
|
1006
1005
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1007
|
-
:type execution_context:
|
|
1006
|
+
:type execution_context: str
|
|
1008
1007
|
:type undo: bool
|
|
1009
1008
|
"""
|
|
1010
1009
|
|
|
@@ -1012,14 +1011,14 @@ def layer_annotation_add(
|
|
|
1012
1011
|
|
|
1013
1012
|
def layer_annotation_move(
|
|
1014
1013
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1015
|
-
execution_context:
|
|
1014
|
+
execution_context: str = None,
|
|
1016
1015
|
undo: bool = None,
|
|
1017
1016
|
type: typing.Any = "UP",
|
|
1018
1017
|
):
|
|
1019
1018
|
"""Move the active Annotation layer up/down in the list
|
|
1020
1019
|
|
|
1021
1020
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1022
|
-
:type execution_context:
|
|
1021
|
+
:type execution_context: str
|
|
1023
1022
|
:type undo: bool
|
|
1024
1023
|
:param type: Type
|
|
1025
1024
|
:type type: typing.Any
|
|
@@ -1029,13 +1028,13 @@ def layer_annotation_move(
|
|
|
1029
1028
|
|
|
1030
1029
|
def layer_annotation_remove(
|
|
1031
1030
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1032
|
-
execution_context:
|
|
1031
|
+
execution_context: str = None,
|
|
1033
1032
|
undo: bool = None,
|
|
1034
1033
|
):
|
|
1035
1034
|
"""Remove active Annotation layer
|
|
1036
1035
|
|
|
1037
1036
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1038
|
-
:type execution_context:
|
|
1037
|
+
:type execution_context: str
|
|
1039
1038
|
:type undo: bool
|
|
1040
1039
|
"""
|
|
1041
1040
|
|
|
@@ -1043,14 +1042,14 @@ def layer_annotation_remove(
|
|
|
1043
1042
|
|
|
1044
1043
|
def layer_change(
|
|
1045
1044
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1046
|
-
execution_context:
|
|
1045
|
+
execution_context: str = None,
|
|
1047
1046
|
undo: bool = None,
|
|
1048
1047
|
layer: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
1049
1048
|
):
|
|
1050
1049
|
"""Change active Grease Pencil layer
|
|
1051
1050
|
|
|
1052
1051
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1053
|
-
:type execution_context:
|
|
1052
|
+
:type execution_context: str
|
|
1054
1053
|
:type undo: bool
|
|
1055
1054
|
:param layer: Grease Pencil Layer
|
|
1056
1055
|
:type layer: typing.Union[str, int, typing.Any]
|
|
@@ -1060,14 +1059,14 @@ def layer_change(
|
|
|
1060
1059
|
|
|
1061
1060
|
def layer_duplicate(
|
|
1062
1061
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1063
|
-
execution_context:
|
|
1062
|
+
execution_context: str = None,
|
|
1064
1063
|
undo: bool = None,
|
|
1065
1064
|
mode: typing.Any = "ALL",
|
|
1066
1065
|
):
|
|
1067
1066
|
"""Make a copy of the active Grease Pencil layer
|
|
1068
1067
|
|
|
1069
1068
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1070
|
-
:type execution_context:
|
|
1069
|
+
:type execution_context: str
|
|
1071
1070
|
:type undo: bool
|
|
1072
1071
|
:param mode: Mode
|
|
1073
1072
|
:type mode: typing.Any
|
|
@@ -1077,7 +1076,7 @@ def layer_duplicate(
|
|
|
1077
1076
|
|
|
1078
1077
|
def layer_duplicate_object(
|
|
1079
1078
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1080
|
-
execution_context:
|
|
1079
|
+
execution_context: str = None,
|
|
1081
1080
|
undo: bool = None,
|
|
1082
1081
|
mode: typing.Any = "ALL",
|
|
1083
1082
|
only_active: typing.Union[bool, typing.Any] = True,
|
|
@@ -1085,7 +1084,7 @@ def layer_duplicate_object(
|
|
|
1085
1084
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
1086
1085
|
|
|
1087
1086
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1088
|
-
:type execution_context:
|
|
1087
|
+
:type execution_context: str
|
|
1089
1088
|
:type undo: bool
|
|
1090
1089
|
:param mode: Mode
|
|
1091
1090
|
:type mode: typing.Any
|
|
@@ -1097,14 +1096,14 @@ def layer_duplicate_object(
|
|
|
1097
1096
|
|
|
1098
1097
|
def layer_isolate(
|
|
1099
1098
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1100
|
-
execution_context:
|
|
1099
|
+
execution_context: str = None,
|
|
1101
1100
|
undo: bool = None,
|
|
1102
1101
|
affect_visibility: typing.Union[bool, typing.Any] = False,
|
|
1103
1102
|
):
|
|
1104
1103
|
"""Toggle whether the active layer is the only one that can be edited and/or visible
|
|
1105
1104
|
|
|
1106
1105
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1107
|
-
:type execution_context:
|
|
1106
|
+
:type execution_context: str
|
|
1108
1107
|
:type undo: bool
|
|
1109
1108
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
1110
1109
|
:type affect_visibility: typing.Union[bool, typing.Any]
|
|
@@ -1114,14 +1113,14 @@ def layer_isolate(
|
|
|
1114
1113
|
|
|
1115
1114
|
def layer_mask_add(
|
|
1116
1115
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1117
|
-
execution_context:
|
|
1116
|
+
execution_context: str = None,
|
|
1118
1117
|
undo: bool = None,
|
|
1119
1118
|
name: typing.Union[str, typing.Any] = "",
|
|
1120
1119
|
):
|
|
1121
1120
|
"""Add new layer as masking
|
|
1122
1121
|
|
|
1123
1122
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1124
|
-
:type execution_context:
|
|
1123
|
+
:type execution_context: str
|
|
1125
1124
|
:type undo: bool
|
|
1126
1125
|
:param name: Layer, Name of the layer
|
|
1127
1126
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -1131,14 +1130,14 @@ def layer_mask_add(
|
|
|
1131
1130
|
|
|
1132
1131
|
def layer_mask_move(
|
|
1133
1132
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1134
|
-
execution_context:
|
|
1133
|
+
execution_context: str = None,
|
|
1135
1134
|
undo: bool = None,
|
|
1136
1135
|
type: typing.Any = "UP",
|
|
1137
1136
|
):
|
|
1138
1137
|
"""Move the active Grease Pencil mask layer up/down in the list
|
|
1139
1138
|
|
|
1140
1139
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1141
|
-
:type execution_context:
|
|
1140
|
+
:type execution_context: str
|
|
1142
1141
|
:type undo: bool
|
|
1143
1142
|
:param type: Type
|
|
1144
1143
|
:type type: typing.Any
|
|
@@ -1148,13 +1147,13 @@ def layer_mask_move(
|
|
|
1148
1147
|
|
|
1149
1148
|
def layer_mask_remove(
|
|
1150
1149
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1151
|
-
execution_context:
|
|
1150
|
+
execution_context: str = None,
|
|
1152
1151
|
undo: bool = None,
|
|
1153
1152
|
):
|
|
1154
1153
|
"""Remove Layer Mask
|
|
1155
1154
|
|
|
1156
1155
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1157
|
-
:type execution_context:
|
|
1156
|
+
:type execution_context: str
|
|
1158
1157
|
:type undo: bool
|
|
1159
1158
|
"""
|
|
1160
1159
|
|
|
@@ -1162,14 +1161,14 @@ def layer_mask_remove(
|
|
|
1162
1161
|
|
|
1163
1162
|
def layer_merge(
|
|
1164
1163
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1165
|
-
execution_context:
|
|
1164
|
+
execution_context: str = None,
|
|
1166
1165
|
undo: bool = None,
|
|
1167
1166
|
mode: typing.Any = "ACTIVE",
|
|
1168
1167
|
):
|
|
1169
1168
|
"""Combine Layers
|
|
1170
1169
|
|
|
1171
1170
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1172
|
-
:type execution_context:
|
|
1171
|
+
:type execution_context: str
|
|
1173
1172
|
:type undo: bool
|
|
1174
1173
|
:param mode: Mode
|
|
1175
1174
|
|
|
@@ -1185,14 +1184,14 @@ def layer_merge(
|
|
|
1185
1184
|
|
|
1186
1185
|
def layer_move(
|
|
1187
1186
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1188
|
-
execution_context:
|
|
1187
|
+
execution_context: str = None,
|
|
1189
1188
|
undo: bool = None,
|
|
1190
1189
|
type: typing.Any = "UP",
|
|
1191
1190
|
):
|
|
1192
1191
|
"""Move the active Grease Pencil layer up/down in the list
|
|
1193
1192
|
|
|
1194
1193
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1195
|
-
:type execution_context:
|
|
1194
|
+
:type execution_context: str
|
|
1196
1195
|
:type undo: bool
|
|
1197
1196
|
:param type: Type
|
|
1198
1197
|
:type type: typing.Any
|
|
@@ -1202,13 +1201,13 @@ def layer_move(
|
|
|
1202
1201
|
|
|
1203
1202
|
def layer_remove(
|
|
1204
1203
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1205
|
-
execution_context:
|
|
1204
|
+
execution_context: str = None,
|
|
1206
1205
|
undo: bool = None,
|
|
1207
1206
|
):
|
|
1208
1207
|
"""Remove active Grease Pencil layer
|
|
1209
1208
|
|
|
1210
1209
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1211
|
-
:type execution_context:
|
|
1210
|
+
:type execution_context: str
|
|
1212
1211
|
:type undo: bool
|
|
1213
1212
|
"""
|
|
1214
1213
|
|
|
@@ -1216,13 +1215,13 @@ def layer_remove(
|
|
|
1216
1215
|
|
|
1217
1216
|
def lock_all(
|
|
1218
1217
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1219
|
-
execution_context:
|
|
1218
|
+
execution_context: str = None,
|
|
1220
1219
|
undo: bool = None,
|
|
1221
1220
|
):
|
|
1222
1221
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
1223
1222
|
|
|
1224
1223
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1225
|
-
:type execution_context:
|
|
1224
|
+
:type execution_context: str
|
|
1226
1225
|
:type undo: bool
|
|
1227
1226
|
"""
|
|
1228
1227
|
|
|
@@ -1230,13 +1229,13 @@ def lock_all(
|
|
|
1230
1229
|
|
|
1231
1230
|
def lock_layer(
|
|
1232
1231
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1233
|
-
execution_context:
|
|
1232
|
+
execution_context: str = None,
|
|
1234
1233
|
undo: bool = None,
|
|
1235
1234
|
):
|
|
1236
1235
|
"""Lock and hide any color not used in any layer
|
|
1237
1236
|
|
|
1238
1237
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1239
|
-
:type execution_context:
|
|
1238
|
+
:type execution_context: str
|
|
1240
1239
|
:type undo: bool
|
|
1241
1240
|
"""
|
|
1242
1241
|
|
|
@@ -1244,14 +1243,14 @@ def lock_layer(
|
|
|
1244
1243
|
|
|
1245
1244
|
def material_hide(
|
|
1246
1245
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1247
|
-
execution_context:
|
|
1246
|
+
execution_context: str = None,
|
|
1248
1247
|
undo: bool = None,
|
|
1249
1248
|
unselected: typing.Union[bool, typing.Any] = False,
|
|
1250
1249
|
):
|
|
1251
1250
|
"""Hide selected/unselected Grease Pencil materials
|
|
1252
1251
|
|
|
1253
1252
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1254
|
-
:type execution_context:
|
|
1253
|
+
:type execution_context: str
|
|
1255
1254
|
:type undo: bool
|
|
1256
1255
|
:param unselected: Unselected, Hide unselected rather than selected colors
|
|
1257
1256
|
:type unselected: typing.Union[bool, typing.Any]
|
|
@@ -1261,14 +1260,14 @@ def material_hide(
|
|
|
1261
1260
|
|
|
1262
1261
|
def material_isolate(
|
|
1263
1262
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1264
|
-
execution_context:
|
|
1263
|
+
execution_context: str = None,
|
|
1265
1264
|
undo: bool = None,
|
|
1266
1265
|
affect_visibility: typing.Union[bool, typing.Any] = False,
|
|
1267
1266
|
):
|
|
1268
1267
|
"""Toggle whether the active material is the only one that is editable and/or visible
|
|
1269
1268
|
|
|
1270
1269
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1271
|
-
:type execution_context:
|
|
1270
|
+
:type execution_context: str
|
|
1272
1271
|
:type undo: bool
|
|
1273
1272
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
1274
1273
|
:type affect_visibility: typing.Union[bool, typing.Any]
|
|
@@ -1278,13 +1277,13 @@ def material_isolate(
|
|
|
1278
1277
|
|
|
1279
1278
|
def material_lock_all(
|
|
1280
1279
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1281
|
-
execution_context:
|
|
1280
|
+
execution_context: str = None,
|
|
1282
1281
|
undo: bool = None,
|
|
1283
1282
|
):
|
|
1284
1283
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
1285
1284
|
|
|
1286
1285
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1287
|
-
:type execution_context:
|
|
1286
|
+
:type execution_context: str
|
|
1288
1287
|
:type undo: bool
|
|
1289
1288
|
"""
|
|
1290
1289
|
|
|
@@ -1292,13 +1291,13 @@ def material_lock_all(
|
|
|
1292
1291
|
|
|
1293
1292
|
def material_lock_unused(
|
|
1294
1293
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1295
|
-
execution_context:
|
|
1294
|
+
execution_context: str = None,
|
|
1296
1295
|
undo: bool = None,
|
|
1297
1296
|
):
|
|
1298
1297
|
"""Lock any material not used in any selected stroke
|
|
1299
1298
|
|
|
1300
1299
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1301
|
-
:type execution_context:
|
|
1300
|
+
:type execution_context: str
|
|
1302
1301
|
:type undo: bool
|
|
1303
1302
|
"""
|
|
1304
1303
|
|
|
@@ -1306,13 +1305,13 @@ def material_lock_unused(
|
|
|
1306
1305
|
|
|
1307
1306
|
def material_reveal(
|
|
1308
1307
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1309
|
-
execution_context:
|
|
1308
|
+
execution_context: str = None,
|
|
1310
1309
|
undo: bool = None,
|
|
1311
1310
|
):
|
|
1312
1311
|
"""Unhide all hidden Grease Pencil materials
|
|
1313
1312
|
|
|
1314
1313
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1315
|
-
:type execution_context:
|
|
1314
|
+
:type execution_context: str
|
|
1316
1315
|
:type undo: bool
|
|
1317
1316
|
"""
|
|
1318
1317
|
|
|
@@ -1320,14 +1319,14 @@ def material_reveal(
|
|
|
1320
1319
|
|
|
1321
1320
|
def material_select(
|
|
1322
1321
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1323
|
-
execution_context:
|
|
1322
|
+
execution_context: str = None,
|
|
1324
1323
|
undo: bool = None,
|
|
1325
1324
|
deselect: typing.Union[bool, typing.Any] = False,
|
|
1326
1325
|
):
|
|
1327
1326
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
1328
1327
|
|
|
1329
1328
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1330
|
-
:type execution_context:
|
|
1329
|
+
:type execution_context: str
|
|
1331
1330
|
:type undo: bool
|
|
1332
1331
|
:param deselect: Deselect, Unselect strokes
|
|
1333
1332
|
:type deselect: typing.Union[bool, typing.Any]
|
|
@@ -1337,14 +1336,14 @@ def material_select(
|
|
|
1337
1336
|
|
|
1338
1337
|
def material_set(
|
|
1339
1338
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1340
|
-
execution_context:
|
|
1339
|
+
execution_context: str = None,
|
|
1341
1340
|
undo: bool = None,
|
|
1342
1341
|
slot: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
1343
1342
|
):
|
|
1344
1343
|
"""Set active material
|
|
1345
1344
|
|
|
1346
1345
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1347
|
-
:type execution_context:
|
|
1346
|
+
:type execution_context: str
|
|
1348
1347
|
:type undo: bool
|
|
1349
1348
|
:param slot: Material Slot
|
|
1350
1349
|
:type slot: typing.Union[str, int, typing.Any]
|
|
@@ -1354,7 +1353,7 @@ def material_set(
|
|
|
1354
1353
|
|
|
1355
1354
|
def material_to_vertex_color(
|
|
1356
1355
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1357
|
-
execution_context:
|
|
1356
|
+
execution_context: str = None,
|
|
1358
1357
|
undo: bool = None,
|
|
1359
1358
|
remove: typing.Union[bool, typing.Any] = True,
|
|
1360
1359
|
palette: typing.Union[bool, typing.Any] = True,
|
|
@@ -1364,7 +1363,7 @@ def material_to_vertex_color(
|
|
|
1364
1363
|
"""Replace materials in strokes with Vertex Color
|
|
1365
1364
|
|
|
1366
1365
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1367
|
-
:type execution_context:
|
|
1366
|
+
:type execution_context: str
|
|
1368
1367
|
:type undo: bool
|
|
1369
1368
|
:param remove: Remove Unused Materials, Remove any unused material after the conversion
|
|
1370
1369
|
:type remove: typing.Union[bool, typing.Any]
|
|
@@ -1380,13 +1379,13 @@ def material_to_vertex_color(
|
|
|
1380
1379
|
|
|
1381
1380
|
def material_unlock_all(
|
|
1382
1381
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1383
|
-
execution_context:
|
|
1382
|
+
execution_context: str = None,
|
|
1384
1383
|
undo: bool = None,
|
|
1385
1384
|
):
|
|
1386
1385
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
1387
1386
|
|
|
1388
1387
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1389
|
-
:type execution_context:
|
|
1388
|
+
:type execution_context: str
|
|
1390
1389
|
:type undo: bool
|
|
1391
1390
|
"""
|
|
1392
1391
|
|
|
@@ -1394,14 +1393,14 @@ def material_unlock_all(
|
|
|
1394
1393
|
|
|
1395
1394
|
def materials_copy_to_object(
|
|
1396
1395
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1397
|
-
execution_context:
|
|
1396
|
+
execution_context: str = None,
|
|
1398
1397
|
undo: bool = None,
|
|
1399
1398
|
only_active: typing.Union[bool, typing.Any] = True,
|
|
1400
1399
|
):
|
|
1401
1400
|
"""Append Materials of the active Grease Pencil to other object
|
|
1402
1401
|
|
|
1403
1402
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1404
|
-
:type execution_context:
|
|
1403
|
+
:type execution_context: str
|
|
1405
1404
|
:type undo: bool
|
|
1406
1405
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
1407
1406
|
:type only_active: typing.Union[bool, typing.Any]
|
|
@@ -1411,7 +1410,7 @@ def materials_copy_to_object(
|
|
|
1411
1410
|
|
|
1412
1411
|
def move_to_layer(
|
|
1413
1412
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1414
|
-
execution_context:
|
|
1413
|
+
execution_context: str = None,
|
|
1415
1414
|
undo: bool = None,
|
|
1416
1415
|
layer: typing.Any = 0,
|
|
1417
1416
|
new_layer_name: typing.Union[str, typing.Any] = "",
|
|
@@ -1419,7 +1418,7 @@ def move_to_layer(
|
|
|
1419
1418
|
"""Move selected strokes to another layer
|
|
1420
1419
|
|
|
1421
1420
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1422
|
-
:type execution_context:
|
|
1421
|
+
:type execution_context: str
|
|
1423
1422
|
:type undo: bool
|
|
1424
1423
|
:param layer: Grease Pencil Layer
|
|
1425
1424
|
:type layer: typing.Any
|
|
@@ -1431,14 +1430,14 @@ def move_to_layer(
|
|
|
1431
1430
|
|
|
1432
1431
|
def paintmode_toggle(
|
|
1433
1432
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1434
|
-
execution_context:
|
|
1433
|
+
execution_context: str = None,
|
|
1435
1434
|
undo: bool = None,
|
|
1436
1435
|
back: typing.Union[bool, typing.Any] = False,
|
|
1437
1436
|
):
|
|
1438
1437
|
"""Enter/Exit paint mode for Grease Pencil strokes
|
|
1439
1438
|
|
|
1440
1439
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1441
|
-
:type execution_context:
|
|
1440
|
+
:type execution_context: str
|
|
1442
1441
|
:type undo: bool
|
|
1443
1442
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1444
1443
|
:type back: typing.Union[bool, typing.Any]
|
|
@@ -1448,7 +1447,7 @@ def paintmode_toggle(
|
|
|
1448
1447
|
|
|
1449
1448
|
def paste(
|
|
1450
1449
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1451
|
-
execution_context:
|
|
1450
|
+
execution_context: str = None,
|
|
1452
1451
|
undo: bool = None,
|
|
1453
1452
|
type: typing.Any = "ACTIVE",
|
|
1454
1453
|
paste_back: typing.Union[bool, typing.Any] = False,
|
|
@@ -1456,7 +1455,7 @@ def paste(
|
|
|
1456
1455
|
"""Paste previously copied strokes to active layer or to original layer
|
|
1457
1456
|
|
|
1458
1457
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1459
|
-
:type execution_context:
|
|
1458
|
+
:type execution_context: str
|
|
1460
1459
|
:type undo: bool
|
|
1461
1460
|
:param type: Type
|
|
1462
1461
|
:type type: typing.Any
|
|
@@ -1468,7 +1467,7 @@ def paste(
|
|
|
1468
1467
|
|
|
1469
1468
|
def primitive_box(
|
|
1470
1469
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1471
|
-
execution_context:
|
|
1470
|
+
execution_context: str = None,
|
|
1472
1471
|
undo: bool = None,
|
|
1473
1472
|
subdivision: typing.Any = 3,
|
|
1474
1473
|
edges: typing.Any = 1,
|
|
@@ -1478,7 +1477,7 @@ def primitive_box(
|
|
|
1478
1477
|
"""Create predefined grease pencil stroke box shapes
|
|
1479
1478
|
|
|
1480
1479
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1481
|
-
:type execution_context:
|
|
1480
|
+
:type execution_context: str
|
|
1482
1481
|
:type undo: bool
|
|
1483
1482
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1484
1483
|
:type subdivision: typing.Any
|
|
@@ -1494,7 +1493,7 @@ def primitive_box(
|
|
|
1494
1493
|
|
|
1495
1494
|
def primitive_circle(
|
|
1496
1495
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1497
|
-
execution_context:
|
|
1496
|
+
execution_context: str = None,
|
|
1498
1497
|
undo: bool = None,
|
|
1499
1498
|
subdivision: typing.Any = 94,
|
|
1500
1499
|
edges: typing.Any = 1,
|
|
@@ -1504,7 +1503,7 @@ def primitive_circle(
|
|
|
1504
1503
|
"""Create predefined grease pencil stroke circle shapes
|
|
1505
1504
|
|
|
1506
1505
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1507
|
-
:type execution_context:
|
|
1506
|
+
:type execution_context: str
|
|
1508
1507
|
:type undo: bool
|
|
1509
1508
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1510
1509
|
:type subdivision: typing.Any
|
|
@@ -1520,7 +1519,7 @@ def primitive_circle(
|
|
|
1520
1519
|
|
|
1521
1520
|
def primitive_curve(
|
|
1522
1521
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1523
|
-
execution_context:
|
|
1522
|
+
execution_context: str = None,
|
|
1524
1523
|
undo: bool = None,
|
|
1525
1524
|
subdivision: typing.Any = 62,
|
|
1526
1525
|
edges: typing.Any = 1,
|
|
@@ -1530,7 +1529,7 @@ def primitive_curve(
|
|
|
1530
1529
|
"""Create predefined grease pencil stroke curve shapes
|
|
1531
1530
|
|
|
1532
1531
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1533
|
-
:type execution_context:
|
|
1532
|
+
:type execution_context: str
|
|
1534
1533
|
:type undo: bool
|
|
1535
1534
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1536
1535
|
:type subdivision: typing.Any
|
|
@@ -1546,7 +1545,7 @@ def primitive_curve(
|
|
|
1546
1545
|
|
|
1547
1546
|
def primitive_line(
|
|
1548
1547
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1549
|
-
execution_context:
|
|
1548
|
+
execution_context: str = None,
|
|
1550
1549
|
undo: bool = None,
|
|
1551
1550
|
subdivision: typing.Any = 6,
|
|
1552
1551
|
edges: typing.Any = 1,
|
|
@@ -1556,7 +1555,7 @@ def primitive_line(
|
|
|
1556
1555
|
"""Create predefined grease pencil stroke lines
|
|
1557
1556
|
|
|
1558
1557
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1559
|
-
:type execution_context:
|
|
1558
|
+
:type execution_context: str
|
|
1560
1559
|
:type undo: bool
|
|
1561
1560
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1562
1561
|
:type subdivision: typing.Any
|
|
@@ -1572,7 +1571,7 @@ def primitive_line(
|
|
|
1572
1571
|
|
|
1573
1572
|
def primitive_polyline(
|
|
1574
1573
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1575
|
-
execution_context:
|
|
1574
|
+
execution_context: str = None,
|
|
1576
1575
|
undo: bool = None,
|
|
1577
1576
|
subdivision: typing.Any = 6,
|
|
1578
1577
|
edges: typing.Any = 1,
|
|
@@ -1582,7 +1581,7 @@ def primitive_polyline(
|
|
|
1582
1581
|
"""Create predefined grease pencil stroke polylines
|
|
1583
1582
|
|
|
1584
1583
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1585
|
-
:type execution_context:
|
|
1584
|
+
:type execution_context: str
|
|
1586
1585
|
:type undo: bool
|
|
1587
1586
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1588
1587
|
:type subdivision: typing.Any
|
|
@@ -1598,13 +1597,13 @@ def primitive_polyline(
|
|
|
1598
1597
|
|
|
1599
1598
|
def recalc_geometry(
|
|
1600
1599
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1601
|
-
execution_context:
|
|
1600
|
+
execution_context: str = None,
|
|
1602
1601
|
undo: bool = None,
|
|
1603
1602
|
):
|
|
1604
1603
|
"""Update all internal geometry data
|
|
1605
1604
|
|
|
1606
1605
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1607
|
-
:type execution_context:
|
|
1606
|
+
:type execution_context: str
|
|
1608
1607
|
:type undo: bool
|
|
1609
1608
|
"""
|
|
1610
1609
|
|
|
@@ -1612,7 +1611,7 @@ def recalc_geometry(
|
|
|
1612
1611
|
|
|
1613
1612
|
def reproject(
|
|
1614
1613
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1615
|
-
execution_context:
|
|
1614
|
+
execution_context: str = None,
|
|
1616
1615
|
undo: bool = None,
|
|
1617
1616
|
type: typing.Any = "VIEW",
|
|
1618
1617
|
keep_original: typing.Union[bool, typing.Any] = False,
|
|
@@ -1621,7 +1620,7 @@ def reproject(
|
|
|
1621
1620
|
"""Reproject the selected strokes from the current viewpoint as if they had been newly drawn (e.g. to fix problems from accidental 3D cursor movement or accidental viewport changes, or for matching deforming geometry)
|
|
1622
1621
|
|
|
1623
1622
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1624
|
-
:type execution_context:
|
|
1623
|
+
:type execution_context: str
|
|
1625
1624
|
:type undo: bool
|
|
1626
1625
|
:param type: Projection Type
|
|
1627
1626
|
|
|
@@ -1653,14 +1652,14 @@ def reproject(
|
|
|
1653
1652
|
|
|
1654
1653
|
def reset_transform_fill(
|
|
1655
1654
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1656
|
-
execution_context:
|
|
1655
|
+
execution_context: str = None,
|
|
1657
1656
|
undo: bool = None,
|
|
1658
1657
|
mode: typing.Any = "ALL",
|
|
1659
1658
|
):
|
|
1660
1659
|
"""Reset any UV transformation and back to default values
|
|
1661
1660
|
|
|
1662
1661
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1663
|
-
:type execution_context:
|
|
1662
|
+
:type execution_context: str
|
|
1664
1663
|
:type undo: bool
|
|
1665
1664
|
:param mode: Mode
|
|
1666
1665
|
:type mode: typing.Any
|
|
@@ -1670,14 +1669,14 @@ def reset_transform_fill(
|
|
|
1670
1669
|
|
|
1671
1670
|
def reveal(
|
|
1672
1671
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1673
|
-
execution_context:
|
|
1672
|
+
execution_context: str = None,
|
|
1674
1673
|
undo: bool = None,
|
|
1675
1674
|
select: typing.Union[bool, typing.Any] = True,
|
|
1676
1675
|
):
|
|
1677
1676
|
"""Show all Grease Pencil layers
|
|
1678
1677
|
|
|
1679
1678
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1680
|
-
:type execution_context:
|
|
1679
|
+
:type execution_context: str
|
|
1681
1680
|
:type undo: bool
|
|
1682
1681
|
:param select: Select
|
|
1683
1682
|
:type select: typing.Union[bool, typing.Any]
|
|
@@ -1687,7 +1686,7 @@ def reveal(
|
|
|
1687
1686
|
|
|
1688
1687
|
def sculpt_paint(
|
|
1689
1688
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1690
|
-
execution_context:
|
|
1689
|
+
execution_context: str = None,
|
|
1691
1690
|
undo: bool = None,
|
|
1692
1691
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
1693
1692
|
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
@@ -1695,7 +1694,7 @@ def sculpt_paint(
|
|
|
1695
1694
|
"""Apply tweaks to strokes by painting over the strokes
|
|
1696
1695
|
|
|
1697
1696
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1698
|
-
:type execution_context:
|
|
1697
|
+
:type execution_context: str
|
|
1699
1698
|
:type undo: bool
|
|
1700
1699
|
:param stroke: Stroke
|
|
1701
1700
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -1707,14 +1706,14 @@ def sculpt_paint(
|
|
|
1707
1706
|
|
|
1708
1707
|
def sculptmode_toggle(
|
|
1709
1708
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1710
|
-
execution_context:
|
|
1709
|
+
execution_context: str = None,
|
|
1711
1710
|
undo: bool = None,
|
|
1712
1711
|
back: typing.Union[bool, typing.Any] = False,
|
|
1713
1712
|
):
|
|
1714
1713
|
"""Enter/Exit sculpt mode for Grease Pencil strokes
|
|
1715
1714
|
|
|
1716
1715
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1717
|
-
:type execution_context:
|
|
1716
|
+
:type execution_context: str
|
|
1718
1717
|
:type undo: bool
|
|
1719
1718
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1720
1719
|
:type back: typing.Union[bool, typing.Any]
|
|
@@ -1724,14 +1723,14 @@ def sculptmode_toggle(
|
|
|
1724
1723
|
|
|
1725
1724
|
def segment_add(
|
|
1726
1725
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1727
|
-
execution_context:
|
|
1726
|
+
execution_context: str = None,
|
|
1728
1727
|
undo: bool = None,
|
|
1729
1728
|
modifier: typing.Union[str, typing.Any] = "",
|
|
1730
1729
|
):
|
|
1731
1730
|
"""Add a segment to the dash modifier
|
|
1732
1731
|
|
|
1733
1732
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1734
|
-
:type execution_context:
|
|
1733
|
+
:type execution_context: str
|
|
1735
1734
|
:type undo: bool
|
|
1736
1735
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1737
1736
|
:type modifier: typing.Union[str, typing.Any]
|
|
@@ -1741,7 +1740,7 @@ def segment_add(
|
|
|
1741
1740
|
|
|
1742
1741
|
def segment_move(
|
|
1743
1742
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1744
|
-
execution_context:
|
|
1743
|
+
execution_context: str = None,
|
|
1745
1744
|
undo: bool = None,
|
|
1746
1745
|
modifier: typing.Union[str, typing.Any] = "",
|
|
1747
1746
|
type: typing.Any = "UP",
|
|
@@ -1749,7 +1748,7 @@ def segment_move(
|
|
|
1749
1748
|
"""Move the active dash segment up or down
|
|
1750
1749
|
|
|
1751
1750
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1752
|
-
:type execution_context:
|
|
1751
|
+
:type execution_context: str
|
|
1753
1752
|
:type undo: bool
|
|
1754
1753
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1755
1754
|
:type modifier: typing.Union[str, typing.Any]
|
|
@@ -1761,7 +1760,7 @@ def segment_move(
|
|
|
1761
1760
|
|
|
1762
1761
|
def segment_remove(
|
|
1763
1762
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1764
|
-
execution_context:
|
|
1763
|
+
execution_context: str = None,
|
|
1765
1764
|
undo: bool = None,
|
|
1766
1765
|
modifier: typing.Union[str, typing.Any] = "",
|
|
1767
1766
|
index: typing.Any = 0,
|
|
@@ -1769,7 +1768,7 @@ def segment_remove(
|
|
|
1769
1768
|
"""Remove the active segment from the dash modifier
|
|
1770
1769
|
|
|
1771
1770
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1772
|
-
:type execution_context:
|
|
1771
|
+
:type execution_context: str
|
|
1773
1772
|
:type undo: bool
|
|
1774
1773
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1775
1774
|
:type modifier: typing.Union[str, typing.Any]
|
|
@@ -1781,7 +1780,7 @@ def segment_remove(
|
|
|
1781
1780
|
|
|
1782
1781
|
def select(
|
|
1783
1782
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1784
|
-
execution_context:
|
|
1783
|
+
execution_context: str = None,
|
|
1785
1784
|
undo: bool = None,
|
|
1786
1785
|
extend: typing.Union[bool, typing.Any] = False,
|
|
1787
1786
|
deselect: typing.Union[bool, typing.Any] = False,
|
|
@@ -1795,7 +1794,7 @@ def select(
|
|
|
1795
1794
|
"""Select Grease Pencil strokes and/or stroke points
|
|
1796
1795
|
|
|
1797
1796
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1798
|
-
:type execution_context:
|
|
1797
|
+
:type execution_context: str
|
|
1799
1798
|
:type undo: bool
|
|
1800
1799
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
1801
1800
|
:type extend: typing.Union[bool, typing.Any]
|
|
@@ -1819,14 +1818,14 @@ def select(
|
|
|
1819
1818
|
|
|
1820
1819
|
def select_all(
|
|
1821
1820
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1822
|
-
execution_context:
|
|
1821
|
+
execution_context: str = None,
|
|
1823
1822
|
undo: bool = None,
|
|
1824
1823
|
action: typing.Any = "TOGGLE",
|
|
1825
1824
|
):
|
|
1826
1825
|
"""Change selection of all Grease Pencil strokes currently visible
|
|
1827
1826
|
|
|
1828
1827
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1829
|
-
:type execution_context:
|
|
1828
|
+
:type execution_context: str
|
|
1830
1829
|
:type undo: bool
|
|
1831
1830
|
:param action: Action, Selection action to execute
|
|
1832
1831
|
|
|
@@ -1848,14 +1847,14 @@ def select_all(
|
|
|
1848
1847
|
|
|
1849
1848
|
def select_alternate(
|
|
1850
1849
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1851
|
-
execution_context:
|
|
1850
|
+
execution_context: str = None,
|
|
1852
1851
|
undo: bool = None,
|
|
1853
1852
|
unselect_ends: typing.Union[bool, typing.Any] = False,
|
|
1854
1853
|
):
|
|
1855
1854
|
"""Select alternative points in same strokes as already selected points
|
|
1856
1855
|
|
|
1857
1856
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1858
|
-
:type execution_context:
|
|
1857
|
+
:type execution_context: str
|
|
1859
1858
|
:type undo: bool
|
|
1860
1859
|
:param unselect_ends: Unselect Ends, Do not select the first and last point of the stroke
|
|
1861
1860
|
:type unselect_ends: typing.Union[bool, typing.Any]
|
|
@@ -1865,7 +1864,7 @@ def select_alternate(
|
|
|
1865
1864
|
|
|
1866
1865
|
def select_box(
|
|
1867
1866
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1868
|
-
execution_context:
|
|
1867
|
+
execution_context: str = None,
|
|
1869
1868
|
undo: bool = None,
|
|
1870
1869
|
xmin: typing.Any = 0,
|
|
1871
1870
|
xmax: typing.Any = 0,
|
|
@@ -1877,7 +1876,7 @@ def select_box(
|
|
|
1877
1876
|
"""Select Grease Pencil strokes within a rectangular region
|
|
1878
1877
|
|
|
1879
1878
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1880
|
-
:type execution_context:
|
|
1879
|
+
:type execution_context: str
|
|
1881
1880
|
:type undo: bool
|
|
1882
1881
|
:param xmin: X Min
|
|
1883
1882
|
:type xmin: typing.Any
|
|
@@ -1912,7 +1911,7 @@ def select_box(
|
|
|
1912
1911
|
|
|
1913
1912
|
def select_circle(
|
|
1914
1913
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1915
|
-
execution_context:
|
|
1914
|
+
execution_context: str = None,
|
|
1916
1915
|
undo: bool = None,
|
|
1917
1916
|
x: typing.Any = 0,
|
|
1918
1917
|
y: typing.Any = 0,
|
|
@@ -1923,7 +1922,7 @@ def select_circle(
|
|
|
1923
1922
|
"""Select Grease Pencil strokes using brush selection
|
|
1924
1923
|
|
|
1925
1924
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1926
|
-
:type execution_context:
|
|
1925
|
+
:type execution_context: str
|
|
1927
1926
|
:type undo: bool
|
|
1928
1927
|
:param x: X
|
|
1929
1928
|
:type x: typing.Any
|
|
@@ -1950,7 +1949,7 @@ def select_circle(
|
|
|
1950
1949
|
|
|
1951
1950
|
def select_first(
|
|
1952
1951
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1953
|
-
execution_context:
|
|
1952
|
+
execution_context: str = None,
|
|
1954
1953
|
undo: bool = None,
|
|
1955
1954
|
only_selected_strokes: typing.Union[bool, typing.Any] = False,
|
|
1956
1955
|
extend: typing.Union[bool, typing.Any] = False,
|
|
@@ -1958,7 +1957,7 @@ def select_first(
|
|
|
1958
1957
|
"""Select first point in Grease Pencil strokes
|
|
1959
1958
|
|
|
1960
1959
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1961
|
-
:type execution_context:
|
|
1960
|
+
:type execution_context: str
|
|
1962
1961
|
:type undo: bool
|
|
1963
1962
|
:param only_selected_strokes: Selected Strokes Only, Only select the first point of strokes that already have points selected
|
|
1964
1963
|
:type only_selected_strokes: typing.Union[bool, typing.Any]
|
|
@@ -1970,14 +1969,14 @@ def select_first(
|
|
|
1970
1969
|
|
|
1971
1970
|
def select_grouped(
|
|
1972
1971
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1973
|
-
execution_context:
|
|
1972
|
+
execution_context: str = None,
|
|
1974
1973
|
undo: bool = None,
|
|
1975
1974
|
type: typing.Any = "LAYER",
|
|
1976
1975
|
):
|
|
1977
1976
|
"""Select all strokes with similar characteristics
|
|
1978
1977
|
|
|
1979
1978
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1980
|
-
:type execution_context:
|
|
1979
|
+
:type execution_context: str
|
|
1981
1980
|
:type undo: bool
|
|
1982
1981
|
:param type: Type
|
|
1983
1982
|
|
|
@@ -1993,7 +1992,7 @@ def select_grouped(
|
|
|
1993
1992
|
|
|
1994
1993
|
def select_lasso(
|
|
1995
1994
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1996
|
-
execution_context:
|
|
1995
|
+
execution_context: str = None,
|
|
1997
1996
|
undo: bool = None,
|
|
1998
1997
|
mode: typing.Any = "SET",
|
|
1999
1998
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
@@ -2001,7 +2000,7 @@ def select_lasso(
|
|
|
2001
2000
|
"""Select Grease Pencil strokes using lasso selection
|
|
2002
2001
|
|
|
2003
2002
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2004
|
-
:type execution_context:
|
|
2003
|
+
:type execution_context: str
|
|
2005
2004
|
:type undo: bool
|
|
2006
2005
|
:param mode: Mode
|
|
2007
2006
|
|
|
@@ -2028,7 +2027,7 @@ def select_lasso(
|
|
|
2028
2027
|
|
|
2029
2028
|
def select_last(
|
|
2030
2029
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2031
|
-
execution_context:
|
|
2030
|
+
execution_context: str = None,
|
|
2032
2031
|
undo: bool = None,
|
|
2033
2032
|
only_selected_strokes: typing.Union[bool, typing.Any] = False,
|
|
2034
2033
|
extend: typing.Union[bool, typing.Any] = False,
|
|
@@ -2036,7 +2035,7 @@ def select_last(
|
|
|
2036
2035
|
"""Select last point in Grease Pencil strokes
|
|
2037
2036
|
|
|
2038
2037
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2039
|
-
:type execution_context:
|
|
2038
|
+
:type execution_context: str
|
|
2040
2039
|
:type undo: bool
|
|
2041
2040
|
:param only_selected_strokes: Selected Strokes Only, Only select the last point of strokes that already have points selected
|
|
2042
2041
|
:type only_selected_strokes: typing.Union[bool, typing.Any]
|
|
@@ -2048,13 +2047,13 @@ def select_last(
|
|
|
2048
2047
|
|
|
2049
2048
|
def select_less(
|
|
2050
2049
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2051
|
-
execution_context:
|
|
2050
|
+
execution_context: str = None,
|
|
2052
2051
|
undo: bool = None,
|
|
2053
2052
|
):
|
|
2054
2053
|
"""Shrink sets of selected Grease Pencil points
|
|
2055
2054
|
|
|
2056
2055
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2057
|
-
:type execution_context:
|
|
2056
|
+
:type execution_context: str
|
|
2058
2057
|
:type undo: bool
|
|
2059
2058
|
"""
|
|
2060
2059
|
|
|
@@ -2062,13 +2061,13 @@ def select_less(
|
|
|
2062
2061
|
|
|
2063
2062
|
def select_linked(
|
|
2064
2063
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2065
|
-
execution_context:
|
|
2064
|
+
execution_context: str = None,
|
|
2066
2065
|
undo: bool = None,
|
|
2067
2066
|
):
|
|
2068
2067
|
"""Select all points in same strokes as already selected points
|
|
2069
2068
|
|
|
2070
2069
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2071
|
-
:type execution_context:
|
|
2070
|
+
:type execution_context: str
|
|
2072
2071
|
:type undo: bool
|
|
2073
2072
|
"""
|
|
2074
2073
|
|
|
@@ -2076,13 +2075,13 @@ def select_linked(
|
|
|
2076
2075
|
|
|
2077
2076
|
def select_more(
|
|
2078
2077
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2079
|
-
execution_context:
|
|
2078
|
+
execution_context: str = None,
|
|
2080
2079
|
undo: bool = None,
|
|
2081
2080
|
):
|
|
2082
2081
|
"""Grow sets of selected Grease Pencil points
|
|
2083
2082
|
|
|
2084
2083
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2085
|
-
:type execution_context:
|
|
2084
|
+
:type execution_context: str
|
|
2086
2085
|
:type undo: bool
|
|
2087
2086
|
"""
|
|
2088
2087
|
|
|
@@ -2090,7 +2089,7 @@ def select_more(
|
|
|
2090
2089
|
|
|
2091
2090
|
def select_random(
|
|
2092
2091
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2093
|
-
execution_context:
|
|
2092
|
+
execution_context: str = None,
|
|
2094
2093
|
undo: bool = None,
|
|
2095
2094
|
ratio: typing.Any = 0.5,
|
|
2096
2095
|
seed: typing.Any = 0,
|
|
@@ -2100,7 +2099,7 @@ def select_random(
|
|
|
2100
2099
|
"""Select random points for non selected strokes
|
|
2101
2100
|
|
|
2102
2101
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2103
|
-
:type execution_context:
|
|
2102
|
+
:type execution_context: str
|
|
2104
2103
|
:type undo: bool
|
|
2105
2104
|
:param ratio: Ratio, Portion of items to select randomly
|
|
2106
2105
|
:type ratio: typing.Any
|
|
@@ -2122,14 +2121,14 @@ def select_random(
|
|
|
2122
2121
|
|
|
2123
2122
|
def select_vertex_color(
|
|
2124
2123
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2125
|
-
execution_context:
|
|
2124
|
+
execution_context: str = None,
|
|
2126
2125
|
undo: bool = None,
|
|
2127
2126
|
threshold: typing.Any = 0,
|
|
2128
2127
|
):
|
|
2129
2128
|
"""Select all points with similar vertex color of current selected
|
|
2130
2129
|
|
|
2131
2130
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2132
|
-
:type execution_context:
|
|
2131
|
+
:type execution_context: str
|
|
2133
2132
|
:type undo: bool
|
|
2134
2133
|
:param threshold: Threshold, Tolerance of the selection. Higher values select a wider range of similar colors
|
|
2135
2134
|
:type threshold: typing.Any
|
|
@@ -2139,13 +2138,13 @@ def select_vertex_color(
|
|
|
2139
2138
|
|
|
2140
2139
|
def selection_opacity_toggle(
|
|
2141
2140
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2142
|
-
execution_context:
|
|
2141
|
+
execution_context: str = None,
|
|
2143
2142
|
undo: bool = None,
|
|
2144
2143
|
):
|
|
2145
2144
|
"""Hide/Unhide selected points for Grease Pencil strokes setting alpha factor
|
|
2146
2145
|
|
|
2147
2146
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2148
|
-
:type execution_context:
|
|
2147
|
+
:type execution_context: str
|
|
2149
2148
|
:type undo: bool
|
|
2150
2149
|
"""
|
|
2151
2150
|
|
|
@@ -2153,14 +2152,14 @@ def selection_opacity_toggle(
|
|
|
2153
2152
|
|
|
2154
2153
|
def selectmode_toggle(
|
|
2155
2154
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2156
|
-
execution_context:
|
|
2155
|
+
execution_context: str = None,
|
|
2157
2156
|
undo: bool = None,
|
|
2158
2157
|
mode: typing.Any = 0,
|
|
2159
2158
|
):
|
|
2160
2159
|
"""Set selection mode for Grease Pencil strokes
|
|
2161
2160
|
|
|
2162
2161
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2163
|
-
:type execution_context:
|
|
2162
|
+
:type execution_context: str
|
|
2164
2163
|
:type undo: bool
|
|
2165
2164
|
:param mode: Select Mode, Select mode
|
|
2166
2165
|
:type mode: typing.Any
|
|
@@ -2170,13 +2169,13 @@ def selectmode_toggle(
|
|
|
2170
2169
|
|
|
2171
2170
|
def set_active_material(
|
|
2172
2171
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2173
|
-
execution_context:
|
|
2172
|
+
execution_context: str = None,
|
|
2174
2173
|
undo: bool = None,
|
|
2175
2174
|
):
|
|
2176
2175
|
"""Set the selected stroke material as the active material
|
|
2177
2176
|
|
|
2178
2177
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2179
|
-
:type execution_context:
|
|
2178
|
+
:type execution_context: str
|
|
2180
2179
|
:type undo: bool
|
|
2181
2180
|
"""
|
|
2182
2181
|
|
|
@@ -2184,13 +2183,13 @@ def set_active_material(
|
|
|
2184
2183
|
|
|
2185
2184
|
def snap_cursor_to_selected(
|
|
2186
2185
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2187
|
-
execution_context:
|
|
2186
|
+
execution_context: str = None,
|
|
2188
2187
|
undo: bool = None,
|
|
2189
2188
|
):
|
|
2190
2189
|
"""Snap cursor to center of selected points
|
|
2191
2190
|
|
|
2192
2191
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2193
|
-
:type execution_context:
|
|
2192
|
+
:type execution_context: str
|
|
2194
2193
|
:type undo: bool
|
|
2195
2194
|
"""
|
|
2196
2195
|
|
|
@@ -2198,14 +2197,14 @@ def snap_cursor_to_selected(
|
|
|
2198
2197
|
|
|
2199
2198
|
def snap_to_cursor(
|
|
2200
2199
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2201
|
-
execution_context:
|
|
2200
|
+
execution_context: str = None,
|
|
2202
2201
|
undo: bool = None,
|
|
2203
2202
|
use_offset: typing.Union[bool, typing.Any] = True,
|
|
2204
2203
|
):
|
|
2205
2204
|
"""Snap selected points/strokes to the cursor
|
|
2206
2205
|
|
|
2207
2206
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2208
|
-
:type execution_context:
|
|
2207
|
+
:type execution_context: str
|
|
2209
2208
|
:type undo: bool
|
|
2210
2209
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
2211
2210
|
:type use_offset: typing.Union[bool, typing.Any]
|
|
@@ -2215,13 +2214,13 @@ def snap_to_cursor(
|
|
|
2215
2214
|
|
|
2216
2215
|
def snap_to_grid(
|
|
2217
2216
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2218
|
-
execution_context:
|
|
2217
|
+
execution_context: str = None,
|
|
2219
2218
|
undo: bool = None,
|
|
2220
2219
|
):
|
|
2221
2220
|
"""Snap selected points to the nearest grid points
|
|
2222
2221
|
|
|
2223
2222
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2224
|
-
:type execution_context:
|
|
2223
|
+
:type execution_context: str
|
|
2225
2224
|
:type undo: bool
|
|
2226
2225
|
"""
|
|
2227
2226
|
|
|
@@ -2229,13 +2228,13 @@ def snap_to_grid(
|
|
|
2229
2228
|
|
|
2230
2229
|
def stroke_apply_thickness(
|
|
2231
2230
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2232
|
-
execution_context:
|
|
2231
|
+
execution_context: str = None,
|
|
2233
2232
|
undo: bool = None,
|
|
2234
2233
|
):
|
|
2235
2234
|
"""Apply the thickness change of the layer to its strokes
|
|
2236
2235
|
|
|
2237
2236
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2238
|
-
:type execution_context:
|
|
2237
|
+
:type execution_context: str
|
|
2239
2238
|
:type undo: bool
|
|
2240
2239
|
"""
|
|
2241
2240
|
|
|
@@ -2243,14 +2242,14 @@ def stroke_apply_thickness(
|
|
|
2243
2242
|
|
|
2244
2243
|
def stroke_arrange(
|
|
2245
2244
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2246
|
-
execution_context:
|
|
2245
|
+
execution_context: str = None,
|
|
2247
2246
|
undo: bool = None,
|
|
2248
2247
|
direction: typing.Any = "UP",
|
|
2249
2248
|
):
|
|
2250
2249
|
"""Arrange selected strokes up/down in the display order of the active layer
|
|
2251
2250
|
|
|
2252
2251
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2253
|
-
:type execution_context:
|
|
2252
|
+
:type execution_context: str
|
|
2254
2253
|
:type undo: bool
|
|
2255
2254
|
:param direction: Direction
|
|
2256
2255
|
:type direction: typing.Any
|
|
@@ -2260,14 +2259,14 @@ def stroke_arrange(
|
|
|
2260
2259
|
|
|
2261
2260
|
def stroke_caps_set(
|
|
2262
2261
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2263
|
-
execution_context:
|
|
2262
|
+
execution_context: str = None,
|
|
2264
2263
|
undo: bool = None,
|
|
2265
2264
|
type: typing.Any = "TOGGLE",
|
|
2266
2265
|
):
|
|
2267
2266
|
"""Change stroke caps mode (rounded or flat)
|
|
2268
2267
|
|
|
2269
2268
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2270
|
-
:type execution_context:
|
|
2269
|
+
:type execution_context: str
|
|
2271
2270
|
:type undo: bool
|
|
2272
2271
|
:param type: Type
|
|
2273
2272
|
|
|
@@ -2289,14 +2288,14 @@ def stroke_caps_set(
|
|
|
2289
2288
|
|
|
2290
2289
|
def stroke_change_color(
|
|
2291
2290
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2292
|
-
execution_context:
|
|
2291
|
+
execution_context: str = None,
|
|
2293
2292
|
undo: bool = None,
|
|
2294
2293
|
material: typing.Union[str, typing.Any] = "",
|
|
2295
2294
|
):
|
|
2296
2295
|
"""Move selected strokes to active material
|
|
2297
2296
|
|
|
2298
2297
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2299
|
-
:type execution_context:
|
|
2298
|
+
:type execution_context: str
|
|
2300
2299
|
:type undo: bool
|
|
2301
2300
|
:param material: Material, Name of the material
|
|
2302
2301
|
:type material: typing.Union[str, typing.Any]
|
|
@@ -2306,7 +2305,7 @@ def stroke_change_color(
|
|
|
2306
2305
|
|
|
2307
2306
|
def stroke_cutter(
|
|
2308
2307
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2309
|
-
execution_context:
|
|
2308
|
+
execution_context: str = None,
|
|
2310
2309
|
undo: bool = None,
|
|
2311
2310
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
2312
2311
|
flat_caps: typing.Union[bool, typing.Any] = False,
|
|
@@ -2314,7 +2313,7 @@ def stroke_cutter(
|
|
|
2314
2313
|
"""Select section and cut
|
|
2315
2314
|
|
|
2316
2315
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2317
|
-
:type execution_context:
|
|
2316
|
+
:type execution_context: str
|
|
2318
2317
|
:type undo: bool
|
|
2319
2318
|
:param path: Path
|
|
2320
2319
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
@@ -2326,7 +2325,7 @@ def stroke_cutter(
|
|
|
2326
2325
|
|
|
2327
2326
|
def stroke_cyclical_set(
|
|
2328
2327
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2329
|
-
execution_context:
|
|
2328
|
+
execution_context: str = None,
|
|
2330
2329
|
undo: bool = None,
|
|
2331
2330
|
type: typing.Any = "TOGGLE",
|
|
2332
2331
|
geometry: typing.Union[bool, typing.Any] = False,
|
|
@@ -2334,7 +2333,7 @@ def stroke_cyclical_set(
|
|
|
2334
2333
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
2335
2334
|
|
|
2336
2335
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2337
|
-
:type execution_context:
|
|
2336
|
+
:type execution_context: str
|
|
2338
2337
|
:type undo: bool
|
|
2339
2338
|
:param type: Type
|
|
2340
2339
|
:type type: typing.Any
|
|
@@ -2346,14 +2345,14 @@ def stroke_cyclical_set(
|
|
|
2346
2345
|
|
|
2347
2346
|
def stroke_editcurve_set_handle_type(
|
|
2348
2347
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2349
|
-
execution_context:
|
|
2348
|
+
execution_context: str = None,
|
|
2350
2349
|
undo: bool = None,
|
|
2351
2350
|
type: typing.Any = "AUTOMATIC",
|
|
2352
2351
|
):
|
|
2353
2352
|
"""Set the type of an edit curve handle
|
|
2354
2353
|
|
|
2355
2354
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2356
|
-
:type execution_context:
|
|
2355
|
+
:type execution_context: str
|
|
2357
2356
|
:type undo: bool
|
|
2358
2357
|
:param type: Type, Spline type
|
|
2359
2358
|
:type type: typing.Any
|
|
@@ -2363,14 +2362,14 @@ def stroke_editcurve_set_handle_type(
|
|
|
2363
2362
|
|
|
2364
2363
|
def stroke_enter_editcurve_mode(
|
|
2365
2364
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2366
|
-
execution_context:
|
|
2365
|
+
execution_context: str = None,
|
|
2367
2366
|
undo: bool = None,
|
|
2368
2367
|
error_threshold: typing.Any = 0.1,
|
|
2369
2368
|
):
|
|
2370
2369
|
"""Called to transform a stroke into a curve
|
|
2371
2370
|
|
|
2372
2371
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2373
|
-
:type execution_context:
|
|
2372
|
+
:type execution_context: str
|
|
2374
2373
|
:type undo: bool
|
|
2375
2374
|
:param error_threshold: Error Threshold, Threshold on the maximum deviation from the actual stroke
|
|
2376
2375
|
:type error_threshold: typing.Any
|
|
@@ -2380,13 +2379,13 @@ def stroke_enter_editcurve_mode(
|
|
|
2380
2379
|
|
|
2381
2380
|
def stroke_flip(
|
|
2382
2381
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2383
|
-
execution_context:
|
|
2382
|
+
execution_context: str = None,
|
|
2384
2383
|
undo: bool = None,
|
|
2385
2384
|
):
|
|
2386
2385
|
"""Change direction of the points of the selected strokes
|
|
2387
2386
|
|
|
2388
2387
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2389
|
-
:type execution_context:
|
|
2388
|
+
:type execution_context: str
|
|
2390
2389
|
:type undo: bool
|
|
2391
2390
|
"""
|
|
2392
2391
|
|
|
@@ -2394,7 +2393,7 @@ def stroke_flip(
|
|
|
2394
2393
|
|
|
2395
2394
|
def stroke_join(
|
|
2396
2395
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2397
|
-
execution_context:
|
|
2396
|
+
execution_context: str = None,
|
|
2398
2397
|
undo: bool = None,
|
|
2399
2398
|
type: typing.Any = "JOIN",
|
|
2400
2399
|
leave_gaps: typing.Union[bool, typing.Any] = False,
|
|
@@ -2402,7 +2401,7 @@ def stroke_join(
|
|
|
2402
2401
|
"""Join selected strokes (optionally as new stroke)
|
|
2403
2402
|
|
|
2404
2403
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2405
|
-
:type execution_context:
|
|
2404
|
+
:type execution_context: str
|
|
2406
2405
|
:type undo: bool
|
|
2407
2406
|
:param type: Type
|
|
2408
2407
|
:type type: typing.Any
|
|
@@ -2414,7 +2413,7 @@ def stroke_join(
|
|
|
2414
2413
|
|
|
2415
2414
|
def stroke_merge(
|
|
2416
2415
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2417
|
-
execution_context:
|
|
2416
|
+
execution_context: str = None,
|
|
2418
2417
|
undo: bool = None,
|
|
2419
2418
|
mode: typing.Any = "STROKE",
|
|
2420
2419
|
back: typing.Union[bool, typing.Any] = False,
|
|
@@ -2426,7 +2425,7 @@ def stroke_merge(
|
|
|
2426
2425
|
"""Create a new stroke with the selected stroke points
|
|
2427
2426
|
|
|
2428
2427
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2429
|
-
:type execution_context:
|
|
2428
|
+
:type execution_context: str
|
|
2430
2429
|
:type undo: bool
|
|
2431
2430
|
:param mode: Mode
|
|
2432
2431
|
:type mode: typing.Any
|
|
@@ -2446,7 +2445,7 @@ def stroke_merge(
|
|
|
2446
2445
|
|
|
2447
2446
|
def stroke_merge_by_distance(
|
|
2448
2447
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2449
|
-
execution_context:
|
|
2448
|
+
execution_context: str = None,
|
|
2450
2449
|
undo: bool = None,
|
|
2451
2450
|
threshold: typing.Any = 0.001,
|
|
2452
2451
|
use_unselected: typing.Union[bool, typing.Any] = False,
|
|
@@ -2454,7 +2453,7 @@ def stroke_merge_by_distance(
|
|
|
2454
2453
|
"""Merge points by distance
|
|
2455
2454
|
|
|
2456
2455
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2457
|
-
:type execution_context:
|
|
2456
|
+
:type execution_context: str
|
|
2458
2457
|
:type undo: bool
|
|
2459
2458
|
:param threshold: Threshold
|
|
2460
2459
|
:type threshold: typing.Any
|
|
@@ -2466,7 +2465,7 @@ def stroke_merge_by_distance(
|
|
|
2466
2465
|
|
|
2467
2466
|
def stroke_merge_material(
|
|
2468
2467
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2469
|
-
execution_context:
|
|
2468
|
+
execution_context: str = None,
|
|
2470
2469
|
undo: bool = None,
|
|
2471
2470
|
hue_threshold: typing.Any = 0.001,
|
|
2472
2471
|
sat_threshold: typing.Any = 0.001,
|
|
@@ -2475,7 +2474,7 @@ def stroke_merge_material(
|
|
|
2475
2474
|
"""Replace materials in strokes merging similar
|
|
2476
2475
|
|
|
2477
2476
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2478
|
-
:type execution_context:
|
|
2477
|
+
:type execution_context: str
|
|
2479
2478
|
:type undo: bool
|
|
2480
2479
|
:param hue_threshold: Hue Threshold
|
|
2481
2480
|
:type hue_threshold: typing.Any
|
|
@@ -2489,7 +2488,7 @@ def stroke_merge_material(
|
|
|
2489
2488
|
|
|
2490
2489
|
def stroke_normalize(
|
|
2491
2490
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2492
|
-
execution_context:
|
|
2491
|
+
execution_context: str = None,
|
|
2493
2492
|
undo: bool = None,
|
|
2494
2493
|
mode: typing.Any = "THICKNESS",
|
|
2495
2494
|
factor: typing.Any = 1.0,
|
|
@@ -2498,7 +2497,7 @@ def stroke_normalize(
|
|
|
2498
2497
|
"""Normalize stroke attributes
|
|
2499
2498
|
|
|
2500
2499
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2501
|
-
:type execution_context:
|
|
2500
|
+
:type execution_context: str
|
|
2502
2501
|
:type undo: bool
|
|
2503
2502
|
:param mode: Mode, Attribute to be normalized
|
|
2504
2503
|
|
|
@@ -2518,7 +2517,7 @@ def stroke_normalize(
|
|
|
2518
2517
|
|
|
2519
2518
|
def stroke_outline(
|
|
2520
2519
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2521
|
-
execution_context:
|
|
2520
|
+
execution_context: str = None,
|
|
2522
2521
|
undo: bool = None,
|
|
2523
2522
|
view_mode: typing.Any = "VIEW",
|
|
2524
2523
|
material_mode: typing.Any = "ACTIVE",
|
|
@@ -2530,7 +2529,7 @@ def stroke_outline(
|
|
|
2530
2529
|
"""Convert stroke to perimeter
|
|
2531
2530
|
|
|
2532
2531
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2533
|
-
:type execution_context:
|
|
2532
|
+
:type execution_context: str
|
|
2534
2533
|
:type undo: bool
|
|
2535
2534
|
:param view_mode: View
|
|
2536
2535
|
:type view_mode: typing.Any
|
|
@@ -2559,14 +2558,14 @@ def stroke_outline(
|
|
|
2559
2558
|
|
|
2560
2559
|
def stroke_reset_vertex_color(
|
|
2561
2560
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2562
|
-
execution_context:
|
|
2561
|
+
execution_context: str = None,
|
|
2563
2562
|
undo: bool = None,
|
|
2564
2563
|
mode: typing.Any = "BOTH",
|
|
2565
2564
|
):
|
|
2566
2565
|
"""Reset vertex color for all or selected strokes
|
|
2567
2566
|
|
|
2568
2567
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2569
|
-
:type execution_context:
|
|
2568
|
+
:type execution_context: str
|
|
2570
2569
|
:type undo: bool
|
|
2571
2570
|
:param mode: Mode
|
|
2572
2571
|
|
|
@@ -2585,7 +2584,7 @@ def stroke_reset_vertex_color(
|
|
|
2585
2584
|
|
|
2586
2585
|
def stroke_sample(
|
|
2587
2586
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2588
|
-
execution_context:
|
|
2587
|
+
execution_context: str = None,
|
|
2589
2588
|
undo: bool = None,
|
|
2590
2589
|
length: typing.Any = 0.1,
|
|
2591
2590
|
sharp_threshold: typing.Any = 0.1,
|
|
@@ -2593,7 +2592,7 @@ def stroke_sample(
|
|
|
2593
2592
|
"""Sample stroke points to predefined segment length
|
|
2594
2593
|
|
|
2595
2594
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2596
|
-
:type execution_context:
|
|
2595
|
+
:type execution_context: str
|
|
2597
2596
|
:type undo: bool
|
|
2598
2597
|
:param length: Length
|
|
2599
2598
|
:type length: typing.Any
|
|
@@ -2605,14 +2604,14 @@ def stroke_sample(
|
|
|
2605
2604
|
|
|
2606
2605
|
def stroke_separate(
|
|
2607
2606
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2608
|
-
execution_context:
|
|
2607
|
+
execution_context: str = None,
|
|
2609
2608
|
undo: bool = None,
|
|
2610
2609
|
mode: typing.Any = "POINT",
|
|
2611
2610
|
):
|
|
2612
2611
|
"""Separate the selected strokes or layer in a new grease pencil object
|
|
2613
2612
|
|
|
2614
2613
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2615
|
-
:type execution_context:
|
|
2614
|
+
:type execution_context: str
|
|
2616
2615
|
:type undo: bool
|
|
2617
2616
|
:param mode: Mode
|
|
2618
2617
|
|
|
@@ -2631,14 +2630,14 @@ def stroke_separate(
|
|
|
2631
2630
|
|
|
2632
2631
|
def stroke_simplify(
|
|
2633
2632
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2634
|
-
execution_context:
|
|
2633
|
+
execution_context: str = None,
|
|
2635
2634
|
undo: bool = None,
|
|
2636
2635
|
factor: typing.Any = 0.0,
|
|
2637
2636
|
):
|
|
2638
2637
|
"""Simplify selected strokes, reducing number of points
|
|
2639
2638
|
|
|
2640
2639
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2641
|
-
:type execution_context:
|
|
2640
|
+
:type execution_context: str
|
|
2642
2641
|
:type undo: bool
|
|
2643
2642
|
:param factor: Factor
|
|
2644
2643
|
:type factor: typing.Any
|
|
@@ -2648,14 +2647,14 @@ def stroke_simplify(
|
|
|
2648
2647
|
|
|
2649
2648
|
def stroke_simplify_fixed(
|
|
2650
2649
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2651
|
-
execution_context:
|
|
2650
|
+
execution_context: str = None,
|
|
2652
2651
|
undo: bool = None,
|
|
2653
2652
|
step: typing.Any = 1,
|
|
2654
2653
|
):
|
|
2655
2654
|
"""Simplify selected strokes, reducing number of points using fixed algorithm
|
|
2656
2655
|
|
|
2657
2656
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2658
|
-
:type execution_context:
|
|
2657
|
+
:type execution_context: str
|
|
2659
2658
|
:type undo: bool
|
|
2660
2659
|
:param step: Steps, Number of simplify steps
|
|
2661
2660
|
:type step: typing.Any
|
|
@@ -2665,7 +2664,7 @@ def stroke_simplify_fixed(
|
|
|
2665
2664
|
|
|
2666
2665
|
def stroke_smooth(
|
|
2667
2666
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2668
|
-
execution_context:
|
|
2667
|
+
execution_context: str = None,
|
|
2669
2668
|
undo: bool = None,
|
|
2670
2669
|
repeat: typing.Any = 2,
|
|
2671
2670
|
factor: typing.Any = 1.0,
|
|
@@ -2678,7 +2677,7 @@ def stroke_smooth(
|
|
|
2678
2677
|
"""Smooth selected strokes
|
|
2679
2678
|
|
|
2680
2679
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2681
|
-
:type execution_context:
|
|
2680
|
+
:type execution_context: str
|
|
2682
2681
|
:type undo: bool
|
|
2683
2682
|
:param repeat: Repeat
|
|
2684
2683
|
:type repeat: typing.Any
|
|
@@ -2700,13 +2699,13 @@ def stroke_smooth(
|
|
|
2700
2699
|
|
|
2701
2700
|
def stroke_split(
|
|
2702
2701
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2703
|
-
execution_context:
|
|
2702
|
+
execution_context: str = None,
|
|
2704
2703
|
undo: bool = None,
|
|
2705
2704
|
):
|
|
2706
2705
|
"""Split selected points as new stroke on same frame
|
|
2707
2706
|
|
|
2708
2707
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2709
|
-
:type execution_context:
|
|
2708
|
+
:type execution_context: str
|
|
2710
2709
|
:type undo: bool
|
|
2711
2710
|
"""
|
|
2712
2711
|
|
|
@@ -2714,13 +2713,13 @@ def stroke_split(
|
|
|
2714
2713
|
|
|
2715
2714
|
def stroke_start_set(
|
|
2716
2715
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2717
|
-
execution_context:
|
|
2716
|
+
execution_context: str = None,
|
|
2718
2717
|
undo: bool = None,
|
|
2719
2718
|
):
|
|
2720
2719
|
"""Set start point for cyclic strokes
|
|
2721
2720
|
|
|
2722
2721
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2723
|
-
:type execution_context:
|
|
2722
|
+
:type execution_context: str
|
|
2724
2723
|
:type undo: bool
|
|
2725
2724
|
"""
|
|
2726
2725
|
|
|
@@ -2728,7 +2727,7 @@ def stroke_start_set(
|
|
|
2728
2727
|
|
|
2729
2728
|
def stroke_subdivide(
|
|
2730
2729
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2731
|
-
execution_context:
|
|
2730
|
+
execution_context: str = None,
|
|
2732
2731
|
undo: bool = None,
|
|
2733
2732
|
number_cuts: typing.Any = 1,
|
|
2734
2733
|
factor: typing.Any = 0.0,
|
|
@@ -2742,7 +2741,7 @@ def stroke_subdivide(
|
|
|
2742
2741
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
2743
2742
|
|
|
2744
2743
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2745
|
-
:type execution_context:
|
|
2744
|
+
:type execution_context: str
|
|
2746
2745
|
:type undo: bool
|
|
2747
2746
|
:param number_cuts: Number of Cuts
|
|
2748
2747
|
:type number_cuts: typing.Any
|
|
@@ -2766,13 +2765,13 @@ def stroke_subdivide(
|
|
|
2766
2765
|
|
|
2767
2766
|
def stroke_trim(
|
|
2768
2767
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2769
|
-
execution_context:
|
|
2768
|
+
execution_context: str = None,
|
|
2770
2769
|
undo: bool = None,
|
|
2771
2770
|
):
|
|
2772
2771
|
"""Trim selected stroke to first loop or intersection
|
|
2773
2772
|
|
|
2774
2773
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2775
|
-
:type execution_context:
|
|
2774
|
+
:type execution_context: str
|
|
2776
2775
|
:type undo: bool
|
|
2777
2776
|
"""
|
|
2778
2777
|
|
|
@@ -2780,14 +2779,14 @@ def stroke_trim(
|
|
|
2780
2779
|
|
|
2781
2780
|
def time_segment_add(
|
|
2782
2781
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2783
|
-
execution_context:
|
|
2782
|
+
execution_context: str = None,
|
|
2784
2783
|
undo: bool = None,
|
|
2785
2784
|
modifier: typing.Union[str, typing.Any] = "",
|
|
2786
2785
|
):
|
|
2787
2786
|
"""Add a segment to the time modifier
|
|
2788
2787
|
|
|
2789
2788
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2790
|
-
:type execution_context:
|
|
2789
|
+
:type execution_context: str
|
|
2791
2790
|
:type undo: bool
|
|
2792
2791
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2793
2792
|
:type modifier: typing.Union[str, typing.Any]
|
|
@@ -2797,7 +2796,7 @@ def time_segment_add(
|
|
|
2797
2796
|
|
|
2798
2797
|
def time_segment_move(
|
|
2799
2798
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2800
|
-
execution_context:
|
|
2799
|
+
execution_context: str = None,
|
|
2801
2800
|
undo: bool = None,
|
|
2802
2801
|
modifier: typing.Union[str, typing.Any] = "",
|
|
2803
2802
|
type: typing.Any = "UP",
|
|
@@ -2805,7 +2804,7 @@ def time_segment_move(
|
|
|
2805
2804
|
"""Move the active time segment up or down
|
|
2806
2805
|
|
|
2807
2806
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2808
|
-
:type execution_context:
|
|
2807
|
+
:type execution_context: str
|
|
2809
2808
|
:type undo: bool
|
|
2810
2809
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2811
2810
|
:type modifier: typing.Union[str, typing.Any]
|
|
@@ -2817,7 +2816,7 @@ def time_segment_move(
|
|
|
2817
2816
|
|
|
2818
2817
|
def time_segment_remove(
|
|
2819
2818
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2820
|
-
execution_context:
|
|
2819
|
+
execution_context: str = None,
|
|
2821
2820
|
undo: bool = None,
|
|
2822
2821
|
modifier: typing.Union[str, typing.Any] = "",
|
|
2823
2822
|
index: typing.Any = 0,
|
|
@@ -2825,7 +2824,7 @@ def time_segment_remove(
|
|
|
2825
2824
|
"""Remove the active segment from the time modifier
|
|
2826
2825
|
|
|
2827
2826
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2828
|
-
:type execution_context:
|
|
2827
|
+
:type execution_context: str
|
|
2829
2828
|
:type undo: bool
|
|
2830
2829
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2831
2830
|
:type modifier: typing.Union[str, typing.Any]
|
|
@@ -2837,13 +2836,13 @@ def time_segment_remove(
|
|
|
2837
2836
|
|
|
2838
2837
|
def tint_flip(
|
|
2839
2838
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2840
|
-
execution_context:
|
|
2839
|
+
execution_context: str = None,
|
|
2841
2840
|
undo: bool = None,
|
|
2842
2841
|
):
|
|
2843
2842
|
"""Switch tint colors
|
|
2844
2843
|
|
|
2845
2844
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2846
|
-
:type execution_context:
|
|
2845
|
+
:type execution_context: str
|
|
2847
2846
|
:type undo: bool
|
|
2848
2847
|
"""
|
|
2849
2848
|
|
|
@@ -2851,7 +2850,7 @@ def tint_flip(
|
|
|
2851
2850
|
|
|
2852
2851
|
def trace_image(
|
|
2853
2852
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2854
|
-
execution_context:
|
|
2853
|
+
execution_context: str = None,
|
|
2855
2854
|
undo: bool = None,
|
|
2856
2855
|
target: typing.Any = "NEW",
|
|
2857
2856
|
thickness: typing.Any = 10,
|
|
@@ -2867,7 +2866,7 @@ def trace_image(
|
|
|
2867
2866
|
"""Extract Grease Pencil strokes from image
|
|
2868
2867
|
|
|
2869
2868
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2870
|
-
:type execution_context:
|
|
2869
|
+
:type execution_context: str
|
|
2871
2870
|
:type undo: bool
|
|
2872
2871
|
:param target: Target Object, Target grease pencil
|
|
2873
2872
|
:type target: typing.Any
|
|
@@ -2922,7 +2921,7 @@ def trace_image(
|
|
|
2922
2921
|
|
|
2923
2922
|
def transform_fill(
|
|
2924
2923
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2925
|
-
execution_context:
|
|
2924
|
+
execution_context: str = None,
|
|
2926
2925
|
undo: bool = None,
|
|
2927
2926
|
mode: typing.Any = "ROTATE",
|
|
2928
2927
|
location: typing.Any = (0.0, 0.0),
|
|
@@ -2933,7 +2932,7 @@ def transform_fill(
|
|
|
2933
2932
|
"""Transform grease pencil stroke fill
|
|
2934
2933
|
|
|
2935
2934
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2936
|
-
:type execution_context:
|
|
2935
|
+
:type execution_context: str
|
|
2937
2936
|
:type undo: bool
|
|
2938
2937
|
:param mode: Mode
|
|
2939
2938
|
:type mode: typing.Any
|
|
@@ -2951,13 +2950,13 @@ def transform_fill(
|
|
|
2951
2950
|
|
|
2952
2951
|
def unlock_all(
|
|
2953
2952
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2954
|
-
execution_context:
|
|
2953
|
+
execution_context: str = None,
|
|
2955
2954
|
undo: bool = None,
|
|
2956
2955
|
):
|
|
2957
2956
|
"""Unlock all Grease Pencil layers so that they can be edited
|
|
2958
2957
|
|
|
2959
2958
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2960
|
-
:type execution_context:
|
|
2959
|
+
:type execution_context: str
|
|
2961
2960
|
:type undo: bool
|
|
2962
2961
|
"""
|
|
2963
2962
|
|
|
@@ -2965,7 +2964,7 @@ def unlock_all(
|
|
|
2965
2964
|
|
|
2966
2965
|
def vertex_color_brightness_contrast(
|
|
2967
2966
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2968
|
-
execution_context:
|
|
2967
|
+
execution_context: str = None,
|
|
2969
2968
|
undo: bool = None,
|
|
2970
2969
|
mode: typing.Any = "BOTH",
|
|
2971
2970
|
brightness: typing.Any = 0.0,
|
|
@@ -2974,7 +2973,7 @@ def vertex_color_brightness_contrast(
|
|
|
2974
2973
|
"""Adjust vertex color brightness/contrast
|
|
2975
2974
|
|
|
2976
2975
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2977
|
-
:type execution_context:
|
|
2976
|
+
:type execution_context: str
|
|
2978
2977
|
:type undo: bool
|
|
2979
2978
|
:param mode: Mode
|
|
2980
2979
|
:type mode: typing.Any
|
|
@@ -2988,7 +2987,7 @@ def vertex_color_brightness_contrast(
|
|
|
2988
2987
|
|
|
2989
2988
|
def vertex_color_hsv(
|
|
2990
2989
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2991
|
-
execution_context:
|
|
2990
|
+
execution_context: str = None,
|
|
2992
2991
|
undo: bool = None,
|
|
2993
2992
|
mode: typing.Any = "BOTH",
|
|
2994
2993
|
h: typing.Any = 0.5,
|
|
@@ -2998,7 +2997,7 @@ def vertex_color_hsv(
|
|
|
2998
2997
|
"""Adjust vertex color HSV values
|
|
2999
2998
|
|
|
3000
2999
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3001
|
-
:type execution_context:
|
|
3000
|
+
:type execution_context: str
|
|
3002
3001
|
:type undo: bool
|
|
3003
3002
|
:param mode: Mode
|
|
3004
3003
|
:type mode: typing.Any
|
|
@@ -3014,14 +3013,14 @@ def vertex_color_hsv(
|
|
|
3014
3013
|
|
|
3015
3014
|
def vertex_color_invert(
|
|
3016
3015
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3017
|
-
execution_context:
|
|
3016
|
+
execution_context: str = None,
|
|
3018
3017
|
undo: bool = None,
|
|
3019
3018
|
mode: typing.Any = "BOTH",
|
|
3020
3019
|
):
|
|
3021
3020
|
"""Invert RGB values
|
|
3022
3021
|
|
|
3023
3022
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3024
|
-
:type execution_context:
|
|
3023
|
+
:type execution_context: str
|
|
3025
3024
|
:type undo: bool
|
|
3026
3025
|
:param mode: Mode
|
|
3027
3026
|
:type mode: typing.Any
|
|
@@ -3031,7 +3030,7 @@ def vertex_color_invert(
|
|
|
3031
3030
|
|
|
3032
3031
|
def vertex_color_levels(
|
|
3033
3032
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3034
|
-
execution_context:
|
|
3033
|
+
execution_context: str = None,
|
|
3035
3034
|
undo: bool = None,
|
|
3036
3035
|
mode: typing.Any = "BOTH",
|
|
3037
3036
|
offset: typing.Any = 0.0,
|
|
@@ -3040,7 +3039,7 @@ def vertex_color_levels(
|
|
|
3040
3039
|
"""Adjust levels of vertex colors
|
|
3041
3040
|
|
|
3042
3041
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3043
|
-
:type execution_context:
|
|
3042
|
+
:type execution_context: str
|
|
3044
3043
|
:type undo: bool
|
|
3045
3044
|
:param mode: Mode
|
|
3046
3045
|
:type mode: typing.Any
|
|
@@ -3054,7 +3053,7 @@ def vertex_color_levels(
|
|
|
3054
3053
|
|
|
3055
3054
|
def vertex_color_set(
|
|
3056
3055
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3057
|
-
execution_context:
|
|
3056
|
+
execution_context: str = None,
|
|
3058
3057
|
undo: bool = None,
|
|
3059
3058
|
mode: typing.Any = "BOTH",
|
|
3060
3059
|
factor: typing.Any = 1.0,
|
|
@@ -3062,7 +3061,7 @@ def vertex_color_set(
|
|
|
3062
3061
|
"""Set active color to all selected vertex
|
|
3063
3062
|
|
|
3064
3063
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3065
|
-
:type execution_context:
|
|
3064
|
+
:type execution_context: str
|
|
3066
3065
|
:type undo: bool
|
|
3067
3066
|
:param mode: Mode
|
|
3068
3067
|
:type mode: typing.Any
|
|
@@ -3074,13 +3073,13 @@ def vertex_color_set(
|
|
|
3074
3073
|
|
|
3075
3074
|
def vertex_group_assign(
|
|
3076
3075
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3077
|
-
execution_context:
|
|
3076
|
+
execution_context: str = None,
|
|
3078
3077
|
undo: bool = None,
|
|
3079
3078
|
):
|
|
3080
3079
|
"""Assign the selected vertices to the active vertex group
|
|
3081
3080
|
|
|
3082
3081
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3083
|
-
:type execution_context:
|
|
3082
|
+
:type execution_context: str
|
|
3084
3083
|
:type undo: bool
|
|
3085
3084
|
"""
|
|
3086
3085
|
|
|
@@ -3088,13 +3087,13 @@ def vertex_group_assign(
|
|
|
3088
3087
|
|
|
3089
3088
|
def vertex_group_deselect(
|
|
3090
3089
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3091
|
-
execution_context:
|
|
3090
|
+
execution_context: str = None,
|
|
3092
3091
|
undo: bool = None,
|
|
3093
3092
|
):
|
|
3094
3093
|
"""Deselect all selected vertices assigned to the active vertex group
|
|
3095
3094
|
|
|
3096
3095
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3097
|
-
:type execution_context:
|
|
3096
|
+
:type execution_context: str
|
|
3098
3097
|
:type undo: bool
|
|
3099
3098
|
"""
|
|
3100
3099
|
|
|
@@ -3102,13 +3101,13 @@ def vertex_group_deselect(
|
|
|
3102
3101
|
|
|
3103
3102
|
def vertex_group_invert(
|
|
3104
3103
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3105
|
-
execution_context:
|
|
3104
|
+
execution_context: str = None,
|
|
3106
3105
|
undo: bool = None,
|
|
3107
3106
|
):
|
|
3108
3107
|
"""Invert weights to the active vertex group
|
|
3109
3108
|
|
|
3110
3109
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3111
|
-
:type execution_context:
|
|
3110
|
+
:type execution_context: str
|
|
3112
3111
|
:type undo: bool
|
|
3113
3112
|
"""
|
|
3114
3113
|
|
|
@@ -3116,13 +3115,13 @@ def vertex_group_invert(
|
|
|
3116
3115
|
|
|
3117
3116
|
def vertex_group_normalize(
|
|
3118
3117
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3119
|
-
execution_context:
|
|
3118
|
+
execution_context: str = None,
|
|
3120
3119
|
undo: bool = None,
|
|
3121
3120
|
):
|
|
3122
3121
|
"""Normalize weights to the active vertex group
|
|
3123
3122
|
|
|
3124
3123
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3125
|
-
:type execution_context:
|
|
3124
|
+
:type execution_context: str
|
|
3126
3125
|
:type undo: bool
|
|
3127
3126
|
"""
|
|
3128
3127
|
|
|
@@ -3130,14 +3129,14 @@ def vertex_group_normalize(
|
|
|
3130
3129
|
|
|
3131
3130
|
def vertex_group_normalize_all(
|
|
3132
3131
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3133
|
-
execution_context:
|
|
3132
|
+
execution_context: str = None,
|
|
3134
3133
|
undo: bool = None,
|
|
3135
3134
|
lock_active: typing.Union[bool, typing.Any] = True,
|
|
3136
3135
|
):
|
|
3137
3136
|
"""Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
3138
3137
|
|
|
3139
3138
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3140
|
-
:type execution_context:
|
|
3139
|
+
:type execution_context: str
|
|
3141
3140
|
:type undo: bool
|
|
3142
3141
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
3143
3142
|
:type lock_active: typing.Union[bool, typing.Any]
|
|
@@ -3147,13 +3146,13 @@ def vertex_group_normalize_all(
|
|
|
3147
3146
|
|
|
3148
3147
|
def vertex_group_remove_from(
|
|
3149
3148
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3150
|
-
execution_context:
|
|
3149
|
+
execution_context: str = None,
|
|
3151
3150
|
undo: bool = None,
|
|
3152
3151
|
):
|
|
3153
3152
|
"""Remove the selected vertices from active or all vertex group(s)
|
|
3154
3153
|
|
|
3155
3154
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3156
|
-
:type execution_context:
|
|
3155
|
+
:type execution_context: str
|
|
3157
3156
|
:type undo: bool
|
|
3158
3157
|
"""
|
|
3159
3158
|
|
|
@@ -3161,13 +3160,13 @@ def vertex_group_remove_from(
|
|
|
3161
3160
|
|
|
3162
3161
|
def vertex_group_select(
|
|
3163
3162
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3164
|
-
execution_context:
|
|
3163
|
+
execution_context: str = None,
|
|
3165
3164
|
undo: bool = None,
|
|
3166
3165
|
):
|
|
3167
3166
|
"""Select all the vertices assigned to the active vertex group
|
|
3168
3167
|
|
|
3169
3168
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3170
|
-
:type execution_context:
|
|
3169
|
+
:type execution_context: str
|
|
3171
3170
|
:type undo: bool
|
|
3172
3171
|
"""
|
|
3173
3172
|
|
|
@@ -3175,7 +3174,7 @@ def vertex_group_select(
|
|
|
3175
3174
|
|
|
3176
3175
|
def vertex_group_smooth(
|
|
3177
3176
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3178
|
-
execution_context:
|
|
3177
|
+
execution_context: str = None,
|
|
3179
3178
|
undo: bool = None,
|
|
3180
3179
|
factor: typing.Any = 0.5,
|
|
3181
3180
|
repeat: typing.Any = 1,
|
|
@@ -3183,7 +3182,7 @@ def vertex_group_smooth(
|
|
|
3183
3182
|
"""Smooth weights to the active vertex group
|
|
3184
3183
|
|
|
3185
3184
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3186
|
-
:type execution_context:
|
|
3185
|
+
:type execution_context: str
|
|
3187
3186
|
:type undo: bool
|
|
3188
3187
|
:param factor: Factor
|
|
3189
3188
|
:type factor: typing.Any
|
|
@@ -3195,7 +3194,7 @@ def vertex_group_smooth(
|
|
|
3195
3194
|
|
|
3196
3195
|
def vertex_paint(
|
|
3197
3196
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3198
|
-
execution_context:
|
|
3197
|
+
execution_context: str = None,
|
|
3199
3198
|
undo: bool = None,
|
|
3200
3199
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
3201
3200
|
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
@@ -3203,7 +3202,7 @@ def vertex_paint(
|
|
|
3203
3202
|
"""Paint stroke points with a color
|
|
3204
3203
|
|
|
3205
3204
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3206
|
-
:type execution_context:
|
|
3205
|
+
:type execution_context: str
|
|
3207
3206
|
:type undo: bool
|
|
3208
3207
|
:param stroke: Stroke
|
|
3209
3208
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -3215,14 +3214,14 @@ def vertex_paint(
|
|
|
3215
3214
|
|
|
3216
3215
|
def vertexmode_toggle(
|
|
3217
3216
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3218
|
-
execution_context:
|
|
3217
|
+
execution_context: str = None,
|
|
3219
3218
|
undo: bool = None,
|
|
3220
3219
|
back: typing.Union[bool, typing.Any] = False,
|
|
3221
3220
|
):
|
|
3222
3221
|
"""Enter/Exit vertex paint mode for Grease Pencil strokes
|
|
3223
3222
|
|
|
3224
3223
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3225
|
-
:type execution_context:
|
|
3224
|
+
:type execution_context: str
|
|
3226
3225
|
:type undo: bool
|
|
3227
3226
|
:param back: Return to Previous Mode, Return to previous mode
|
|
3228
3227
|
:type back: typing.Union[bool, typing.Any]
|
|
@@ -3232,7 +3231,7 @@ def vertexmode_toggle(
|
|
|
3232
3231
|
|
|
3233
3232
|
def weight_paint(
|
|
3234
3233
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3235
|
-
execution_context:
|
|
3234
|
+
execution_context: str = None,
|
|
3236
3235
|
undo: bool = None,
|
|
3237
3236
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
3238
3237
|
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
@@ -3240,7 +3239,7 @@ def weight_paint(
|
|
|
3240
3239
|
"""Draw weight on stroke points
|
|
3241
3240
|
|
|
3242
3241
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3243
|
-
:type execution_context:
|
|
3242
|
+
:type execution_context: str
|
|
3244
3243
|
:type undo: bool
|
|
3245
3244
|
:param stroke: Stroke
|
|
3246
3245
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -3252,13 +3251,13 @@ def weight_paint(
|
|
|
3252
3251
|
|
|
3253
3252
|
def weight_sample(
|
|
3254
3253
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3255
|
-
execution_context:
|
|
3254
|
+
execution_context: str = None,
|
|
3256
3255
|
undo: bool = None,
|
|
3257
3256
|
):
|
|
3258
3257
|
"""Use the mouse to sample a weight in the 3D view
|
|
3259
3258
|
|
|
3260
3259
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3261
|
-
:type execution_context:
|
|
3260
|
+
:type execution_context: str
|
|
3262
3261
|
:type undo: bool
|
|
3263
3262
|
"""
|
|
3264
3263
|
|
|
@@ -3266,13 +3265,13 @@ def weight_sample(
|
|
|
3266
3265
|
|
|
3267
3266
|
def weight_toggle_direction(
|
|
3268
3267
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3269
|
-
execution_context:
|
|
3268
|
+
execution_context: str = None,
|
|
3270
3269
|
undo: bool = None,
|
|
3271
3270
|
):
|
|
3272
3271
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
3273
3272
|
|
|
3274
3273
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3275
|
-
:type execution_context:
|
|
3274
|
+
:type execution_context: str
|
|
3276
3275
|
:type undo: bool
|
|
3277
3276
|
"""
|
|
3278
3277
|
|
|
@@ -3280,14 +3279,14 @@ def weight_toggle_direction(
|
|
|
3280
3279
|
|
|
3281
3280
|
def weightmode_toggle(
|
|
3282
3281
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3283
|
-
execution_context:
|
|
3282
|
+
execution_context: str = None,
|
|
3284
3283
|
undo: bool = None,
|
|
3285
3284
|
back: typing.Union[bool, typing.Any] = False,
|
|
3286
3285
|
):
|
|
3287
3286
|
"""Enter/Exit weight paint mode for Grease Pencil strokes
|
|
3288
3287
|
|
|
3289
3288
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3290
|
-
:type execution_context:
|
|
3289
|
+
:type execution_context: str
|
|
3291
3290
|
:type undo: bool
|
|
3292
3291
|
:param back: Return to Previous Mode, Return to previous mode
|
|
3293
3292
|
:type back: typing.Union[bool, typing.Any]
|