fake-bpy-module 20240601__py3-none-any.whl → 20240605__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- aud/__init__.pyi +4 -4
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -4
- bl_ui/space_node/__init__.pyi +0 -1
- bl_ui/space_sequencer/__init__.pyi +14 -0
- bl_ui/space_userpref/__init__.pyi +234 -0
- bl_ui/space_view3d/__init__.pyi +810 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +949 -3
- blf/__init__.pyi +4 -4
- bmesh/ops/__init__.pyi +97 -82
- bmesh/types/__init__.pyi +37 -32
- bmesh/utils/__init__.pyi +2 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/ops/action/__init__.pyi +152 -152
- bpy/ops/anim/__init__.pyi +216 -216
- bpy/ops/armature/__init__.pyi +192 -192
- bpy/ops/asset/__init__.pyi +64 -64
- bpy/ops/boid/__init__.pyi +32 -32
- bpy/ops/brush/__init__.pyi +36 -36
- bpy/ops/buttons/__init__.pyi +24 -24
- bpy/ops/cachefile/__init__.pyi +20 -20
- bpy/ops/camera/__init__.pyi +8 -8
- bpy/ops/clip/__init__.pyi +368 -368
- bpy/ops/cloth/__init__.pyi +4 -4
- bpy/ops/collection/__init__.pyi +36 -36
- bpy/ops/console/__init__.pyi +84 -84
- bpy/ops/constraint/__init__.pyi +72 -72
- bpy/ops/curve/__init__.pyi +204 -204
- bpy/ops/curves/__init__.pyi +108 -108
- bpy/ops/cycles/__init__.pyi +12 -12
- bpy/ops/dpaint/__init__.pyi +20 -20
- bpy/ops/ed/__init__.pyi +48 -48
- bpy/ops/export_anim/__init__.pyi +4 -4
- bpy/ops/export_scene/__init__.pyi +8 -8
- bpy/ops/extensions/__init__.pyi +123 -109
- bpy/ops/file/__init__.pyi +160 -160
- bpy/ops/fluid/__init__.pyi +56 -56
- bpy/ops/font/__init__.pyi +92 -92
- bpy/ops/geometry/__init__.pyi +40 -40
- bpy/ops/gizmogroup/__init__.pyi +8 -8
- bpy/ops/gpencil/__init__.pyi +600 -600
- bpy/ops/graph/__init__.pyi +260 -260
- bpy/ops/grease_pencil/__init__.pyi +292 -292
- bpy/ops/image/__init__.pyi +192 -192
- bpy/ops/import_anim/__init__.pyi +4 -4
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +8 -8
- bpy/ops/info/__init__.pyi +28 -28
- bpy/ops/lattice/__init__.pyi +32 -32
- bpy/ops/marker/__init__.pyi +44 -44
- bpy/ops/mask/__init__.pyi +156 -156
- bpy/ops/material/__init__.pyi +12 -12
- bpy/ops/mball/__init__.pyi +32 -32
- bpy/ops/mesh/__init__.pyi +652 -652
- bpy/ops/nla/__init__.pyi +156 -156
- bpy/ops/node/__init__.pyi +416 -416
- bpy/ops/object/__init__.pyi +984 -984
- bpy/ops/outliner/__init__.pyi +284 -284
- bpy/ops/paint/__init__.pyi +220 -220
- bpy/ops/paintcurve/__init__.pyi +32 -32
- bpy/ops/palette/__init__.pyi +28 -28
- bpy/ops/particle/__init__.pyi +144 -144
- bpy/ops/pose/__init__.pyi +156 -156
- bpy/ops/poselib/__init__.pyi +36 -36
- bpy/ops/preferences/__init__.pyi +148 -148
- bpy/ops/ptcache/__init__.pyi +28 -28
- bpy/ops/render/__init__.pyi +48 -48
- bpy/ops/rigidbody/__init__.pyi +52 -52
- bpy/ops/scene/__init__.pyi +148 -192
- bpy/ops/screen/__init__.pyi +156 -156
- bpy/ops/script/__init__.pyi +12 -12
- bpy/ops/sculpt/__init__.pyi +152 -152
- bpy/ops/sculpt_curves/__init__.pyi +16 -16
- bpy/ops/sequencer/__init__.pyi +364 -340
- bpy/ops/sound/__init__.pyi +28 -28
- bpy/ops/spreadsheet/__init__.pyi +16 -16
- bpy/ops/surface/__init__.pyi +24 -24
- bpy/ops/text/__init__.pyi +172 -172
- bpy/ops/text_editor/__init__.pyi +4 -4
- bpy/ops/texture/__init__.pyi +16 -16
- bpy/ops/transform/__init__.pyi +111 -108
- bpy/ops/ui/__init__.pyi +132 -132
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +196 -196
- bpy/ops/view2d/__init__.pyi +56 -56
- bpy/ops/view3d/__init__.pyi +268 -268
- bpy/ops/wm/__init__.pyi +448 -448
- bpy/ops/workspace/__init__.pyi +28 -28
- bpy/ops/world/__init__.pyi +8 -8
- bpy/path/__init__.pyi +18 -18
- bpy/props/__init__.pyi +11 -11
- bpy/types/__init__.pyi +2185 -1933
- bpy/utils/__init__.pyi +4 -4
- bpy_extras/mesh_utils/__init__.pyi +4 -4
- bpy_extras/view3d_utils/__init__.pyi +24 -20
- bpy_types/__init__.pyi +12 -7
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240605.dist-info}/METADATA +5 -1
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240605.dist-info}/RECORD +108 -108
- freestyle/types/__init__.pyi +64 -64
- freestyle/utils/__init__.pyi +2 -2
- gpu/matrix/__init__.pyi +15 -6
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +6 -4
- gpu_extras/presets/__init__.pyi +8 -4
- imbuf/__init__.pyi +4 -4
- mathutils/__init__.pyi +292 -187
- mathutils/geometry/__init__.pyi +2 -5
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240605.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240605.dist-info}/top_level.txt +0 -0
bpy/ops/gpencil/__init__.pyi
CHANGED
|
@@ -7,36 +7,36 @@ GenericType1 = typing.TypeVar("GenericType1")
|
|
|
7
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
8
|
|
|
9
9
|
def active_frame_delete(
|
|
10
|
-
override_context: dict[str, typing.Any] |
|
|
11
|
-
execution_context:
|
|
10
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
11
|
+
execution_context: int | str | None = None,
|
|
12
12
|
undo: bool | None = None,
|
|
13
13
|
):
|
|
14
14
|
"""Delete the active frame for the active Grease Pencil Layer
|
|
15
15
|
|
|
16
|
-
:type override_context: dict[str, typing.Any] |
|
|
17
|
-
:type execution_context:
|
|
16
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
17
|
+
:type execution_context: int | str | None
|
|
18
18
|
:type undo: bool | None
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
21
|
...
|
|
22
22
|
|
|
23
23
|
def active_frames_delete_all(
|
|
24
|
-
override_context: dict[str, typing.Any] |
|
|
25
|
-
execution_context:
|
|
24
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
25
|
+
execution_context: int | str | None = None,
|
|
26
26
|
undo: bool | None = None,
|
|
27
27
|
):
|
|
28
28
|
"""Delete the active frame(s) of all editable Grease Pencil layers
|
|
29
29
|
|
|
30
|
-
:type override_context: dict[str, typing.Any] |
|
|
31
|
-
:type execution_context:
|
|
30
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
31
|
+
:type execution_context: int | str | None
|
|
32
32
|
:type undo: bool | None
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
...
|
|
36
36
|
|
|
37
37
|
def annotate(
|
|
38
|
-
override_context: dict[str, typing.Any] |
|
|
39
|
-
execution_context:
|
|
38
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
39
|
+
execution_context: int | str | None = None,
|
|
40
40
|
undo: bool | None = None,
|
|
41
41
|
*,
|
|
42
42
|
mode: str | None = "DRAW",
|
|
@@ -51,8 +51,8 @@ def annotate(
|
|
|
51
51
|
):
|
|
52
52
|
"""Make annotations on the active data
|
|
53
53
|
|
|
54
|
-
:type override_context: dict[str, typing.Any] |
|
|
55
|
-
:type execution_context:
|
|
54
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
55
|
+
:type execution_context: int | str | None
|
|
56
56
|
:type undo: bool | None
|
|
57
57
|
:param mode: Mode, Way to interpret mouse movements
|
|
58
58
|
|
|
@@ -117,36 +117,36 @@ def annotate(
|
|
|
117
117
|
...
|
|
118
118
|
|
|
119
119
|
def annotation_active_frame_delete(
|
|
120
|
-
override_context: dict[str, typing.Any] |
|
|
121
|
-
execution_context:
|
|
120
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
121
|
+
execution_context: int | str | None = None,
|
|
122
122
|
undo: bool | None = None,
|
|
123
123
|
):
|
|
124
124
|
"""Delete the active frame for the active Annotation Layer
|
|
125
125
|
|
|
126
|
-
:type override_context: dict[str, typing.Any] |
|
|
127
|
-
:type execution_context:
|
|
126
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
127
|
+
:type execution_context: int | str | None
|
|
128
128
|
:type undo: bool | None
|
|
129
129
|
"""
|
|
130
130
|
|
|
131
131
|
...
|
|
132
132
|
|
|
133
133
|
def annotation_add(
|
|
134
|
-
override_context: dict[str, typing.Any] |
|
|
135
|
-
execution_context:
|
|
134
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
135
|
+
execution_context: int | str | None = None,
|
|
136
136
|
undo: bool | None = None,
|
|
137
137
|
):
|
|
138
138
|
"""Add new Annotation data-block
|
|
139
139
|
|
|
140
|
-
:type override_context: dict[str, typing.Any] |
|
|
141
|
-
:type execution_context:
|
|
140
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
141
|
+
:type execution_context: int | str | None
|
|
142
142
|
:type undo: bool | None
|
|
143
143
|
"""
|
|
144
144
|
|
|
145
145
|
...
|
|
146
146
|
|
|
147
147
|
def bake_grease_pencil_animation(
|
|
148
|
-
override_context: dict[str, typing.Any] |
|
|
149
|
-
execution_context:
|
|
148
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
149
|
+
execution_context: int | str | None = None,
|
|
150
150
|
undo: bool | None = None,
|
|
151
151
|
*,
|
|
152
152
|
frame_start: typing.Any | None = 1,
|
|
@@ -158,8 +158,8 @@ def bake_grease_pencil_animation(
|
|
|
158
158
|
):
|
|
159
159
|
"""Bake grease pencil object transform to grease pencil keyframes
|
|
160
160
|
|
|
161
|
-
:type override_context: dict[str, typing.Any] |
|
|
162
|
-
:type execution_context:
|
|
161
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
162
|
+
:type execution_context: int | str | None
|
|
163
163
|
:type undo: bool | None
|
|
164
164
|
:param frame_start: Start Frame, The start frame
|
|
165
165
|
:type frame_start: typing.Any | None
|
|
@@ -196,8 +196,8 @@ def bake_grease_pencil_animation(
|
|
|
196
196
|
...
|
|
197
197
|
|
|
198
198
|
def bake_mesh_animation(
|
|
199
|
-
override_context: dict[str, typing.Any] |
|
|
200
|
-
execution_context:
|
|
199
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
200
|
+
execution_context: int | str | None = None,
|
|
201
201
|
undo: bool | None = None,
|
|
202
202
|
*,
|
|
203
203
|
target: str | None = "NEW",
|
|
@@ -215,8 +215,8 @@ def bake_mesh_animation(
|
|
|
215
215
|
):
|
|
216
216
|
"""Bake mesh animation to grease pencil strokes
|
|
217
217
|
|
|
218
|
-
:type override_context: dict[str, typing.Any] |
|
|
219
|
-
:type execution_context:
|
|
218
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
219
|
+
:type execution_context: int | str | None
|
|
220
220
|
:type undo: bool | None
|
|
221
221
|
:param target: Target Object, Target grease pencil
|
|
222
222
|
:type target: str | None
|
|
@@ -265,16 +265,16 @@ def bake_mesh_animation(
|
|
|
265
265
|
...
|
|
266
266
|
|
|
267
267
|
def blank_frame_add(
|
|
268
|
-
override_context: dict[str, typing.Any] |
|
|
269
|
-
execution_context:
|
|
268
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
269
|
+
execution_context: int | str | None = None,
|
|
270
270
|
undo: bool | None = None,
|
|
271
271
|
*,
|
|
272
272
|
all_layers: bool | typing.Any | None = False,
|
|
273
273
|
):
|
|
274
274
|
"""Insert a blank frame on the current frame (all subsequently existing frames, if any, are shifted right by one frame)
|
|
275
275
|
|
|
276
|
-
:type override_context: dict[str, typing.Any] |
|
|
277
|
-
:type execution_context:
|
|
276
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
277
|
+
:type execution_context: int | str | None
|
|
278
278
|
:type undo: bool | None
|
|
279
279
|
:param all_layers: All Layers, Create blank frame in all layers, not only active
|
|
280
280
|
:type all_layers: bool | typing.Any | None
|
|
@@ -283,36 +283,36 @@ def blank_frame_add(
|
|
|
283
283
|
...
|
|
284
284
|
|
|
285
285
|
def brush_reset(
|
|
286
|
-
override_context: dict[str, typing.Any] |
|
|
287
|
-
execution_context:
|
|
286
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
287
|
+
execution_context: int | str | None = None,
|
|
288
288
|
undo: bool | None = None,
|
|
289
289
|
):
|
|
290
290
|
"""Reset brush to default parameters
|
|
291
291
|
|
|
292
|
-
:type override_context: dict[str, typing.Any] |
|
|
293
|
-
:type execution_context:
|
|
292
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
293
|
+
:type execution_context: int | str | None
|
|
294
294
|
:type undo: bool | None
|
|
295
295
|
"""
|
|
296
296
|
|
|
297
297
|
...
|
|
298
298
|
|
|
299
299
|
def brush_reset_all(
|
|
300
|
-
override_context: dict[str, typing.Any] |
|
|
301
|
-
execution_context:
|
|
300
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
301
|
+
execution_context: int | str | None = None,
|
|
302
302
|
undo: bool | None = None,
|
|
303
303
|
):
|
|
304
304
|
"""Delete all mode brushes and recreate a default set
|
|
305
305
|
|
|
306
|
-
:type override_context: dict[str, typing.Any] |
|
|
307
|
-
:type execution_context:
|
|
306
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
307
|
+
:type execution_context: int | str | None
|
|
308
308
|
:type undo: bool | None
|
|
309
309
|
"""
|
|
310
310
|
|
|
311
311
|
...
|
|
312
312
|
|
|
313
313
|
def convert(
|
|
314
|
-
override_context: dict[str, typing.Any] |
|
|
315
|
-
execution_context:
|
|
314
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
315
|
+
execution_context: int | str | None = None,
|
|
316
316
|
undo: bool | None = None,
|
|
317
317
|
*,
|
|
318
318
|
type: str | None = "PATH",
|
|
@@ -333,8 +333,8 @@ def convert(
|
|
|
333
333
|
):
|
|
334
334
|
"""Convert the active Grease Pencil layer to a new Curve Object
|
|
335
335
|
|
|
336
|
-
:type override_context: dict[str, typing.Any] |
|
|
337
|
-
:type execution_context:
|
|
336
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
337
|
+
:type execution_context: int | str | None
|
|
338
338
|
:type undo: bool | None
|
|
339
339
|
:param type: Type, Which type of curve to convert to
|
|
340
340
|
|
|
@@ -392,16 +392,16 @@ def convert(
|
|
|
392
392
|
...
|
|
393
393
|
|
|
394
394
|
def convert_old_files(
|
|
395
|
-
override_context: dict[str, typing.Any] |
|
|
396
|
-
execution_context:
|
|
395
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
396
|
+
execution_context: int | str | None = None,
|
|
397
397
|
undo: bool | None = None,
|
|
398
398
|
*,
|
|
399
399
|
annotation: bool | typing.Any | None = False,
|
|
400
400
|
):
|
|
401
401
|
"""Convert 2.7x grease pencil files to 2.80
|
|
402
402
|
|
|
403
|
-
:type override_context: dict[str, typing.Any] |
|
|
404
|
-
:type execution_context:
|
|
403
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
404
|
+
:type execution_context: int | str | None
|
|
405
405
|
:type undo: bool | None
|
|
406
406
|
:param annotation: Annotation, Convert to Annotations
|
|
407
407
|
:type annotation: bool | typing.Any | None
|
|
@@ -410,44 +410,44 @@ def convert_old_files(
|
|
|
410
410
|
...
|
|
411
411
|
|
|
412
412
|
def copy(
|
|
413
|
-
override_context: dict[str, typing.Any] |
|
|
414
|
-
execution_context:
|
|
413
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
414
|
+
execution_context: int | str | None = None,
|
|
415
415
|
undo: bool | None = None,
|
|
416
416
|
):
|
|
417
417
|
"""Copy selected Grease Pencil points and strokes
|
|
418
418
|
|
|
419
|
-
:type override_context: dict[str, typing.Any] |
|
|
420
|
-
:type execution_context:
|
|
419
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
420
|
+
:type execution_context: int | str | None
|
|
421
421
|
:type undo: bool | None
|
|
422
422
|
"""
|
|
423
423
|
|
|
424
424
|
...
|
|
425
425
|
|
|
426
426
|
def data_unlink(
|
|
427
|
-
override_context: dict[str, typing.Any] |
|
|
428
|
-
execution_context:
|
|
427
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
428
|
+
execution_context: int | str | None = None,
|
|
429
429
|
undo: bool | None = None,
|
|
430
430
|
):
|
|
431
431
|
"""Unlink active Annotation data-block
|
|
432
432
|
|
|
433
|
-
:type override_context: dict[str, typing.Any] |
|
|
434
|
-
:type execution_context:
|
|
433
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
434
|
+
:type execution_context: int | str | None
|
|
435
435
|
:type undo: bool | None
|
|
436
436
|
"""
|
|
437
437
|
|
|
438
438
|
...
|
|
439
439
|
|
|
440
440
|
def delete(
|
|
441
|
-
override_context: dict[str, typing.Any] |
|
|
442
|
-
execution_context:
|
|
441
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
442
|
+
execution_context: int | str | None = None,
|
|
443
443
|
undo: bool | None = None,
|
|
444
444
|
*,
|
|
445
445
|
type: str | None = "POINTS",
|
|
446
446
|
):
|
|
447
447
|
"""Delete selected Grease Pencil strokes, vertices, or frames
|
|
448
448
|
|
|
449
|
-
:type override_context: dict[str, typing.Any] |
|
|
450
|
-
:type execution_context:
|
|
449
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
450
|
+
:type execution_context: int | str | None
|
|
451
451
|
:type undo: bool | None
|
|
452
452
|
:param type: Type, Method used for deleting Grease Pencil data
|
|
453
453
|
|
|
@@ -465,16 +465,16 @@ def delete(
|
|
|
465
465
|
...
|
|
466
466
|
|
|
467
467
|
def dissolve(
|
|
468
|
-
override_context: dict[str, typing.Any] |
|
|
469
|
-
execution_context:
|
|
468
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
469
|
+
execution_context: int | str | None = None,
|
|
470
470
|
undo: bool | None = None,
|
|
471
471
|
*,
|
|
472
472
|
type: str | None = "POINTS",
|
|
473
473
|
):
|
|
474
474
|
"""Delete selected points without splitting strokes
|
|
475
475
|
|
|
476
|
-
:type override_context: dict[str, typing.Any] |
|
|
477
|
-
:type execution_context:
|
|
476
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
477
|
+
:type execution_context: int | str | None
|
|
478
478
|
:type undo: bool | None
|
|
479
479
|
:param type: Type, Method used for dissolving stroke points
|
|
480
480
|
|
|
@@ -492,8 +492,8 @@ def dissolve(
|
|
|
492
492
|
...
|
|
493
493
|
|
|
494
494
|
def draw(
|
|
495
|
-
override_context: dict[str, typing.Any] |
|
|
496
|
-
execution_context:
|
|
495
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
496
|
+
execution_context: int | str | None = None,
|
|
497
497
|
undo: bool | None = None,
|
|
498
498
|
*,
|
|
499
499
|
mode: str | None = "DRAW",
|
|
@@ -507,8 +507,8 @@ def draw(
|
|
|
507
507
|
):
|
|
508
508
|
"""Draw a new stroke in the active Grease Pencil object
|
|
509
509
|
|
|
510
|
-
:type override_context: dict[str, typing.Any] |
|
|
511
|
-
:type execution_context:
|
|
510
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
511
|
+
:type execution_context: int | str | None
|
|
512
512
|
:type undo: bool | None
|
|
513
513
|
:param mode: Mode, Way to interpret mouse movements
|
|
514
514
|
|
|
@@ -538,22 +538,22 @@ def draw(
|
|
|
538
538
|
...
|
|
539
539
|
|
|
540
540
|
def duplicate(
|
|
541
|
-
override_context: dict[str, typing.Any] |
|
|
542
|
-
execution_context:
|
|
541
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
542
|
+
execution_context: int | str | None = None,
|
|
543
543
|
undo: bool | None = None,
|
|
544
544
|
):
|
|
545
545
|
"""Duplicate the selected Grease Pencil strokes
|
|
546
546
|
|
|
547
|
-
:type override_context: dict[str, typing.Any] |
|
|
548
|
-
:type execution_context:
|
|
547
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
548
|
+
:type execution_context: int | str | None
|
|
549
549
|
:type undo: bool | None
|
|
550
550
|
"""
|
|
551
551
|
|
|
552
552
|
...
|
|
553
553
|
|
|
554
554
|
def duplicate_move(
|
|
555
|
-
override_context: dict[str, typing.Any] |
|
|
556
|
-
execution_context:
|
|
555
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
556
|
+
execution_context: int | str | None = None,
|
|
557
557
|
undo: bool | None = None,
|
|
558
558
|
*,
|
|
559
559
|
GPENCIL_OT_duplicate: duplicate | None = None,
|
|
@@ -561,8 +561,8 @@ def duplicate_move(
|
|
|
561
561
|
):
|
|
562
562
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
563
563
|
|
|
564
|
-
:type override_context: dict[str, typing.Any] |
|
|
565
|
-
:type execution_context:
|
|
564
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
565
|
+
:type execution_context: int | str | None
|
|
566
566
|
:type undo: bool | None
|
|
567
567
|
:param GPENCIL_OT_duplicate: Duplicate Strokes, Duplicate the selected Grease Pencil strokes
|
|
568
568
|
:type GPENCIL_OT_duplicate: duplicate | None
|
|
@@ -573,16 +573,16 @@ def duplicate_move(
|
|
|
573
573
|
...
|
|
574
574
|
|
|
575
575
|
def editmode_toggle(
|
|
576
|
-
override_context: dict[str, typing.Any] |
|
|
577
|
-
execution_context:
|
|
576
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
577
|
+
execution_context: int | str | None = None,
|
|
578
578
|
undo: bool | None = None,
|
|
579
579
|
*,
|
|
580
580
|
back: bool | typing.Any | None = False,
|
|
581
581
|
):
|
|
582
582
|
"""Enter/Exit edit mode for Grease Pencil strokes
|
|
583
583
|
|
|
584
|
-
:type override_context: dict[str, typing.Any] |
|
|
585
|
-
:type execution_context:
|
|
584
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
585
|
+
:type execution_context: int | str | None
|
|
586
586
|
:type undo: bool | None
|
|
587
587
|
:param back: Return to Previous Mode, Return to previous mode
|
|
588
588
|
:type back: bool | typing.Any | None
|
|
@@ -591,8 +591,8 @@ def editmode_toggle(
|
|
|
591
591
|
...
|
|
592
592
|
|
|
593
593
|
def extract_palette_vertex(
|
|
594
|
-
override_context: dict[str, typing.Any] |
|
|
595
|
-
execution_context:
|
|
594
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
595
|
+
execution_context: int | str | None = None,
|
|
596
596
|
undo: bool | None = None,
|
|
597
597
|
*,
|
|
598
598
|
selected: bool | typing.Any | None = False,
|
|
@@ -600,8 +600,8 @@ def extract_palette_vertex(
|
|
|
600
600
|
):
|
|
601
601
|
"""Extract all colors used in Grease Pencil Vertex and create a Palette
|
|
602
602
|
|
|
603
|
-
:type override_context: dict[str, typing.Any] |
|
|
604
|
-
:type execution_context:
|
|
603
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
604
|
+
:type execution_context: int | str | None
|
|
605
605
|
:type undo: bool | None
|
|
606
606
|
:param selected: Only Selected, Convert only selected strokes
|
|
607
607
|
:type selected: bool | typing.Any | None
|
|
@@ -612,22 +612,22 @@ def extract_palette_vertex(
|
|
|
612
612
|
...
|
|
613
613
|
|
|
614
614
|
def extrude(
|
|
615
|
-
override_context: dict[str, typing.Any] |
|
|
616
|
-
execution_context:
|
|
615
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
616
|
+
execution_context: int | str | None = None,
|
|
617
617
|
undo: bool | None = None,
|
|
618
618
|
):
|
|
619
619
|
"""Extrude the selected Grease Pencil points
|
|
620
620
|
|
|
621
|
-
:type override_context: dict[str, typing.Any] |
|
|
622
|
-
:type execution_context:
|
|
621
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
622
|
+
:type execution_context: int | str | None
|
|
623
623
|
:type undo: bool | None
|
|
624
624
|
"""
|
|
625
625
|
|
|
626
626
|
...
|
|
627
627
|
|
|
628
628
|
def extrude_move(
|
|
629
|
-
override_context: dict[str, typing.Any] |
|
|
630
|
-
execution_context:
|
|
629
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
630
|
+
execution_context: int | str | None = None,
|
|
631
631
|
undo: bool | None = None,
|
|
632
632
|
*,
|
|
633
633
|
GPENCIL_OT_extrude: extrude | None = None,
|
|
@@ -635,8 +635,8 @@ def extrude_move(
|
|
|
635
635
|
):
|
|
636
636
|
"""Extrude selected points and move them
|
|
637
637
|
|
|
638
|
-
:type override_context: dict[str, typing.Any] |
|
|
639
|
-
:type execution_context:
|
|
638
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
639
|
+
:type execution_context: int | str | None
|
|
640
640
|
:type undo: bool | None
|
|
641
641
|
:param GPENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected Grease Pencil points
|
|
642
642
|
:type GPENCIL_OT_extrude: extrude | None
|
|
@@ -647,16 +647,16 @@ def extrude_move(
|
|
|
647
647
|
...
|
|
648
648
|
|
|
649
649
|
def fill(
|
|
650
|
-
override_context: dict[str, typing.Any] |
|
|
651
|
-
execution_context:
|
|
650
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
651
|
+
execution_context: int | str | None = None,
|
|
652
652
|
undo: bool | None = None,
|
|
653
653
|
*,
|
|
654
654
|
on_back: bool | typing.Any | None = False,
|
|
655
655
|
):
|
|
656
656
|
"""Fill with color the shape formed by strokes
|
|
657
657
|
|
|
658
|
-
:type override_context: dict[str, typing.Any] |
|
|
659
|
-
:type execution_context:
|
|
658
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
659
|
+
:type execution_context: int | str | None
|
|
660
660
|
:type undo: bool | None
|
|
661
661
|
:param on_back: Draw on Back, Send new stroke to back
|
|
662
662
|
:type on_back: bool | typing.Any | None
|
|
@@ -665,16 +665,16 @@ def fill(
|
|
|
665
665
|
...
|
|
666
666
|
|
|
667
667
|
def frame_clean_duplicate(
|
|
668
|
-
override_context: dict[str, typing.Any] |
|
|
669
|
-
execution_context:
|
|
668
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
669
|
+
execution_context: int | str | None = None,
|
|
670
670
|
undo: bool | None = None,
|
|
671
671
|
*,
|
|
672
672
|
type: str | None = "ALL",
|
|
673
673
|
):
|
|
674
674
|
"""Remove duplicate keyframes
|
|
675
675
|
|
|
676
|
-
:type override_context: dict[str, typing.Any] |
|
|
677
|
-
:type execution_context:
|
|
676
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
677
|
+
:type execution_context: int | str | None
|
|
678
678
|
:type undo: bool | None
|
|
679
679
|
:param type: Type
|
|
680
680
|
:type type: str | None
|
|
@@ -683,16 +683,16 @@ def frame_clean_duplicate(
|
|
|
683
683
|
...
|
|
684
684
|
|
|
685
685
|
def frame_clean_fill(
|
|
686
|
-
override_context: dict[str, typing.Any] |
|
|
687
|
-
execution_context:
|
|
686
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
687
|
+
execution_context: int | str | None = None,
|
|
688
688
|
undo: bool | None = None,
|
|
689
689
|
*,
|
|
690
690
|
mode: str | None = "ACTIVE",
|
|
691
691
|
):
|
|
692
692
|
"""Remove 'no fill' boundary strokes
|
|
693
693
|
|
|
694
|
-
:type override_context: dict[str, typing.Any] |
|
|
695
|
-
:type execution_context:
|
|
694
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
695
|
+
:type execution_context: int | str | None
|
|
696
696
|
:type undo: bool | None
|
|
697
697
|
:param mode: Mode
|
|
698
698
|
|
|
@@ -707,16 +707,16 @@ def frame_clean_fill(
|
|
|
707
707
|
...
|
|
708
708
|
|
|
709
709
|
def frame_clean_loose(
|
|
710
|
-
override_context: dict[str, typing.Any] |
|
|
711
|
-
execution_context:
|
|
710
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
711
|
+
execution_context: int | str | None = None,
|
|
712
712
|
undo: bool | None = None,
|
|
713
713
|
*,
|
|
714
714
|
limit: typing.Any | None = 1,
|
|
715
715
|
):
|
|
716
716
|
"""Remove loose points
|
|
717
717
|
|
|
718
|
-
:type override_context: dict[str, typing.Any] |
|
|
719
|
-
:type execution_context:
|
|
718
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
719
|
+
:type execution_context: int | str | None
|
|
720
720
|
:type undo: bool | None
|
|
721
721
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
722
722
|
:type limit: typing.Any | None
|
|
@@ -725,16 +725,16 @@ def frame_clean_loose(
|
|
|
725
725
|
...
|
|
726
726
|
|
|
727
727
|
def frame_duplicate(
|
|
728
|
-
override_context: dict[str, typing.Any] |
|
|
729
|
-
execution_context:
|
|
728
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
729
|
+
execution_context: int | str | None = None,
|
|
730
730
|
undo: bool | None = None,
|
|
731
731
|
*,
|
|
732
732
|
mode: str | None = "ACTIVE",
|
|
733
733
|
):
|
|
734
734
|
"""Make a copy of the active Grease Pencil Frame
|
|
735
735
|
|
|
736
|
-
:type override_context: dict[str, typing.Any] |
|
|
737
|
-
:type execution_context:
|
|
736
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
737
|
+
:type execution_context: int | str | None
|
|
738
738
|
:type undo: bool | None
|
|
739
739
|
:param mode: Mode
|
|
740
740
|
|
|
@@ -749,8 +749,8 @@ def frame_duplicate(
|
|
|
749
749
|
...
|
|
750
750
|
|
|
751
751
|
def generate_weights(
|
|
752
|
-
override_context: dict[str, typing.Any] |
|
|
753
|
-
execution_context:
|
|
752
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
753
|
+
execution_context: int | str | None = None,
|
|
754
754
|
undo: bool | None = None,
|
|
755
755
|
*,
|
|
756
756
|
mode: str | None = "NAME",
|
|
@@ -760,8 +760,8 @@ def generate_weights(
|
|
|
760
760
|
):
|
|
761
761
|
"""Generate automatic weights for armatures (requires armature modifier)
|
|
762
762
|
|
|
763
|
-
:type override_context: dict[str, typing.Any] |
|
|
764
|
-
:type execution_context:
|
|
763
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
764
|
+
:type execution_context: int | str | None
|
|
765
765
|
:type undo: bool | None
|
|
766
766
|
:param mode: Mode
|
|
767
767
|
:type mode: str | None
|
|
@@ -776,8 +776,8 @@ def generate_weights(
|
|
|
776
776
|
...
|
|
777
777
|
|
|
778
778
|
def guide_rotate(
|
|
779
|
-
override_context: dict[str, typing.Any] |
|
|
780
|
-
execution_context:
|
|
779
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
780
|
+
execution_context: int | str | None = None,
|
|
781
781
|
undo: bool | None = None,
|
|
782
782
|
*,
|
|
783
783
|
increment: bool | typing.Any | None = True,
|
|
@@ -785,8 +785,8 @@ def guide_rotate(
|
|
|
785
785
|
):
|
|
786
786
|
"""Rotate guide angle
|
|
787
787
|
|
|
788
|
-
:type override_context: dict[str, typing.Any] |
|
|
789
|
-
:type execution_context:
|
|
788
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
789
|
+
:type execution_context: int | str | None
|
|
790
790
|
:type undo: bool | None
|
|
791
791
|
:param increment: Increment, Increment angle
|
|
792
792
|
:type increment: bool | typing.Any | None
|
|
@@ -797,16 +797,16 @@ def guide_rotate(
|
|
|
797
797
|
...
|
|
798
798
|
|
|
799
799
|
def hide(
|
|
800
|
-
override_context: dict[str, typing.Any] |
|
|
801
|
-
execution_context:
|
|
800
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
801
|
+
execution_context: int | str | None = None,
|
|
802
802
|
undo: bool | None = None,
|
|
803
803
|
*,
|
|
804
804
|
unselected: bool | typing.Any | None = False,
|
|
805
805
|
):
|
|
806
806
|
"""Hide selected/unselected Grease Pencil layers
|
|
807
807
|
|
|
808
|
-
:type override_context: dict[str, typing.Any] |
|
|
809
|
-
:type execution_context:
|
|
808
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
809
|
+
:type execution_context: int | str | None
|
|
810
810
|
:type undo: bool | None
|
|
811
811
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
812
812
|
:type unselected: bool | typing.Any | None
|
|
@@ -815,8 +815,8 @@ def hide(
|
|
|
815
815
|
...
|
|
816
816
|
|
|
817
817
|
def image_to_grease_pencil(
|
|
818
|
-
override_context: dict[str, typing.Any] |
|
|
819
|
-
execution_context:
|
|
818
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
819
|
+
execution_context: int | str | None = None,
|
|
820
820
|
undo: bool | None = None,
|
|
821
821
|
*,
|
|
822
822
|
size: typing.Any | None = 0.005,
|
|
@@ -824,8 +824,8 @@ def image_to_grease_pencil(
|
|
|
824
824
|
):
|
|
825
825
|
"""Generate a Grease Pencil Object using Image as source
|
|
826
826
|
|
|
827
|
-
:type override_context: dict[str, typing.Any] |
|
|
828
|
-
:type execution_context:
|
|
827
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
828
|
+
:type execution_context: int | str | None
|
|
829
829
|
:type undo: bool | None
|
|
830
830
|
:param size: Point Size, Size used for grease pencil points
|
|
831
831
|
:type size: typing.Any | None
|
|
@@ -836,8 +836,8 @@ def image_to_grease_pencil(
|
|
|
836
836
|
...
|
|
837
837
|
|
|
838
838
|
def interpolate(
|
|
839
|
-
override_context: dict[str, typing.Any] |
|
|
840
|
-
execution_context:
|
|
839
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
840
|
+
execution_context: int | str | None = None,
|
|
841
841
|
undo: bool | None = None,
|
|
842
842
|
*,
|
|
843
843
|
shift: typing.Any | None = 0.0,
|
|
@@ -851,8 +851,8 @@ def interpolate(
|
|
|
851
851
|
):
|
|
852
852
|
"""Interpolate grease pencil strokes between frames
|
|
853
853
|
|
|
854
|
-
:type override_context: dict[str, typing.Any] |
|
|
855
|
-
:type execution_context:
|
|
854
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
855
|
+
:type execution_context: int | str | None
|
|
856
856
|
:type undo: bool | None
|
|
857
857
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
858
858
|
:type shift: typing.Any | None
|
|
@@ -875,22 +875,22 @@ def interpolate(
|
|
|
875
875
|
...
|
|
876
876
|
|
|
877
877
|
def interpolate_reverse(
|
|
878
|
-
override_context: dict[str, typing.Any] |
|
|
879
|
-
execution_context:
|
|
878
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
879
|
+
execution_context: int | str | None = None,
|
|
880
880
|
undo: bool | None = None,
|
|
881
881
|
):
|
|
882
882
|
"""Remove breakdown frames generated by interpolating between two Grease Pencil frames
|
|
883
883
|
|
|
884
|
-
:type override_context: dict[str, typing.Any] |
|
|
885
|
-
:type execution_context:
|
|
884
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
885
|
+
:type execution_context: int | str | None
|
|
886
886
|
:type undo: bool | None
|
|
887
887
|
"""
|
|
888
888
|
|
|
889
889
|
...
|
|
890
890
|
|
|
891
891
|
def interpolate_sequence(
|
|
892
|
-
override_context: dict[str, typing.Any] |
|
|
893
|
-
execution_context:
|
|
892
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
893
|
+
execution_context: int | str | None = None,
|
|
894
894
|
undo: bool | None = None,
|
|
895
895
|
*,
|
|
896
896
|
step: typing.Any | None = 1,
|
|
@@ -908,8 +908,8 @@ def interpolate_sequence(
|
|
|
908
908
|
):
|
|
909
909
|
"""Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
|
|
910
910
|
|
|
911
|
-
:type override_context: dict[str, typing.Any] |
|
|
912
|
-
:type execution_context:
|
|
911
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
912
|
+
:type execution_context: int | str | None
|
|
913
913
|
:type undo: bool | None
|
|
914
914
|
:param step: Step, Number of frames between generated interpolated frames
|
|
915
915
|
:type step: typing.Any | None
|
|
@@ -988,16 +988,16 @@ def interpolate_sequence(
|
|
|
988
988
|
...
|
|
989
989
|
|
|
990
990
|
def layer_active(
|
|
991
|
-
override_context: dict[str, typing.Any] |
|
|
992
|
-
execution_context:
|
|
991
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
992
|
+
execution_context: int | str | None = None,
|
|
993
993
|
undo: bool | None = None,
|
|
994
994
|
*,
|
|
995
995
|
layer: typing.Any | None = 0,
|
|
996
996
|
):
|
|
997
997
|
"""Active Grease Pencil layer
|
|
998
998
|
|
|
999
|
-
:type override_context: dict[str, typing.Any] |
|
|
1000
|
-
:type execution_context:
|
|
999
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1000
|
+
:type execution_context: int | str | None
|
|
1001
1001
|
:type undo: bool | None
|
|
1002
1002
|
:param layer: Grease Pencil Layer
|
|
1003
1003
|
:type layer: typing.Any | None
|
|
@@ -1006,8 +1006,8 @@ def layer_active(
|
|
|
1006
1006
|
...
|
|
1007
1007
|
|
|
1008
1008
|
def layer_add(
|
|
1009
|
-
override_context: dict[str, typing.Any] |
|
|
1010
|
-
execution_context:
|
|
1009
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1010
|
+
execution_context: int | str | None = None,
|
|
1011
1011
|
undo: bool | None = None,
|
|
1012
1012
|
*,
|
|
1013
1013
|
layer: typing.Any | None = 0,
|
|
@@ -1015,8 +1015,8 @@ def layer_add(
|
|
|
1015
1015
|
):
|
|
1016
1016
|
"""Add new layer or note for the active data-block
|
|
1017
1017
|
|
|
1018
|
-
:type override_context: dict[str, typing.Any] |
|
|
1019
|
-
:type execution_context:
|
|
1018
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1019
|
+
:type execution_context: int | str | None
|
|
1020
1020
|
:type undo: bool | None
|
|
1021
1021
|
:param layer: Grease Pencil Layer
|
|
1022
1022
|
:type layer: typing.Any | None
|
|
@@ -1027,30 +1027,30 @@ def layer_add(
|
|
|
1027
1027
|
...
|
|
1028
1028
|
|
|
1029
1029
|
def layer_annotation_add(
|
|
1030
|
-
override_context: dict[str, typing.Any] |
|
|
1031
|
-
execution_context:
|
|
1030
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1031
|
+
execution_context: int | str | None = None,
|
|
1032
1032
|
undo: bool | None = None,
|
|
1033
1033
|
):
|
|
1034
1034
|
"""Add new Annotation layer or note for the active data-block
|
|
1035
1035
|
|
|
1036
|
-
:type override_context: dict[str, typing.Any] |
|
|
1037
|
-
:type execution_context:
|
|
1036
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1037
|
+
:type execution_context: int | str | None
|
|
1038
1038
|
:type undo: bool | None
|
|
1039
1039
|
"""
|
|
1040
1040
|
|
|
1041
1041
|
...
|
|
1042
1042
|
|
|
1043
1043
|
def layer_annotation_move(
|
|
1044
|
-
override_context: dict[str, typing.Any] |
|
|
1045
|
-
execution_context:
|
|
1044
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1045
|
+
execution_context: int | str | None = None,
|
|
1046
1046
|
undo: bool | None = None,
|
|
1047
1047
|
*,
|
|
1048
1048
|
type: str | None = "UP",
|
|
1049
1049
|
):
|
|
1050
1050
|
"""Move the active Annotation layer up/down in the list
|
|
1051
1051
|
|
|
1052
|
-
:type override_context: dict[str, typing.Any] |
|
|
1053
|
-
:type execution_context:
|
|
1052
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1053
|
+
:type execution_context: int | str | None
|
|
1054
1054
|
:type undo: bool | None
|
|
1055
1055
|
:param type: Type
|
|
1056
1056
|
:type type: str | None
|
|
@@ -1059,30 +1059,30 @@ def layer_annotation_move(
|
|
|
1059
1059
|
...
|
|
1060
1060
|
|
|
1061
1061
|
def layer_annotation_remove(
|
|
1062
|
-
override_context: dict[str, typing.Any] |
|
|
1063
|
-
execution_context:
|
|
1062
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1063
|
+
execution_context: int | str | None = None,
|
|
1064
1064
|
undo: bool | None = None,
|
|
1065
1065
|
):
|
|
1066
1066
|
"""Remove active Annotation layer
|
|
1067
1067
|
|
|
1068
|
-
:type override_context: dict[str, typing.Any] |
|
|
1069
|
-
:type execution_context:
|
|
1068
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1069
|
+
:type execution_context: int | str | None
|
|
1070
1070
|
:type undo: bool | None
|
|
1071
1071
|
"""
|
|
1072
1072
|
|
|
1073
1073
|
...
|
|
1074
1074
|
|
|
1075
1075
|
def layer_change(
|
|
1076
|
-
override_context: dict[str, typing.Any] |
|
|
1077
|
-
execution_context:
|
|
1076
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1077
|
+
execution_context: int | str | None = None,
|
|
1078
1078
|
undo: bool | None = None,
|
|
1079
1079
|
*,
|
|
1080
1080
|
layer: str | None = "DEFAULT",
|
|
1081
1081
|
):
|
|
1082
1082
|
"""Change active Grease Pencil layer
|
|
1083
1083
|
|
|
1084
|
-
:type override_context: dict[str, typing.Any] |
|
|
1085
|
-
:type execution_context:
|
|
1084
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1085
|
+
:type execution_context: int | str | None
|
|
1086
1086
|
:type undo: bool | None
|
|
1087
1087
|
:param layer: Grease Pencil Layer
|
|
1088
1088
|
:type layer: str | None
|
|
@@ -1091,16 +1091,16 @@ def layer_change(
|
|
|
1091
1091
|
...
|
|
1092
1092
|
|
|
1093
1093
|
def layer_duplicate(
|
|
1094
|
-
override_context: dict[str, typing.Any] |
|
|
1095
|
-
execution_context:
|
|
1094
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1095
|
+
execution_context: int | str | None = None,
|
|
1096
1096
|
undo: bool | None = None,
|
|
1097
1097
|
*,
|
|
1098
1098
|
mode: str | None = "ALL",
|
|
1099
1099
|
):
|
|
1100
1100
|
"""Make a copy of the active Grease Pencil layer
|
|
1101
1101
|
|
|
1102
|
-
:type override_context: dict[str, typing.Any] |
|
|
1103
|
-
:type execution_context:
|
|
1102
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1103
|
+
:type execution_context: int | str | None
|
|
1104
1104
|
:type undo: bool | None
|
|
1105
1105
|
:param mode: Mode
|
|
1106
1106
|
:type mode: str | None
|
|
@@ -1109,8 +1109,8 @@ def layer_duplicate(
|
|
|
1109
1109
|
...
|
|
1110
1110
|
|
|
1111
1111
|
def layer_duplicate_object(
|
|
1112
|
-
override_context: dict[str, typing.Any] |
|
|
1113
|
-
execution_context:
|
|
1112
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1113
|
+
execution_context: int | str | None = None,
|
|
1114
1114
|
undo: bool | None = None,
|
|
1115
1115
|
*,
|
|
1116
1116
|
mode: str | None = "ALL",
|
|
@@ -1118,8 +1118,8 @@ def layer_duplicate_object(
|
|
|
1118
1118
|
):
|
|
1119
1119
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
1120
1120
|
|
|
1121
|
-
:type override_context: dict[str, typing.Any] |
|
|
1122
|
-
:type execution_context:
|
|
1121
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1122
|
+
:type execution_context: int | str | None
|
|
1123
1123
|
:type undo: bool | None
|
|
1124
1124
|
:param mode: Mode
|
|
1125
1125
|
:type mode: str | None
|
|
@@ -1130,16 +1130,16 @@ def layer_duplicate_object(
|
|
|
1130
1130
|
...
|
|
1131
1131
|
|
|
1132
1132
|
def layer_isolate(
|
|
1133
|
-
override_context: dict[str, typing.Any] |
|
|
1134
|
-
execution_context:
|
|
1133
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1134
|
+
execution_context: int | str | None = None,
|
|
1135
1135
|
undo: bool | None = None,
|
|
1136
1136
|
*,
|
|
1137
1137
|
affect_visibility: bool | typing.Any | None = False,
|
|
1138
1138
|
):
|
|
1139
1139
|
"""Toggle whether the active layer is the only one that can be edited and/or visible
|
|
1140
1140
|
|
|
1141
|
-
:type override_context: dict[str, typing.Any] |
|
|
1142
|
-
:type execution_context:
|
|
1141
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1142
|
+
:type execution_context: int | str | None
|
|
1143
1143
|
:type undo: bool | None
|
|
1144
1144
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
1145
1145
|
:type affect_visibility: bool | typing.Any | None
|
|
@@ -1148,16 +1148,16 @@ def layer_isolate(
|
|
|
1148
1148
|
...
|
|
1149
1149
|
|
|
1150
1150
|
def layer_mask_add(
|
|
1151
|
-
override_context: dict[str, typing.Any] |
|
|
1152
|
-
execution_context:
|
|
1151
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1152
|
+
execution_context: int | str | None = None,
|
|
1153
1153
|
undo: bool | None = None,
|
|
1154
1154
|
*,
|
|
1155
1155
|
name: str | typing.Any = "",
|
|
1156
1156
|
):
|
|
1157
1157
|
"""Add new layer as masking
|
|
1158
1158
|
|
|
1159
|
-
:type override_context: dict[str, typing.Any] |
|
|
1160
|
-
:type execution_context:
|
|
1159
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1160
|
+
:type execution_context: int | str | None
|
|
1161
1161
|
:type undo: bool | None
|
|
1162
1162
|
:param name: Layer, Name of the layer
|
|
1163
1163
|
:type name: str | typing.Any
|
|
@@ -1166,16 +1166,16 @@ def layer_mask_add(
|
|
|
1166
1166
|
...
|
|
1167
1167
|
|
|
1168
1168
|
def layer_mask_move(
|
|
1169
|
-
override_context: dict[str, typing.Any] |
|
|
1170
|
-
execution_context:
|
|
1169
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1170
|
+
execution_context: int | str | None = None,
|
|
1171
1171
|
undo: bool | None = None,
|
|
1172
1172
|
*,
|
|
1173
1173
|
type: str | None = "UP",
|
|
1174
1174
|
):
|
|
1175
1175
|
"""Move the active Grease Pencil mask layer up/down in the list
|
|
1176
1176
|
|
|
1177
|
-
:type override_context: dict[str, typing.Any] |
|
|
1178
|
-
:type execution_context:
|
|
1177
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1178
|
+
:type execution_context: int | str | None
|
|
1179
1179
|
:type undo: bool | None
|
|
1180
1180
|
:param type: Type
|
|
1181
1181
|
:type type: str | None
|
|
@@ -1184,30 +1184,30 @@ def layer_mask_move(
|
|
|
1184
1184
|
...
|
|
1185
1185
|
|
|
1186
1186
|
def layer_mask_remove(
|
|
1187
|
-
override_context: dict[str, typing.Any] |
|
|
1188
|
-
execution_context:
|
|
1187
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1188
|
+
execution_context: int | str | None = None,
|
|
1189
1189
|
undo: bool | None = None,
|
|
1190
1190
|
):
|
|
1191
1191
|
"""Remove Layer Mask
|
|
1192
1192
|
|
|
1193
|
-
:type override_context: dict[str, typing.Any] |
|
|
1194
|
-
:type execution_context:
|
|
1193
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1194
|
+
:type execution_context: int | str | None
|
|
1195
1195
|
:type undo: bool | None
|
|
1196
1196
|
"""
|
|
1197
1197
|
|
|
1198
1198
|
...
|
|
1199
1199
|
|
|
1200
1200
|
def layer_merge(
|
|
1201
|
-
override_context: dict[str, typing.Any] |
|
|
1202
|
-
execution_context:
|
|
1201
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1202
|
+
execution_context: int | str | None = None,
|
|
1203
1203
|
undo: bool | None = None,
|
|
1204
1204
|
*,
|
|
1205
1205
|
mode: str | None = "ACTIVE",
|
|
1206
1206
|
):
|
|
1207
1207
|
"""Combine Layers
|
|
1208
1208
|
|
|
1209
|
-
:type override_context: dict[str, typing.Any] |
|
|
1210
|
-
:type execution_context:
|
|
1209
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1210
|
+
:type execution_context: int | str | None
|
|
1211
1211
|
:type undo: bool | None
|
|
1212
1212
|
:param mode: Mode
|
|
1213
1213
|
|
|
@@ -1222,16 +1222,16 @@ def layer_merge(
|
|
|
1222
1222
|
...
|
|
1223
1223
|
|
|
1224
1224
|
def layer_move(
|
|
1225
|
-
override_context: dict[str, typing.Any] |
|
|
1226
|
-
execution_context:
|
|
1225
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1226
|
+
execution_context: int | str | None = None,
|
|
1227
1227
|
undo: bool | None = None,
|
|
1228
1228
|
*,
|
|
1229
1229
|
type: str | None = "UP",
|
|
1230
1230
|
):
|
|
1231
1231
|
"""Move the active Grease Pencil layer up/down in the list
|
|
1232
1232
|
|
|
1233
|
-
:type override_context: dict[str, typing.Any] |
|
|
1234
|
-
:type execution_context:
|
|
1233
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1234
|
+
:type execution_context: int | str | None
|
|
1235
1235
|
:type undo: bool | None
|
|
1236
1236
|
:param type: Type
|
|
1237
1237
|
:type type: str | None
|
|
@@ -1240,58 +1240,58 @@ def layer_move(
|
|
|
1240
1240
|
...
|
|
1241
1241
|
|
|
1242
1242
|
def layer_remove(
|
|
1243
|
-
override_context: dict[str, typing.Any] |
|
|
1244
|
-
execution_context:
|
|
1243
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1244
|
+
execution_context: int | str | None = None,
|
|
1245
1245
|
undo: bool | None = None,
|
|
1246
1246
|
):
|
|
1247
1247
|
"""Remove active Grease Pencil layer
|
|
1248
1248
|
|
|
1249
|
-
:type override_context: dict[str, typing.Any] |
|
|
1250
|
-
:type execution_context:
|
|
1249
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1250
|
+
:type execution_context: int | str | None
|
|
1251
1251
|
:type undo: bool | None
|
|
1252
1252
|
"""
|
|
1253
1253
|
|
|
1254
1254
|
...
|
|
1255
1255
|
|
|
1256
1256
|
def lock_all(
|
|
1257
|
-
override_context: dict[str, typing.Any] |
|
|
1258
|
-
execution_context:
|
|
1257
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1258
|
+
execution_context: int | str | None = None,
|
|
1259
1259
|
undo: bool | None = None,
|
|
1260
1260
|
):
|
|
1261
1261
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
1262
1262
|
|
|
1263
|
-
:type override_context: dict[str, typing.Any] |
|
|
1264
|
-
:type execution_context:
|
|
1263
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1264
|
+
:type execution_context: int | str | None
|
|
1265
1265
|
:type undo: bool | None
|
|
1266
1266
|
"""
|
|
1267
1267
|
|
|
1268
1268
|
...
|
|
1269
1269
|
|
|
1270
1270
|
def lock_layer(
|
|
1271
|
-
override_context: dict[str, typing.Any] |
|
|
1272
|
-
execution_context:
|
|
1271
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1272
|
+
execution_context: int | str | None = None,
|
|
1273
1273
|
undo: bool | None = None,
|
|
1274
1274
|
):
|
|
1275
1275
|
"""Lock and hide any color not used in any layer
|
|
1276
1276
|
|
|
1277
|
-
:type override_context: dict[str, typing.Any] |
|
|
1278
|
-
:type execution_context:
|
|
1277
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1278
|
+
:type execution_context: int | str | None
|
|
1279
1279
|
:type undo: bool | None
|
|
1280
1280
|
"""
|
|
1281
1281
|
|
|
1282
1282
|
...
|
|
1283
1283
|
|
|
1284
1284
|
def material_hide(
|
|
1285
|
-
override_context: dict[str, typing.Any] |
|
|
1286
|
-
execution_context:
|
|
1285
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1286
|
+
execution_context: int | str | None = None,
|
|
1287
1287
|
undo: bool | None = None,
|
|
1288
1288
|
*,
|
|
1289
1289
|
unselected: bool | typing.Any | None = False,
|
|
1290
1290
|
):
|
|
1291
1291
|
"""Hide selected/unselected Grease Pencil materials
|
|
1292
1292
|
|
|
1293
|
-
:type override_context: dict[str, typing.Any] |
|
|
1294
|
-
:type execution_context:
|
|
1293
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1294
|
+
:type execution_context: int | str | None
|
|
1295
1295
|
:type undo: bool | None
|
|
1296
1296
|
:param unselected: Unselected, Hide unselected rather than selected colors
|
|
1297
1297
|
:type unselected: bool | typing.Any | None
|
|
@@ -1300,16 +1300,16 @@ def material_hide(
|
|
|
1300
1300
|
...
|
|
1301
1301
|
|
|
1302
1302
|
def material_isolate(
|
|
1303
|
-
override_context: dict[str, typing.Any] |
|
|
1304
|
-
execution_context:
|
|
1303
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1304
|
+
execution_context: int | str | None = None,
|
|
1305
1305
|
undo: bool | None = None,
|
|
1306
1306
|
*,
|
|
1307
1307
|
affect_visibility: bool | typing.Any | None = False,
|
|
1308
1308
|
):
|
|
1309
1309
|
"""Toggle whether the active material is the only one that is editable and/or visible
|
|
1310
1310
|
|
|
1311
|
-
:type override_context: dict[str, typing.Any] |
|
|
1312
|
-
:type execution_context:
|
|
1311
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1312
|
+
:type execution_context: int | str | None
|
|
1313
1313
|
:type undo: bool | None
|
|
1314
1314
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
1315
1315
|
:type affect_visibility: bool | typing.Any | None
|
|
@@ -1318,58 +1318,58 @@ def material_isolate(
|
|
|
1318
1318
|
...
|
|
1319
1319
|
|
|
1320
1320
|
def material_lock_all(
|
|
1321
|
-
override_context: dict[str, typing.Any] |
|
|
1322
|
-
execution_context:
|
|
1321
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1322
|
+
execution_context: int | str | None = None,
|
|
1323
1323
|
undo: bool | None = None,
|
|
1324
1324
|
):
|
|
1325
1325
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
1326
1326
|
|
|
1327
|
-
:type override_context: dict[str, typing.Any] |
|
|
1328
|
-
:type execution_context:
|
|
1327
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1328
|
+
:type execution_context: int | str | None
|
|
1329
1329
|
:type undo: bool | None
|
|
1330
1330
|
"""
|
|
1331
1331
|
|
|
1332
1332
|
...
|
|
1333
1333
|
|
|
1334
1334
|
def material_lock_unused(
|
|
1335
|
-
override_context: dict[str, typing.Any] |
|
|
1336
|
-
execution_context:
|
|
1335
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1336
|
+
execution_context: int | str | None = None,
|
|
1337
1337
|
undo: bool | None = None,
|
|
1338
1338
|
):
|
|
1339
1339
|
"""Lock any material not used in any selected stroke
|
|
1340
1340
|
|
|
1341
|
-
:type override_context: dict[str, typing.Any] |
|
|
1342
|
-
:type execution_context:
|
|
1341
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1342
|
+
:type execution_context: int | str | None
|
|
1343
1343
|
:type undo: bool | None
|
|
1344
1344
|
"""
|
|
1345
1345
|
|
|
1346
1346
|
...
|
|
1347
1347
|
|
|
1348
1348
|
def material_reveal(
|
|
1349
|
-
override_context: dict[str, typing.Any] |
|
|
1350
|
-
execution_context:
|
|
1349
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1350
|
+
execution_context: int | str | None = None,
|
|
1351
1351
|
undo: bool | None = None,
|
|
1352
1352
|
):
|
|
1353
1353
|
"""Unhide all hidden Grease Pencil materials
|
|
1354
1354
|
|
|
1355
|
-
:type override_context: dict[str, typing.Any] |
|
|
1356
|
-
:type execution_context:
|
|
1355
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1356
|
+
:type execution_context: int | str | None
|
|
1357
1357
|
:type undo: bool | None
|
|
1358
1358
|
"""
|
|
1359
1359
|
|
|
1360
1360
|
...
|
|
1361
1361
|
|
|
1362
1362
|
def material_select(
|
|
1363
|
-
override_context: dict[str, typing.Any] |
|
|
1364
|
-
execution_context:
|
|
1363
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1364
|
+
execution_context: int | str | None = None,
|
|
1365
1365
|
undo: bool | None = None,
|
|
1366
1366
|
*,
|
|
1367
1367
|
deselect: bool | typing.Any | None = False,
|
|
1368
1368
|
):
|
|
1369
1369
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
1370
1370
|
|
|
1371
|
-
:type override_context: dict[str, typing.Any] |
|
|
1372
|
-
:type execution_context:
|
|
1371
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1372
|
+
:type execution_context: int | str | None
|
|
1373
1373
|
:type undo: bool | None
|
|
1374
1374
|
:param deselect: Deselect, Unselect strokes
|
|
1375
1375
|
:type deselect: bool | typing.Any | None
|
|
@@ -1378,16 +1378,16 @@ def material_select(
|
|
|
1378
1378
|
...
|
|
1379
1379
|
|
|
1380
1380
|
def material_set(
|
|
1381
|
-
override_context: dict[str, typing.Any] |
|
|
1382
|
-
execution_context:
|
|
1381
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1382
|
+
execution_context: int | str | None = None,
|
|
1383
1383
|
undo: bool | None = None,
|
|
1384
1384
|
*,
|
|
1385
1385
|
slot: str | None = "DEFAULT",
|
|
1386
1386
|
):
|
|
1387
1387
|
"""Set active material
|
|
1388
1388
|
|
|
1389
|
-
:type override_context: dict[str, typing.Any] |
|
|
1390
|
-
:type execution_context:
|
|
1389
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1390
|
+
:type execution_context: int | str | None
|
|
1391
1391
|
:type undo: bool | None
|
|
1392
1392
|
:param slot: Material Slot
|
|
1393
1393
|
:type slot: str | None
|
|
@@ -1396,8 +1396,8 @@ def material_set(
|
|
|
1396
1396
|
...
|
|
1397
1397
|
|
|
1398
1398
|
def material_to_vertex_color(
|
|
1399
|
-
override_context: dict[str, typing.Any] |
|
|
1400
|
-
execution_context:
|
|
1399
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1400
|
+
execution_context: int | str | None = None,
|
|
1401
1401
|
undo: bool | None = None,
|
|
1402
1402
|
*,
|
|
1403
1403
|
remove: bool | typing.Any | None = True,
|
|
@@ -1407,8 +1407,8 @@ def material_to_vertex_color(
|
|
|
1407
1407
|
):
|
|
1408
1408
|
"""Replace materials in strokes with Vertex Color
|
|
1409
1409
|
|
|
1410
|
-
:type override_context: dict[str, typing.Any] |
|
|
1411
|
-
:type execution_context:
|
|
1410
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1411
|
+
:type execution_context: int | str | None
|
|
1412
1412
|
:type undo: bool | None
|
|
1413
1413
|
:param remove: Remove Unused Materials, Remove any unused material after the conversion
|
|
1414
1414
|
:type remove: bool | typing.Any | None
|
|
@@ -1423,30 +1423,30 @@ def material_to_vertex_color(
|
|
|
1423
1423
|
...
|
|
1424
1424
|
|
|
1425
1425
|
def material_unlock_all(
|
|
1426
|
-
override_context: dict[str, typing.Any] |
|
|
1427
|
-
execution_context:
|
|
1426
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1427
|
+
execution_context: int | str | None = None,
|
|
1428
1428
|
undo: bool | None = None,
|
|
1429
1429
|
):
|
|
1430
1430
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
1431
1431
|
|
|
1432
|
-
:type override_context: dict[str, typing.Any] |
|
|
1433
|
-
:type execution_context:
|
|
1432
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1433
|
+
:type execution_context: int | str | None
|
|
1434
1434
|
:type undo: bool | None
|
|
1435
1435
|
"""
|
|
1436
1436
|
|
|
1437
1437
|
...
|
|
1438
1438
|
|
|
1439
1439
|
def materials_copy_to_object(
|
|
1440
|
-
override_context: dict[str, typing.Any] |
|
|
1441
|
-
execution_context:
|
|
1440
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1441
|
+
execution_context: int | str | None = None,
|
|
1442
1442
|
undo: bool | None = None,
|
|
1443
1443
|
*,
|
|
1444
1444
|
only_active: bool | typing.Any | None = True,
|
|
1445
1445
|
):
|
|
1446
1446
|
"""Append Materials of the active Grease Pencil to other object
|
|
1447
1447
|
|
|
1448
|
-
:type override_context: dict[str, typing.Any] |
|
|
1449
|
-
:type execution_context:
|
|
1448
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1449
|
+
:type execution_context: int | str | None
|
|
1450
1450
|
:type undo: bool | None
|
|
1451
1451
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
1452
1452
|
:type only_active: bool | typing.Any | None
|
|
@@ -1455,8 +1455,8 @@ def materials_copy_to_object(
|
|
|
1455
1455
|
...
|
|
1456
1456
|
|
|
1457
1457
|
def move_to_layer(
|
|
1458
|
-
override_context: dict[str, typing.Any] |
|
|
1459
|
-
execution_context:
|
|
1458
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1459
|
+
execution_context: int | str | None = None,
|
|
1460
1460
|
undo: bool | None = None,
|
|
1461
1461
|
*,
|
|
1462
1462
|
layer: typing.Any | None = 0,
|
|
@@ -1464,8 +1464,8 @@ def move_to_layer(
|
|
|
1464
1464
|
):
|
|
1465
1465
|
"""Move selected strokes to another layer
|
|
1466
1466
|
|
|
1467
|
-
:type override_context: dict[str, typing.Any] |
|
|
1468
|
-
:type execution_context:
|
|
1467
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1468
|
+
:type execution_context: int | str | None
|
|
1469
1469
|
:type undo: bool | None
|
|
1470
1470
|
:param layer: Grease Pencil Layer
|
|
1471
1471
|
:type layer: typing.Any | None
|
|
@@ -1476,16 +1476,16 @@ def move_to_layer(
|
|
|
1476
1476
|
...
|
|
1477
1477
|
|
|
1478
1478
|
def paintmode_toggle(
|
|
1479
|
-
override_context: dict[str, typing.Any] |
|
|
1480
|
-
execution_context:
|
|
1479
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1480
|
+
execution_context: int | str | None = None,
|
|
1481
1481
|
undo: bool | None = None,
|
|
1482
1482
|
*,
|
|
1483
1483
|
back: bool | typing.Any | None = False,
|
|
1484
1484
|
):
|
|
1485
1485
|
"""Enter/Exit paint mode for Grease Pencil strokes
|
|
1486
1486
|
|
|
1487
|
-
:type override_context: dict[str, typing.Any] |
|
|
1488
|
-
:type execution_context:
|
|
1487
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1488
|
+
:type execution_context: int | str | None
|
|
1489
1489
|
:type undo: bool | None
|
|
1490
1490
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1491
1491
|
:type back: bool | typing.Any | None
|
|
@@ -1494,8 +1494,8 @@ def paintmode_toggle(
|
|
|
1494
1494
|
...
|
|
1495
1495
|
|
|
1496
1496
|
def paste(
|
|
1497
|
-
override_context: dict[str, typing.Any] |
|
|
1498
|
-
execution_context:
|
|
1497
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1498
|
+
execution_context: int | str | None = None,
|
|
1499
1499
|
undo: bool | None = None,
|
|
1500
1500
|
*,
|
|
1501
1501
|
type: str | None = "ACTIVE",
|
|
@@ -1503,8 +1503,8 @@ def paste(
|
|
|
1503
1503
|
):
|
|
1504
1504
|
"""Paste previously copied strokes to active layer or to original layer
|
|
1505
1505
|
|
|
1506
|
-
:type override_context: dict[str, typing.Any] |
|
|
1507
|
-
:type execution_context:
|
|
1506
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1507
|
+
:type execution_context: int | str | None
|
|
1508
1508
|
:type undo: bool | None
|
|
1509
1509
|
:param type: Type
|
|
1510
1510
|
:type type: str | None
|
|
@@ -1515,8 +1515,8 @@ def paste(
|
|
|
1515
1515
|
...
|
|
1516
1516
|
|
|
1517
1517
|
def primitive_box(
|
|
1518
|
-
override_context: dict[str, typing.Any] |
|
|
1519
|
-
execution_context:
|
|
1518
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1519
|
+
execution_context: int | str | None = None,
|
|
1520
1520
|
undo: bool | None = None,
|
|
1521
1521
|
*,
|
|
1522
1522
|
subdivision: typing.Any | None = 3,
|
|
@@ -1526,8 +1526,8 @@ def primitive_box(
|
|
|
1526
1526
|
):
|
|
1527
1527
|
"""Create predefined grease pencil stroke box shapes
|
|
1528
1528
|
|
|
1529
|
-
:type override_context: dict[str, typing.Any] |
|
|
1530
|
-
:type execution_context:
|
|
1529
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1530
|
+
:type execution_context: int | str | None
|
|
1531
1531
|
:type undo: bool | None
|
|
1532
1532
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1533
1533
|
:type subdivision: typing.Any | None
|
|
@@ -1542,8 +1542,8 @@ def primitive_box(
|
|
|
1542
1542
|
...
|
|
1543
1543
|
|
|
1544
1544
|
def primitive_circle(
|
|
1545
|
-
override_context: dict[str, typing.Any] |
|
|
1546
|
-
execution_context:
|
|
1545
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1546
|
+
execution_context: int | str | None = None,
|
|
1547
1547
|
undo: bool | None = None,
|
|
1548
1548
|
*,
|
|
1549
1549
|
subdivision: typing.Any | None = 94,
|
|
@@ -1553,8 +1553,8 @@ def primitive_circle(
|
|
|
1553
1553
|
):
|
|
1554
1554
|
"""Create predefined grease pencil stroke circle shapes
|
|
1555
1555
|
|
|
1556
|
-
:type override_context: dict[str, typing.Any] |
|
|
1557
|
-
:type execution_context:
|
|
1556
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1557
|
+
:type execution_context: int | str | None
|
|
1558
1558
|
:type undo: bool | None
|
|
1559
1559
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1560
1560
|
:type subdivision: typing.Any | None
|
|
@@ -1569,8 +1569,8 @@ def primitive_circle(
|
|
|
1569
1569
|
...
|
|
1570
1570
|
|
|
1571
1571
|
def primitive_curve(
|
|
1572
|
-
override_context: dict[str, typing.Any] |
|
|
1573
|
-
execution_context:
|
|
1572
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1573
|
+
execution_context: int | str | None = None,
|
|
1574
1574
|
undo: bool | None = None,
|
|
1575
1575
|
*,
|
|
1576
1576
|
subdivision: typing.Any | None = 62,
|
|
@@ -1580,8 +1580,8 @@ def primitive_curve(
|
|
|
1580
1580
|
):
|
|
1581
1581
|
"""Create predefined grease pencil stroke curve shapes
|
|
1582
1582
|
|
|
1583
|
-
:type override_context: dict[str, typing.Any] |
|
|
1584
|
-
:type execution_context:
|
|
1583
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1584
|
+
:type execution_context: int | str | None
|
|
1585
1585
|
:type undo: bool | None
|
|
1586
1586
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1587
1587
|
:type subdivision: typing.Any | None
|
|
@@ -1596,8 +1596,8 @@ def primitive_curve(
|
|
|
1596
1596
|
...
|
|
1597
1597
|
|
|
1598
1598
|
def primitive_line(
|
|
1599
|
-
override_context: dict[str, typing.Any] |
|
|
1600
|
-
execution_context:
|
|
1599
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1600
|
+
execution_context: int | str | None = None,
|
|
1601
1601
|
undo: bool | None = None,
|
|
1602
1602
|
*,
|
|
1603
1603
|
subdivision: typing.Any | None = 6,
|
|
@@ -1607,8 +1607,8 @@ def primitive_line(
|
|
|
1607
1607
|
):
|
|
1608
1608
|
"""Create predefined grease pencil stroke lines
|
|
1609
1609
|
|
|
1610
|
-
:type override_context: dict[str, typing.Any] |
|
|
1611
|
-
:type execution_context:
|
|
1610
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1611
|
+
:type execution_context: int | str | None
|
|
1612
1612
|
:type undo: bool | None
|
|
1613
1613
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1614
1614
|
:type subdivision: typing.Any | None
|
|
@@ -1623,8 +1623,8 @@ def primitive_line(
|
|
|
1623
1623
|
...
|
|
1624
1624
|
|
|
1625
1625
|
def primitive_polyline(
|
|
1626
|
-
override_context: dict[str, typing.Any] |
|
|
1627
|
-
execution_context:
|
|
1626
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1627
|
+
execution_context: int | str | None = None,
|
|
1628
1628
|
undo: bool | None = None,
|
|
1629
1629
|
*,
|
|
1630
1630
|
subdivision: typing.Any | None = 6,
|
|
@@ -1634,8 +1634,8 @@ def primitive_polyline(
|
|
|
1634
1634
|
):
|
|
1635
1635
|
"""Create predefined grease pencil stroke polylines
|
|
1636
1636
|
|
|
1637
|
-
:type override_context: dict[str, typing.Any] |
|
|
1638
|
-
:type execution_context:
|
|
1637
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1638
|
+
:type execution_context: int | str | None
|
|
1639
1639
|
:type undo: bool | None
|
|
1640
1640
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1641
1641
|
:type subdivision: typing.Any | None
|
|
@@ -1650,22 +1650,22 @@ def primitive_polyline(
|
|
|
1650
1650
|
...
|
|
1651
1651
|
|
|
1652
1652
|
def recalc_geometry(
|
|
1653
|
-
override_context: dict[str, typing.Any] |
|
|
1654
|
-
execution_context:
|
|
1653
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1654
|
+
execution_context: int | str | None = None,
|
|
1655
1655
|
undo: bool | None = None,
|
|
1656
1656
|
):
|
|
1657
1657
|
"""Update all internal geometry data
|
|
1658
1658
|
|
|
1659
|
-
:type override_context: dict[str, typing.Any] |
|
|
1660
|
-
:type execution_context:
|
|
1659
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1660
|
+
:type execution_context: int | str | None
|
|
1661
1661
|
:type undo: bool | None
|
|
1662
1662
|
"""
|
|
1663
1663
|
|
|
1664
1664
|
...
|
|
1665
1665
|
|
|
1666
1666
|
def reproject(
|
|
1667
|
-
override_context: dict[str, typing.Any] |
|
|
1668
|
-
execution_context:
|
|
1667
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1668
|
+
execution_context: int | str | None = None,
|
|
1669
1669
|
undo: bool | None = None,
|
|
1670
1670
|
*,
|
|
1671
1671
|
type: str | None = "VIEW",
|
|
@@ -1674,8 +1674,8 @@ def reproject(
|
|
|
1674
1674
|
):
|
|
1675
1675
|
"""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)
|
|
1676
1676
|
|
|
1677
|
-
:type override_context: dict[str, typing.Any] |
|
|
1678
|
-
:type execution_context:
|
|
1677
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1678
|
+
:type execution_context: int | str | None
|
|
1679
1679
|
:type undo: bool | None
|
|
1680
1680
|
:param type: Projection Type
|
|
1681
1681
|
|
|
@@ -1706,16 +1706,16 @@ def reproject(
|
|
|
1706
1706
|
...
|
|
1707
1707
|
|
|
1708
1708
|
def reset_transform_fill(
|
|
1709
|
-
override_context: dict[str, typing.Any] |
|
|
1710
|
-
execution_context:
|
|
1709
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1710
|
+
execution_context: int | str | None = None,
|
|
1711
1711
|
undo: bool | None = None,
|
|
1712
1712
|
*,
|
|
1713
1713
|
mode: str | None = "ALL",
|
|
1714
1714
|
):
|
|
1715
1715
|
"""Reset any UV transformation and back to default values
|
|
1716
1716
|
|
|
1717
|
-
:type override_context: dict[str, typing.Any] |
|
|
1718
|
-
:type execution_context:
|
|
1717
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1718
|
+
:type execution_context: int | str | None
|
|
1719
1719
|
:type undo: bool | None
|
|
1720
1720
|
:param mode: Mode
|
|
1721
1721
|
:type mode: str | None
|
|
@@ -1724,16 +1724,16 @@ def reset_transform_fill(
|
|
|
1724
1724
|
...
|
|
1725
1725
|
|
|
1726
1726
|
def reveal(
|
|
1727
|
-
override_context: dict[str, typing.Any] |
|
|
1728
|
-
execution_context:
|
|
1727
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1728
|
+
execution_context: int | str | None = None,
|
|
1729
1729
|
undo: bool | None = None,
|
|
1730
1730
|
*,
|
|
1731
1731
|
select: bool | typing.Any | None = True,
|
|
1732
1732
|
):
|
|
1733
1733
|
"""Show all Grease Pencil layers
|
|
1734
1734
|
|
|
1735
|
-
:type override_context: dict[str, typing.Any] |
|
|
1736
|
-
:type execution_context:
|
|
1735
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1736
|
+
:type execution_context: int | str | None
|
|
1737
1737
|
:type undo: bool | None
|
|
1738
1738
|
:param select: Select
|
|
1739
1739
|
:type select: bool | typing.Any | None
|
|
@@ -1742,8 +1742,8 @@ def reveal(
|
|
|
1742
1742
|
...
|
|
1743
1743
|
|
|
1744
1744
|
def sculpt_paint(
|
|
1745
|
-
override_context: dict[str, typing.Any] |
|
|
1746
|
-
execution_context:
|
|
1745
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1746
|
+
execution_context: int | str | None = None,
|
|
1747
1747
|
undo: bool | None = None,
|
|
1748
1748
|
*,
|
|
1749
1749
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -1752,8 +1752,8 @@ def sculpt_paint(
|
|
|
1752
1752
|
):
|
|
1753
1753
|
"""Apply tweaks to strokes by painting over the strokes
|
|
1754
1754
|
|
|
1755
|
-
:type override_context: dict[str, typing.Any] |
|
|
1756
|
-
:type execution_context:
|
|
1755
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1756
|
+
:type execution_context: int | str | None
|
|
1757
1757
|
:type undo: bool | None
|
|
1758
1758
|
:param stroke: Stroke
|
|
1759
1759
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
@@ -1764,16 +1764,16 @@ def sculpt_paint(
|
|
|
1764
1764
|
...
|
|
1765
1765
|
|
|
1766
1766
|
def sculptmode_toggle(
|
|
1767
|
-
override_context: dict[str, typing.Any] |
|
|
1768
|
-
execution_context:
|
|
1767
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1768
|
+
execution_context: int | str | None = None,
|
|
1769
1769
|
undo: bool | None = None,
|
|
1770
1770
|
*,
|
|
1771
1771
|
back: bool | typing.Any | None = False,
|
|
1772
1772
|
):
|
|
1773
1773
|
"""Enter/Exit sculpt mode for Grease Pencil strokes
|
|
1774
1774
|
|
|
1775
|
-
:type override_context: dict[str, typing.Any] |
|
|
1776
|
-
:type execution_context:
|
|
1775
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1776
|
+
:type execution_context: int | str | None
|
|
1777
1777
|
:type undo: bool | None
|
|
1778
1778
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1779
1779
|
:type back: bool | typing.Any | None
|
|
@@ -1782,16 +1782,16 @@ def sculptmode_toggle(
|
|
|
1782
1782
|
...
|
|
1783
1783
|
|
|
1784
1784
|
def segment_add(
|
|
1785
|
-
override_context: dict[str, typing.Any] |
|
|
1786
|
-
execution_context:
|
|
1785
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1786
|
+
execution_context: int | str | None = None,
|
|
1787
1787
|
undo: bool | None = None,
|
|
1788
1788
|
*,
|
|
1789
1789
|
modifier: str | typing.Any = "",
|
|
1790
1790
|
):
|
|
1791
1791
|
"""Add a segment to the dash modifier
|
|
1792
1792
|
|
|
1793
|
-
:type override_context: dict[str, typing.Any] |
|
|
1794
|
-
:type execution_context:
|
|
1793
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1794
|
+
:type execution_context: int | str | None
|
|
1795
1795
|
:type undo: bool | None
|
|
1796
1796
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1797
1797
|
:type modifier: str | typing.Any
|
|
@@ -1800,8 +1800,8 @@ def segment_add(
|
|
|
1800
1800
|
...
|
|
1801
1801
|
|
|
1802
1802
|
def segment_move(
|
|
1803
|
-
override_context: dict[str, typing.Any] |
|
|
1804
|
-
execution_context:
|
|
1803
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1804
|
+
execution_context: int | str | None = None,
|
|
1805
1805
|
undo: bool | None = None,
|
|
1806
1806
|
*,
|
|
1807
1807
|
modifier: str | typing.Any = "",
|
|
@@ -1809,8 +1809,8 @@ def segment_move(
|
|
|
1809
1809
|
):
|
|
1810
1810
|
"""Move the active dash segment up or down
|
|
1811
1811
|
|
|
1812
|
-
:type override_context: dict[str, typing.Any] |
|
|
1813
|
-
:type execution_context:
|
|
1812
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1813
|
+
:type execution_context: int | str | None
|
|
1814
1814
|
:type undo: bool | None
|
|
1815
1815
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1816
1816
|
:type modifier: str | typing.Any
|
|
@@ -1821,8 +1821,8 @@ def segment_move(
|
|
|
1821
1821
|
...
|
|
1822
1822
|
|
|
1823
1823
|
def segment_remove(
|
|
1824
|
-
override_context: dict[str, typing.Any] |
|
|
1825
|
-
execution_context:
|
|
1824
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1825
|
+
execution_context: int | str | None = None,
|
|
1826
1826
|
undo: bool | None = None,
|
|
1827
1827
|
*,
|
|
1828
1828
|
modifier: str | typing.Any = "",
|
|
@@ -1830,8 +1830,8 @@ def segment_remove(
|
|
|
1830
1830
|
):
|
|
1831
1831
|
"""Remove the active segment from the dash modifier
|
|
1832
1832
|
|
|
1833
|
-
:type override_context: dict[str, typing.Any] |
|
|
1834
|
-
:type execution_context:
|
|
1833
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1834
|
+
:type execution_context: int | str | None
|
|
1835
1835
|
:type undo: bool | None
|
|
1836
1836
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1837
1837
|
:type modifier: str | typing.Any
|
|
@@ -1842,8 +1842,8 @@ def segment_remove(
|
|
|
1842
1842
|
...
|
|
1843
1843
|
|
|
1844
1844
|
def select(
|
|
1845
|
-
override_context: dict[str, typing.Any] |
|
|
1846
|
-
execution_context:
|
|
1845
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1846
|
+
execution_context: int | str | None = None,
|
|
1847
1847
|
undo: bool | None = None,
|
|
1848
1848
|
*,
|
|
1849
1849
|
extend: bool | typing.Any | None = False,
|
|
@@ -1857,8 +1857,8 @@ def select(
|
|
|
1857
1857
|
):
|
|
1858
1858
|
"""Select Grease Pencil strokes and/or stroke points
|
|
1859
1859
|
|
|
1860
|
-
:type override_context: dict[str, typing.Any] |
|
|
1861
|
-
:type execution_context:
|
|
1860
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1861
|
+
:type execution_context: int | str | None
|
|
1862
1862
|
:type undo: bool | None
|
|
1863
1863
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
1864
1864
|
:type extend: bool | typing.Any | None
|
|
@@ -1881,16 +1881,16 @@ def select(
|
|
|
1881
1881
|
...
|
|
1882
1882
|
|
|
1883
1883
|
def select_all(
|
|
1884
|
-
override_context: dict[str, typing.Any] |
|
|
1885
|
-
execution_context:
|
|
1884
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1885
|
+
execution_context: int | str | None = None,
|
|
1886
1886
|
undo: bool | None = None,
|
|
1887
1887
|
*,
|
|
1888
1888
|
action: str | None = "TOGGLE",
|
|
1889
1889
|
):
|
|
1890
1890
|
"""Change selection of all Grease Pencil strokes currently visible
|
|
1891
1891
|
|
|
1892
|
-
:type override_context: dict[str, typing.Any] |
|
|
1893
|
-
:type execution_context:
|
|
1892
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1893
|
+
:type execution_context: int | str | None
|
|
1894
1894
|
:type undo: bool | None
|
|
1895
1895
|
:param action: Action, Selection action to execute
|
|
1896
1896
|
|
|
@@ -1911,16 +1911,16 @@ def select_all(
|
|
|
1911
1911
|
...
|
|
1912
1912
|
|
|
1913
1913
|
def select_alternate(
|
|
1914
|
-
override_context: dict[str, typing.Any] |
|
|
1915
|
-
execution_context:
|
|
1914
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1915
|
+
execution_context: int | str | None = None,
|
|
1916
1916
|
undo: bool | None = None,
|
|
1917
1917
|
*,
|
|
1918
1918
|
unselect_ends: bool | typing.Any | None = False,
|
|
1919
1919
|
):
|
|
1920
1920
|
"""Select alternative points in same strokes as already selected points
|
|
1921
1921
|
|
|
1922
|
-
:type override_context: dict[str, typing.Any] |
|
|
1923
|
-
:type execution_context:
|
|
1922
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1923
|
+
:type execution_context: int | str | None
|
|
1924
1924
|
:type undo: bool | None
|
|
1925
1925
|
:param unselect_ends: Unselect Ends, Do not select the first and last point of the stroke
|
|
1926
1926
|
:type unselect_ends: bool | typing.Any | None
|
|
@@ -1929,8 +1929,8 @@ def select_alternate(
|
|
|
1929
1929
|
...
|
|
1930
1930
|
|
|
1931
1931
|
def select_box(
|
|
1932
|
-
override_context: dict[str, typing.Any] |
|
|
1933
|
-
execution_context:
|
|
1932
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1933
|
+
execution_context: int | str | None = None,
|
|
1934
1934
|
undo: bool | None = None,
|
|
1935
1935
|
*,
|
|
1936
1936
|
xmin: typing.Any | None = 0,
|
|
@@ -1942,8 +1942,8 @@ def select_box(
|
|
|
1942
1942
|
):
|
|
1943
1943
|
"""Select Grease Pencil strokes within a rectangular region
|
|
1944
1944
|
|
|
1945
|
-
:type override_context: dict[str, typing.Any] |
|
|
1946
|
-
:type execution_context:
|
|
1945
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1946
|
+
:type execution_context: int | str | None
|
|
1947
1947
|
:type undo: bool | None
|
|
1948
1948
|
:param xmin: X Min
|
|
1949
1949
|
:type xmin: typing.Any | None
|
|
@@ -1977,8 +1977,8 @@ def select_box(
|
|
|
1977
1977
|
...
|
|
1978
1978
|
|
|
1979
1979
|
def select_circle(
|
|
1980
|
-
override_context: dict[str, typing.Any] |
|
|
1981
|
-
execution_context:
|
|
1980
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1981
|
+
execution_context: int | str | None = None,
|
|
1982
1982
|
undo: bool | None = None,
|
|
1983
1983
|
*,
|
|
1984
1984
|
x: typing.Any | None = 0,
|
|
@@ -1989,8 +1989,8 @@ def select_circle(
|
|
|
1989
1989
|
):
|
|
1990
1990
|
"""Select Grease Pencil strokes using brush selection
|
|
1991
1991
|
|
|
1992
|
-
:type override_context: dict[str, typing.Any] |
|
|
1993
|
-
:type execution_context:
|
|
1992
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1993
|
+
:type execution_context: int | str | None
|
|
1994
1994
|
:type undo: bool | None
|
|
1995
1995
|
:param x: X
|
|
1996
1996
|
:type x: typing.Any | None
|
|
@@ -2016,8 +2016,8 @@ def select_circle(
|
|
|
2016
2016
|
...
|
|
2017
2017
|
|
|
2018
2018
|
def select_first(
|
|
2019
|
-
override_context: dict[str, typing.Any] |
|
|
2020
|
-
execution_context:
|
|
2019
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2020
|
+
execution_context: int | str | None = None,
|
|
2021
2021
|
undo: bool | None = None,
|
|
2022
2022
|
*,
|
|
2023
2023
|
only_selected_strokes: bool | typing.Any | None = False,
|
|
@@ -2025,8 +2025,8 @@ def select_first(
|
|
|
2025
2025
|
):
|
|
2026
2026
|
"""Select first point in Grease Pencil strokes
|
|
2027
2027
|
|
|
2028
|
-
:type override_context: dict[str, typing.Any] |
|
|
2029
|
-
:type execution_context:
|
|
2028
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2029
|
+
:type execution_context: int | str | None
|
|
2030
2030
|
:type undo: bool | None
|
|
2031
2031
|
:param only_selected_strokes: Selected Strokes Only, Only select the first point of strokes that already have points selected
|
|
2032
2032
|
:type only_selected_strokes: bool | typing.Any | None
|
|
@@ -2037,16 +2037,16 @@ def select_first(
|
|
|
2037
2037
|
...
|
|
2038
2038
|
|
|
2039
2039
|
def select_grouped(
|
|
2040
|
-
override_context: dict[str, typing.Any] |
|
|
2041
|
-
execution_context:
|
|
2040
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2041
|
+
execution_context: int | str | None = None,
|
|
2042
2042
|
undo: bool | None = None,
|
|
2043
2043
|
*,
|
|
2044
2044
|
type: str | None = "LAYER",
|
|
2045
2045
|
):
|
|
2046
2046
|
"""Select all strokes with similar characteristics
|
|
2047
2047
|
|
|
2048
|
-
:type override_context: dict[str, typing.Any] |
|
|
2049
|
-
:type execution_context:
|
|
2048
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2049
|
+
:type execution_context: int | str | None
|
|
2050
2050
|
:type undo: bool | None
|
|
2051
2051
|
:param type: Type
|
|
2052
2052
|
|
|
@@ -2061,8 +2061,8 @@ def select_grouped(
|
|
|
2061
2061
|
...
|
|
2062
2062
|
|
|
2063
2063
|
def select_lasso(
|
|
2064
|
-
override_context: dict[str, typing.Any] |
|
|
2065
|
-
execution_context:
|
|
2064
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2065
|
+
execution_context: int | str | None = None,
|
|
2066
2066
|
undo: bool | None = None,
|
|
2067
2067
|
*,
|
|
2068
2068
|
mode: str | None = "SET",
|
|
@@ -2070,8 +2070,8 @@ def select_lasso(
|
|
|
2070
2070
|
):
|
|
2071
2071
|
"""Select Grease Pencil strokes using lasso selection
|
|
2072
2072
|
|
|
2073
|
-
:type override_context: dict[str, typing.Any] |
|
|
2074
|
-
:type execution_context:
|
|
2073
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2074
|
+
:type execution_context: int | str | None
|
|
2075
2075
|
:type undo: bool | None
|
|
2076
2076
|
:param mode: Mode
|
|
2077
2077
|
|
|
@@ -2097,8 +2097,8 @@ def select_lasso(
|
|
|
2097
2097
|
...
|
|
2098
2098
|
|
|
2099
2099
|
def select_last(
|
|
2100
|
-
override_context: dict[str, typing.Any] |
|
|
2101
|
-
execution_context:
|
|
2100
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2101
|
+
execution_context: int | str | None = None,
|
|
2102
2102
|
undo: bool | None = None,
|
|
2103
2103
|
*,
|
|
2104
2104
|
only_selected_strokes: bool | typing.Any | None = False,
|
|
@@ -2106,8 +2106,8 @@ def select_last(
|
|
|
2106
2106
|
):
|
|
2107
2107
|
"""Select last point in Grease Pencil strokes
|
|
2108
2108
|
|
|
2109
|
-
:type override_context: dict[str, typing.Any] |
|
|
2110
|
-
:type execution_context:
|
|
2109
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2110
|
+
:type execution_context: int | str | None
|
|
2111
2111
|
:type undo: bool | None
|
|
2112
2112
|
:param only_selected_strokes: Selected Strokes Only, Only select the last point of strokes that already have points selected
|
|
2113
2113
|
:type only_selected_strokes: bool | typing.Any | None
|
|
@@ -2118,50 +2118,50 @@ def select_last(
|
|
|
2118
2118
|
...
|
|
2119
2119
|
|
|
2120
2120
|
def select_less(
|
|
2121
|
-
override_context: dict[str, typing.Any] |
|
|
2122
|
-
execution_context:
|
|
2121
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2122
|
+
execution_context: int | str | None = None,
|
|
2123
2123
|
undo: bool | None = None,
|
|
2124
2124
|
):
|
|
2125
2125
|
"""Shrink sets of selected Grease Pencil points
|
|
2126
2126
|
|
|
2127
|
-
:type override_context: dict[str, typing.Any] |
|
|
2128
|
-
:type execution_context:
|
|
2127
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2128
|
+
:type execution_context: int | str | None
|
|
2129
2129
|
:type undo: bool | None
|
|
2130
2130
|
"""
|
|
2131
2131
|
|
|
2132
2132
|
...
|
|
2133
2133
|
|
|
2134
2134
|
def select_linked(
|
|
2135
|
-
override_context: dict[str, typing.Any] |
|
|
2136
|
-
execution_context:
|
|
2135
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2136
|
+
execution_context: int | str | None = None,
|
|
2137
2137
|
undo: bool | None = None,
|
|
2138
2138
|
):
|
|
2139
2139
|
"""Select all points in same strokes as already selected points
|
|
2140
2140
|
|
|
2141
|
-
:type override_context: dict[str, typing.Any] |
|
|
2142
|
-
:type execution_context:
|
|
2141
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2142
|
+
:type execution_context: int | str | None
|
|
2143
2143
|
:type undo: bool | None
|
|
2144
2144
|
"""
|
|
2145
2145
|
|
|
2146
2146
|
...
|
|
2147
2147
|
|
|
2148
2148
|
def select_more(
|
|
2149
|
-
override_context: dict[str, typing.Any] |
|
|
2150
|
-
execution_context:
|
|
2149
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2150
|
+
execution_context: int | str | None = None,
|
|
2151
2151
|
undo: bool | None = None,
|
|
2152
2152
|
):
|
|
2153
2153
|
"""Grow sets of selected Grease Pencil points
|
|
2154
2154
|
|
|
2155
|
-
:type override_context: dict[str, typing.Any] |
|
|
2156
|
-
:type execution_context:
|
|
2155
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2156
|
+
:type execution_context: int | str | None
|
|
2157
2157
|
:type undo: bool | None
|
|
2158
2158
|
"""
|
|
2159
2159
|
|
|
2160
2160
|
...
|
|
2161
2161
|
|
|
2162
2162
|
def select_random(
|
|
2163
|
-
override_context: dict[str, typing.Any] |
|
|
2164
|
-
execution_context:
|
|
2163
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2164
|
+
execution_context: int | str | None = None,
|
|
2165
2165
|
undo: bool | None = None,
|
|
2166
2166
|
*,
|
|
2167
2167
|
ratio: typing.Any | None = 0.5,
|
|
@@ -2171,8 +2171,8 @@ def select_random(
|
|
|
2171
2171
|
):
|
|
2172
2172
|
"""Select random points for non selected strokes
|
|
2173
2173
|
|
|
2174
|
-
:type override_context: dict[str, typing.Any] |
|
|
2175
|
-
:type execution_context:
|
|
2174
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2175
|
+
:type execution_context: int | str | None
|
|
2176
2176
|
:type undo: bool | None
|
|
2177
2177
|
:param ratio: Ratio, Portion of items to select randomly
|
|
2178
2178
|
:type ratio: typing.Any | None
|
|
@@ -2193,16 +2193,16 @@ def select_random(
|
|
|
2193
2193
|
...
|
|
2194
2194
|
|
|
2195
2195
|
def select_vertex_color(
|
|
2196
|
-
override_context: dict[str, typing.Any] |
|
|
2197
|
-
execution_context:
|
|
2196
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2197
|
+
execution_context: int | str | None = None,
|
|
2198
2198
|
undo: bool | None = None,
|
|
2199
2199
|
*,
|
|
2200
2200
|
threshold: typing.Any | None = 0,
|
|
2201
2201
|
):
|
|
2202
2202
|
"""Select all points with similar vertex color of current selected
|
|
2203
2203
|
|
|
2204
|
-
:type override_context: dict[str, typing.Any] |
|
|
2205
|
-
:type execution_context:
|
|
2204
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2205
|
+
:type execution_context: int | str | None
|
|
2206
2206
|
:type undo: bool | None
|
|
2207
2207
|
:param threshold: Threshold, Tolerance of the selection. Higher values select a wider range of similar colors
|
|
2208
2208
|
:type threshold: typing.Any | None
|
|
@@ -2211,30 +2211,30 @@ def select_vertex_color(
|
|
|
2211
2211
|
...
|
|
2212
2212
|
|
|
2213
2213
|
def selection_opacity_toggle(
|
|
2214
|
-
override_context: dict[str, typing.Any] |
|
|
2215
|
-
execution_context:
|
|
2214
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2215
|
+
execution_context: int | str | None = None,
|
|
2216
2216
|
undo: bool | None = None,
|
|
2217
2217
|
):
|
|
2218
2218
|
"""Hide/Unhide selected points for Grease Pencil strokes setting alpha factor
|
|
2219
2219
|
|
|
2220
|
-
:type override_context: dict[str, typing.Any] |
|
|
2221
|
-
:type execution_context:
|
|
2220
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2221
|
+
:type execution_context: int | str | None
|
|
2222
2222
|
:type undo: bool | None
|
|
2223
2223
|
"""
|
|
2224
2224
|
|
|
2225
2225
|
...
|
|
2226
2226
|
|
|
2227
2227
|
def selectmode_toggle(
|
|
2228
|
-
override_context: dict[str, typing.Any] |
|
|
2229
|
-
execution_context:
|
|
2228
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2229
|
+
execution_context: int | str | None = None,
|
|
2230
2230
|
undo: bool | None = None,
|
|
2231
2231
|
*,
|
|
2232
2232
|
mode: typing.Any | None = 0,
|
|
2233
2233
|
):
|
|
2234
2234
|
"""Set selection mode for Grease Pencil strokes
|
|
2235
2235
|
|
|
2236
|
-
:type override_context: dict[str, typing.Any] |
|
|
2237
|
-
:type execution_context:
|
|
2236
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2237
|
+
:type execution_context: int | str | None
|
|
2238
2238
|
:type undo: bool | None
|
|
2239
2239
|
:param mode: Select Mode, Select mode
|
|
2240
2240
|
:type mode: typing.Any | None
|
|
@@ -2243,44 +2243,44 @@ def selectmode_toggle(
|
|
|
2243
2243
|
...
|
|
2244
2244
|
|
|
2245
2245
|
def set_active_material(
|
|
2246
|
-
override_context: dict[str, typing.Any] |
|
|
2247
|
-
execution_context:
|
|
2246
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2247
|
+
execution_context: int | str | None = None,
|
|
2248
2248
|
undo: bool | None = None,
|
|
2249
2249
|
):
|
|
2250
2250
|
"""Set the selected stroke material as the active material
|
|
2251
2251
|
|
|
2252
|
-
:type override_context: dict[str, typing.Any] |
|
|
2253
|
-
:type execution_context:
|
|
2252
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2253
|
+
:type execution_context: int | str | None
|
|
2254
2254
|
:type undo: bool | None
|
|
2255
2255
|
"""
|
|
2256
2256
|
|
|
2257
2257
|
...
|
|
2258
2258
|
|
|
2259
2259
|
def snap_cursor_to_selected(
|
|
2260
|
-
override_context: dict[str, typing.Any] |
|
|
2261
|
-
execution_context:
|
|
2260
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2261
|
+
execution_context: int | str | None = None,
|
|
2262
2262
|
undo: bool | None = None,
|
|
2263
2263
|
):
|
|
2264
2264
|
"""Snap cursor to center of selected points
|
|
2265
2265
|
|
|
2266
|
-
:type override_context: dict[str, typing.Any] |
|
|
2267
|
-
:type execution_context:
|
|
2266
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2267
|
+
:type execution_context: int | str | None
|
|
2268
2268
|
:type undo: bool | None
|
|
2269
2269
|
"""
|
|
2270
2270
|
|
|
2271
2271
|
...
|
|
2272
2272
|
|
|
2273
2273
|
def snap_to_cursor(
|
|
2274
|
-
override_context: dict[str, typing.Any] |
|
|
2275
|
-
execution_context:
|
|
2274
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2275
|
+
execution_context: int | str | None = None,
|
|
2276
2276
|
undo: bool | None = None,
|
|
2277
2277
|
*,
|
|
2278
2278
|
use_offset: bool | typing.Any | None = True,
|
|
2279
2279
|
):
|
|
2280
2280
|
"""Snap selected points/strokes to the cursor
|
|
2281
2281
|
|
|
2282
|
-
:type override_context: dict[str, typing.Any] |
|
|
2283
|
-
:type execution_context:
|
|
2282
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2283
|
+
:type execution_context: int | str | None
|
|
2284
2284
|
:type undo: bool | None
|
|
2285
2285
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
2286
2286
|
:type use_offset: bool | typing.Any | None
|
|
@@ -2289,44 +2289,44 @@ def snap_to_cursor(
|
|
|
2289
2289
|
...
|
|
2290
2290
|
|
|
2291
2291
|
def snap_to_grid(
|
|
2292
|
-
override_context: dict[str, typing.Any] |
|
|
2293
|
-
execution_context:
|
|
2292
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2293
|
+
execution_context: int | str | None = None,
|
|
2294
2294
|
undo: bool | None = None,
|
|
2295
2295
|
):
|
|
2296
2296
|
"""Snap selected points to the nearest grid points
|
|
2297
2297
|
|
|
2298
|
-
:type override_context: dict[str, typing.Any] |
|
|
2299
|
-
:type execution_context:
|
|
2298
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2299
|
+
:type execution_context: int | str | None
|
|
2300
2300
|
:type undo: bool | None
|
|
2301
2301
|
"""
|
|
2302
2302
|
|
|
2303
2303
|
...
|
|
2304
2304
|
|
|
2305
2305
|
def stroke_apply_thickness(
|
|
2306
|
-
override_context: dict[str, typing.Any] |
|
|
2307
|
-
execution_context:
|
|
2306
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2307
|
+
execution_context: int | str | None = None,
|
|
2308
2308
|
undo: bool | None = None,
|
|
2309
2309
|
):
|
|
2310
2310
|
"""Apply the thickness change of the layer to its strokes
|
|
2311
2311
|
|
|
2312
|
-
:type override_context: dict[str, typing.Any] |
|
|
2313
|
-
:type execution_context:
|
|
2312
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2313
|
+
:type execution_context: int | str | None
|
|
2314
2314
|
:type undo: bool | None
|
|
2315
2315
|
"""
|
|
2316
2316
|
|
|
2317
2317
|
...
|
|
2318
2318
|
|
|
2319
2319
|
def stroke_arrange(
|
|
2320
|
-
override_context: dict[str, typing.Any] |
|
|
2321
|
-
execution_context:
|
|
2320
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2321
|
+
execution_context: int | str | None = None,
|
|
2322
2322
|
undo: bool | None = None,
|
|
2323
2323
|
*,
|
|
2324
2324
|
direction: str | None = "UP",
|
|
2325
2325
|
):
|
|
2326
2326
|
"""Arrange selected strokes up/down in the display order of the active layer
|
|
2327
2327
|
|
|
2328
|
-
:type override_context: dict[str, typing.Any] |
|
|
2329
|
-
:type execution_context:
|
|
2328
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2329
|
+
:type execution_context: int | str | None
|
|
2330
2330
|
:type undo: bool | None
|
|
2331
2331
|
:param direction: Direction
|
|
2332
2332
|
:type direction: str | None
|
|
@@ -2335,16 +2335,16 @@ def stroke_arrange(
|
|
|
2335
2335
|
...
|
|
2336
2336
|
|
|
2337
2337
|
def stroke_caps_set(
|
|
2338
|
-
override_context: dict[str, typing.Any] |
|
|
2339
|
-
execution_context:
|
|
2338
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2339
|
+
execution_context: int | str | None = None,
|
|
2340
2340
|
undo: bool | None = None,
|
|
2341
2341
|
*,
|
|
2342
2342
|
type: str | None = "TOGGLE",
|
|
2343
2343
|
):
|
|
2344
2344
|
"""Change stroke caps mode (rounded or flat)
|
|
2345
2345
|
|
|
2346
|
-
:type override_context: dict[str, typing.Any] |
|
|
2347
|
-
:type execution_context:
|
|
2346
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2347
|
+
:type execution_context: int | str | None
|
|
2348
2348
|
:type undo: bool | None
|
|
2349
2349
|
:param type: Type
|
|
2350
2350
|
|
|
@@ -2365,16 +2365,16 @@ def stroke_caps_set(
|
|
|
2365
2365
|
...
|
|
2366
2366
|
|
|
2367
2367
|
def stroke_change_color(
|
|
2368
|
-
override_context: dict[str, typing.Any] |
|
|
2369
|
-
execution_context:
|
|
2368
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2369
|
+
execution_context: int | str | None = None,
|
|
2370
2370
|
undo: bool | None = None,
|
|
2371
2371
|
*,
|
|
2372
2372
|
material: str | typing.Any = "",
|
|
2373
2373
|
):
|
|
2374
2374
|
"""Move selected strokes to active material
|
|
2375
2375
|
|
|
2376
|
-
:type override_context: dict[str, typing.Any] |
|
|
2377
|
-
:type execution_context:
|
|
2376
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2377
|
+
:type execution_context: int | str | None
|
|
2378
2378
|
:type undo: bool | None
|
|
2379
2379
|
:param material: Material, Name of the material
|
|
2380
2380
|
:type material: str | typing.Any
|
|
@@ -2383,8 +2383,8 @@ def stroke_change_color(
|
|
|
2383
2383
|
...
|
|
2384
2384
|
|
|
2385
2385
|
def stroke_cutter(
|
|
2386
|
-
override_context: dict[str, typing.Any] |
|
|
2387
|
-
execution_context:
|
|
2386
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2387
|
+
execution_context: int | str | None = None,
|
|
2388
2388
|
undo: bool | None = None,
|
|
2389
2389
|
*,
|
|
2390
2390
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
@@ -2392,8 +2392,8 @@ def stroke_cutter(
|
|
|
2392
2392
|
):
|
|
2393
2393
|
"""Select section and cut
|
|
2394
2394
|
|
|
2395
|
-
:type override_context: dict[str, typing.Any] |
|
|
2396
|
-
:type execution_context:
|
|
2395
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2396
|
+
:type execution_context: int | str | None
|
|
2397
2397
|
:type undo: bool | None
|
|
2398
2398
|
:param path: Path
|
|
2399
2399
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
@@ -2404,8 +2404,8 @@ def stroke_cutter(
|
|
|
2404
2404
|
...
|
|
2405
2405
|
|
|
2406
2406
|
def stroke_cyclical_set(
|
|
2407
|
-
override_context: dict[str, typing.Any] |
|
|
2408
|
-
execution_context:
|
|
2407
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2408
|
+
execution_context: int | str | None = None,
|
|
2409
2409
|
undo: bool | None = None,
|
|
2410
2410
|
*,
|
|
2411
2411
|
type: str | None = "TOGGLE",
|
|
@@ -2413,8 +2413,8 @@ def stroke_cyclical_set(
|
|
|
2413
2413
|
):
|
|
2414
2414
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
2415
2415
|
|
|
2416
|
-
:type override_context: dict[str, typing.Any] |
|
|
2417
|
-
:type execution_context:
|
|
2416
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2417
|
+
:type execution_context: int | str | None
|
|
2418
2418
|
:type undo: bool | None
|
|
2419
2419
|
:param type: Type
|
|
2420
2420
|
:type type: str | None
|
|
@@ -2425,16 +2425,16 @@ def stroke_cyclical_set(
|
|
|
2425
2425
|
...
|
|
2426
2426
|
|
|
2427
2427
|
def stroke_editcurve_set_handle_type(
|
|
2428
|
-
override_context: dict[str, typing.Any] |
|
|
2429
|
-
execution_context:
|
|
2428
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2429
|
+
execution_context: int | str | None = None,
|
|
2430
2430
|
undo: bool | None = None,
|
|
2431
2431
|
*,
|
|
2432
2432
|
type: str | None = "AUTOMATIC",
|
|
2433
2433
|
):
|
|
2434
2434
|
"""Set the type of an edit curve handle
|
|
2435
2435
|
|
|
2436
|
-
:type override_context: dict[str, typing.Any] |
|
|
2437
|
-
:type execution_context:
|
|
2436
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2437
|
+
:type execution_context: int | str | None
|
|
2438
2438
|
:type undo: bool | None
|
|
2439
2439
|
:param type: Type, Spline type
|
|
2440
2440
|
:type type: str | None
|
|
@@ -2443,16 +2443,16 @@ def stroke_editcurve_set_handle_type(
|
|
|
2443
2443
|
...
|
|
2444
2444
|
|
|
2445
2445
|
def stroke_enter_editcurve_mode(
|
|
2446
|
-
override_context: dict[str, typing.Any] |
|
|
2447
|
-
execution_context:
|
|
2446
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2447
|
+
execution_context: int | str | None = None,
|
|
2448
2448
|
undo: bool | None = None,
|
|
2449
2449
|
*,
|
|
2450
2450
|
error_threshold: typing.Any | None = 0.1,
|
|
2451
2451
|
):
|
|
2452
2452
|
"""Called to transform a stroke into a curve
|
|
2453
2453
|
|
|
2454
|
-
:type override_context: dict[str, typing.Any] |
|
|
2455
|
-
:type execution_context:
|
|
2454
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2455
|
+
:type execution_context: int | str | None
|
|
2456
2456
|
:type undo: bool | None
|
|
2457
2457
|
:param error_threshold: Error Threshold, Threshold on the maximum deviation from the actual stroke
|
|
2458
2458
|
:type error_threshold: typing.Any | None
|
|
@@ -2461,22 +2461,22 @@ def stroke_enter_editcurve_mode(
|
|
|
2461
2461
|
...
|
|
2462
2462
|
|
|
2463
2463
|
def stroke_flip(
|
|
2464
|
-
override_context: dict[str, typing.Any] |
|
|
2465
|
-
execution_context:
|
|
2464
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2465
|
+
execution_context: int | str | None = None,
|
|
2466
2466
|
undo: bool | None = None,
|
|
2467
2467
|
):
|
|
2468
2468
|
"""Change direction of the points of the selected strokes
|
|
2469
2469
|
|
|
2470
|
-
:type override_context: dict[str, typing.Any] |
|
|
2471
|
-
:type execution_context:
|
|
2470
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2471
|
+
:type execution_context: int | str | None
|
|
2472
2472
|
:type undo: bool | None
|
|
2473
2473
|
"""
|
|
2474
2474
|
|
|
2475
2475
|
...
|
|
2476
2476
|
|
|
2477
2477
|
def stroke_join(
|
|
2478
|
-
override_context: dict[str, typing.Any] |
|
|
2479
|
-
execution_context:
|
|
2478
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2479
|
+
execution_context: int | str | None = None,
|
|
2480
2480
|
undo: bool | None = None,
|
|
2481
2481
|
*,
|
|
2482
2482
|
type: str | None = "JOIN",
|
|
@@ -2484,8 +2484,8 @@ def stroke_join(
|
|
|
2484
2484
|
):
|
|
2485
2485
|
"""Join selected strokes (optionally as new stroke)
|
|
2486
2486
|
|
|
2487
|
-
:type override_context: dict[str, typing.Any] |
|
|
2488
|
-
:type execution_context:
|
|
2487
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2488
|
+
:type execution_context: int | str | None
|
|
2489
2489
|
:type undo: bool | None
|
|
2490
2490
|
:param type: Type
|
|
2491
2491
|
:type type: str | None
|
|
@@ -2496,8 +2496,8 @@ def stroke_join(
|
|
|
2496
2496
|
...
|
|
2497
2497
|
|
|
2498
2498
|
def stroke_merge(
|
|
2499
|
-
override_context: dict[str, typing.Any] |
|
|
2500
|
-
execution_context:
|
|
2499
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2500
|
+
execution_context: int | str | None = None,
|
|
2501
2501
|
undo: bool | None = None,
|
|
2502
2502
|
*,
|
|
2503
2503
|
mode: str | None = "STROKE",
|
|
@@ -2509,8 +2509,8 @@ def stroke_merge(
|
|
|
2509
2509
|
):
|
|
2510
2510
|
"""Create a new stroke with the selected stroke points
|
|
2511
2511
|
|
|
2512
|
-
:type override_context: dict[str, typing.Any] |
|
|
2513
|
-
:type execution_context:
|
|
2512
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2513
|
+
:type execution_context: int | str | None
|
|
2514
2514
|
:type undo: bool | None
|
|
2515
2515
|
:param mode: Mode
|
|
2516
2516
|
:type mode: str | None
|
|
@@ -2529,8 +2529,8 @@ def stroke_merge(
|
|
|
2529
2529
|
...
|
|
2530
2530
|
|
|
2531
2531
|
def stroke_merge_by_distance(
|
|
2532
|
-
override_context: dict[str, typing.Any] |
|
|
2533
|
-
execution_context:
|
|
2532
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2533
|
+
execution_context: int | str | None = None,
|
|
2534
2534
|
undo: bool | None = None,
|
|
2535
2535
|
*,
|
|
2536
2536
|
threshold: typing.Any | None = 0.001,
|
|
@@ -2538,8 +2538,8 @@ def stroke_merge_by_distance(
|
|
|
2538
2538
|
):
|
|
2539
2539
|
"""Merge points by distance
|
|
2540
2540
|
|
|
2541
|
-
:type override_context: dict[str, typing.Any] |
|
|
2542
|
-
:type execution_context:
|
|
2541
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2542
|
+
:type execution_context: int | str | None
|
|
2543
2543
|
:type undo: bool | None
|
|
2544
2544
|
:param threshold: Threshold
|
|
2545
2545
|
:type threshold: typing.Any | None
|
|
@@ -2550,8 +2550,8 @@ def stroke_merge_by_distance(
|
|
|
2550
2550
|
...
|
|
2551
2551
|
|
|
2552
2552
|
def stroke_merge_material(
|
|
2553
|
-
override_context: dict[str, typing.Any] |
|
|
2554
|
-
execution_context:
|
|
2553
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2554
|
+
execution_context: int | str | None = None,
|
|
2555
2555
|
undo: bool | None = None,
|
|
2556
2556
|
*,
|
|
2557
2557
|
hue_threshold: typing.Any | None = 0.001,
|
|
@@ -2560,8 +2560,8 @@ def stroke_merge_material(
|
|
|
2560
2560
|
):
|
|
2561
2561
|
"""Replace materials in strokes merging similar
|
|
2562
2562
|
|
|
2563
|
-
:type override_context: dict[str, typing.Any] |
|
|
2564
|
-
:type execution_context:
|
|
2563
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2564
|
+
:type execution_context: int | str | None
|
|
2565
2565
|
:type undo: bool | None
|
|
2566
2566
|
:param hue_threshold: Hue Threshold
|
|
2567
2567
|
:type hue_threshold: typing.Any | None
|
|
@@ -2574,8 +2574,8 @@ def stroke_merge_material(
|
|
|
2574
2574
|
...
|
|
2575
2575
|
|
|
2576
2576
|
def stroke_normalize(
|
|
2577
|
-
override_context: dict[str, typing.Any] |
|
|
2578
|
-
execution_context:
|
|
2577
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2578
|
+
execution_context: int | str | None = None,
|
|
2579
2579
|
undo: bool | None = None,
|
|
2580
2580
|
*,
|
|
2581
2581
|
mode: str | None = "THICKNESS",
|
|
@@ -2584,8 +2584,8 @@ def stroke_normalize(
|
|
|
2584
2584
|
):
|
|
2585
2585
|
"""Normalize stroke attributes
|
|
2586
2586
|
|
|
2587
|
-
:type override_context: dict[str, typing.Any] |
|
|
2588
|
-
:type execution_context:
|
|
2587
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2588
|
+
:type execution_context: int | str | None
|
|
2589
2589
|
:type undo: bool | None
|
|
2590
2590
|
:param mode: Mode, Attribute to be normalized
|
|
2591
2591
|
|
|
@@ -2604,8 +2604,8 @@ def stroke_normalize(
|
|
|
2604
2604
|
...
|
|
2605
2605
|
|
|
2606
2606
|
def stroke_outline(
|
|
2607
|
-
override_context: dict[str, typing.Any] |
|
|
2608
|
-
execution_context:
|
|
2607
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2608
|
+
execution_context: int | str | None = None,
|
|
2609
2609
|
undo: bool | None = None,
|
|
2610
2610
|
*,
|
|
2611
2611
|
view_mode: str | None = "VIEW",
|
|
@@ -2617,8 +2617,8 @@ def stroke_outline(
|
|
|
2617
2617
|
):
|
|
2618
2618
|
"""Convert stroke to perimeter
|
|
2619
2619
|
|
|
2620
|
-
:type override_context: dict[str, typing.Any] |
|
|
2621
|
-
:type execution_context:
|
|
2620
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2621
|
+
:type execution_context: int | str | None
|
|
2622
2622
|
:type undo: bool | None
|
|
2623
2623
|
:param view_mode: View
|
|
2624
2624
|
:type view_mode: str | None
|
|
@@ -2646,16 +2646,16 @@ def stroke_outline(
|
|
|
2646
2646
|
...
|
|
2647
2647
|
|
|
2648
2648
|
def stroke_reset_vertex_color(
|
|
2649
|
-
override_context: dict[str, typing.Any] |
|
|
2650
|
-
execution_context:
|
|
2649
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2650
|
+
execution_context: int | str | None = None,
|
|
2651
2651
|
undo: bool | None = None,
|
|
2652
2652
|
*,
|
|
2653
2653
|
mode: str | None = "BOTH",
|
|
2654
2654
|
):
|
|
2655
2655
|
"""Reset vertex color for all or selected strokes
|
|
2656
2656
|
|
|
2657
|
-
:type override_context: dict[str, typing.Any] |
|
|
2658
|
-
:type execution_context:
|
|
2657
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2658
|
+
:type execution_context: int | str | None
|
|
2659
2659
|
:type undo: bool | None
|
|
2660
2660
|
:param mode: Mode
|
|
2661
2661
|
|
|
@@ -2673,8 +2673,8 @@ def stroke_reset_vertex_color(
|
|
|
2673
2673
|
...
|
|
2674
2674
|
|
|
2675
2675
|
def stroke_sample(
|
|
2676
|
-
override_context: dict[str, typing.Any] |
|
|
2677
|
-
execution_context:
|
|
2676
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2677
|
+
execution_context: int | str | None = None,
|
|
2678
2678
|
undo: bool | None = None,
|
|
2679
2679
|
*,
|
|
2680
2680
|
length: typing.Any | None = 0.1,
|
|
@@ -2682,8 +2682,8 @@ def stroke_sample(
|
|
|
2682
2682
|
):
|
|
2683
2683
|
"""Sample stroke points to predefined segment length
|
|
2684
2684
|
|
|
2685
|
-
:type override_context: dict[str, typing.Any] |
|
|
2686
|
-
:type execution_context:
|
|
2685
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2686
|
+
:type execution_context: int | str | None
|
|
2687
2687
|
:type undo: bool | None
|
|
2688
2688
|
:param length: Length
|
|
2689
2689
|
:type length: typing.Any | None
|
|
@@ -2694,16 +2694,16 @@ def stroke_sample(
|
|
|
2694
2694
|
...
|
|
2695
2695
|
|
|
2696
2696
|
def stroke_separate(
|
|
2697
|
-
override_context: dict[str, typing.Any] |
|
|
2698
|
-
execution_context:
|
|
2697
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2698
|
+
execution_context: int | str | None = None,
|
|
2699
2699
|
undo: bool | None = None,
|
|
2700
2700
|
*,
|
|
2701
2701
|
mode: str | None = "POINT",
|
|
2702
2702
|
):
|
|
2703
2703
|
"""Separate the selected strokes or layer in a new grease pencil object
|
|
2704
2704
|
|
|
2705
|
-
:type override_context: dict[str, typing.Any] |
|
|
2706
|
-
:type execution_context:
|
|
2705
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2706
|
+
:type execution_context: int | str | None
|
|
2707
2707
|
:type undo: bool | None
|
|
2708
2708
|
:param mode: Mode
|
|
2709
2709
|
|
|
@@ -2721,16 +2721,16 @@ def stroke_separate(
|
|
|
2721
2721
|
...
|
|
2722
2722
|
|
|
2723
2723
|
def stroke_simplify(
|
|
2724
|
-
override_context: dict[str, typing.Any] |
|
|
2725
|
-
execution_context:
|
|
2724
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2725
|
+
execution_context: int | str | None = None,
|
|
2726
2726
|
undo: bool | None = None,
|
|
2727
2727
|
*,
|
|
2728
2728
|
factor: typing.Any | None = 0.0,
|
|
2729
2729
|
):
|
|
2730
2730
|
"""Simplify selected strokes, reducing number of points
|
|
2731
2731
|
|
|
2732
|
-
:type override_context: dict[str, typing.Any] |
|
|
2733
|
-
:type execution_context:
|
|
2732
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2733
|
+
:type execution_context: int | str | None
|
|
2734
2734
|
:type undo: bool | None
|
|
2735
2735
|
:param factor: Factor
|
|
2736
2736
|
:type factor: typing.Any | None
|
|
@@ -2739,16 +2739,16 @@ def stroke_simplify(
|
|
|
2739
2739
|
...
|
|
2740
2740
|
|
|
2741
2741
|
def stroke_simplify_fixed(
|
|
2742
|
-
override_context: dict[str, typing.Any] |
|
|
2743
|
-
execution_context:
|
|
2742
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2743
|
+
execution_context: int | str | None = None,
|
|
2744
2744
|
undo: bool | None = None,
|
|
2745
2745
|
*,
|
|
2746
2746
|
step: typing.Any | None = 1,
|
|
2747
2747
|
):
|
|
2748
2748
|
"""Simplify selected strokes, reducing number of points using fixed algorithm
|
|
2749
2749
|
|
|
2750
|
-
:type override_context: dict[str, typing.Any] |
|
|
2751
|
-
:type execution_context:
|
|
2750
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2751
|
+
:type execution_context: int | str | None
|
|
2752
2752
|
:type undo: bool | None
|
|
2753
2753
|
:param step: Steps, Number of simplify steps
|
|
2754
2754
|
:type step: typing.Any | None
|
|
@@ -2757,8 +2757,8 @@ def stroke_simplify_fixed(
|
|
|
2757
2757
|
...
|
|
2758
2758
|
|
|
2759
2759
|
def stroke_smooth(
|
|
2760
|
-
override_context: dict[str, typing.Any] |
|
|
2761
|
-
execution_context:
|
|
2760
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2761
|
+
execution_context: int | str | None = None,
|
|
2762
2762
|
undo: bool | None = None,
|
|
2763
2763
|
*,
|
|
2764
2764
|
repeat: typing.Any | None = 2,
|
|
@@ -2771,8 +2771,8 @@ def stroke_smooth(
|
|
|
2771
2771
|
):
|
|
2772
2772
|
"""Smooth selected strokes
|
|
2773
2773
|
|
|
2774
|
-
:type override_context: dict[str, typing.Any] |
|
|
2775
|
-
:type execution_context:
|
|
2774
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2775
|
+
:type execution_context: int | str | None
|
|
2776
2776
|
:type undo: bool | None
|
|
2777
2777
|
:param repeat: Repeat
|
|
2778
2778
|
:type repeat: typing.Any | None
|
|
@@ -2793,36 +2793,36 @@ def stroke_smooth(
|
|
|
2793
2793
|
...
|
|
2794
2794
|
|
|
2795
2795
|
def stroke_split(
|
|
2796
|
-
override_context: dict[str, typing.Any] |
|
|
2797
|
-
execution_context:
|
|
2796
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2797
|
+
execution_context: int | str | None = None,
|
|
2798
2798
|
undo: bool | None = None,
|
|
2799
2799
|
):
|
|
2800
2800
|
"""Split selected points as new stroke on same frame
|
|
2801
2801
|
|
|
2802
|
-
:type override_context: dict[str, typing.Any] |
|
|
2803
|
-
:type execution_context:
|
|
2802
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2803
|
+
:type execution_context: int | str | None
|
|
2804
2804
|
:type undo: bool | None
|
|
2805
2805
|
"""
|
|
2806
2806
|
|
|
2807
2807
|
...
|
|
2808
2808
|
|
|
2809
2809
|
def stroke_start_set(
|
|
2810
|
-
override_context: dict[str, typing.Any] |
|
|
2811
|
-
execution_context:
|
|
2810
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2811
|
+
execution_context: int | str | None = None,
|
|
2812
2812
|
undo: bool | None = None,
|
|
2813
2813
|
):
|
|
2814
2814
|
"""Set start point for cyclic strokes
|
|
2815
2815
|
|
|
2816
|
-
:type override_context: dict[str, typing.Any] |
|
|
2817
|
-
:type execution_context:
|
|
2816
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2817
|
+
:type execution_context: int | str | None
|
|
2818
2818
|
:type undo: bool | None
|
|
2819
2819
|
"""
|
|
2820
2820
|
|
|
2821
2821
|
...
|
|
2822
2822
|
|
|
2823
2823
|
def stroke_subdivide(
|
|
2824
|
-
override_context: dict[str, typing.Any] |
|
|
2825
|
-
execution_context:
|
|
2824
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2825
|
+
execution_context: int | str | None = None,
|
|
2826
2826
|
undo: bool | None = None,
|
|
2827
2827
|
*,
|
|
2828
2828
|
number_cuts: typing.Any | None = 1,
|
|
@@ -2836,8 +2836,8 @@ def stroke_subdivide(
|
|
|
2836
2836
|
):
|
|
2837
2837
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
2838
2838
|
|
|
2839
|
-
:type override_context: dict[str, typing.Any] |
|
|
2840
|
-
:type execution_context:
|
|
2839
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2840
|
+
:type execution_context: int | str | None
|
|
2841
2841
|
:type undo: bool | None
|
|
2842
2842
|
:param number_cuts: Number of Cuts
|
|
2843
2843
|
:type number_cuts: typing.Any | None
|
|
@@ -2860,30 +2860,30 @@ def stroke_subdivide(
|
|
|
2860
2860
|
...
|
|
2861
2861
|
|
|
2862
2862
|
def stroke_trim(
|
|
2863
|
-
override_context: dict[str, typing.Any] |
|
|
2864
|
-
execution_context:
|
|
2863
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2864
|
+
execution_context: int | str | None = None,
|
|
2865
2865
|
undo: bool | None = None,
|
|
2866
2866
|
):
|
|
2867
2867
|
"""Trim selected stroke to first loop or intersection
|
|
2868
2868
|
|
|
2869
|
-
:type override_context: dict[str, typing.Any] |
|
|
2870
|
-
:type execution_context:
|
|
2869
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2870
|
+
:type execution_context: int | str | None
|
|
2871
2871
|
:type undo: bool | None
|
|
2872
2872
|
"""
|
|
2873
2873
|
|
|
2874
2874
|
...
|
|
2875
2875
|
|
|
2876
2876
|
def time_segment_add(
|
|
2877
|
-
override_context: dict[str, typing.Any] |
|
|
2878
|
-
execution_context:
|
|
2877
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2878
|
+
execution_context: int | str | None = None,
|
|
2879
2879
|
undo: bool | None = None,
|
|
2880
2880
|
*,
|
|
2881
2881
|
modifier: str | typing.Any = "",
|
|
2882
2882
|
):
|
|
2883
2883
|
"""Add a segment to the time modifier
|
|
2884
2884
|
|
|
2885
|
-
:type override_context: dict[str, typing.Any] |
|
|
2886
|
-
:type execution_context:
|
|
2885
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2886
|
+
:type execution_context: int | str | None
|
|
2887
2887
|
:type undo: bool | None
|
|
2888
2888
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2889
2889
|
:type modifier: str | typing.Any
|
|
@@ -2892,8 +2892,8 @@ def time_segment_add(
|
|
|
2892
2892
|
...
|
|
2893
2893
|
|
|
2894
2894
|
def time_segment_move(
|
|
2895
|
-
override_context: dict[str, typing.Any] |
|
|
2896
|
-
execution_context:
|
|
2895
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2896
|
+
execution_context: int | str | None = None,
|
|
2897
2897
|
undo: bool | None = None,
|
|
2898
2898
|
*,
|
|
2899
2899
|
modifier: str | typing.Any = "",
|
|
@@ -2901,8 +2901,8 @@ def time_segment_move(
|
|
|
2901
2901
|
):
|
|
2902
2902
|
"""Move the active time segment up or down
|
|
2903
2903
|
|
|
2904
|
-
:type override_context: dict[str, typing.Any] |
|
|
2905
|
-
:type execution_context:
|
|
2904
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2905
|
+
:type execution_context: int | str | None
|
|
2906
2906
|
:type undo: bool | None
|
|
2907
2907
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2908
2908
|
:type modifier: str | typing.Any
|
|
@@ -2913,8 +2913,8 @@ def time_segment_move(
|
|
|
2913
2913
|
...
|
|
2914
2914
|
|
|
2915
2915
|
def time_segment_remove(
|
|
2916
|
-
override_context: dict[str, typing.Any] |
|
|
2917
|
-
execution_context:
|
|
2916
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2917
|
+
execution_context: int | str | None = None,
|
|
2918
2918
|
undo: bool | None = None,
|
|
2919
2919
|
*,
|
|
2920
2920
|
modifier: str | typing.Any = "",
|
|
@@ -2922,8 +2922,8 @@ def time_segment_remove(
|
|
|
2922
2922
|
):
|
|
2923
2923
|
"""Remove the active segment from the time modifier
|
|
2924
2924
|
|
|
2925
|
-
:type override_context: dict[str, typing.Any] |
|
|
2926
|
-
:type execution_context:
|
|
2925
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2926
|
+
:type execution_context: int | str | None
|
|
2927
2927
|
:type undo: bool | None
|
|
2928
2928
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2929
2929
|
:type modifier: str | typing.Any
|
|
@@ -2934,22 +2934,22 @@ def time_segment_remove(
|
|
|
2934
2934
|
...
|
|
2935
2935
|
|
|
2936
2936
|
def tint_flip(
|
|
2937
|
-
override_context: dict[str, typing.Any] |
|
|
2938
|
-
execution_context:
|
|
2937
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2938
|
+
execution_context: int | str | None = None,
|
|
2939
2939
|
undo: bool | None = None,
|
|
2940
2940
|
):
|
|
2941
2941
|
"""Switch tint colors
|
|
2942
2942
|
|
|
2943
|
-
:type override_context: dict[str, typing.Any] |
|
|
2944
|
-
:type execution_context:
|
|
2943
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2944
|
+
:type execution_context: int | str | None
|
|
2945
2945
|
:type undo: bool | None
|
|
2946
2946
|
"""
|
|
2947
2947
|
|
|
2948
2948
|
...
|
|
2949
2949
|
|
|
2950
2950
|
def trace_image(
|
|
2951
|
-
override_context: dict[str, typing.Any] |
|
|
2952
|
-
execution_context:
|
|
2951
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2952
|
+
execution_context: int | str | None = None,
|
|
2953
2953
|
undo: bool | None = None,
|
|
2954
2954
|
*,
|
|
2955
2955
|
target: str | None = "NEW",
|
|
@@ -2965,8 +2965,8 @@ def trace_image(
|
|
|
2965
2965
|
):
|
|
2966
2966
|
"""Extract Grease Pencil strokes from image
|
|
2967
2967
|
|
|
2968
|
-
:type override_context: dict[str, typing.Any] |
|
|
2969
|
-
:type execution_context:
|
|
2968
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2969
|
+
:type execution_context: int | str | None
|
|
2970
2970
|
:type undo: bool | None
|
|
2971
2971
|
:param target: Target Object, Target grease pencil
|
|
2972
2972
|
:type target: str | None
|
|
@@ -3020,8 +3020,8 @@ def trace_image(
|
|
|
3020
3020
|
...
|
|
3021
3021
|
|
|
3022
3022
|
def transform_fill(
|
|
3023
|
-
override_context: dict[str, typing.Any] |
|
|
3024
|
-
execution_context:
|
|
3023
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3024
|
+
execution_context: int | str | None = None,
|
|
3025
3025
|
undo: bool | None = None,
|
|
3026
3026
|
*,
|
|
3027
3027
|
mode: str | None = "ROTATE",
|
|
@@ -3032,8 +3032,8 @@ def transform_fill(
|
|
|
3032
3032
|
):
|
|
3033
3033
|
"""Transform grease pencil stroke fill
|
|
3034
3034
|
|
|
3035
|
-
:type override_context: dict[str, typing.Any] |
|
|
3036
|
-
:type execution_context:
|
|
3035
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3036
|
+
:type execution_context: int | str | None
|
|
3037
3037
|
:type undo: bool | None
|
|
3038
3038
|
:param mode: Mode
|
|
3039
3039
|
:type mode: str | None
|
|
@@ -3050,22 +3050,22 @@ def transform_fill(
|
|
|
3050
3050
|
...
|
|
3051
3051
|
|
|
3052
3052
|
def unlock_all(
|
|
3053
|
-
override_context: dict[str, typing.Any] |
|
|
3054
|
-
execution_context:
|
|
3053
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3054
|
+
execution_context: int | str | None = None,
|
|
3055
3055
|
undo: bool | None = None,
|
|
3056
3056
|
):
|
|
3057
3057
|
"""Unlock all Grease Pencil layers so that they can be edited
|
|
3058
3058
|
|
|
3059
|
-
:type override_context: dict[str, typing.Any] |
|
|
3060
|
-
:type execution_context:
|
|
3059
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3060
|
+
:type execution_context: int | str | None
|
|
3061
3061
|
:type undo: bool | None
|
|
3062
3062
|
"""
|
|
3063
3063
|
|
|
3064
3064
|
...
|
|
3065
3065
|
|
|
3066
3066
|
def vertex_color_brightness_contrast(
|
|
3067
|
-
override_context: dict[str, typing.Any] |
|
|
3068
|
-
execution_context:
|
|
3067
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3068
|
+
execution_context: int | str | None = None,
|
|
3069
3069
|
undo: bool | None = None,
|
|
3070
3070
|
*,
|
|
3071
3071
|
mode: str | None = "BOTH",
|
|
@@ -3074,8 +3074,8 @@ def vertex_color_brightness_contrast(
|
|
|
3074
3074
|
):
|
|
3075
3075
|
"""Adjust vertex color brightness/contrast
|
|
3076
3076
|
|
|
3077
|
-
:type override_context: dict[str, typing.Any] |
|
|
3078
|
-
:type execution_context:
|
|
3077
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3078
|
+
:type execution_context: int | str | None
|
|
3079
3079
|
:type undo: bool | None
|
|
3080
3080
|
:param mode: Mode
|
|
3081
3081
|
:type mode: str | None
|
|
@@ -3088,8 +3088,8 @@ def vertex_color_brightness_contrast(
|
|
|
3088
3088
|
...
|
|
3089
3089
|
|
|
3090
3090
|
def vertex_color_hsv(
|
|
3091
|
-
override_context: dict[str, typing.Any] |
|
|
3092
|
-
execution_context:
|
|
3091
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3092
|
+
execution_context: int | str | None = None,
|
|
3093
3093
|
undo: bool | None = None,
|
|
3094
3094
|
*,
|
|
3095
3095
|
mode: str | None = "BOTH",
|
|
@@ -3099,8 +3099,8 @@ def vertex_color_hsv(
|
|
|
3099
3099
|
):
|
|
3100
3100
|
"""Adjust vertex color HSV values
|
|
3101
3101
|
|
|
3102
|
-
:type override_context: dict[str, typing.Any] |
|
|
3103
|
-
:type execution_context:
|
|
3102
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3103
|
+
:type execution_context: int | str | None
|
|
3104
3104
|
:type undo: bool | None
|
|
3105
3105
|
:param mode: Mode
|
|
3106
3106
|
:type mode: str | None
|
|
@@ -3115,16 +3115,16 @@ def vertex_color_hsv(
|
|
|
3115
3115
|
...
|
|
3116
3116
|
|
|
3117
3117
|
def vertex_color_invert(
|
|
3118
|
-
override_context: dict[str, typing.Any] |
|
|
3119
|
-
execution_context:
|
|
3118
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3119
|
+
execution_context: int | str | None = None,
|
|
3120
3120
|
undo: bool | None = None,
|
|
3121
3121
|
*,
|
|
3122
3122
|
mode: str | None = "BOTH",
|
|
3123
3123
|
):
|
|
3124
3124
|
"""Invert RGB values
|
|
3125
3125
|
|
|
3126
|
-
:type override_context: dict[str, typing.Any] |
|
|
3127
|
-
:type execution_context:
|
|
3126
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3127
|
+
:type execution_context: int | str | None
|
|
3128
3128
|
:type undo: bool | None
|
|
3129
3129
|
:param mode: Mode
|
|
3130
3130
|
:type mode: str | None
|
|
@@ -3133,8 +3133,8 @@ def vertex_color_invert(
|
|
|
3133
3133
|
...
|
|
3134
3134
|
|
|
3135
3135
|
def vertex_color_levels(
|
|
3136
|
-
override_context: dict[str, typing.Any] |
|
|
3137
|
-
execution_context:
|
|
3136
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3137
|
+
execution_context: int | str | None = None,
|
|
3138
3138
|
undo: bool | None = None,
|
|
3139
3139
|
*,
|
|
3140
3140
|
mode: str | None = "BOTH",
|
|
@@ -3143,8 +3143,8 @@ def vertex_color_levels(
|
|
|
3143
3143
|
):
|
|
3144
3144
|
"""Adjust levels of vertex colors
|
|
3145
3145
|
|
|
3146
|
-
:type override_context: dict[str, typing.Any] |
|
|
3147
|
-
:type execution_context:
|
|
3146
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3147
|
+
:type execution_context: int | str | None
|
|
3148
3148
|
:type undo: bool | None
|
|
3149
3149
|
:param mode: Mode
|
|
3150
3150
|
:type mode: str | None
|
|
@@ -3157,8 +3157,8 @@ def vertex_color_levels(
|
|
|
3157
3157
|
...
|
|
3158
3158
|
|
|
3159
3159
|
def vertex_color_set(
|
|
3160
|
-
override_context: dict[str, typing.Any] |
|
|
3161
|
-
execution_context:
|
|
3160
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3161
|
+
execution_context: int | str | None = None,
|
|
3162
3162
|
undo: bool | None = None,
|
|
3163
3163
|
*,
|
|
3164
3164
|
mode: str | None = "BOTH",
|
|
@@ -3166,8 +3166,8 @@ def vertex_color_set(
|
|
|
3166
3166
|
):
|
|
3167
3167
|
"""Set active color to all selected vertex
|
|
3168
3168
|
|
|
3169
|
-
:type override_context: dict[str, typing.Any] |
|
|
3170
|
-
:type execution_context:
|
|
3169
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3170
|
+
:type execution_context: int | str | None
|
|
3171
3171
|
:type undo: bool | None
|
|
3172
3172
|
:param mode: Mode
|
|
3173
3173
|
:type mode: str | None
|
|
@@ -3178,72 +3178,72 @@ def vertex_color_set(
|
|
|
3178
3178
|
...
|
|
3179
3179
|
|
|
3180
3180
|
def vertex_group_assign(
|
|
3181
|
-
override_context: dict[str, typing.Any] |
|
|
3182
|
-
execution_context:
|
|
3181
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3182
|
+
execution_context: int | str | None = None,
|
|
3183
3183
|
undo: bool | None = None,
|
|
3184
3184
|
):
|
|
3185
3185
|
"""Assign the selected vertices to the active vertex group
|
|
3186
3186
|
|
|
3187
|
-
:type override_context: dict[str, typing.Any] |
|
|
3188
|
-
:type execution_context:
|
|
3187
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3188
|
+
:type execution_context: int | str | None
|
|
3189
3189
|
:type undo: bool | None
|
|
3190
3190
|
"""
|
|
3191
3191
|
|
|
3192
3192
|
...
|
|
3193
3193
|
|
|
3194
3194
|
def vertex_group_deselect(
|
|
3195
|
-
override_context: dict[str, typing.Any] |
|
|
3196
|
-
execution_context:
|
|
3195
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3196
|
+
execution_context: int | str | None = None,
|
|
3197
3197
|
undo: bool | None = None,
|
|
3198
3198
|
):
|
|
3199
3199
|
"""Deselect all selected vertices assigned to the active vertex group
|
|
3200
3200
|
|
|
3201
|
-
:type override_context: dict[str, typing.Any] |
|
|
3202
|
-
:type execution_context:
|
|
3201
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3202
|
+
:type execution_context: int | str | None
|
|
3203
3203
|
:type undo: bool | None
|
|
3204
3204
|
"""
|
|
3205
3205
|
|
|
3206
3206
|
...
|
|
3207
3207
|
|
|
3208
3208
|
def vertex_group_invert(
|
|
3209
|
-
override_context: dict[str, typing.Any] |
|
|
3210
|
-
execution_context:
|
|
3209
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3210
|
+
execution_context: int | str | None = None,
|
|
3211
3211
|
undo: bool | None = None,
|
|
3212
3212
|
):
|
|
3213
3213
|
"""Invert weights to the active vertex group
|
|
3214
3214
|
|
|
3215
|
-
:type override_context: dict[str, typing.Any] |
|
|
3216
|
-
:type execution_context:
|
|
3215
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3216
|
+
:type execution_context: int | str | None
|
|
3217
3217
|
:type undo: bool | None
|
|
3218
3218
|
"""
|
|
3219
3219
|
|
|
3220
3220
|
...
|
|
3221
3221
|
|
|
3222
3222
|
def vertex_group_normalize(
|
|
3223
|
-
override_context: dict[str, typing.Any] |
|
|
3224
|
-
execution_context:
|
|
3223
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3224
|
+
execution_context: int | str | None = None,
|
|
3225
3225
|
undo: bool | None = None,
|
|
3226
3226
|
):
|
|
3227
3227
|
"""Normalize weights to the active vertex group
|
|
3228
3228
|
|
|
3229
|
-
:type override_context: dict[str, typing.Any] |
|
|
3230
|
-
:type execution_context:
|
|
3229
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3230
|
+
:type execution_context: int | str | None
|
|
3231
3231
|
:type undo: bool | None
|
|
3232
3232
|
"""
|
|
3233
3233
|
|
|
3234
3234
|
...
|
|
3235
3235
|
|
|
3236
3236
|
def vertex_group_normalize_all(
|
|
3237
|
-
override_context: dict[str, typing.Any] |
|
|
3238
|
-
execution_context:
|
|
3237
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3238
|
+
execution_context: int | str | None = None,
|
|
3239
3239
|
undo: bool | None = None,
|
|
3240
3240
|
*,
|
|
3241
3241
|
lock_active: bool | typing.Any | None = True,
|
|
3242
3242
|
):
|
|
3243
3243
|
"""Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
3244
3244
|
|
|
3245
|
-
:type override_context: dict[str, typing.Any] |
|
|
3246
|
-
:type execution_context:
|
|
3245
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3246
|
+
:type execution_context: int | str | None
|
|
3247
3247
|
:type undo: bool | None
|
|
3248
3248
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
3249
3249
|
:type lock_active: bool | typing.Any | None
|
|
@@ -3252,36 +3252,36 @@ def vertex_group_normalize_all(
|
|
|
3252
3252
|
...
|
|
3253
3253
|
|
|
3254
3254
|
def vertex_group_remove_from(
|
|
3255
|
-
override_context: dict[str, typing.Any] |
|
|
3256
|
-
execution_context:
|
|
3255
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3256
|
+
execution_context: int | str | None = None,
|
|
3257
3257
|
undo: bool | None = None,
|
|
3258
3258
|
):
|
|
3259
3259
|
"""Remove the selected vertices from active or all vertex group(s)
|
|
3260
3260
|
|
|
3261
|
-
:type override_context: dict[str, typing.Any] |
|
|
3262
|
-
:type execution_context:
|
|
3261
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3262
|
+
:type execution_context: int | str | None
|
|
3263
3263
|
:type undo: bool | None
|
|
3264
3264
|
"""
|
|
3265
3265
|
|
|
3266
3266
|
...
|
|
3267
3267
|
|
|
3268
3268
|
def vertex_group_select(
|
|
3269
|
-
override_context: dict[str, typing.Any] |
|
|
3270
|
-
execution_context:
|
|
3269
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3270
|
+
execution_context: int | str | None = None,
|
|
3271
3271
|
undo: bool | None = None,
|
|
3272
3272
|
):
|
|
3273
3273
|
"""Select all the vertices assigned to the active vertex group
|
|
3274
3274
|
|
|
3275
|
-
:type override_context: dict[str, typing.Any] |
|
|
3276
|
-
:type execution_context:
|
|
3275
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3276
|
+
:type execution_context: int | str | None
|
|
3277
3277
|
:type undo: bool | None
|
|
3278
3278
|
"""
|
|
3279
3279
|
|
|
3280
3280
|
...
|
|
3281
3281
|
|
|
3282
3282
|
def vertex_group_smooth(
|
|
3283
|
-
override_context: dict[str, typing.Any] |
|
|
3284
|
-
execution_context:
|
|
3283
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3284
|
+
execution_context: int | str | None = None,
|
|
3285
3285
|
undo: bool | None = None,
|
|
3286
3286
|
*,
|
|
3287
3287
|
factor: typing.Any | None = 0.5,
|
|
@@ -3289,8 +3289,8 @@ def vertex_group_smooth(
|
|
|
3289
3289
|
):
|
|
3290
3290
|
"""Smooth weights to the active vertex group
|
|
3291
3291
|
|
|
3292
|
-
:type override_context: dict[str, typing.Any] |
|
|
3293
|
-
:type execution_context:
|
|
3292
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3293
|
+
:type execution_context: int | str | None
|
|
3294
3294
|
:type undo: bool | None
|
|
3295
3295
|
:param factor: Factor
|
|
3296
3296
|
:type factor: typing.Any | None
|
|
@@ -3301,8 +3301,8 @@ def vertex_group_smooth(
|
|
|
3301
3301
|
...
|
|
3302
3302
|
|
|
3303
3303
|
def vertex_paint(
|
|
3304
|
-
override_context: dict[str, typing.Any] |
|
|
3305
|
-
execution_context:
|
|
3304
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3305
|
+
execution_context: int | str | None = None,
|
|
3306
3306
|
undo: bool | None = None,
|
|
3307
3307
|
*,
|
|
3308
3308
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -3311,8 +3311,8 @@ def vertex_paint(
|
|
|
3311
3311
|
):
|
|
3312
3312
|
"""Paint stroke points with a color
|
|
3313
3313
|
|
|
3314
|
-
:type override_context: dict[str, typing.Any] |
|
|
3315
|
-
:type execution_context:
|
|
3314
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3315
|
+
:type execution_context: int | str | None
|
|
3316
3316
|
:type undo: bool | None
|
|
3317
3317
|
:param stroke: Stroke
|
|
3318
3318
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
@@ -3323,16 +3323,16 @@ def vertex_paint(
|
|
|
3323
3323
|
...
|
|
3324
3324
|
|
|
3325
3325
|
def vertexmode_toggle(
|
|
3326
|
-
override_context: dict[str, typing.Any] |
|
|
3327
|
-
execution_context:
|
|
3326
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3327
|
+
execution_context: int | str | None = None,
|
|
3328
3328
|
undo: bool | None = None,
|
|
3329
3329
|
*,
|
|
3330
3330
|
back: bool | typing.Any | None = False,
|
|
3331
3331
|
):
|
|
3332
3332
|
"""Enter/Exit vertex paint mode for Grease Pencil strokes
|
|
3333
3333
|
|
|
3334
|
-
:type override_context: dict[str, typing.Any] |
|
|
3335
|
-
:type execution_context:
|
|
3334
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3335
|
+
:type execution_context: int | str | None
|
|
3336
3336
|
:type undo: bool | None
|
|
3337
3337
|
:param back: Return to Previous Mode, Return to previous mode
|
|
3338
3338
|
:type back: bool | typing.Any | None
|
|
@@ -3341,8 +3341,8 @@ def vertexmode_toggle(
|
|
|
3341
3341
|
...
|
|
3342
3342
|
|
|
3343
3343
|
def weight_paint(
|
|
3344
|
-
override_context: dict[str, typing.Any] |
|
|
3345
|
-
execution_context:
|
|
3344
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3345
|
+
execution_context: int | str | None = None,
|
|
3346
3346
|
undo: bool | None = None,
|
|
3347
3347
|
*,
|
|
3348
3348
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -3351,8 +3351,8 @@ def weight_paint(
|
|
|
3351
3351
|
):
|
|
3352
3352
|
"""Draw weight on stroke points
|
|
3353
3353
|
|
|
3354
|
-
:type override_context: dict[str, typing.Any] |
|
|
3355
|
-
:type execution_context:
|
|
3354
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3355
|
+
:type execution_context: int | str | None
|
|
3356
3356
|
:type undo: bool | None
|
|
3357
3357
|
:param stroke: Stroke
|
|
3358
3358
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
@@ -3363,44 +3363,44 @@ def weight_paint(
|
|
|
3363
3363
|
...
|
|
3364
3364
|
|
|
3365
3365
|
def weight_sample(
|
|
3366
|
-
override_context: dict[str, typing.Any] |
|
|
3367
|
-
execution_context:
|
|
3366
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3367
|
+
execution_context: int | str | None = None,
|
|
3368
3368
|
undo: bool | None = None,
|
|
3369
3369
|
):
|
|
3370
3370
|
"""Use the mouse to sample a weight in the 3D view
|
|
3371
3371
|
|
|
3372
|
-
:type override_context: dict[str, typing.Any] |
|
|
3373
|
-
:type execution_context:
|
|
3372
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3373
|
+
:type execution_context: int | str | None
|
|
3374
3374
|
:type undo: bool | None
|
|
3375
3375
|
"""
|
|
3376
3376
|
|
|
3377
3377
|
...
|
|
3378
3378
|
|
|
3379
3379
|
def weight_toggle_direction(
|
|
3380
|
-
override_context: dict[str, typing.Any] |
|
|
3381
|
-
execution_context:
|
|
3380
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3381
|
+
execution_context: int | str | None = None,
|
|
3382
3382
|
undo: bool | None = None,
|
|
3383
3383
|
):
|
|
3384
3384
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
3385
3385
|
|
|
3386
|
-
:type override_context: dict[str, typing.Any] |
|
|
3387
|
-
:type execution_context:
|
|
3386
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3387
|
+
:type execution_context: int | str | None
|
|
3388
3388
|
:type undo: bool | None
|
|
3389
3389
|
"""
|
|
3390
3390
|
|
|
3391
3391
|
...
|
|
3392
3392
|
|
|
3393
3393
|
def weightmode_toggle(
|
|
3394
|
-
override_context: dict[str, typing.Any] |
|
|
3395
|
-
execution_context:
|
|
3394
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3395
|
+
execution_context: int | str | None = None,
|
|
3396
3396
|
undo: bool | None = None,
|
|
3397
3397
|
*,
|
|
3398
3398
|
back: bool | typing.Any | None = False,
|
|
3399
3399
|
):
|
|
3400
3400
|
"""Enter/Exit weight paint mode for Grease Pencil strokes
|
|
3401
3401
|
|
|
3402
|
-
:type override_context: dict[str, typing.Any] |
|
|
3403
|
-
:type execution_context:
|
|
3402
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3403
|
+
:type execution_context: int | str | None
|
|
3404
3404
|
:type undo: bool | None
|
|
3405
3405
|
:param back: Return to Previous Mode, Return to previous mode
|
|
3406
3406
|
:type back: bool | typing.Any | None
|