fake-bpy-module 20240803__py3-none-any.whl → 20240804__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- aud/__init__.pyi +77 -77
- bmesh/ops/__init__.pyi +54 -36
- bmesh/types/__init__.pyi +24 -24
- bpy/ops/action/__init__.pyi +55 -32
- bpy/ops/anim/__init__.pyi +22 -22
- bpy/ops/armature/__init__.pyi +47 -20
- bpy/ops/asset/__init__.pyi +5 -2
- bpy/ops/boid/__init__.pyi +12 -2
- bpy/ops/brush/__init__.pyi +18 -12
- bpy/ops/buttons/__init__.pyi +10 -4
- bpy/ops/cachefile/__init__.pyi +12 -6
- bpy/ops/clip/__init__.pyi +54 -38
- bpy/ops/console/__init__.pyi +17 -6
- bpy/ops/constraint/__init__.pyi +28 -28
- bpy/ops/curve/__init__.pyi +72 -34
- bpy/ops/curves/__init__.pyi +16 -16
- bpy/ops/dpaint/__init__.pyi +4 -4
- bpy/ops/ed/__init__.pyi +5 -2
- bpy/ops/export_anim/__init__.pyi +3 -2
- bpy/ops/export_scene/__init__.pyi +55 -45
- bpy/ops/file/__init__.pyi +40 -16
- bpy/ops/font/__init__.pyi +59 -16
- bpy/ops/geometry/__init__.pyi +55 -20
- bpy/ops/gpencil/__init__.pyi +155 -122
- bpy/ops/graph/__init__.pyi +131 -52
- bpy/ops/grease_pencil/__init__.pyi +78 -58
- bpy/ops/image/__init__.pyi +77 -54
- bpy/ops/import_anim/__init__.pyi +11 -8
- bpy/ops/import_scene/__init__.pyi +20 -18
- bpy/ops/info/__init__.pyi +4 -4
- bpy/ops/lattice/__init__.pyi +8 -8
- bpy/ops/marker/__init__.pyi +6 -6
- bpy/ops/mask/__init__.pyi +13 -12
- bpy/ops/mball/__init__.pyi +6 -6
- bpy/ops/mesh/__init__.pyi +290 -150
- bpy/ops/nla/__init__.pyi +28 -20
- bpy/ops/node/__init__.pyi +43 -32
- bpy/ops/object/__init__.pyi +651 -210
- bpy/ops/outliner/__init__.pyi +113 -32
- bpy/ops/paint/__init__.pyi +65 -56
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +14 -14
- bpy/ops/pose/__init__.pyi +121 -44
- bpy/ops/preferences/__init__.pyi +9 -6
- bpy/ops/render/__init__.pyi +3 -2
- bpy/ops/rigidbody/__init__.pyi +45 -14
- bpy/ops/scene/__init__.pyi +69 -22
- bpy/ops/screen/__init__.pyi +78 -16
- bpy/ops/sculpt/__init__.pyi +131 -74
- bpy/ops/sculpt_curves/__init__.pyi +2 -2
- bpy/ops/sequencer/__init__.pyi +156 -60
- bpy/ops/sound/__init__.pyi +40 -16
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +65 -20
- bpy/ops/texture/__init__.pyi +2 -2
- bpy/ops/transform/__init__.pyi +344 -72
- bpy/ops/ui/__init__.pyi +9 -6
- bpy/ops/uilist/__init__.pyi +2 -2
- bpy/ops/uv/__init__.pyi +90 -66
- bpy/ops/view3d/__init__.pyi +36 -30
- bpy/ops/wm/__init__.pyi +443 -156
- bpy/types/__init__.pyi +28064 -2857
- {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240804.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240804.dist-info}/RECORD +72 -72
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/types/__init__.pyi +76 -63
- idprop/types/__init__.pyi +2 -2
- imbuf/types/__init__.pyi +2 -2
- mathutils/__init__.pyi +1004 -970
- mathutils/bvhtree/__init__.pyi +2 -2
- {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240804.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240804.dist-info}/top_level.txt +0 -0
bpy/ops/scene/__init__.pyi
CHANGED
|
@@ -53,7 +53,17 @@ def freestyle_alpha_modifier_add(
|
|
|
53
53
|
execution_context: int | str | None = None,
|
|
54
54
|
undo: bool | None = None,
|
|
55
55
|
*,
|
|
56
|
-
type:
|
|
56
|
+
type: typing.Literal[
|
|
57
|
+
"ALONG_STROKE",
|
|
58
|
+
"CREASE_ANGLE",
|
|
59
|
+
"CURVATURE_3D",
|
|
60
|
+
"DISTANCE_FROM_CAMERA",
|
|
61
|
+
"DISTANCE_FROM_OBJECT",
|
|
62
|
+
"MATERIAL",
|
|
63
|
+
"NOISE",
|
|
64
|
+
"TANGENT",
|
|
65
|
+
]
|
|
66
|
+
| None = "ALONG_STROKE",
|
|
57
67
|
):
|
|
58
68
|
"""Add an alpha transparency modifier to the line style associated with the active lineset
|
|
59
69
|
|
|
@@ -61,7 +71,7 @@ def freestyle_alpha_modifier_add(
|
|
|
61
71
|
:type execution_context: int | str | None
|
|
62
72
|
:type undo: bool | None
|
|
63
73
|
:param type: Type
|
|
64
|
-
:type type:
|
|
74
|
+
:type type: typing.Literal['ALONG_STROKE', 'CREASE_ANGLE', 'CURVATURE_3D', 'DISTANCE_FROM_CAMERA', 'DISTANCE_FROM_OBJECT', 'MATERIAL', 'NOISE', 'TANGENT'] | None
|
|
65
75
|
"""
|
|
66
76
|
|
|
67
77
|
...
|
|
@@ -71,7 +81,17 @@ def freestyle_color_modifier_add(
|
|
|
71
81
|
execution_context: int | str | None = None,
|
|
72
82
|
undo: bool | None = None,
|
|
73
83
|
*,
|
|
74
|
-
type:
|
|
84
|
+
type: typing.Literal[
|
|
85
|
+
"ALONG_STROKE",
|
|
86
|
+
"CREASE_ANGLE",
|
|
87
|
+
"CURVATURE_3D",
|
|
88
|
+
"DISTANCE_FROM_CAMERA",
|
|
89
|
+
"DISTANCE_FROM_OBJECT",
|
|
90
|
+
"MATERIAL",
|
|
91
|
+
"NOISE",
|
|
92
|
+
"TANGENT",
|
|
93
|
+
]
|
|
94
|
+
| None = "ALONG_STROKE",
|
|
75
95
|
):
|
|
76
96
|
"""Add a line color modifier to the line style associated with the active lineset
|
|
77
97
|
|
|
@@ -79,7 +99,7 @@ def freestyle_color_modifier_add(
|
|
|
79
99
|
:type execution_context: int | str | None
|
|
80
100
|
:type undo: bool | None
|
|
81
101
|
:param type: Type
|
|
82
|
-
:type type:
|
|
102
|
+
:type type: typing.Literal['ALONG_STROKE', 'CREASE_ANGLE', 'CURVATURE_3D', 'DISTANCE_FROM_CAMERA', 'DISTANCE_FROM_OBJECT', 'MATERIAL', 'NOISE', 'TANGENT'] | None
|
|
83
103
|
"""
|
|
84
104
|
|
|
85
105
|
...
|
|
@@ -89,7 +109,7 @@ def freestyle_fill_range_by_selection(
|
|
|
89
109
|
execution_context: int | str | None = None,
|
|
90
110
|
undo: bool | None = None,
|
|
91
111
|
*,
|
|
92
|
-
type:
|
|
112
|
+
type: typing.Literal["COLOR", "ALPHA", "THICKNESS"] | None = "COLOR",
|
|
93
113
|
name: str = "",
|
|
94
114
|
):
|
|
95
115
|
"""Fill the Range Min/Max entries by the min/max distance between selected mesh objects and the source object (either a user-specified object or the active camera)
|
|
@@ -107,7 +127,7 @@ def freestyle_fill_range_by_selection(
|
|
|
107
127
|
|
|
108
128
|
THICKNESS
|
|
109
129
|
Thickness -- Thickness modifier type.
|
|
110
|
-
:type type:
|
|
130
|
+
:type type: typing.Literal['COLOR','ALPHA','THICKNESS'] | None
|
|
111
131
|
:param name: Name, Name of the modifier to work on
|
|
112
132
|
:type name: str
|
|
113
133
|
"""
|
|
@@ -119,7 +139,23 @@ def freestyle_geometry_modifier_add(
|
|
|
119
139
|
execution_context: int | str | None = None,
|
|
120
140
|
undo: bool | None = None,
|
|
121
141
|
*,
|
|
122
|
-
type:
|
|
142
|
+
type: typing.Literal[
|
|
143
|
+
"2D_OFFSET",
|
|
144
|
+
"2D_TRANSFORM",
|
|
145
|
+
"BACKBONE_STRETCHER",
|
|
146
|
+
"BEZIER_CURVE",
|
|
147
|
+
"BLUEPRINT",
|
|
148
|
+
"GUIDING_LINES",
|
|
149
|
+
"PERLIN_NOISE_1D",
|
|
150
|
+
"PERLIN_NOISE_2D",
|
|
151
|
+
"POLYGONIZATION",
|
|
152
|
+
"SAMPLING",
|
|
153
|
+
"SIMPLIFICATION",
|
|
154
|
+
"SINUS_DISPLACEMENT",
|
|
155
|
+
"SPATIAL_NOISE",
|
|
156
|
+
"TIP_REMOVER",
|
|
157
|
+
]
|
|
158
|
+
| None = "2D_OFFSET",
|
|
123
159
|
):
|
|
124
160
|
"""Add a stroke geometry modifier to the line style associated with the active lineset
|
|
125
161
|
|
|
@@ -127,7 +163,7 @@ def freestyle_geometry_modifier_add(
|
|
|
127
163
|
:type execution_context: int | str | None
|
|
128
164
|
:type undo: bool | None
|
|
129
165
|
:param type: Type
|
|
130
|
-
:type type:
|
|
166
|
+
:type type: typing.Literal['2D_OFFSET', '2D_TRANSFORM', 'BACKBONE_STRETCHER', 'BEZIER_CURVE', 'BLUEPRINT', 'GUIDING_LINES', 'PERLIN_NOISE_1D', 'PERLIN_NOISE_2D', 'POLYGONIZATION', 'SAMPLING', 'SIMPLIFICATION', 'SINUS_DISPLACEMENT', 'SPATIAL_NOISE', 'TIP_REMOVER'] | None
|
|
131
167
|
"""
|
|
132
168
|
|
|
133
169
|
...
|
|
@@ -165,7 +201,7 @@ def freestyle_lineset_move(
|
|
|
165
201
|
execution_context: int | str | None = None,
|
|
166
202
|
undo: bool | None = None,
|
|
167
203
|
*,
|
|
168
|
-
direction:
|
|
204
|
+
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
169
205
|
):
|
|
170
206
|
"""Change the position of the active line set within the list of line sets
|
|
171
207
|
|
|
@@ -173,7 +209,7 @@ def freestyle_lineset_move(
|
|
|
173
209
|
:type execution_context: int | str | None
|
|
174
210
|
:type undo: bool | None
|
|
175
211
|
:param direction: Direction, Direction to move the active line set towards
|
|
176
|
-
:type direction:
|
|
212
|
+
:type direction: typing.Literal['UP','DOWN'] | None
|
|
177
213
|
"""
|
|
178
214
|
|
|
179
215
|
...
|
|
@@ -239,7 +275,7 @@ def freestyle_modifier_move(
|
|
|
239
275
|
execution_context: int | str | None = None,
|
|
240
276
|
undo: bool | None = None,
|
|
241
277
|
*,
|
|
242
|
-
direction:
|
|
278
|
+
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
243
279
|
):
|
|
244
280
|
"""Move the modifier within the list of modifiers
|
|
245
281
|
|
|
@@ -247,7 +283,7 @@ def freestyle_modifier_move(
|
|
|
247
283
|
:type execution_context: int | str | None
|
|
248
284
|
:type undo: bool | None
|
|
249
285
|
:param direction: Direction, Direction to move the chosen modifier towards
|
|
250
|
-
:type direction:
|
|
286
|
+
:type direction: typing.Literal['UP','DOWN'] | None
|
|
251
287
|
"""
|
|
252
288
|
|
|
253
289
|
...
|
|
@@ -285,7 +321,7 @@ def freestyle_module_move(
|
|
|
285
321
|
execution_context: int | str | None = None,
|
|
286
322
|
undo: bool | None = None,
|
|
287
323
|
*,
|
|
288
|
-
direction:
|
|
324
|
+
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
289
325
|
):
|
|
290
326
|
"""Change the position of the style module within in the list of style modules
|
|
291
327
|
|
|
@@ -293,7 +329,7 @@ def freestyle_module_move(
|
|
|
293
329
|
:type execution_context: int | str | None
|
|
294
330
|
:type undo: bool | None
|
|
295
331
|
:param direction: Direction, Direction to move the chosen style module towards
|
|
296
|
-
:type direction:
|
|
332
|
+
:type direction: typing.Literal['UP','DOWN'] | None
|
|
297
333
|
"""
|
|
298
334
|
|
|
299
335
|
...
|
|
@@ -352,7 +388,18 @@ def freestyle_thickness_modifier_add(
|
|
|
352
388
|
execution_context: int | str | None = None,
|
|
353
389
|
undo: bool | None = None,
|
|
354
390
|
*,
|
|
355
|
-
type:
|
|
391
|
+
type: typing.Literal[
|
|
392
|
+
"ALONG_STROKE",
|
|
393
|
+
"CALLIGRAPHY",
|
|
394
|
+
"CREASE_ANGLE",
|
|
395
|
+
"CURVATURE_3D",
|
|
396
|
+
"DISTANCE_FROM_CAMERA",
|
|
397
|
+
"DISTANCE_FROM_OBJECT",
|
|
398
|
+
"MATERIAL",
|
|
399
|
+
"NOISE",
|
|
400
|
+
"TANGENT",
|
|
401
|
+
]
|
|
402
|
+
| None = "ALONG_STROKE",
|
|
356
403
|
):
|
|
357
404
|
"""Add a line thickness modifier to the line style associated with the active lineset
|
|
358
405
|
|
|
@@ -360,7 +407,7 @@ def freestyle_thickness_modifier_add(
|
|
|
360
407
|
:type execution_context: int | str | None
|
|
361
408
|
:type undo: bool | None
|
|
362
409
|
:param type: Type
|
|
363
|
-
:type type:
|
|
410
|
+
:type type: typing.Literal['ALONG_STROKE', 'CALLIGRAPHY', 'CREASE_ANGLE', 'CURVATURE_3D', 'DISTANCE_FROM_CAMERA', 'DISTANCE_FROM_OBJECT', 'MATERIAL', 'NOISE', 'TANGENT'] | None
|
|
364
411
|
"""
|
|
365
412
|
|
|
366
413
|
...
|
|
@@ -432,7 +479,7 @@ def new(
|
|
|
432
479
|
execution_context: int | str | None = None,
|
|
433
480
|
undo: bool | None = None,
|
|
434
481
|
*,
|
|
435
|
-
type:
|
|
482
|
+
type: typing.Literal["NEW", "EMPTY", "LINK_COPY", "FULL_COPY"] | None = "NEW",
|
|
436
483
|
):
|
|
437
484
|
"""Add new scene by type
|
|
438
485
|
|
|
@@ -452,7 +499,7 @@ def new(
|
|
|
452
499
|
|
|
453
500
|
FULL_COPY
|
|
454
501
|
Full Copy -- Make a full copy of the current scene.
|
|
455
|
-
:type type:
|
|
502
|
+
:type type: typing.Literal['NEW','EMPTY','LINK_COPY','FULL_COPY'] | None
|
|
456
503
|
"""
|
|
457
504
|
|
|
458
505
|
...
|
|
@@ -462,7 +509,7 @@ def new_sequencer(
|
|
|
462
509
|
execution_context: int | str | None = None,
|
|
463
510
|
undo: bool | None = None,
|
|
464
511
|
*,
|
|
465
|
-
type:
|
|
512
|
+
type: typing.Literal["NEW", "EMPTY", "LINK_COPY", "FULL_COPY"] | None = "NEW",
|
|
466
513
|
):
|
|
467
514
|
"""Add new scene by type in the sequence editor and assign to active strip
|
|
468
515
|
|
|
@@ -482,7 +529,7 @@ def new_sequencer(
|
|
|
482
529
|
|
|
483
530
|
FULL_COPY
|
|
484
531
|
Full Copy -- Make a full copy of the current scene.
|
|
485
|
-
:type type:
|
|
532
|
+
:type type: typing.Literal['NEW','EMPTY','LINK_COPY','FULL_COPY'] | None
|
|
486
533
|
"""
|
|
487
534
|
|
|
488
535
|
...
|
|
@@ -520,7 +567,7 @@ def view_layer_add(
|
|
|
520
567
|
execution_context: int | str | None = None,
|
|
521
568
|
undo: bool | None = None,
|
|
522
569
|
*,
|
|
523
|
-
type:
|
|
570
|
+
type: typing.Literal["NEW", "COPY", "EMPTY"] | None = "NEW",
|
|
524
571
|
):
|
|
525
572
|
"""Add a view layer
|
|
526
573
|
|
|
@@ -537,7 +584,7 @@ def view_layer_add(
|
|
|
537
584
|
|
|
538
585
|
EMPTY
|
|
539
586
|
Blank -- Add a new view layer with all collections disabled.
|
|
540
|
-
:type type:
|
|
587
|
+
:type type: typing.Literal['NEW','COPY','EMPTY'] | None
|
|
541
588
|
"""
|
|
542
589
|
|
|
543
590
|
...
|
bpy/ops/screen/__init__.pyi
CHANGED
|
@@ -169,7 +169,7 @@ def area_split(
|
|
|
169
169
|
execution_context: int | str | None = None,
|
|
170
170
|
undo: bool | None = None,
|
|
171
171
|
*,
|
|
172
|
-
direction:
|
|
172
|
+
direction: typing.Literal["HORIZONTAL", "VERTICAL"] | None = "HORIZONTAL",
|
|
173
173
|
factor: float | None = 0.5,
|
|
174
174
|
cursor: collections.abc.Iterable[int] | None = (0, 0),
|
|
175
175
|
):
|
|
@@ -179,7 +179,7 @@ def area_split(
|
|
|
179
179
|
:type execution_context: int | str | None
|
|
180
180
|
:type undo: bool | None
|
|
181
181
|
:param direction: Direction
|
|
182
|
-
:type direction:
|
|
182
|
+
:type direction: typing.Literal['HORIZONTAL','VERTICAL'] | None
|
|
183
183
|
:param factor: Factor
|
|
184
184
|
:type factor: float | None
|
|
185
185
|
:param cursor: Cursor
|
|
@@ -451,7 +451,25 @@ def region_toggle(
|
|
|
451
451
|
execution_context: int | str | None = None,
|
|
452
452
|
undo: bool | None = None,
|
|
453
453
|
*,
|
|
454
|
-
region_type:
|
|
454
|
+
region_type: typing.Literal[
|
|
455
|
+
"WINDOW",
|
|
456
|
+
"HEADER",
|
|
457
|
+
"CHANNELS",
|
|
458
|
+
"TEMPORARY",
|
|
459
|
+
"UI",
|
|
460
|
+
"TOOLS",
|
|
461
|
+
"TOOL_PROPS",
|
|
462
|
+
"ASSET_SHELF",
|
|
463
|
+
"ASSET_SHELF_HEADER",
|
|
464
|
+
"PREVIEW",
|
|
465
|
+
"HUD",
|
|
466
|
+
"NAVIGATION_BAR",
|
|
467
|
+
"EXECUTE",
|
|
468
|
+
"FOOTER",
|
|
469
|
+
"TOOL_HEADER",
|
|
470
|
+
"XR",
|
|
471
|
+
]
|
|
472
|
+
| None = "WINDOW",
|
|
455
473
|
):
|
|
456
474
|
"""Hide or unhide the region
|
|
457
475
|
|
|
@@ -459,7 +477,7 @@ def region_toggle(
|
|
|
459
477
|
:type execution_context: int | str | None
|
|
460
478
|
:type undo: bool | None
|
|
461
479
|
:param region_type: Region Type, Type of the region to toggle
|
|
462
|
-
:type region_type:
|
|
480
|
+
:type region_type: typing.Literal['WINDOW', 'HEADER', 'CHANNELS', 'TEMPORARY', 'UI', 'TOOLS', 'TOOL_PROPS', 'ASSET_SHELF', 'ASSET_SHELF_HEADER', 'PREVIEW', 'HUD', 'NAVIGATION_BAR', 'EXECUTE', 'FOOTER', 'TOOL_HEADER', 'XR'] | None
|
|
463
481
|
"""
|
|
464
482
|
|
|
465
483
|
...
|
|
@@ -560,7 +578,10 @@ def screenshot(
|
|
|
560
578
|
filemode: int | None = 9,
|
|
561
579
|
show_multiview: bool | None = False,
|
|
562
580
|
use_multiview: bool | None = False,
|
|
563
|
-
display_type:
|
|
581
|
+
display_type: typing.Literal[
|
|
582
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
583
|
+
]
|
|
584
|
+
| None = "DEFAULT",
|
|
564
585
|
sort_method: str | None = "",
|
|
565
586
|
):
|
|
566
587
|
"""Capture a picture of the whole Blender window
|
|
@@ -627,7 +648,7 @@ def screenshot(
|
|
|
627
648
|
|
|
628
649
|
THUMBNAIL
|
|
629
650
|
Thumbnails -- Display files as thumbnails.
|
|
630
|
-
:type display_type:
|
|
651
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
631
652
|
:param sort_method: File sorting mode
|
|
632
653
|
:type sort_method: str | None
|
|
633
654
|
"""
|
|
@@ -662,7 +683,10 @@ def screenshot_area(
|
|
|
662
683
|
filemode: int | None = 9,
|
|
663
684
|
show_multiview: bool | None = False,
|
|
664
685
|
use_multiview: bool | None = False,
|
|
665
|
-
display_type:
|
|
686
|
+
display_type: typing.Literal[
|
|
687
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
688
|
+
]
|
|
689
|
+
| None = "DEFAULT",
|
|
666
690
|
sort_method: str | None = "",
|
|
667
691
|
):
|
|
668
692
|
"""Capture a picture of an editor
|
|
@@ -729,7 +753,7 @@ def screenshot_area(
|
|
|
729
753
|
|
|
730
754
|
THUMBNAIL
|
|
731
755
|
Thumbnails -- Display files as thumbnails.
|
|
732
|
-
:type display_type:
|
|
756
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
733
757
|
:param sort_method: File sorting mode
|
|
734
758
|
:type sort_method: str | None
|
|
735
759
|
"""
|
|
@@ -741,7 +765,7 @@ def space_context_cycle(
|
|
|
741
765
|
execution_context: int | str | None = None,
|
|
742
766
|
undo: bool | None = None,
|
|
743
767
|
*,
|
|
744
|
-
direction:
|
|
768
|
+
direction: typing.Literal["PREV", "NEXT"] | None = "NEXT",
|
|
745
769
|
):
|
|
746
770
|
"""Cycle through the editor context by activating the next/previous one
|
|
747
771
|
|
|
@@ -749,7 +773,7 @@ def space_context_cycle(
|
|
|
749
773
|
:type execution_context: int | str | None
|
|
750
774
|
:type undo: bool | None
|
|
751
775
|
:param direction: Direction, Direction to cycle through
|
|
752
|
-
:type direction:
|
|
776
|
+
:type direction: typing.Literal['PREV','NEXT'] | None
|
|
753
777
|
"""
|
|
754
778
|
|
|
755
779
|
...
|
|
@@ -759,7 +783,28 @@ def space_type_set_or_cycle(
|
|
|
759
783
|
execution_context: int | str | None = None,
|
|
760
784
|
undo: bool | None = None,
|
|
761
785
|
*,
|
|
762
|
-
space_type:
|
|
786
|
+
space_type: typing.Literal[
|
|
787
|
+
"EMPTY",
|
|
788
|
+
"VIEW_3D",
|
|
789
|
+
"IMAGE_EDITOR",
|
|
790
|
+
"NODE_EDITOR",
|
|
791
|
+
"SEQUENCE_EDITOR",
|
|
792
|
+
"CLIP_EDITOR",
|
|
793
|
+
"DOPESHEET_EDITOR",
|
|
794
|
+
"GRAPH_EDITOR",
|
|
795
|
+
"NLA_EDITOR",
|
|
796
|
+
"TEXT_EDITOR",
|
|
797
|
+
"CONSOLE",
|
|
798
|
+
"INFO",
|
|
799
|
+
"TOPBAR",
|
|
800
|
+
"STATUSBAR",
|
|
801
|
+
"OUTLINER",
|
|
802
|
+
"PROPERTIES",
|
|
803
|
+
"FILE_BROWSER",
|
|
804
|
+
"SPREADSHEET",
|
|
805
|
+
"PREFERENCES",
|
|
806
|
+
]
|
|
807
|
+
| None = "EMPTY",
|
|
763
808
|
):
|
|
764
809
|
"""Set the space type or cycle subtype
|
|
765
810
|
|
|
@@ -767,7 +812,7 @@ def space_type_set_or_cycle(
|
|
|
767
812
|
:type execution_context: int | str | None
|
|
768
813
|
:type undo: bool | None
|
|
769
814
|
:param space_type: Type
|
|
770
|
-
:type space_type:
|
|
815
|
+
:type space_type: typing.Literal['EMPTY', 'VIEW_3D', 'IMAGE_EDITOR', 'NODE_EDITOR', 'SEQUENCE_EDITOR', 'CLIP_EDITOR', 'DOPESHEET_EDITOR', 'GRAPH_EDITOR', 'NLA_EDITOR', 'TEXT_EDITOR', 'CONSOLE', 'INFO', 'TOPBAR', 'STATUSBAR', 'OUTLINER', 'PROPERTIES', 'FILE_BROWSER', 'SPREADSHEET', 'PREFERENCES'] | None
|
|
771
816
|
"""
|
|
772
817
|
|
|
773
818
|
...
|
|
@@ -791,7 +836,24 @@ def userpref_show(
|
|
|
791
836
|
execution_context: int | str | None = None,
|
|
792
837
|
undo: bool | None = None,
|
|
793
838
|
*,
|
|
794
|
-
section:
|
|
839
|
+
section: typing.Literal[
|
|
840
|
+
"INTERFACE",
|
|
841
|
+
"VIEWPORT",
|
|
842
|
+
"LIGHTS",
|
|
843
|
+
"EDITING",
|
|
844
|
+
"ANIMATION",
|
|
845
|
+
"EXTENSIONS",
|
|
846
|
+
"ADDONS",
|
|
847
|
+
"THEMES",
|
|
848
|
+
"INPUT",
|
|
849
|
+
"NAVIGATION",
|
|
850
|
+
"KEYMAP",
|
|
851
|
+
"SYSTEM",
|
|
852
|
+
"SAVE_LOAD",
|
|
853
|
+
"FILE_PATHS",
|
|
854
|
+
"EXPERIMENTAL",
|
|
855
|
+
]
|
|
856
|
+
| None = "INTERFACE",
|
|
795
857
|
):
|
|
796
858
|
"""Edit user preferences and system settings
|
|
797
859
|
|
|
@@ -799,7 +861,7 @@ def userpref_show(
|
|
|
799
861
|
:type execution_context: int | str | None
|
|
800
862
|
:type undo: bool | None
|
|
801
863
|
:param section: Section to activate in the Preferences
|
|
802
|
-
:type section:
|
|
864
|
+
:type section: typing.Literal['INTERFACE', 'VIEWPORT', 'LIGHTS', 'EDITING', 'ANIMATION', 'EXTENSIONS', 'ADDONS', 'THEMES', 'INPUT', 'NAVIGATION', 'KEYMAP', 'SYSTEM', 'SAVE_LOAD', 'FILE_PATHS', 'EXPERIMENTAL'] | None
|
|
803
865
|
"""
|
|
804
866
|
|
|
805
867
|
...
|
|
@@ -809,7 +871,7 @@ def workspace_cycle(
|
|
|
809
871
|
execution_context: int | str | None = None,
|
|
810
872
|
undo: bool | None = None,
|
|
811
873
|
*,
|
|
812
|
-
direction:
|
|
874
|
+
direction: typing.Literal["PREV", "NEXT"] | None = "NEXT",
|
|
813
875
|
):
|
|
814
876
|
"""Cycle through workspaces
|
|
815
877
|
|
|
@@ -817,7 +879,7 @@ def workspace_cycle(
|
|
|
817
879
|
:type execution_context: int | str | None
|
|
818
880
|
:type undo: bool | None
|
|
819
881
|
:param direction: Direction, Direction to cycle through
|
|
820
|
-
:type direction:
|
|
882
|
+
:type direction: typing.Literal['PREV','NEXT'] | None
|
|
821
883
|
"""
|
|
822
884
|
|
|
823
885
|
...
|