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