fake-bpy-module 20240928__py3-none-any.whl → 20240929__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bpy/__init__.pyi +1 -1
- bpy/ops/action/__init__.pyi +76 -76
- bpy/ops/anim/__init__.pyi +124 -124
- bpy/ops/armature/__init__.pyi +96 -96
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +16 -16
- bpy/ops/brush/__init__.pyi +26 -26
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +184 -184
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +18 -18
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +102 -102
- bpy/ops/curves/__init__.pyi +54 -54
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +4 -4
- bpy/ops/extensions/__init__.pyi +68 -68
- bpy/ops/file/__init__.pyi +80 -80
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +284 -284
- bpy/ops/graph/__init__.pyi +130 -130
- bpy/ops/grease_pencil/__init__.pyi +202 -202
- bpy/ops/image/__init__.pyi +98 -98
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +4 -4
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +78 -78
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +16 -16
- bpy/ops/mesh/__init__.pyi +326 -326
- bpy/ops/nla/__init__.pyi +78 -78
- bpy/ops/node/__init__.pyi +230 -230
- bpy/ops/object/__init__.pyi +476 -476
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +108 -108
- bpy/ops/paintcurve/__init__.pyi +16 -16
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +102 -102
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +70 -70
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +26 -26
- bpy/ops/rigidbody/__init__.pyi +26 -26
- bpy/ops/scene/__init__.pyi +74 -74
- bpy/ops/screen/__init__.pyi +78 -78
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +74 -74
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +178 -178
- bpy/ops/sound/__init__.pyi +14 -14
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +54 -54
- bpy/ops/ui/__init__.pyi +68 -68
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +98 -98
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +232 -232
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +4 -4
- bpy/types/__init__.pyi +254 -219
- bpy_extras/object_utils/__init__.pyi +4 -4
- {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240929.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240929.dist-info}/RECORD +84 -84
- {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240929.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240929.dist-info}/top_level.txt +0 -0
bpy/ops/gpencil/__init__.pyi
CHANGED
|
@@ -6,31 +6,31 @@ import bpy.types
|
|
|
6
6
|
import mathutils
|
|
7
7
|
|
|
8
8
|
def active_frame_delete(
|
|
9
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
9
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
10
10
|
execution_context: int | str | None = None,
|
|
11
11
|
undo: bool | None = None,
|
|
12
12
|
):
|
|
13
13
|
"""Delete the active frame for the active Grease Pencil Layer
|
|
14
14
|
|
|
15
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
15
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
16
16
|
:type execution_context: int | str | None
|
|
17
17
|
:type undo: bool | None
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
20
|
def active_frames_delete_all(
|
|
21
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
21
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
22
22
|
execution_context: int | str | None = None,
|
|
23
23
|
undo: bool | None = None,
|
|
24
24
|
):
|
|
25
25
|
"""Delete the active frame(s) of all editable Grease Pencil layers
|
|
26
26
|
|
|
27
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
27
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
28
28
|
:type execution_context: int | str | None
|
|
29
29
|
:type undo: bool | None
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
def annotate(
|
|
33
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
33
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
34
34
|
execution_context: int | str | None = None,
|
|
35
35
|
undo: bool | None = None,
|
|
36
36
|
*,
|
|
@@ -53,7 +53,7 @@ def annotate(
|
|
|
53
53
|
):
|
|
54
54
|
"""Make annotations on the active data
|
|
55
55
|
|
|
56
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
56
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
57
57
|
:type execution_context: int | str | None
|
|
58
58
|
:type undo: bool | None
|
|
59
59
|
:param mode: Mode, Way to interpret mouse movements
|
|
@@ -117,31 +117,31 @@ def annotate(
|
|
|
117
117
|
"""
|
|
118
118
|
|
|
119
119
|
def annotation_active_frame_delete(
|
|
120
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
120
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
121
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: bpy.types.Context | dict[str, typing.Any]
|
|
126
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
127
127
|
:type execution_context: int | str | None
|
|
128
128
|
:type undo: bool | None
|
|
129
129
|
"""
|
|
130
130
|
|
|
131
131
|
def annotation_add(
|
|
132
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
132
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
133
133
|
execution_context: int | str | None = None,
|
|
134
134
|
undo: bool | None = None,
|
|
135
135
|
):
|
|
136
136
|
"""Add new Annotation data-block
|
|
137
137
|
|
|
138
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
138
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
139
139
|
:type execution_context: int | str | None
|
|
140
140
|
:type undo: bool | None
|
|
141
141
|
"""
|
|
142
142
|
|
|
143
143
|
def bake_grease_pencil_animation(
|
|
144
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
144
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
145
145
|
execution_context: int | str | None = None,
|
|
146
146
|
undo: bool | None = None,
|
|
147
147
|
*,
|
|
@@ -155,7 +155,7 @@ def bake_grease_pencil_animation(
|
|
|
155
155
|
):
|
|
156
156
|
"""Bake grease pencil object transform to grease pencil keyframes
|
|
157
157
|
|
|
158
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
158
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
159
159
|
:type execution_context: int | str | None
|
|
160
160
|
:type undo: bool | None
|
|
161
161
|
:param frame_start: Start Frame, The start frame
|
|
@@ -191,7 +191,7 @@ def bake_grease_pencil_animation(
|
|
|
191
191
|
"""
|
|
192
192
|
|
|
193
193
|
def bake_mesh_animation(
|
|
194
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
194
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
195
195
|
execution_context: int | str | None = None,
|
|
196
196
|
undo: bool | None = None,
|
|
197
197
|
*,
|
|
@@ -211,7 +211,7 @@ def bake_mesh_animation(
|
|
|
211
211
|
):
|
|
212
212
|
"""Bake mesh animation to grease pencil strokes
|
|
213
213
|
|
|
214
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
214
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
215
215
|
:type execution_context: int | str | None
|
|
216
216
|
:type undo: bool | None
|
|
217
217
|
:param target: Target Object, Target grease pencil
|
|
@@ -259,7 +259,7 @@ def bake_mesh_animation(
|
|
|
259
259
|
"""
|
|
260
260
|
|
|
261
261
|
def blank_frame_add(
|
|
262
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
262
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
263
263
|
execution_context: int | str | None = None,
|
|
264
264
|
undo: bool | None = None,
|
|
265
265
|
*,
|
|
@@ -267,7 +267,7 @@ def blank_frame_add(
|
|
|
267
267
|
):
|
|
268
268
|
"""Insert a blank frame on the current frame (all subsequently existing frames, if any, are shifted right by one frame)
|
|
269
269
|
|
|
270
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
270
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
271
271
|
:type execution_context: int | str | None
|
|
272
272
|
:type undo: bool | None
|
|
273
273
|
:param all_layers: All Layers, Create blank frame in all layers, not only active
|
|
@@ -275,7 +275,7 @@ def blank_frame_add(
|
|
|
275
275
|
"""
|
|
276
276
|
|
|
277
277
|
def convert(
|
|
278
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
278
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
279
279
|
execution_context: int | str | None = None,
|
|
280
280
|
undo: bool | None = None,
|
|
281
281
|
*,
|
|
@@ -297,7 +297,7 @@ def convert(
|
|
|
297
297
|
):
|
|
298
298
|
"""Convert the active Grease Pencil layer to a new Curve Object
|
|
299
299
|
|
|
300
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
300
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
301
301
|
:type execution_context: int | str | None
|
|
302
302
|
:type undo: bool | None
|
|
303
303
|
:param type: Type, Which type of curve to convert to
|
|
@@ -354,7 +354,7 @@ def convert(
|
|
|
354
354
|
"""
|
|
355
355
|
|
|
356
356
|
def convert_old_files(
|
|
357
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
357
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
358
358
|
execution_context: int | str | None = None,
|
|
359
359
|
undo: bool | None = None,
|
|
360
360
|
*,
|
|
@@ -362,7 +362,7 @@ def convert_old_files(
|
|
|
362
362
|
):
|
|
363
363
|
"""Convert 2.7x grease pencil files to 2.80
|
|
364
364
|
|
|
365
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
365
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
366
366
|
:type execution_context: int | str | None
|
|
367
367
|
:type undo: bool | None
|
|
368
368
|
:param annotation: Annotation, Convert to Annotations
|
|
@@ -370,31 +370,31 @@ def convert_old_files(
|
|
|
370
370
|
"""
|
|
371
371
|
|
|
372
372
|
def copy(
|
|
373
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
373
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
374
374
|
execution_context: int | str | None = None,
|
|
375
375
|
undo: bool | None = None,
|
|
376
376
|
):
|
|
377
377
|
"""Copy selected Grease Pencil points and strokes
|
|
378
378
|
|
|
379
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
379
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
380
380
|
:type execution_context: int | str | None
|
|
381
381
|
:type undo: bool | None
|
|
382
382
|
"""
|
|
383
383
|
|
|
384
384
|
def data_unlink(
|
|
385
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
385
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
386
386
|
execution_context: int | str | None = None,
|
|
387
387
|
undo: bool | None = None,
|
|
388
388
|
):
|
|
389
389
|
"""Unlink active Annotation data-block
|
|
390
390
|
|
|
391
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
391
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
392
392
|
:type execution_context: int | str | None
|
|
393
393
|
:type undo: bool | None
|
|
394
394
|
"""
|
|
395
395
|
|
|
396
396
|
def delete(
|
|
397
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
397
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
398
398
|
execution_context: int | str | None = None,
|
|
399
399
|
undo: bool | None = None,
|
|
400
400
|
*,
|
|
@@ -402,7 +402,7 @@ def delete(
|
|
|
402
402
|
):
|
|
403
403
|
"""Delete selected Grease Pencil strokes, vertices, or frames
|
|
404
404
|
|
|
405
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
405
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
406
406
|
:type execution_context: int | str | None
|
|
407
407
|
:type undo: bool | None
|
|
408
408
|
:param type: Type, Method used for deleting Grease Pencil data
|
|
@@ -419,7 +419,7 @@ def delete(
|
|
|
419
419
|
"""
|
|
420
420
|
|
|
421
421
|
def dissolve(
|
|
422
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
422
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
423
423
|
execution_context: int | str | None = None,
|
|
424
424
|
undo: bool | None = None,
|
|
425
425
|
*,
|
|
@@ -427,7 +427,7 @@ def dissolve(
|
|
|
427
427
|
):
|
|
428
428
|
"""Delete selected points without splitting strokes
|
|
429
429
|
|
|
430
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
430
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
431
431
|
:type execution_context: int | str | None
|
|
432
432
|
:type undo: bool | None
|
|
433
433
|
:param type: Type, Method used for dissolving stroke points
|
|
@@ -444,7 +444,7 @@ def dissolve(
|
|
|
444
444
|
"""
|
|
445
445
|
|
|
446
446
|
def draw(
|
|
447
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
447
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
448
448
|
execution_context: int | str | None = None,
|
|
449
449
|
undo: bool | None = None,
|
|
450
450
|
*,
|
|
@@ -459,7 +459,7 @@ def draw(
|
|
|
459
459
|
):
|
|
460
460
|
"""Draw a new stroke in the active Grease Pencil object
|
|
461
461
|
|
|
462
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
462
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
463
463
|
:type execution_context: int | str | None
|
|
464
464
|
:type undo: bool | None
|
|
465
465
|
:param mode: Mode, Way to interpret mouse movements
|
|
@@ -488,19 +488,19 @@ def draw(
|
|
|
488
488
|
"""
|
|
489
489
|
|
|
490
490
|
def duplicate(
|
|
491
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
491
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
492
492
|
execution_context: int | str | None = None,
|
|
493
493
|
undo: bool | None = None,
|
|
494
494
|
):
|
|
495
495
|
"""Duplicate the selected Grease Pencil strokes
|
|
496
496
|
|
|
497
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
497
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
498
498
|
:type execution_context: int | str | None
|
|
499
499
|
:type undo: bool | None
|
|
500
500
|
"""
|
|
501
501
|
|
|
502
502
|
def duplicate_move(
|
|
503
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
503
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
504
504
|
execution_context: int | str | None = None,
|
|
505
505
|
undo: bool | None = None,
|
|
506
506
|
*,
|
|
@@ -509,7 +509,7 @@ def duplicate_move(
|
|
|
509
509
|
):
|
|
510
510
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
511
511
|
|
|
512
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
512
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
513
513
|
:type execution_context: int | str | None
|
|
514
514
|
:type undo: bool | None
|
|
515
515
|
:param GPENCIL_OT_duplicate: Duplicate Strokes, Duplicate the selected Grease Pencil strokes
|
|
@@ -519,7 +519,7 @@ def duplicate_move(
|
|
|
519
519
|
"""
|
|
520
520
|
|
|
521
521
|
def editmode_toggle(
|
|
522
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
522
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
523
523
|
execution_context: int | str | None = None,
|
|
524
524
|
undo: bool | None = None,
|
|
525
525
|
*,
|
|
@@ -527,7 +527,7 @@ def editmode_toggle(
|
|
|
527
527
|
):
|
|
528
528
|
"""Enter/Exit edit mode for Grease Pencil strokes
|
|
529
529
|
|
|
530
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
530
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
531
531
|
:type execution_context: int | str | None
|
|
532
532
|
:type undo: bool | None
|
|
533
533
|
:param back: Return to Previous Mode, Return to previous mode
|
|
@@ -535,7 +535,7 @@ def editmode_toggle(
|
|
|
535
535
|
"""
|
|
536
536
|
|
|
537
537
|
def extract_palette_vertex(
|
|
538
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
538
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
539
539
|
execution_context: int | str | None = None,
|
|
540
540
|
undo: bool | None = None,
|
|
541
541
|
*,
|
|
@@ -544,7 +544,7 @@ def extract_palette_vertex(
|
|
|
544
544
|
):
|
|
545
545
|
"""Extract all colors used in Grease Pencil Vertex and create a Palette
|
|
546
546
|
|
|
547
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
547
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
548
548
|
:type execution_context: int | str | None
|
|
549
549
|
:type undo: bool | None
|
|
550
550
|
:param selected: Only Selected, Convert only selected strokes
|
|
@@ -554,19 +554,19 @@ def extract_palette_vertex(
|
|
|
554
554
|
"""
|
|
555
555
|
|
|
556
556
|
def extrude(
|
|
557
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
557
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
558
558
|
execution_context: int | str | None = None,
|
|
559
559
|
undo: bool | None = None,
|
|
560
560
|
):
|
|
561
561
|
"""Extrude the selected Grease Pencil points
|
|
562
562
|
|
|
563
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
563
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
564
564
|
:type execution_context: int | str | None
|
|
565
565
|
:type undo: bool | None
|
|
566
566
|
"""
|
|
567
567
|
|
|
568
568
|
def extrude_move(
|
|
569
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
569
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
570
570
|
execution_context: int | str | None = None,
|
|
571
571
|
undo: bool | None = None,
|
|
572
572
|
*,
|
|
@@ -575,7 +575,7 @@ def extrude_move(
|
|
|
575
575
|
):
|
|
576
576
|
"""Extrude selected points and move them
|
|
577
577
|
|
|
578
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
578
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
579
579
|
:type execution_context: int | str | None
|
|
580
580
|
:type undo: bool | None
|
|
581
581
|
:param GPENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected Grease Pencil points
|
|
@@ -585,7 +585,7 @@ def extrude_move(
|
|
|
585
585
|
"""
|
|
586
586
|
|
|
587
587
|
def fill(
|
|
588
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
588
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
589
589
|
execution_context: int | str | None = None,
|
|
590
590
|
undo: bool | None = None,
|
|
591
591
|
*,
|
|
@@ -593,7 +593,7 @@ def fill(
|
|
|
593
593
|
):
|
|
594
594
|
"""Fill with color the shape formed by strokes
|
|
595
595
|
|
|
596
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
596
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
597
597
|
:type execution_context: int | str | None
|
|
598
598
|
:type undo: bool | None
|
|
599
599
|
:param on_back: Draw on Back, Send new stroke to back
|
|
@@ -601,7 +601,7 @@ def fill(
|
|
|
601
601
|
"""
|
|
602
602
|
|
|
603
603
|
def frame_clean_duplicate(
|
|
604
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
604
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
605
605
|
execution_context: int | str | None = None,
|
|
606
606
|
undo: bool | None = None,
|
|
607
607
|
*,
|
|
@@ -609,7 +609,7 @@ def frame_clean_duplicate(
|
|
|
609
609
|
):
|
|
610
610
|
"""Remove duplicate keyframes
|
|
611
611
|
|
|
612
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
612
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
613
613
|
:type execution_context: int | str | None
|
|
614
614
|
:type undo: bool | None
|
|
615
615
|
:param type: Type
|
|
@@ -617,7 +617,7 @@ def frame_clean_duplicate(
|
|
|
617
617
|
"""
|
|
618
618
|
|
|
619
619
|
def frame_clean_fill(
|
|
620
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
620
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
621
621
|
execution_context: int | str | None = None,
|
|
622
622
|
undo: bool | None = None,
|
|
623
623
|
*,
|
|
@@ -625,7 +625,7 @@ def frame_clean_fill(
|
|
|
625
625
|
):
|
|
626
626
|
"""Remove 'no fill' boundary strokes
|
|
627
627
|
|
|
628
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
628
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
629
629
|
:type execution_context: int | str | None
|
|
630
630
|
:type undo: bool | None
|
|
631
631
|
:param mode: Mode
|
|
@@ -639,7 +639,7 @@ def frame_clean_fill(
|
|
|
639
639
|
"""
|
|
640
640
|
|
|
641
641
|
def frame_clean_loose(
|
|
642
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
642
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
643
643
|
execution_context: int | str | None = None,
|
|
644
644
|
undo: bool | None = None,
|
|
645
645
|
*,
|
|
@@ -647,7 +647,7 @@ def frame_clean_loose(
|
|
|
647
647
|
):
|
|
648
648
|
"""Remove loose points
|
|
649
649
|
|
|
650
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
650
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
651
651
|
:type execution_context: int | str | None
|
|
652
652
|
:type undo: bool | None
|
|
653
653
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
@@ -655,7 +655,7 @@ def frame_clean_loose(
|
|
|
655
655
|
"""
|
|
656
656
|
|
|
657
657
|
def frame_duplicate(
|
|
658
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
658
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
659
659
|
execution_context: int | str | None = None,
|
|
660
660
|
undo: bool | None = None,
|
|
661
661
|
*,
|
|
@@ -663,7 +663,7 @@ def frame_duplicate(
|
|
|
663
663
|
):
|
|
664
664
|
"""Make a copy of the active Grease Pencil Frame
|
|
665
665
|
|
|
666
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
666
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
667
667
|
:type execution_context: int | str | None
|
|
668
668
|
:type undo: bool | None
|
|
669
669
|
:param mode: Mode
|
|
@@ -677,7 +677,7 @@ def frame_duplicate(
|
|
|
677
677
|
"""
|
|
678
678
|
|
|
679
679
|
def generate_weights(
|
|
680
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
680
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
681
681
|
execution_context: int | str | None = None,
|
|
682
682
|
undo: bool | None = None,
|
|
683
683
|
*,
|
|
@@ -688,7 +688,7 @@ def generate_weights(
|
|
|
688
688
|
):
|
|
689
689
|
"""Generate automatic weights for armatures (requires armature modifier)
|
|
690
690
|
|
|
691
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
691
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
692
692
|
:type execution_context: int | str | None
|
|
693
693
|
:type undo: bool | None
|
|
694
694
|
:param mode: Mode
|
|
@@ -702,7 +702,7 @@ def generate_weights(
|
|
|
702
702
|
"""
|
|
703
703
|
|
|
704
704
|
def guide_rotate(
|
|
705
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
705
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
706
706
|
execution_context: int | str | None = None,
|
|
707
707
|
undo: bool | None = None,
|
|
708
708
|
*,
|
|
@@ -711,7 +711,7 @@ def guide_rotate(
|
|
|
711
711
|
):
|
|
712
712
|
"""Rotate guide angle
|
|
713
713
|
|
|
714
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
714
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
715
715
|
:type execution_context: int | str | None
|
|
716
716
|
:type undo: bool | None
|
|
717
717
|
:param increment: Increment, Increment angle
|
|
@@ -721,7 +721,7 @@ def guide_rotate(
|
|
|
721
721
|
"""
|
|
722
722
|
|
|
723
723
|
def hide(
|
|
724
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
724
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
725
725
|
execution_context: int | str | None = None,
|
|
726
726
|
undo: bool | None = None,
|
|
727
727
|
*,
|
|
@@ -729,7 +729,7 @@ def hide(
|
|
|
729
729
|
):
|
|
730
730
|
"""Hide selected/unselected Grease Pencil layers
|
|
731
731
|
|
|
732
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
732
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
733
733
|
:type execution_context: int | str | None
|
|
734
734
|
:type undo: bool | None
|
|
735
735
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
@@ -737,7 +737,7 @@ def hide(
|
|
|
737
737
|
"""
|
|
738
738
|
|
|
739
739
|
def image_to_grease_pencil(
|
|
740
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
740
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
741
741
|
execution_context: int | str | None = None,
|
|
742
742
|
undo: bool | None = None,
|
|
743
743
|
*,
|
|
@@ -746,7 +746,7 @@ def image_to_grease_pencil(
|
|
|
746
746
|
):
|
|
747
747
|
"""Generate a Grease Pencil Object using Image as source
|
|
748
748
|
|
|
749
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
749
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
750
750
|
:type execution_context: int | str | None
|
|
751
751
|
:type undo: bool | None
|
|
752
752
|
:param size: Point Size, Size used for grease pencil points
|
|
@@ -756,7 +756,7 @@ def image_to_grease_pencil(
|
|
|
756
756
|
"""
|
|
757
757
|
|
|
758
758
|
def interpolate(
|
|
759
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
759
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
760
760
|
execution_context: int | str | None = None,
|
|
761
761
|
undo: bool | None = None,
|
|
762
762
|
*,
|
|
@@ -771,7 +771,7 @@ def interpolate(
|
|
|
771
771
|
):
|
|
772
772
|
"""Interpolate grease pencil strokes between frames
|
|
773
773
|
|
|
774
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
774
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
775
775
|
:type execution_context: int | str | None
|
|
776
776
|
:type undo: bool | None
|
|
777
777
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
@@ -793,19 +793,19 @@ def interpolate(
|
|
|
793
793
|
"""
|
|
794
794
|
|
|
795
795
|
def interpolate_reverse(
|
|
796
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
796
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
797
797
|
execution_context: int | str | None = None,
|
|
798
798
|
undo: bool | None = None,
|
|
799
799
|
):
|
|
800
800
|
"""Remove breakdown frames generated by interpolating between two Grease Pencil frames
|
|
801
801
|
|
|
802
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
802
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
803
803
|
:type execution_context: int | str | None
|
|
804
804
|
:type undo: bool | None
|
|
805
805
|
"""
|
|
806
806
|
|
|
807
807
|
def interpolate_sequence(
|
|
808
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
808
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
809
809
|
execution_context: int | str | None = None,
|
|
810
810
|
undo: bool | None = None,
|
|
811
811
|
*,
|
|
@@ -839,7 +839,7 @@ def interpolate_sequence(
|
|
|
839
839
|
):
|
|
840
840
|
"""Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
|
|
841
841
|
|
|
842
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
842
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
843
843
|
:type execution_context: int | str | None
|
|
844
844
|
:type undo: bool | None
|
|
845
845
|
:param step: Step, Number of frames between generated interpolated frames
|
|
@@ -917,7 +917,7 @@ def interpolate_sequence(
|
|
|
917
917
|
"""
|
|
918
918
|
|
|
919
919
|
def layer_active(
|
|
920
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
920
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
921
921
|
execution_context: int | str | None = None,
|
|
922
922
|
undo: bool | None = None,
|
|
923
923
|
*,
|
|
@@ -925,7 +925,7 @@ def layer_active(
|
|
|
925
925
|
):
|
|
926
926
|
"""Active Grease Pencil layer
|
|
927
927
|
|
|
928
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
928
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
929
929
|
:type execution_context: int | str | None
|
|
930
930
|
:type undo: bool | None
|
|
931
931
|
:param layer: Grease Pencil Layer
|
|
@@ -933,7 +933,7 @@ def layer_active(
|
|
|
933
933
|
"""
|
|
934
934
|
|
|
935
935
|
def layer_add(
|
|
936
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
936
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
937
937
|
execution_context: int | str | None = None,
|
|
938
938
|
undo: bool | None = None,
|
|
939
939
|
*,
|
|
@@ -942,7 +942,7 @@ def layer_add(
|
|
|
942
942
|
):
|
|
943
943
|
"""Add new layer or note for the active data-block
|
|
944
944
|
|
|
945
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
945
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
946
946
|
:type execution_context: int | str | None
|
|
947
947
|
:type undo: bool | None
|
|
948
948
|
:param layer: Grease Pencil Layer
|
|
@@ -952,19 +952,19 @@ def layer_add(
|
|
|
952
952
|
"""
|
|
953
953
|
|
|
954
954
|
def layer_annotation_add(
|
|
955
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
955
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
956
956
|
execution_context: int | str | None = None,
|
|
957
957
|
undo: bool | None = None,
|
|
958
958
|
):
|
|
959
959
|
"""Add new Annotation layer or note for the active data-block
|
|
960
960
|
|
|
961
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
961
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
962
962
|
:type execution_context: int | str | None
|
|
963
963
|
:type undo: bool | None
|
|
964
964
|
"""
|
|
965
965
|
|
|
966
966
|
def layer_annotation_move(
|
|
967
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
967
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
968
968
|
execution_context: int | str | None = None,
|
|
969
969
|
undo: bool | None = None,
|
|
970
970
|
*,
|
|
@@ -972,7 +972,7 @@ def layer_annotation_move(
|
|
|
972
972
|
):
|
|
973
973
|
"""Move the active Annotation layer up/down in the list
|
|
974
974
|
|
|
975
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
975
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
976
976
|
:type execution_context: int | str | None
|
|
977
977
|
:type undo: bool | None
|
|
978
978
|
:param type: Type
|
|
@@ -980,19 +980,19 @@ def layer_annotation_move(
|
|
|
980
980
|
"""
|
|
981
981
|
|
|
982
982
|
def layer_annotation_remove(
|
|
983
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
983
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
984
984
|
execution_context: int | str | None = None,
|
|
985
985
|
undo: bool | None = None,
|
|
986
986
|
):
|
|
987
987
|
"""Remove active Annotation layer
|
|
988
988
|
|
|
989
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
989
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
990
990
|
:type execution_context: int | str | None
|
|
991
991
|
:type undo: bool | None
|
|
992
992
|
"""
|
|
993
993
|
|
|
994
994
|
def layer_change(
|
|
995
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
995
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
996
996
|
execution_context: int | str | None = None,
|
|
997
997
|
undo: bool | None = None,
|
|
998
998
|
*,
|
|
@@ -1000,7 +1000,7 @@ def layer_change(
|
|
|
1000
1000
|
):
|
|
1001
1001
|
"""Change active Grease Pencil layer
|
|
1002
1002
|
|
|
1003
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1003
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1004
1004
|
:type execution_context: int | str | None
|
|
1005
1005
|
:type undo: bool | None
|
|
1006
1006
|
:param layer: Grease Pencil Layer
|
|
@@ -1008,7 +1008,7 @@ def layer_change(
|
|
|
1008
1008
|
"""
|
|
1009
1009
|
|
|
1010
1010
|
def layer_duplicate(
|
|
1011
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1011
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1012
1012
|
execution_context: int | str | None = None,
|
|
1013
1013
|
undo: bool | None = None,
|
|
1014
1014
|
*,
|
|
@@ -1016,7 +1016,7 @@ def layer_duplicate(
|
|
|
1016
1016
|
):
|
|
1017
1017
|
"""Make a copy of the active Grease Pencil layer
|
|
1018
1018
|
|
|
1019
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1019
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1020
1020
|
:type execution_context: int | str | None
|
|
1021
1021
|
:type undo: bool | None
|
|
1022
1022
|
:param mode: Mode
|
|
@@ -1024,7 +1024,7 @@ def layer_duplicate(
|
|
|
1024
1024
|
"""
|
|
1025
1025
|
|
|
1026
1026
|
def layer_duplicate_object(
|
|
1027
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1027
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1028
1028
|
execution_context: int | str | None = None,
|
|
1029
1029
|
undo: bool | None = None,
|
|
1030
1030
|
*,
|
|
@@ -1033,7 +1033,7 @@ def layer_duplicate_object(
|
|
|
1033
1033
|
):
|
|
1034
1034
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
1035
1035
|
|
|
1036
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1036
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1037
1037
|
:type execution_context: int | str | None
|
|
1038
1038
|
:type undo: bool | None
|
|
1039
1039
|
:param mode: Mode
|
|
@@ -1043,7 +1043,7 @@ def layer_duplicate_object(
|
|
|
1043
1043
|
"""
|
|
1044
1044
|
|
|
1045
1045
|
def layer_isolate(
|
|
1046
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1046
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1047
1047
|
execution_context: int | str | None = None,
|
|
1048
1048
|
undo: bool | None = None,
|
|
1049
1049
|
*,
|
|
@@ -1051,7 +1051,7 @@ def layer_isolate(
|
|
|
1051
1051
|
):
|
|
1052
1052
|
"""Toggle whether the active layer is the only one that can be edited and/or visible
|
|
1053
1053
|
|
|
1054
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1054
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1055
1055
|
:type execution_context: int | str | None
|
|
1056
1056
|
:type undo: bool | None
|
|
1057
1057
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
@@ -1059,7 +1059,7 @@ def layer_isolate(
|
|
|
1059
1059
|
"""
|
|
1060
1060
|
|
|
1061
1061
|
def layer_mask_add(
|
|
1062
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1062
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1063
1063
|
execution_context: int | str | None = None,
|
|
1064
1064
|
undo: bool | None = None,
|
|
1065
1065
|
*,
|
|
@@ -1067,7 +1067,7 @@ def layer_mask_add(
|
|
|
1067
1067
|
):
|
|
1068
1068
|
"""Add new layer as masking
|
|
1069
1069
|
|
|
1070
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1070
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1071
1071
|
:type execution_context: int | str | None
|
|
1072
1072
|
:type undo: bool | None
|
|
1073
1073
|
:param name: Layer, Name of the layer
|
|
@@ -1075,7 +1075,7 @@ def layer_mask_add(
|
|
|
1075
1075
|
"""
|
|
1076
1076
|
|
|
1077
1077
|
def layer_mask_move(
|
|
1078
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1078
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1079
1079
|
execution_context: int | str | None = None,
|
|
1080
1080
|
undo: bool | None = None,
|
|
1081
1081
|
*,
|
|
@@ -1083,7 +1083,7 @@ def layer_mask_move(
|
|
|
1083
1083
|
):
|
|
1084
1084
|
"""Move the active Grease Pencil mask layer up/down in the list
|
|
1085
1085
|
|
|
1086
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1086
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1087
1087
|
:type execution_context: int | str | None
|
|
1088
1088
|
:type undo: bool | None
|
|
1089
1089
|
:param type: Type
|
|
@@ -1091,19 +1091,19 @@ def layer_mask_move(
|
|
|
1091
1091
|
"""
|
|
1092
1092
|
|
|
1093
1093
|
def layer_mask_remove(
|
|
1094
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1094
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1095
1095
|
execution_context: int | str | None = None,
|
|
1096
1096
|
undo: bool | None = None,
|
|
1097
1097
|
):
|
|
1098
1098
|
"""Remove Layer Mask
|
|
1099
1099
|
|
|
1100
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1100
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1101
1101
|
:type execution_context: int | str | None
|
|
1102
1102
|
:type undo: bool | None
|
|
1103
1103
|
"""
|
|
1104
1104
|
|
|
1105
1105
|
def layer_merge(
|
|
1106
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1106
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1107
1107
|
execution_context: int | str | None = None,
|
|
1108
1108
|
undo: bool | None = None,
|
|
1109
1109
|
*,
|
|
@@ -1111,7 +1111,7 @@ def layer_merge(
|
|
|
1111
1111
|
):
|
|
1112
1112
|
"""Combine Layers
|
|
1113
1113
|
|
|
1114
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1114
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1115
1115
|
:type execution_context: int | str | None
|
|
1116
1116
|
:type undo: bool | None
|
|
1117
1117
|
:param mode: Mode
|
|
@@ -1125,7 +1125,7 @@ def layer_merge(
|
|
|
1125
1125
|
"""
|
|
1126
1126
|
|
|
1127
1127
|
def layer_move(
|
|
1128
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1128
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1129
1129
|
execution_context: int | str | None = None,
|
|
1130
1130
|
undo: bool | None = None,
|
|
1131
1131
|
*,
|
|
@@ -1133,7 +1133,7 @@ def layer_move(
|
|
|
1133
1133
|
):
|
|
1134
1134
|
"""Move the active Grease Pencil layer up/down in the list
|
|
1135
1135
|
|
|
1136
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1136
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1137
1137
|
:type execution_context: int | str | None
|
|
1138
1138
|
:type undo: bool | None
|
|
1139
1139
|
:param type: Type
|
|
@@ -1141,43 +1141,43 @@ def layer_move(
|
|
|
1141
1141
|
"""
|
|
1142
1142
|
|
|
1143
1143
|
def layer_remove(
|
|
1144
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1144
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1145
1145
|
execution_context: int | str | None = None,
|
|
1146
1146
|
undo: bool | None = None,
|
|
1147
1147
|
):
|
|
1148
1148
|
"""Remove active Grease Pencil layer
|
|
1149
1149
|
|
|
1150
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1150
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1151
1151
|
:type execution_context: int | str | None
|
|
1152
1152
|
:type undo: bool | None
|
|
1153
1153
|
"""
|
|
1154
1154
|
|
|
1155
1155
|
def lock_all(
|
|
1156
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1156
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1157
1157
|
execution_context: int | str | None = None,
|
|
1158
1158
|
undo: bool | None = None,
|
|
1159
1159
|
):
|
|
1160
1160
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
1161
1161
|
|
|
1162
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1162
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1163
1163
|
:type execution_context: int | str | None
|
|
1164
1164
|
:type undo: bool | None
|
|
1165
1165
|
"""
|
|
1166
1166
|
|
|
1167
1167
|
def lock_layer(
|
|
1168
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1168
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1169
1169
|
execution_context: int | str | None = None,
|
|
1170
1170
|
undo: bool | None = None,
|
|
1171
1171
|
):
|
|
1172
1172
|
"""Lock and hide any color not used in any layer
|
|
1173
1173
|
|
|
1174
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1174
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1175
1175
|
:type execution_context: int | str | None
|
|
1176
1176
|
:type undo: bool | None
|
|
1177
1177
|
"""
|
|
1178
1178
|
|
|
1179
1179
|
def material_hide(
|
|
1180
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1180
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1181
1181
|
execution_context: int | str | None = None,
|
|
1182
1182
|
undo: bool | None = None,
|
|
1183
1183
|
*,
|
|
@@ -1185,7 +1185,7 @@ def material_hide(
|
|
|
1185
1185
|
):
|
|
1186
1186
|
"""Hide selected/unselected Grease Pencil materials
|
|
1187
1187
|
|
|
1188
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1188
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1189
1189
|
:type execution_context: int | str | None
|
|
1190
1190
|
:type undo: bool | None
|
|
1191
1191
|
:param unselected: Unselected, Hide unselected rather than selected colors
|
|
@@ -1193,7 +1193,7 @@ def material_hide(
|
|
|
1193
1193
|
"""
|
|
1194
1194
|
|
|
1195
1195
|
def material_isolate(
|
|
1196
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1196
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1197
1197
|
execution_context: int | str | None = None,
|
|
1198
1198
|
undo: bool | None = None,
|
|
1199
1199
|
*,
|
|
@@ -1201,7 +1201,7 @@ def material_isolate(
|
|
|
1201
1201
|
):
|
|
1202
1202
|
"""Toggle whether the active material is the only one that is editable and/or visible
|
|
1203
1203
|
|
|
1204
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1204
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1205
1205
|
:type execution_context: int | str | None
|
|
1206
1206
|
:type undo: bool | None
|
|
1207
1207
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
@@ -1209,43 +1209,43 @@ def material_isolate(
|
|
|
1209
1209
|
"""
|
|
1210
1210
|
|
|
1211
1211
|
def material_lock_all(
|
|
1212
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1212
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1213
1213
|
execution_context: int | str | None = None,
|
|
1214
1214
|
undo: bool | None = None,
|
|
1215
1215
|
):
|
|
1216
1216
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
1217
1217
|
|
|
1218
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1218
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1219
1219
|
:type execution_context: int | str | None
|
|
1220
1220
|
:type undo: bool | None
|
|
1221
1221
|
"""
|
|
1222
1222
|
|
|
1223
1223
|
def material_lock_unused(
|
|
1224
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1224
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1225
1225
|
execution_context: int | str | None = None,
|
|
1226
1226
|
undo: bool | None = None,
|
|
1227
1227
|
):
|
|
1228
1228
|
"""Lock any material not used in any selected stroke
|
|
1229
1229
|
|
|
1230
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1230
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1231
1231
|
:type execution_context: int | str | None
|
|
1232
1232
|
:type undo: bool | None
|
|
1233
1233
|
"""
|
|
1234
1234
|
|
|
1235
1235
|
def material_reveal(
|
|
1236
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1236
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1237
1237
|
execution_context: int | str | None = None,
|
|
1238
1238
|
undo: bool | None = None,
|
|
1239
1239
|
):
|
|
1240
1240
|
"""Unhide all hidden Grease Pencil materials
|
|
1241
1241
|
|
|
1242
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1242
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1243
1243
|
:type execution_context: int | str | None
|
|
1244
1244
|
:type undo: bool | None
|
|
1245
1245
|
"""
|
|
1246
1246
|
|
|
1247
1247
|
def material_select(
|
|
1248
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1248
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1249
1249
|
execution_context: int | str | None = None,
|
|
1250
1250
|
undo: bool | None = None,
|
|
1251
1251
|
*,
|
|
@@ -1253,7 +1253,7 @@ def material_select(
|
|
|
1253
1253
|
):
|
|
1254
1254
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
1255
1255
|
|
|
1256
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1256
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1257
1257
|
:type execution_context: int | str | None
|
|
1258
1258
|
:type undo: bool | None
|
|
1259
1259
|
:param deselect: Deselect, Unselect strokes
|
|
@@ -1261,7 +1261,7 @@ def material_select(
|
|
|
1261
1261
|
"""
|
|
1262
1262
|
|
|
1263
1263
|
def material_set(
|
|
1264
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1264
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1265
1265
|
execution_context: int | str | None = None,
|
|
1266
1266
|
undo: bool | None = None,
|
|
1267
1267
|
*,
|
|
@@ -1269,7 +1269,7 @@ def material_set(
|
|
|
1269
1269
|
):
|
|
1270
1270
|
"""Set active material
|
|
1271
1271
|
|
|
1272
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1272
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1273
1273
|
:type execution_context: int | str | None
|
|
1274
1274
|
:type undo: bool | None
|
|
1275
1275
|
:param slot: Material Slot
|
|
@@ -1277,7 +1277,7 @@ def material_set(
|
|
|
1277
1277
|
"""
|
|
1278
1278
|
|
|
1279
1279
|
def material_to_vertex_color(
|
|
1280
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1280
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1281
1281
|
execution_context: int | str | None = None,
|
|
1282
1282
|
undo: bool | None = None,
|
|
1283
1283
|
*,
|
|
@@ -1288,7 +1288,7 @@ def material_to_vertex_color(
|
|
|
1288
1288
|
):
|
|
1289
1289
|
"""Replace materials in strokes with Vertex Color
|
|
1290
1290
|
|
|
1291
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1291
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1292
1292
|
:type execution_context: int | str | None
|
|
1293
1293
|
:type undo: bool | None
|
|
1294
1294
|
:param remove: Remove Unused Materials, Remove any unused material after the conversion
|
|
@@ -1302,19 +1302,19 @@ def material_to_vertex_color(
|
|
|
1302
1302
|
"""
|
|
1303
1303
|
|
|
1304
1304
|
def material_unlock_all(
|
|
1305
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1305
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1306
1306
|
execution_context: int | str | None = None,
|
|
1307
1307
|
undo: bool | None = None,
|
|
1308
1308
|
):
|
|
1309
1309
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
1310
1310
|
|
|
1311
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1311
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1312
1312
|
:type execution_context: int | str | None
|
|
1313
1313
|
:type undo: bool | None
|
|
1314
1314
|
"""
|
|
1315
1315
|
|
|
1316
1316
|
def materials_copy_to_object(
|
|
1317
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1317
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1318
1318
|
execution_context: int | str | None = None,
|
|
1319
1319
|
undo: bool | None = None,
|
|
1320
1320
|
*,
|
|
@@ -1322,7 +1322,7 @@ def materials_copy_to_object(
|
|
|
1322
1322
|
):
|
|
1323
1323
|
"""Append Materials of the active Grease Pencil to other object
|
|
1324
1324
|
|
|
1325
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1325
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1326
1326
|
:type execution_context: int | str | None
|
|
1327
1327
|
:type undo: bool | None
|
|
1328
1328
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
@@ -1330,7 +1330,7 @@ def materials_copy_to_object(
|
|
|
1330
1330
|
"""
|
|
1331
1331
|
|
|
1332
1332
|
def move_to_layer(
|
|
1333
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1333
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1334
1334
|
execution_context: int | str | None = None,
|
|
1335
1335
|
undo: bool | None = None,
|
|
1336
1336
|
*,
|
|
@@ -1339,7 +1339,7 @@ def move_to_layer(
|
|
|
1339
1339
|
):
|
|
1340
1340
|
"""Move selected strokes to another layer
|
|
1341
1341
|
|
|
1342
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1342
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1343
1343
|
:type execution_context: int | str | None
|
|
1344
1344
|
:type undo: bool | None
|
|
1345
1345
|
:param layer: Grease Pencil Layer
|
|
@@ -1349,7 +1349,7 @@ def move_to_layer(
|
|
|
1349
1349
|
"""
|
|
1350
1350
|
|
|
1351
1351
|
def paintmode_toggle(
|
|
1352
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1352
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1353
1353
|
execution_context: int | str | None = None,
|
|
1354
1354
|
undo: bool | None = None,
|
|
1355
1355
|
*,
|
|
@@ -1357,7 +1357,7 @@ def paintmode_toggle(
|
|
|
1357
1357
|
):
|
|
1358
1358
|
"""Enter/Exit paint mode for Grease Pencil strokes
|
|
1359
1359
|
|
|
1360
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1360
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1361
1361
|
:type execution_context: int | str | None
|
|
1362
1362
|
:type undo: bool | None
|
|
1363
1363
|
:param back: Return to Previous Mode, Return to previous mode
|
|
@@ -1365,7 +1365,7 @@ def paintmode_toggle(
|
|
|
1365
1365
|
"""
|
|
1366
1366
|
|
|
1367
1367
|
def paste(
|
|
1368
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1368
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1369
1369
|
execution_context: int | str | None = None,
|
|
1370
1370
|
undo: bool | None = None,
|
|
1371
1371
|
*,
|
|
@@ -1374,7 +1374,7 @@ def paste(
|
|
|
1374
1374
|
):
|
|
1375
1375
|
"""Paste previously copied strokes to active layer or to original layer
|
|
1376
1376
|
|
|
1377
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1377
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1378
1378
|
:type execution_context: int | str | None
|
|
1379
1379
|
:type undo: bool | None
|
|
1380
1380
|
:param type: Type
|
|
@@ -1384,7 +1384,7 @@ def paste(
|
|
|
1384
1384
|
"""
|
|
1385
1385
|
|
|
1386
1386
|
def primitive_box(
|
|
1387
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1387
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1388
1388
|
execution_context: int | str | None = None,
|
|
1389
1389
|
undo: bool | None = None,
|
|
1390
1390
|
*,
|
|
@@ -1396,7 +1396,7 @@ def primitive_box(
|
|
|
1396
1396
|
):
|
|
1397
1397
|
"""Create predefined grease pencil stroke box shapes
|
|
1398
1398
|
|
|
1399
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1399
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1400
1400
|
:type execution_context: int | str | None
|
|
1401
1401
|
:type undo: bool | None
|
|
1402
1402
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1410,7 +1410,7 @@ def primitive_box(
|
|
|
1410
1410
|
"""
|
|
1411
1411
|
|
|
1412
1412
|
def primitive_circle(
|
|
1413
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1413
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1414
1414
|
execution_context: int | str | None = None,
|
|
1415
1415
|
undo: bool | None = None,
|
|
1416
1416
|
*,
|
|
@@ -1422,7 +1422,7 @@ def primitive_circle(
|
|
|
1422
1422
|
):
|
|
1423
1423
|
"""Create predefined grease pencil stroke circle shapes
|
|
1424
1424
|
|
|
1425
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1425
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1426
1426
|
:type execution_context: int | str | None
|
|
1427
1427
|
:type undo: bool | None
|
|
1428
1428
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1436,7 +1436,7 @@ def primitive_circle(
|
|
|
1436
1436
|
"""
|
|
1437
1437
|
|
|
1438
1438
|
def primitive_curve(
|
|
1439
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1439
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1440
1440
|
execution_context: int | str | None = None,
|
|
1441
1441
|
undo: bool | None = None,
|
|
1442
1442
|
*,
|
|
@@ -1448,7 +1448,7 @@ def primitive_curve(
|
|
|
1448
1448
|
):
|
|
1449
1449
|
"""Create predefined grease pencil stroke curve shapes
|
|
1450
1450
|
|
|
1451
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1451
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1452
1452
|
:type execution_context: int | str | None
|
|
1453
1453
|
:type undo: bool | None
|
|
1454
1454
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1462,7 +1462,7 @@ def primitive_curve(
|
|
|
1462
1462
|
"""
|
|
1463
1463
|
|
|
1464
1464
|
def primitive_line(
|
|
1465
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1465
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1466
1466
|
execution_context: int | str | None = None,
|
|
1467
1467
|
undo: bool | None = None,
|
|
1468
1468
|
*,
|
|
@@ -1474,7 +1474,7 @@ def primitive_line(
|
|
|
1474
1474
|
):
|
|
1475
1475
|
"""Create predefined grease pencil stroke lines
|
|
1476
1476
|
|
|
1477
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1477
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1478
1478
|
:type execution_context: int | str | None
|
|
1479
1479
|
:type undo: bool | None
|
|
1480
1480
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1488,7 +1488,7 @@ def primitive_line(
|
|
|
1488
1488
|
"""
|
|
1489
1489
|
|
|
1490
1490
|
def primitive_polyline(
|
|
1491
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1491
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1492
1492
|
execution_context: int | str | None = None,
|
|
1493
1493
|
undo: bool | None = None,
|
|
1494
1494
|
*,
|
|
@@ -1500,7 +1500,7 @@ def primitive_polyline(
|
|
|
1500
1500
|
):
|
|
1501
1501
|
"""Create predefined grease pencil stroke polylines
|
|
1502
1502
|
|
|
1503
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1503
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1504
1504
|
:type execution_context: int | str | None
|
|
1505
1505
|
:type undo: bool | None
|
|
1506
1506
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1514,19 +1514,19 @@ def primitive_polyline(
|
|
|
1514
1514
|
"""
|
|
1515
1515
|
|
|
1516
1516
|
def recalc_geometry(
|
|
1517
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1517
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1518
1518
|
execution_context: int | str | None = None,
|
|
1519
1519
|
undo: bool | None = None,
|
|
1520
1520
|
):
|
|
1521
1521
|
"""Update all internal geometry data
|
|
1522
1522
|
|
|
1523
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1523
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1524
1524
|
:type execution_context: int | str | None
|
|
1525
1525
|
:type undo: bool | None
|
|
1526
1526
|
"""
|
|
1527
1527
|
|
|
1528
1528
|
def reproject(
|
|
1529
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1529
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1530
1530
|
execution_context: int | str | None = None,
|
|
1531
1531
|
undo: bool | None = None,
|
|
1532
1532
|
*,
|
|
@@ -1537,7 +1537,7 @@ def reproject(
|
|
|
1537
1537
|
):
|
|
1538
1538
|
"""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)
|
|
1539
1539
|
|
|
1540
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1540
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1541
1541
|
:type execution_context: int | str | None
|
|
1542
1542
|
:type undo: bool | None
|
|
1543
1543
|
:param type: Projection Type
|
|
@@ -1567,7 +1567,7 @@ def reproject(
|
|
|
1567
1567
|
"""
|
|
1568
1568
|
|
|
1569
1569
|
def reset_transform_fill(
|
|
1570
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1570
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1571
1571
|
execution_context: int | str | None = None,
|
|
1572
1572
|
undo: bool | None = None,
|
|
1573
1573
|
*,
|
|
@@ -1575,7 +1575,7 @@ def reset_transform_fill(
|
|
|
1575
1575
|
):
|
|
1576
1576
|
"""Reset any UV transformation and back to default values
|
|
1577
1577
|
|
|
1578
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1578
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1579
1579
|
:type execution_context: int | str | None
|
|
1580
1580
|
:type undo: bool | None
|
|
1581
1581
|
:param mode: Mode
|
|
@@ -1583,7 +1583,7 @@ def reset_transform_fill(
|
|
|
1583
1583
|
"""
|
|
1584
1584
|
|
|
1585
1585
|
def reveal(
|
|
1586
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1586
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1587
1587
|
execution_context: int | str | None = None,
|
|
1588
1588
|
undo: bool | None = None,
|
|
1589
1589
|
*,
|
|
@@ -1591,7 +1591,7 @@ def reveal(
|
|
|
1591
1591
|
):
|
|
1592
1592
|
"""Show all Grease Pencil layers
|
|
1593
1593
|
|
|
1594
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1594
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1595
1595
|
:type execution_context: int | str | None
|
|
1596
1596
|
:type undo: bool | None
|
|
1597
1597
|
:param select: Select
|
|
@@ -1599,7 +1599,7 @@ def reveal(
|
|
|
1599
1599
|
"""
|
|
1600
1600
|
|
|
1601
1601
|
def sculpt_paint(
|
|
1602
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1602
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1603
1603
|
execution_context: int | str | None = None,
|
|
1604
1604
|
undo: bool | None = None,
|
|
1605
1605
|
*,
|
|
@@ -1609,7 +1609,7 @@ def sculpt_paint(
|
|
|
1609
1609
|
):
|
|
1610
1610
|
"""Apply tweaks to strokes by painting over the strokes
|
|
1611
1611
|
|
|
1612
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1612
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1613
1613
|
:type execution_context: int | str | None
|
|
1614
1614
|
:type undo: bool | None
|
|
1615
1615
|
:param stroke: Stroke
|
|
@@ -1619,7 +1619,7 @@ def sculpt_paint(
|
|
|
1619
1619
|
"""
|
|
1620
1620
|
|
|
1621
1621
|
def sculptmode_toggle(
|
|
1622
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1622
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1623
1623
|
execution_context: int | str | None = None,
|
|
1624
1624
|
undo: bool | None = None,
|
|
1625
1625
|
*,
|
|
@@ -1627,7 +1627,7 @@ def sculptmode_toggle(
|
|
|
1627
1627
|
):
|
|
1628
1628
|
"""Enter/Exit sculpt mode for Grease Pencil strokes
|
|
1629
1629
|
|
|
1630
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1630
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1631
1631
|
:type execution_context: int | str | None
|
|
1632
1632
|
:type undo: bool | None
|
|
1633
1633
|
:param back: Return to Previous Mode, Return to previous mode
|
|
@@ -1635,7 +1635,7 @@ def sculptmode_toggle(
|
|
|
1635
1635
|
"""
|
|
1636
1636
|
|
|
1637
1637
|
def select(
|
|
1638
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1638
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1639
1639
|
execution_context: int | str | None = None,
|
|
1640
1640
|
undo: bool | None = None,
|
|
1641
1641
|
*,
|
|
@@ -1650,7 +1650,7 @@ def select(
|
|
|
1650
1650
|
):
|
|
1651
1651
|
"""Select Grease Pencil strokes and/or stroke points
|
|
1652
1652
|
|
|
1653
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1653
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1654
1654
|
:type execution_context: int | str | None
|
|
1655
1655
|
:type undo: bool | None
|
|
1656
1656
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
@@ -1672,7 +1672,7 @@ def select(
|
|
|
1672
1672
|
"""
|
|
1673
1673
|
|
|
1674
1674
|
def select_all(
|
|
1675
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1675
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1676
1676
|
execution_context: int | str | None = None,
|
|
1677
1677
|
undo: bool | None = None,
|
|
1678
1678
|
*,
|
|
@@ -1680,7 +1680,7 @@ def select_all(
|
|
|
1680
1680
|
):
|
|
1681
1681
|
"""Change selection of all Grease Pencil strokes currently visible
|
|
1682
1682
|
|
|
1683
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1683
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1684
1684
|
:type execution_context: int | str | None
|
|
1685
1685
|
:type undo: bool | None
|
|
1686
1686
|
:param action: Action, Selection action to execute
|
|
@@ -1700,7 +1700,7 @@ def select_all(
|
|
|
1700
1700
|
"""
|
|
1701
1701
|
|
|
1702
1702
|
def select_alternate(
|
|
1703
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1703
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1704
1704
|
execution_context: int | str | None = None,
|
|
1705
1705
|
undo: bool | None = None,
|
|
1706
1706
|
*,
|
|
@@ -1708,7 +1708,7 @@ def select_alternate(
|
|
|
1708
1708
|
):
|
|
1709
1709
|
"""Select alternative points in same strokes as already selected points
|
|
1710
1710
|
|
|
1711
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1711
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1712
1712
|
:type execution_context: int | str | None
|
|
1713
1713
|
:type undo: bool | None
|
|
1714
1714
|
:param unselect_ends: Unselect Ends, Do not select the first and last point of the stroke
|
|
@@ -1716,7 +1716,7 @@ def select_alternate(
|
|
|
1716
1716
|
"""
|
|
1717
1717
|
|
|
1718
1718
|
def select_box(
|
|
1719
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1719
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1720
1720
|
execution_context: int | str | None = None,
|
|
1721
1721
|
undo: bool | None = None,
|
|
1722
1722
|
*,
|
|
@@ -1729,7 +1729,7 @@ def select_box(
|
|
|
1729
1729
|
):
|
|
1730
1730
|
"""Select Grease Pencil strokes within a rectangular region
|
|
1731
1731
|
|
|
1732
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1732
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1733
1733
|
:type execution_context: int | str | None
|
|
1734
1734
|
:type undo: bool | None
|
|
1735
1735
|
:param xmin: X Min
|
|
@@ -1762,7 +1762,7 @@ def select_box(
|
|
|
1762
1762
|
"""
|
|
1763
1763
|
|
|
1764
1764
|
def select_circle(
|
|
1765
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1765
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1766
1766
|
execution_context: int | str | None = None,
|
|
1767
1767
|
undo: bool | None = None,
|
|
1768
1768
|
*,
|
|
@@ -1774,7 +1774,7 @@ def select_circle(
|
|
|
1774
1774
|
):
|
|
1775
1775
|
"""Select Grease Pencil strokes using brush selection
|
|
1776
1776
|
|
|
1777
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1777
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1778
1778
|
:type execution_context: int | str | None
|
|
1779
1779
|
:type undo: bool | None
|
|
1780
1780
|
:param x: X
|
|
@@ -1799,7 +1799,7 @@ def select_circle(
|
|
|
1799
1799
|
"""
|
|
1800
1800
|
|
|
1801
1801
|
def select_first(
|
|
1802
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1802
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1803
1803
|
execution_context: int | str | None = None,
|
|
1804
1804
|
undo: bool | None = None,
|
|
1805
1805
|
*,
|
|
@@ -1808,7 +1808,7 @@ def select_first(
|
|
|
1808
1808
|
):
|
|
1809
1809
|
"""Select first point in Grease Pencil strokes
|
|
1810
1810
|
|
|
1811
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1811
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1812
1812
|
:type execution_context: int | str | None
|
|
1813
1813
|
:type undo: bool | None
|
|
1814
1814
|
:param only_selected_strokes: Selected Strokes Only, Only select the first point of strokes that already have points selected
|
|
@@ -1818,7 +1818,7 @@ def select_first(
|
|
|
1818
1818
|
"""
|
|
1819
1819
|
|
|
1820
1820
|
def select_grouped(
|
|
1821
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1821
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1822
1822
|
execution_context: int | str | None = None,
|
|
1823
1823
|
undo: bool | None = None,
|
|
1824
1824
|
*,
|
|
@@ -1826,7 +1826,7 @@ def select_grouped(
|
|
|
1826
1826
|
):
|
|
1827
1827
|
"""Select all strokes with similar characteristics
|
|
1828
1828
|
|
|
1829
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1829
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1830
1830
|
:type execution_context: int | str | None
|
|
1831
1831
|
:type undo: bool | None
|
|
1832
1832
|
:param type: Type
|
|
@@ -1840,7 +1840,7 @@ def select_grouped(
|
|
|
1840
1840
|
"""
|
|
1841
1841
|
|
|
1842
1842
|
def select_lasso(
|
|
1843
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1843
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1844
1844
|
execution_context: int | str | None = None,
|
|
1845
1845
|
undo: bool | None = None,
|
|
1846
1846
|
*,
|
|
@@ -1852,7 +1852,7 @@ def select_lasso(
|
|
|
1852
1852
|
):
|
|
1853
1853
|
"""Select Grease Pencil strokes using lasso selection
|
|
1854
1854
|
|
|
1855
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1855
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1856
1856
|
:type execution_context: int | str | None
|
|
1857
1857
|
:type undo: bool | None
|
|
1858
1858
|
:param mode: Mode
|
|
@@ -1883,7 +1883,7 @@ def select_lasso(
|
|
|
1883
1883
|
"""
|
|
1884
1884
|
|
|
1885
1885
|
def select_last(
|
|
1886
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1886
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1887
1887
|
execution_context: int | str | None = None,
|
|
1888
1888
|
undo: bool | None = None,
|
|
1889
1889
|
*,
|
|
@@ -1892,7 +1892,7 @@ def select_last(
|
|
|
1892
1892
|
):
|
|
1893
1893
|
"""Select last point in Grease Pencil strokes
|
|
1894
1894
|
|
|
1895
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1895
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1896
1896
|
:type execution_context: int | str | None
|
|
1897
1897
|
:type undo: bool | None
|
|
1898
1898
|
:param only_selected_strokes: Selected Strokes Only, Only select the last point of strokes that already have points selected
|
|
@@ -1902,43 +1902,43 @@ def select_last(
|
|
|
1902
1902
|
"""
|
|
1903
1903
|
|
|
1904
1904
|
def select_less(
|
|
1905
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1905
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1906
1906
|
execution_context: int | str | None = None,
|
|
1907
1907
|
undo: bool | None = None,
|
|
1908
1908
|
):
|
|
1909
1909
|
"""Shrink sets of selected Grease Pencil points
|
|
1910
1910
|
|
|
1911
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1911
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1912
1912
|
:type execution_context: int | str | None
|
|
1913
1913
|
:type undo: bool | None
|
|
1914
1914
|
"""
|
|
1915
1915
|
|
|
1916
1916
|
def select_linked(
|
|
1917
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1917
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1918
1918
|
execution_context: int | str | None = None,
|
|
1919
1919
|
undo: bool | None = None,
|
|
1920
1920
|
):
|
|
1921
1921
|
"""Select all points in same strokes as already selected points
|
|
1922
1922
|
|
|
1923
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1923
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1924
1924
|
:type execution_context: int | str | None
|
|
1925
1925
|
:type undo: bool | None
|
|
1926
1926
|
"""
|
|
1927
1927
|
|
|
1928
1928
|
def select_more(
|
|
1929
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1929
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1930
1930
|
execution_context: int | str | None = None,
|
|
1931
1931
|
undo: bool | None = None,
|
|
1932
1932
|
):
|
|
1933
1933
|
"""Grow sets of selected Grease Pencil points
|
|
1934
1934
|
|
|
1935
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1935
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1936
1936
|
:type execution_context: int | str | None
|
|
1937
1937
|
:type undo: bool | None
|
|
1938
1938
|
"""
|
|
1939
1939
|
|
|
1940
1940
|
def select_random(
|
|
1941
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1941
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1942
1942
|
execution_context: int | str | None = None,
|
|
1943
1943
|
undo: bool | None = None,
|
|
1944
1944
|
*,
|
|
@@ -1949,7 +1949,7 @@ def select_random(
|
|
|
1949
1949
|
):
|
|
1950
1950
|
"""Select random points for non selected strokes
|
|
1951
1951
|
|
|
1952
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1952
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1953
1953
|
:type execution_context: int | str | None
|
|
1954
1954
|
:type undo: bool | None
|
|
1955
1955
|
:param ratio: Ratio, Portion of items to select randomly
|
|
@@ -1969,7 +1969,7 @@ def select_random(
|
|
|
1969
1969
|
"""
|
|
1970
1970
|
|
|
1971
1971
|
def select_vertex_color(
|
|
1972
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1972
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1973
1973
|
execution_context: int | str | None = None,
|
|
1974
1974
|
undo: bool | None = None,
|
|
1975
1975
|
*,
|
|
@@ -1977,7 +1977,7 @@ def select_vertex_color(
|
|
|
1977
1977
|
):
|
|
1978
1978
|
"""Select all points with similar vertex color of current selected
|
|
1979
1979
|
|
|
1980
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1980
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1981
1981
|
:type execution_context: int | str | None
|
|
1982
1982
|
:type undo: bool | None
|
|
1983
1983
|
:param threshold: Threshold, Tolerance of the selection. Higher values select a wider range of similar colors
|
|
@@ -1985,19 +1985,19 @@ def select_vertex_color(
|
|
|
1985
1985
|
"""
|
|
1986
1986
|
|
|
1987
1987
|
def selection_opacity_toggle(
|
|
1988
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1988
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1989
1989
|
execution_context: int | str | None = None,
|
|
1990
1990
|
undo: bool | None = None,
|
|
1991
1991
|
):
|
|
1992
1992
|
"""Hide/Unhide selected points for Grease Pencil strokes setting alpha factor
|
|
1993
1993
|
|
|
1994
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1994
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1995
1995
|
:type execution_context: int | str | None
|
|
1996
1996
|
:type undo: bool | None
|
|
1997
1997
|
"""
|
|
1998
1998
|
|
|
1999
1999
|
def selectmode_toggle(
|
|
2000
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2000
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2001
2001
|
execution_context: int | str | None = None,
|
|
2002
2002
|
undo: bool | None = None,
|
|
2003
2003
|
*,
|
|
@@ -2005,7 +2005,7 @@ def selectmode_toggle(
|
|
|
2005
2005
|
):
|
|
2006
2006
|
"""Set selection mode for Grease Pencil strokes
|
|
2007
2007
|
|
|
2008
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2008
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2009
2009
|
:type execution_context: int | str | None
|
|
2010
2010
|
:type undo: bool | None
|
|
2011
2011
|
:param mode: Select Mode, Select mode
|
|
@@ -2013,31 +2013,31 @@ def selectmode_toggle(
|
|
|
2013
2013
|
"""
|
|
2014
2014
|
|
|
2015
2015
|
def set_active_material(
|
|
2016
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2016
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2017
2017
|
execution_context: int | str | None = None,
|
|
2018
2018
|
undo: bool | None = None,
|
|
2019
2019
|
):
|
|
2020
2020
|
"""Set the selected stroke material as the active material
|
|
2021
2021
|
|
|
2022
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2022
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2023
2023
|
:type execution_context: int | str | None
|
|
2024
2024
|
:type undo: bool | None
|
|
2025
2025
|
"""
|
|
2026
2026
|
|
|
2027
2027
|
def snap_cursor_to_selected(
|
|
2028
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2028
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2029
2029
|
execution_context: int | str | None = None,
|
|
2030
2030
|
undo: bool | None = None,
|
|
2031
2031
|
):
|
|
2032
2032
|
"""Snap cursor to center of selected points
|
|
2033
2033
|
|
|
2034
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2034
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2035
2035
|
:type execution_context: int | str | None
|
|
2036
2036
|
:type undo: bool | None
|
|
2037
2037
|
"""
|
|
2038
2038
|
|
|
2039
2039
|
def snap_to_cursor(
|
|
2040
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2040
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2041
2041
|
execution_context: int | str | None = None,
|
|
2042
2042
|
undo: bool | None = None,
|
|
2043
2043
|
*,
|
|
@@ -2045,7 +2045,7 @@ def snap_to_cursor(
|
|
|
2045
2045
|
):
|
|
2046
2046
|
"""Snap selected points/strokes to the cursor
|
|
2047
2047
|
|
|
2048
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2048
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2049
2049
|
:type execution_context: int | str | None
|
|
2050
2050
|
:type undo: bool | None
|
|
2051
2051
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
@@ -2053,31 +2053,31 @@ def snap_to_cursor(
|
|
|
2053
2053
|
"""
|
|
2054
2054
|
|
|
2055
2055
|
def snap_to_grid(
|
|
2056
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2056
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2057
2057
|
execution_context: int | str | None = None,
|
|
2058
2058
|
undo: bool | None = None,
|
|
2059
2059
|
):
|
|
2060
2060
|
"""Snap selected points to the nearest grid points
|
|
2061
2061
|
|
|
2062
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2062
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2063
2063
|
:type execution_context: int | str | None
|
|
2064
2064
|
:type undo: bool | None
|
|
2065
2065
|
"""
|
|
2066
2066
|
|
|
2067
2067
|
def stroke_apply_thickness(
|
|
2068
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2068
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2069
2069
|
execution_context: int | str | None = None,
|
|
2070
2070
|
undo: bool | None = None,
|
|
2071
2071
|
):
|
|
2072
2072
|
"""Apply the thickness change of the layer to its strokes
|
|
2073
2073
|
|
|
2074
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2074
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2075
2075
|
:type execution_context: int | str | None
|
|
2076
2076
|
:type undo: bool | None
|
|
2077
2077
|
"""
|
|
2078
2078
|
|
|
2079
2079
|
def stroke_arrange(
|
|
2080
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2080
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2081
2081
|
execution_context: int | str | None = None,
|
|
2082
2082
|
undo: bool | None = None,
|
|
2083
2083
|
*,
|
|
@@ -2085,7 +2085,7 @@ def stroke_arrange(
|
|
|
2085
2085
|
):
|
|
2086
2086
|
"""Arrange selected strokes up/down in the display order of the active layer
|
|
2087
2087
|
|
|
2088
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2088
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2089
2089
|
:type execution_context: int | str | None
|
|
2090
2090
|
:type undo: bool | None
|
|
2091
2091
|
:param direction: Direction
|
|
@@ -2093,7 +2093,7 @@ def stroke_arrange(
|
|
|
2093
2093
|
"""
|
|
2094
2094
|
|
|
2095
2095
|
def stroke_caps_set(
|
|
2096
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2096
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2097
2097
|
execution_context: int | str | None = None,
|
|
2098
2098
|
undo: bool | None = None,
|
|
2099
2099
|
*,
|
|
@@ -2101,7 +2101,7 @@ def stroke_caps_set(
|
|
|
2101
2101
|
):
|
|
2102
2102
|
"""Change stroke caps mode (rounded or flat)
|
|
2103
2103
|
|
|
2104
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2104
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2105
2105
|
:type execution_context: int | str | None
|
|
2106
2106
|
:type undo: bool | None
|
|
2107
2107
|
:param type: Type
|
|
@@ -2121,7 +2121,7 @@ def stroke_caps_set(
|
|
|
2121
2121
|
"""
|
|
2122
2122
|
|
|
2123
2123
|
def stroke_change_color(
|
|
2124
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2124
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2125
2125
|
execution_context: int | str | None = None,
|
|
2126
2126
|
undo: bool | None = None,
|
|
2127
2127
|
*,
|
|
@@ -2129,7 +2129,7 @@ def stroke_change_color(
|
|
|
2129
2129
|
):
|
|
2130
2130
|
"""Move selected strokes to active material
|
|
2131
2131
|
|
|
2132
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2132
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2133
2133
|
:type execution_context: int | str | None
|
|
2134
2134
|
:type undo: bool | None
|
|
2135
2135
|
:param material: Material, Name of the material
|
|
@@ -2137,7 +2137,7 @@ def stroke_change_color(
|
|
|
2137
2137
|
"""
|
|
2138
2138
|
|
|
2139
2139
|
def stroke_cutter(
|
|
2140
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2140
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2141
2141
|
execution_context: int | str | None = None,
|
|
2142
2142
|
undo: bool | None = None,
|
|
2143
2143
|
*,
|
|
@@ -2149,7 +2149,7 @@ def stroke_cutter(
|
|
|
2149
2149
|
):
|
|
2150
2150
|
"""Select section and cut
|
|
2151
2151
|
|
|
2152
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2152
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2153
2153
|
:type execution_context: int | str | None
|
|
2154
2154
|
:type undo: bool | None
|
|
2155
2155
|
:param path: Path
|
|
@@ -2165,7 +2165,7 @@ def stroke_cutter(
|
|
|
2165
2165
|
"""
|
|
2166
2166
|
|
|
2167
2167
|
def stroke_cyclical_set(
|
|
2168
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2168
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2169
2169
|
execution_context: int | str | None = None,
|
|
2170
2170
|
undo: bool | None = None,
|
|
2171
2171
|
*,
|
|
@@ -2174,7 +2174,7 @@ def stroke_cyclical_set(
|
|
|
2174
2174
|
):
|
|
2175
2175
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
2176
2176
|
|
|
2177
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2177
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2178
2178
|
:type execution_context: int | str | None
|
|
2179
2179
|
:type undo: bool | None
|
|
2180
2180
|
:param type: Type
|
|
@@ -2184,7 +2184,7 @@ def stroke_cyclical_set(
|
|
|
2184
2184
|
"""
|
|
2185
2185
|
|
|
2186
2186
|
def stroke_editcurve_set_handle_type(
|
|
2187
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2187
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2188
2188
|
execution_context: int | str | None = None,
|
|
2189
2189
|
undo: bool | None = None,
|
|
2190
2190
|
*,
|
|
@@ -2192,7 +2192,7 @@ def stroke_editcurve_set_handle_type(
|
|
|
2192
2192
|
):
|
|
2193
2193
|
"""Set the type of an edit curve handle
|
|
2194
2194
|
|
|
2195
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2195
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2196
2196
|
:type execution_context: int | str | None
|
|
2197
2197
|
:type undo: bool | None
|
|
2198
2198
|
:param type: Type, Spline type
|
|
@@ -2200,7 +2200,7 @@ def stroke_editcurve_set_handle_type(
|
|
|
2200
2200
|
"""
|
|
2201
2201
|
|
|
2202
2202
|
def stroke_enter_editcurve_mode(
|
|
2203
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2203
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2204
2204
|
execution_context: int | str | None = None,
|
|
2205
2205
|
undo: bool | None = None,
|
|
2206
2206
|
*,
|
|
@@ -2208,7 +2208,7 @@ def stroke_enter_editcurve_mode(
|
|
|
2208
2208
|
):
|
|
2209
2209
|
"""Called to transform a stroke into a curve
|
|
2210
2210
|
|
|
2211
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2211
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2212
2212
|
:type execution_context: int | str | None
|
|
2213
2213
|
:type undo: bool | None
|
|
2214
2214
|
:param error_threshold: Error Threshold, Threshold on the maximum deviation from the actual stroke
|
|
@@ -2216,19 +2216,19 @@ def stroke_enter_editcurve_mode(
|
|
|
2216
2216
|
"""
|
|
2217
2217
|
|
|
2218
2218
|
def stroke_flip(
|
|
2219
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2219
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2220
2220
|
execution_context: int | str | None = None,
|
|
2221
2221
|
undo: bool | None = None,
|
|
2222
2222
|
):
|
|
2223
2223
|
"""Change direction of the points of the selected strokes
|
|
2224
2224
|
|
|
2225
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2225
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2226
2226
|
:type execution_context: int | str | None
|
|
2227
2227
|
:type undo: bool | None
|
|
2228
2228
|
"""
|
|
2229
2229
|
|
|
2230
2230
|
def stroke_join(
|
|
2231
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2231
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2232
2232
|
execution_context: int | str | None = None,
|
|
2233
2233
|
undo: bool | None = None,
|
|
2234
2234
|
*,
|
|
@@ -2237,7 +2237,7 @@ def stroke_join(
|
|
|
2237
2237
|
):
|
|
2238
2238
|
"""Join selected strokes (optionally as new stroke)
|
|
2239
2239
|
|
|
2240
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2240
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2241
2241
|
:type execution_context: int | str | None
|
|
2242
2242
|
:type undo: bool | None
|
|
2243
2243
|
:param type: Type
|
|
@@ -2247,7 +2247,7 @@ def stroke_join(
|
|
|
2247
2247
|
"""
|
|
2248
2248
|
|
|
2249
2249
|
def stroke_merge(
|
|
2250
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2250
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2251
2251
|
execution_context: int | str | None = None,
|
|
2252
2252
|
undo: bool | None = None,
|
|
2253
2253
|
*,
|
|
@@ -2260,7 +2260,7 @@ def stroke_merge(
|
|
|
2260
2260
|
):
|
|
2261
2261
|
"""Create a new stroke with the selected stroke points
|
|
2262
2262
|
|
|
2263
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2263
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2264
2264
|
:type execution_context: int | str | None
|
|
2265
2265
|
:type undo: bool | None
|
|
2266
2266
|
:param mode: Mode
|
|
@@ -2278,7 +2278,7 @@ def stroke_merge(
|
|
|
2278
2278
|
"""
|
|
2279
2279
|
|
|
2280
2280
|
def stroke_merge_by_distance(
|
|
2281
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2281
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2282
2282
|
execution_context: int | str | None = None,
|
|
2283
2283
|
undo: bool | None = None,
|
|
2284
2284
|
*,
|
|
@@ -2287,7 +2287,7 @@ def stroke_merge_by_distance(
|
|
|
2287
2287
|
):
|
|
2288
2288
|
"""Merge points by distance
|
|
2289
2289
|
|
|
2290
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2290
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2291
2291
|
:type execution_context: int | str | None
|
|
2292
2292
|
:type undo: bool | None
|
|
2293
2293
|
:param threshold: Threshold
|
|
@@ -2297,7 +2297,7 @@ def stroke_merge_by_distance(
|
|
|
2297
2297
|
"""
|
|
2298
2298
|
|
|
2299
2299
|
def stroke_merge_material(
|
|
2300
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2300
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2301
2301
|
execution_context: int | str | None = None,
|
|
2302
2302
|
undo: bool | None = None,
|
|
2303
2303
|
*,
|
|
@@ -2307,7 +2307,7 @@ def stroke_merge_material(
|
|
|
2307
2307
|
):
|
|
2308
2308
|
"""Replace materials in strokes merging similar
|
|
2309
2309
|
|
|
2310
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2310
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2311
2311
|
:type execution_context: int | str | None
|
|
2312
2312
|
:type undo: bool | None
|
|
2313
2313
|
:param hue_threshold: Hue Threshold
|
|
@@ -2319,7 +2319,7 @@ def stroke_merge_material(
|
|
|
2319
2319
|
"""
|
|
2320
2320
|
|
|
2321
2321
|
def stroke_normalize(
|
|
2322
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2322
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2323
2323
|
execution_context: int | str | None = None,
|
|
2324
2324
|
undo: bool | None = None,
|
|
2325
2325
|
*,
|
|
@@ -2329,7 +2329,7 @@ def stroke_normalize(
|
|
|
2329
2329
|
):
|
|
2330
2330
|
"""Normalize stroke attributes
|
|
2331
2331
|
|
|
2332
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2332
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2333
2333
|
:type execution_context: int | str | None
|
|
2334
2334
|
:type undo: bool | None
|
|
2335
2335
|
:param mode: Mode, Attribute to be normalized
|
|
@@ -2347,7 +2347,7 @@ def stroke_normalize(
|
|
|
2347
2347
|
"""
|
|
2348
2348
|
|
|
2349
2349
|
def stroke_outline(
|
|
2350
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2350
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2351
2351
|
execution_context: int | str | None = None,
|
|
2352
2352
|
undo: bool | None = None,
|
|
2353
2353
|
*,
|
|
@@ -2360,7 +2360,7 @@ def stroke_outline(
|
|
|
2360
2360
|
):
|
|
2361
2361
|
"""Convert stroke to perimeter
|
|
2362
2362
|
|
|
2363
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2363
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2364
2364
|
:type execution_context: int | str | None
|
|
2365
2365
|
:type undo: bool | None
|
|
2366
2366
|
:param view_mode: View
|
|
@@ -2387,7 +2387,7 @@ def stroke_outline(
|
|
|
2387
2387
|
"""
|
|
2388
2388
|
|
|
2389
2389
|
def stroke_reset_vertex_color(
|
|
2390
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2390
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2391
2391
|
execution_context: int | str | None = None,
|
|
2392
2392
|
undo: bool | None = None,
|
|
2393
2393
|
*,
|
|
@@ -2395,7 +2395,7 @@ def stroke_reset_vertex_color(
|
|
|
2395
2395
|
):
|
|
2396
2396
|
"""Reset vertex color for all or selected strokes
|
|
2397
2397
|
|
|
2398
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2398
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2399
2399
|
:type execution_context: int | str | None
|
|
2400
2400
|
:type undo: bool | None
|
|
2401
2401
|
:param mode: Mode
|
|
@@ -2412,7 +2412,7 @@ def stroke_reset_vertex_color(
|
|
|
2412
2412
|
"""
|
|
2413
2413
|
|
|
2414
2414
|
def stroke_sample(
|
|
2415
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2415
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2416
2416
|
execution_context: int | str | None = None,
|
|
2417
2417
|
undo: bool | None = None,
|
|
2418
2418
|
*,
|
|
@@ -2421,7 +2421,7 @@ def stroke_sample(
|
|
|
2421
2421
|
):
|
|
2422
2422
|
"""Sample stroke points to predefined segment length
|
|
2423
2423
|
|
|
2424
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2424
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2425
2425
|
:type execution_context: int | str | None
|
|
2426
2426
|
:type undo: bool | None
|
|
2427
2427
|
:param length: Length
|
|
@@ -2431,7 +2431,7 @@ def stroke_sample(
|
|
|
2431
2431
|
"""
|
|
2432
2432
|
|
|
2433
2433
|
def stroke_separate(
|
|
2434
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2434
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2435
2435
|
execution_context: int | str | None = None,
|
|
2436
2436
|
undo: bool | None = None,
|
|
2437
2437
|
*,
|
|
@@ -2439,7 +2439,7 @@ def stroke_separate(
|
|
|
2439
2439
|
):
|
|
2440
2440
|
"""Separate the selected strokes or layer in a new grease pencil object
|
|
2441
2441
|
|
|
2442
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2442
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2443
2443
|
:type execution_context: int | str | None
|
|
2444
2444
|
:type undo: bool | None
|
|
2445
2445
|
:param mode: Mode
|
|
@@ -2456,7 +2456,7 @@ def stroke_separate(
|
|
|
2456
2456
|
"""
|
|
2457
2457
|
|
|
2458
2458
|
def stroke_simplify(
|
|
2459
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2459
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2460
2460
|
execution_context: int | str | None = None,
|
|
2461
2461
|
undo: bool | None = None,
|
|
2462
2462
|
*,
|
|
@@ -2464,7 +2464,7 @@ def stroke_simplify(
|
|
|
2464
2464
|
):
|
|
2465
2465
|
"""Simplify selected strokes, reducing number of points
|
|
2466
2466
|
|
|
2467
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2467
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2468
2468
|
:type execution_context: int | str | None
|
|
2469
2469
|
:type undo: bool | None
|
|
2470
2470
|
:param factor: Factor
|
|
@@ -2472,7 +2472,7 @@ def stroke_simplify(
|
|
|
2472
2472
|
"""
|
|
2473
2473
|
|
|
2474
2474
|
def stroke_simplify_fixed(
|
|
2475
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2475
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2476
2476
|
execution_context: int | str | None = None,
|
|
2477
2477
|
undo: bool | None = None,
|
|
2478
2478
|
*,
|
|
@@ -2480,7 +2480,7 @@ def stroke_simplify_fixed(
|
|
|
2480
2480
|
):
|
|
2481
2481
|
"""Simplify selected strokes, reducing number of points using fixed algorithm
|
|
2482
2482
|
|
|
2483
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2483
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2484
2484
|
:type execution_context: int | str | None
|
|
2485
2485
|
:type undo: bool | None
|
|
2486
2486
|
:param step: Steps, Number of simplify steps
|
|
@@ -2488,7 +2488,7 @@ def stroke_simplify_fixed(
|
|
|
2488
2488
|
"""
|
|
2489
2489
|
|
|
2490
2490
|
def stroke_smooth(
|
|
2491
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2491
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2492
2492
|
execution_context: int | str | None = None,
|
|
2493
2493
|
undo: bool | None = None,
|
|
2494
2494
|
*,
|
|
@@ -2502,7 +2502,7 @@ def stroke_smooth(
|
|
|
2502
2502
|
):
|
|
2503
2503
|
"""Smooth selected strokes
|
|
2504
2504
|
|
|
2505
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2505
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2506
2506
|
:type execution_context: int | str | None
|
|
2507
2507
|
:type undo: bool | None
|
|
2508
2508
|
:param repeat: Repeat
|
|
@@ -2522,31 +2522,31 @@ def stroke_smooth(
|
|
|
2522
2522
|
"""
|
|
2523
2523
|
|
|
2524
2524
|
def stroke_split(
|
|
2525
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2525
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2526
2526
|
execution_context: int | str | None = None,
|
|
2527
2527
|
undo: bool | None = None,
|
|
2528
2528
|
):
|
|
2529
2529
|
"""Split selected points as new stroke on same frame
|
|
2530
2530
|
|
|
2531
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2531
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2532
2532
|
:type execution_context: int | str | None
|
|
2533
2533
|
:type undo: bool | None
|
|
2534
2534
|
"""
|
|
2535
2535
|
|
|
2536
2536
|
def stroke_start_set(
|
|
2537
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2537
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2538
2538
|
execution_context: int | str | None = None,
|
|
2539
2539
|
undo: bool | None = None,
|
|
2540
2540
|
):
|
|
2541
2541
|
"""Set start point for cyclic strokes
|
|
2542
2542
|
|
|
2543
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2543
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2544
2544
|
:type execution_context: int | str | None
|
|
2545
2545
|
:type undo: bool | None
|
|
2546
2546
|
"""
|
|
2547
2547
|
|
|
2548
2548
|
def stroke_subdivide(
|
|
2549
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2549
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2550
2550
|
execution_context: int | str | None = None,
|
|
2551
2551
|
undo: bool | None = None,
|
|
2552
2552
|
*,
|
|
@@ -2561,7 +2561,7 @@ def stroke_subdivide(
|
|
|
2561
2561
|
):
|
|
2562
2562
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
2563
2563
|
|
|
2564
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2564
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2565
2565
|
:type execution_context: int | str | None
|
|
2566
2566
|
:type undo: bool | None
|
|
2567
2567
|
:param number_cuts: Number of Cuts
|
|
@@ -2583,31 +2583,31 @@ def stroke_subdivide(
|
|
|
2583
2583
|
"""
|
|
2584
2584
|
|
|
2585
2585
|
def stroke_trim(
|
|
2586
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2586
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2587
2587
|
execution_context: int | str | None = None,
|
|
2588
2588
|
undo: bool | None = None,
|
|
2589
2589
|
):
|
|
2590
2590
|
"""Trim selected stroke to first loop or intersection
|
|
2591
2591
|
|
|
2592
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2592
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2593
2593
|
:type execution_context: int | str | None
|
|
2594
2594
|
:type undo: bool | None
|
|
2595
2595
|
"""
|
|
2596
2596
|
|
|
2597
2597
|
def tint_flip(
|
|
2598
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2598
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2599
2599
|
execution_context: int | str | None = None,
|
|
2600
2600
|
undo: bool | None = None,
|
|
2601
2601
|
):
|
|
2602
2602
|
"""Switch tint colors
|
|
2603
2603
|
|
|
2604
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2604
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2605
2605
|
:type execution_context: int | str | None
|
|
2606
2606
|
:type undo: bool | None
|
|
2607
2607
|
"""
|
|
2608
2608
|
|
|
2609
2609
|
def trace_image(
|
|
2610
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2610
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2611
2611
|
execution_context: int | str | None = None,
|
|
2612
2612
|
undo: bool | None = None,
|
|
2613
2613
|
*,
|
|
@@ -2627,7 +2627,7 @@ def trace_image(
|
|
|
2627
2627
|
):
|
|
2628
2628
|
"""Extract Grease Pencil strokes from image
|
|
2629
2629
|
|
|
2630
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2630
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2631
2631
|
:type execution_context: int | str | None
|
|
2632
2632
|
:type undo: bool | None
|
|
2633
2633
|
:param target: Target Object, Target grease pencil
|
|
@@ -2680,7 +2680,7 @@ def trace_image(
|
|
|
2680
2680
|
"""
|
|
2681
2681
|
|
|
2682
2682
|
def transform_fill(
|
|
2683
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2683
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2684
2684
|
execution_context: int | str | None = None,
|
|
2685
2685
|
undo: bool | None = None,
|
|
2686
2686
|
*,
|
|
@@ -2692,7 +2692,7 @@ def transform_fill(
|
|
|
2692
2692
|
):
|
|
2693
2693
|
"""Transform grease pencil stroke fill
|
|
2694
2694
|
|
|
2695
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2695
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2696
2696
|
:type execution_context: int | str | None
|
|
2697
2697
|
:type undo: bool | None
|
|
2698
2698
|
:param mode: Mode
|
|
@@ -2708,19 +2708,19 @@ def transform_fill(
|
|
|
2708
2708
|
"""
|
|
2709
2709
|
|
|
2710
2710
|
def unlock_all(
|
|
2711
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2711
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2712
2712
|
execution_context: int | str | None = None,
|
|
2713
2713
|
undo: bool | None = None,
|
|
2714
2714
|
):
|
|
2715
2715
|
"""Unlock all Grease Pencil layers so that they can be edited
|
|
2716
2716
|
|
|
2717
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2717
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2718
2718
|
:type execution_context: int | str | None
|
|
2719
2719
|
:type undo: bool | None
|
|
2720
2720
|
"""
|
|
2721
2721
|
|
|
2722
2722
|
def vertex_color_brightness_contrast(
|
|
2723
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2723
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2724
2724
|
execution_context: int | str | None = None,
|
|
2725
2725
|
undo: bool | None = None,
|
|
2726
2726
|
*,
|
|
@@ -2730,7 +2730,7 @@ def vertex_color_brightness_contrast(
|
|
|
2730
2730
|
):
|
|
2731
2731
|
"""Adjust vertex color brightness/contrast
|
|
2732
2732
|
|
|
2733
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2733
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2734
2734
|
:type execution_context: int | str | None
|
|
2735
2735
|
:type undo: bool | None
|
|
2736
2736
|
:param mode: Mode
|
|
@@ -2742,7 +2742,7 @@ def vertex_color_brightness_contrast(
|
|
|
2742
2742
|
"""
|
|
2743
2743
|
|
|
2744
2744
|
def vertex_color_hsv(
|
|
2745
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2745
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2746
2746
|
execution_context: int | str | None = None,
|
|
2747
2747
|
undo: bool | None = None,
|
|
2748
2748
|
*,
|
|
@@ -2753,7 +2753,7 @@ def vertex_color_hsv(
|
|
|
2753
2753
|
):
|
|
2754
2754
|
"""Adjust vertex color HSV values
|
|
2755
2755
|
|
|
2756
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2756
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2757
2757
|
:type execution_context: int | str | None
|
|
2758
2758
|
:type undo: bool | None
|
|
2759
2759
|
:param mode: Mode
|
|
@@ -2767,7 +2767,7 @@ def vertex_color_hsv(
|
|
|
2767
2767
|
"""
|
|
2768
2768
|
|
|
2769
2769
|
def vertex_color_invert(
|
|
2770
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2770
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2771
2771
|
execution_context: int | str | None = None,
|
|
2772
2772
|
undo: bool | None = None,
|
|
2773
2773
|
*,
|
|
@@ -2775,7 +2775,7 @@ def vertex_color_invert(
|
|
|
2775
2775
|
):
|
|
2776
2776
|
"""Invert RGB values
|
|
2777
2777
|
|
|
2778
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2778
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2779
2779
|
:type execution_context: int | str | None
|
|
2780
2780
|
:type undo: bool | None
|
|
2781
2781
|
:param mode: Mode
|
|
@@ -2783,7 +2783,7 @@ def vertex_color_invert(
|
|
|
2783
2783
|
"""
|
|
2784
2784
|
|
|
2785
2785
|
def vertex_color_levels(
|
|
2786
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2786
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2787
2787
|
execution_context: int | str | None = None,
|
|
2788
2788
|
undo: bool | None = None,
|
|
2789
2789
|
*,
|
|
@@ -2793,7 +2793,7 @@ def vertex_color_levels(
|
|
|
2793
2793
|
):
|
|
2794
2794
|
"""Adjust levels of vertex colors
|
|
2795
2795
|
|
|
2796
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2796
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2797
2797
|
:type execution_context: int | str | None
|
|
2798
2798
|
:type undo: bool | None
|
|
2799
2799
|
:param mode: Mode
|
|
@@ -2805,7 +2805,7 @@ def vertex_color_levels(
|
|
|
2805
2805
|
"""
|
|
2806
2806
|
|
|
2807
2807
|
def vertex_color_set(
|
|
2808
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2808
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2809
2809
|
execution_context: int | str | None = None,
|
|
2810
2810
|
undo: bool | None = None,
|
|
2811
2811
|
*,
|
|
@@ -2814,7 +2814,7 @@ def vertex_color_set(
|
|
|
2814
2814
|
):
|
|
2815
2815
|
"""Set active color to all selected vertex
|
|
2816
2816
|
|
|
2817
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2817
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2818
2818
|
:type execution_context: int | str | None
|
|
2819
2819
|
:type undo: bool | None
|
|
2820
2820
|
:param mode: Mode
|
|
@@ -2824,55 +2824,55 @@ def vertex_color_set(
|
|
|
2824
2824
|
"""
|
|
2825
2825
|
|
|
2826
2826
|
def vertex_group_assign(
|
|
2827
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2827
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2828
2828
|
execution_context: int | str | None = None,
|
|
2829
2829
|
undo: bool | None = None,
|
|
2830
2830
|
):
|
|
2831
2831
|
"""Assign the selected vertices to the active vertex group
|
|
2832
2832
|
|
|
2833
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2833
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2834
2834
|
:type execution_context: int | str | None
|
|
2835
2835
|
:type undo: bool | None
|
|
2836
2836
|
"""
|
|
2837
2837
|
|
|
2838
2838
|
def vertex_group_deselect(
|
|
2839
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2839
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2840
2840
|
execution_context: int | str | None = None,
|
|
2841
2841
|
undo: bool | None = None,
|
|
2842
2842
|
):
|
|
2843
2843
|
"""Deselect all selected vertices assigned to the active vertex group
|
|
2844
2844
|
|
|
2845
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2845
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2846
2846
|
:type execution_context: int | str | None
|
|
2847
2847
|
:type undo: bool | None
|
|
2848
2848
|
"""
|
|
2849
2849
|
|
|
2850
2850
|
def vertex_group_invert(
|
|
2851
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2851
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2852
2852
|
execution_context: int | str | None = None,
|
|
2853
2853
|
undo: bool | None = None,
|
|
2854
2854
|
):
|
|
2855
2855
|
"""Invert weights to the active vertex group
|
|
2856
2856
|
|
|
2857
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2857
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2858
2858
|
:type execution_context: int | str | None
|
|
2859
2859
|
:type undo: bool | None
|
|
2860
2860
|
"""
|
|
2861
2861
|
|
|
2862
2862
|
def vertex_group_normalize(
|
|
2863
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2863
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2864
2864
|
execution_context: int | str | None = None,
|
|
2865
2865
|
undo: bool | None = None,
|
|
2866
2866
|
):
|
|
2867
2867
|
"""Normalize weights to the active vertex group
|
|
2868
2868
|
|
|
2869
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2869
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2870
2870
|
:type execution_context: int | str | None
|
|
2871
2871
|
:type undo: bool | None
|
|
2872
2872
|
"""
|
|
2873
2873
|
|
|
2874
2874
|
def vertex_group_normalize_all(
|
|
2875
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2875
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2876
2876
|
execution_context: int | str | None = None,
|
|
2877
2877
|
undo: bool | None = None,
|
|
2878
2878
|
*,
|
|
@@ -2880,7 +2880,7 @@ def vertex_group_normalize_all(
|
|
|
2880
2880
|
):
|
|
2881
2881
|
"""Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
2882
2882
|
|
|
2883
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2883
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2884
2884
|
:type execution_context: int | str | None
|
|
2885
2885
|
:type undo: bool | None
|
|
2886
2886
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
@@ -2888,31 +2888,31 @@ def vertex_group_normalize_all(
|
|
|
2888
2888
|
"""
|
|
2889
2889
|
|
|
2890
2890
|
def vertex_group_remove_from(
|
|
2891
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2891
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2892
2892
|
execution_context: int | str | None = None,
|
|
2893
2893
|
undo: bool | None = None,
|
|
2894
2894
|
):
|
|
2895
2895
|
"""Remove the selected vertices from active or all vertex group(s)
|
|
2896
2896
|
|
|
2897
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2897
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2898
2898
|
:type execution_context: int | str | None
|
|
2899
2899
|
:type undo: bool | None
|
|
2900
2900
|
"""
|
|
2901
2901
|
|
|
2902
2902
|
def vertex_group_select(
|
|
2903
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2903
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2904
2904
|
execution_context: int | str | None = None,
|
|
2905
2905
|
undo: bool | None = None,
|
|
2906
2906
|
):
|
|
2907
2907
|
"""Select all the vertices assigned to the active vertex group
|
|
2908
2908
|
|
|
2909
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2909
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2910
2910
|
:type execution_context: int | str | None
|
|
2911
2911
|
:type undo: bool | None
|
|
2912
2912
|
"""
|
|
2913
2913
|
|
|
2914
2914
|
def vertex_group_smooth(
|
|
2915
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2915
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2916
2916
|
execution_context: int | str | None = None,
|
|
2917
2917
|
undo: bool | None = None,
|
|
2918
2918
|
*,
|
|
@@ -2921,7 +2921,7 @@ def vertex_group_smooth(
|
|
|
2921
2921
|
):
|
|
2922
2922
|
"""Smooth weights to the active vertex group
|
|
2923
2923
|
|
|
2924
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2924
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2925
2925
|
:type execution_context: int | str | None
|
|
2926
2926
|
:type undo: bool | None
|
|
2927
2927
|
:param factor: Factor
|
|
@@ -2931,7 +2931,7 @@ def vertex_group_smooth(
|
|
|
2931
2931
|
"""
|
|
2932
2932
|
|
|
2933
2933
|
def vertex_paint(
|
|
2934
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2934
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2935
2935
|
execution_context: int | str | None = None,
|
|
2936
2936
|
undo: bool | None = None,
|
|
2937
2937
|
*,
|
|
@@ -2941,7 +2941,7 @@ def vertex_paint(
|
|
|
2941
2941
|
):
|
|
2942
2942
|
"""Paint stroke points with a color
|
|
2943
2943
|
|
|
2944
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2944
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2945
2945
|
:type execution_context: int | str | None
|
|
2946
2946
|
:type undo: bool | None
|
|
2947
2947
|
:param stroke: Stroke
|
|
@@ -2951,7 +2951,7 @@ def vertex_paint(
|
|
|
2951
2951
|
"""
|
|
2952
2952
|
|
|
2953
2953
|
def vertexmode_toggle(
|
|
2954
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2954
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2955
2955
|
execution_context: int | str | None = None,
|
|
2956
2956
|
undo: bool | None = None,
|
|
2957
2957
|
*,
|
|
@@ -2959,7 +2959,7 @@ def vertexmode_toggle(
|
|
|
2959
2959
|
):
|
|
2960
2960
|
"""Enter/Exit vertex paint mode for Grease Pencil strokes
|
|
2961
2961
|
|
|
2962
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2962
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2963
2963
|
:type execution_context: int | str | None
|
|
2964
2964
|
:type undo: bool | None
|
|
2965
2965
|
:param back: Return to Previous Mode, Return to previous mode
|
|
@@ -2967,7 +2967,7 @@ def vertexmode_toggle(
|
|
|
2967
2967
|
"""
|
|
2968
2968
|
|
|
2969
2969
|
def weight_paint(
|
|
2970
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2970
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2971
2971
|
execution_context: int | str | None = None,
|
|
2972
2972
|
undo: bool | None = None,
|
|
2973
2973
|
*,
|
|
@@ -2977,7 +2977,7 @@ def weight_paint(
|
|
|
2977
2977
|
):
|
|
2978
2978
|
"""Draw weight on stroke points
|
|
2979
2979
|
|
|
2980
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2980
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2981
2981
|
:type execution_context: int | str | None
|
|
2982
2982
|
:type undo: bool | None
|
|
2983
2983
|
:param stroke: Stroke
|
|
@@ -2987,31 +2987,31 @@ def weight_paint(
|
|
|
2987
2987
|
"""
|
|
2988
2988
|
|
|
2989
2989
|
def weight_sample(
|
|
2990
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
2990
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2991
2991
|
execution_context: int | str | None = None,
|
|
2992
2992
|
undo: bool | None = None,
|
|
2993
2993
|
):
|
|
2994
2994
|
"""Use the mouse to sample a weight in the 3D view
|
|
2995
2995
|
|
|
2996
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
2996
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2997
2997
|
:type execution_context: int | str | None
|
|
2998
2998
|
:type undo: bool | None
|
|
2999
2999
|
"""
|
|
3000
3000
|
|
|
3001
3001
|
def weight_toggle_direction(
|
|
3002
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
3002
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3003
3003
|
execution_context: int | str | None = None,
|
|
3004
3004
|
undo: bool | None = None,
|
|
3005
3005
|
):
|
|
3006
3006
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
3007
3007
|
|
|
3008
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
3008
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3009
3009
|
:type execution_context: int | str | None
|
|
3010
3010
|
:type undo: bool | None
|
|
3011
3011
|
"""
|
|
3012
3012
|
|
|
3013
3013
|
def weightmode_toggle(
|
|
3014
|
-
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
3014
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
3015
3015
|
execution_context: int | str | None = None,
|
|
3016
3016
|
undo: bool | None = None,
|
|
3017
3017
|
*,
|
|
@@ -3019,7 +3019,7 @@ def weightmode_toggle(
|
|
|
3019
3019
|
):
|
|
3020
3020
|
"""Enter/Exit weight paint mode for Grease Pencil strokes
|
|
3021
3021
|
|
|
3022
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
3022
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
3023
3023
|
:type execution_context: int | str | None
|
|
3024
3024
|
:type undo: bool | None
|
|
3025
3025
|
:param back: Return to Previous Mode, Return to previous mode
|