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/brush/__init__.pyi
CHANGED
|
@@ -11,7 +11,8 @@ def asset_activate(
|
|
|
11
11
|
execution_context: int | str | None = None,
|
|
12
12
|
undo: bool | None = None,
|
|
13
13
|
*,
|
|
14
|
-
asset_library_type:
|
|
14
|
+
asset_library_type: typing.Literal["ALL", "LOCAL", "ESSENTIALS", "CUSTOM"]
|
|
15
|
+
| None = "LOCAL",
|
|
15
16
|
asset_library_identifier: str = "",
|
|
16
17
|
relative_asset_identifier: str = "",
|
|
17
18
|
):
|
|
@@ -21,7 +22,7 @@ def asset_activate(
|
|
|
21
22
|
:type execution_context: int | str | None
|
|
22
23
|
:type undo: bool | None
|
|
23
24
|
:param asset_library_type: Asset Library Type
|
|
24
|
-
:type asset_library_type:
|
|
25
|
+
:type asset_library_type: typing.Literal['ALL', 'LOCAL', 'ESSENTIALS', 'CUSTOM'] | None
|
|
25
26
|
:param asset_library_identifier: Asset Library Identifier
|
|
26
27
|
:type asset_library_identifier: str
|
|
27
28
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
@@ -96,7 +97,10 @@ def asset_load_preview(
|
|
|
96
97
|
filemode: int | None = 9,
|
|
97
98
|
show_multiview: bool | None = False,
|
|
98
99
|
use_multiview: bool | None = False,
|
|
99
|
-
display_type:
|
|
100
|
+
display_type: typing.Literal[
|
|
101
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
102
|
+
]
|
|
103
|
+
| None = "DEFAULT",
|
|
100
104
|
sort_method: str | None = "",
|
|
101
105
|
):
|
|
102
106
|
"""Choose a preview image for the brush
|
|
@@ -163,7 +167,7 @@ def asset_load_preview(
|
|
|
163
167
|
|
|
164
168
|
THUMBNAIL
|
|
165
169
|
Thumbnails -- Display files as thumbnails.
|
|
166
|
-
:type display_type:
|
|
170
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
167
171
|
:param sort_method: File sorting mode
|
|
168
172
|
:type sort_method: str | None
|
|
169
173
|
"""
|
|
@@ -227,7 +231,8 @@ def curve_preset(
|
|
|
227
231
|
execution_context: int | str | None = None,
|
|
228
232
|
undo: bool | None = None,
|
|
229
233
|
*,
|
|
230
|
-
shape:
|
|
234
|
+
shape: typing.Literal["SHARP", "SMOOTH", "MAX", "LINE", "ROUND", "ROOT"]
|
|
235
|
+
| None = "SMOOTH",
|
|
231
236
|
):
|
|
232
237
|
"""Set brush shape
|
|
233
238
|
|
|
@@ -235,7 +240,7 @@ def curve_preset(
|
|
|
235
240
|
:type execution_context: int | str | None
|
|
236
241
|
:type undo: bool | None
|
|
237
242
|
:param shape: Mode
|
|
238
|
-
:type shape:
|
|
243
|
+
:type shape: typing.Literal['SHARP','SMOOTH','MAX','LINE','ROUND','ROOT'] | None
|
|
239
244
|
"""
|
|
240
245
|
|
|
241
246
|
...
|
|
@@ -263,7 +268,8 @@ def sculpt_curves_falloff_preset(
|
|
|
263
268
|
execution_context: int | str | None = None,
|
|
264
269
|
undo: bool | None = None,
|
|
265
270
|
*,
|
|
266
|
-
shape:
|
|
271
|
+
shape: typing.Literal["SHARP", "SMOOTH", "MAX", "LINE", "ROUND", "ROOT"]
|
|
272
|
+
| None = "SMOOTH",
|
|
267
273
|
):
|
|
268
274
|
"""Set Curve Falloff Preset
|
|
269
275
|
|
|
@@ -271,7 +277,7 @@ def sculpt_curves_falloff_preset(
|
|
|
271
277
|
:type execution_context: int | str | None
|
|
272
278
|
:type undo: bool | None
|
|
273
279
|
:param shape: Mode
|
|
274
|
-
:type shape:
|
|
280
|
+
:type shape: typing.Literal['SHARP','SMOOTH','MAX','LINE','ROUND','ROOT'] | None
|
|
275
281
|
"""
|
|
276
282
|
|
|
277
283
|
...
|
|
@@ -281,8 +287,8 @@ def stencil_control(
|
|
|
281
287
|
execution_context: int | str | None = None,
|
|
282
288
|
undo: bool | None = None,
|
|
283
289
|
*,
|
|
284
|
-
mode:
|
|
285
|
-
texmode:
|
|
290
|
+
mode: typing.Literal["TRANSLATION", "SCALE", "ROTATION"] | None = "TRANSLATION",
|
|
291
|
+
texmode: typing.Literal["PRIMARY", "SECONDARY"] | None = "PRIMARY",
|
|
286
292
|
):
|
|
287
293
|
"""Control the stencil brush
|
|
288
294
|
|
|
@@ -290,9 +296,9 @@ def stencil_control(
|
|
|
290
296
|
:type execution_context: int | str | None
|
|
291
297
|
:type undo: bool | None
|
|
292
298
|
:param mode: Tool
|
|
293
|
-
:type mode:
|
|
299
|
+
:type mode: typing.Literal['TRANSLATION','SCALE','ROTATION'] | None
|
|
294
300
|
:param texmode: Tool
|
|
295
|
-
:type texmode:
|
|
301
|
+
:type texmode: typing.Literal['PRIMARY','SECONDARY'] | None
|
|
296
302
|
"""
|
|
297
303
|
|
|
298
304
|
...
|
bpy/ops/buttons/__init__.pyi
CHANGED
|
@@ -61,7 +61,10 @@ def directory_browse(
|
|
|
61
61
|
filter_blenlib: bool | None = False,
|
|
62
62
|
filemode: int | None = 9,
|
|
63
63
|
relative_path: bool | None = True,
|
|
64
|
-
display_type:
|
|
64
|
+
display_type: typing.Literal[
|
|
65
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
66
|
+
]
|
|
67
|
+
| None = "DEFAULT",
|
|
65
68
|
sort_method: str | None = "",
|
|
66
69
|
):
|
|
67
70
|
"""Open a directory browser, hold Shift to open the file, Alt to browse containing directory
|
|
@@ -126,7 +129,7 @@ def directory_browse(
|
|
|
126
129
|
|
|
127
130
|
THUMBNAIL
|
|
128
131
|
Thumbnails -- Display files as thumbnails.
|
|
129
|
-
:type display_type:
|
|
132
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
130
133
|
:param sort_method: File sorting mode
|
|
131
134
|
:type sort_method: str | None
|
|
132
135
|
"""
|
|
@@ -160,7 +163,10 @@ def file_browse(
|
|
|
160
163
|
filter_blenlib: bool | None = False,
|
|
161
164
|
filemode: int | None = 9,
|
|
162
165
|
relative_path: bool | None = True,
|
|
163
|
-
display_type:
|
|
166
|
+
display_type: typing.Literal[
|
|
167
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
168
|
+
]
|
|
169
|
+
| None = "DEFAULT",
|
|
164
170
|
sort_method: str | None = "",
|
|
165
171
|
):
|
|
166
172
|
"""Open a file browser, hold Shift to open the file, Alt to browse containing directory
|
|
@@ -225,7 +231,7 @@ def file_browse(
|
|
|
225
231
|
|
|
226
232
|
THUMBNAIL
|
|
227
233
|
Thumbnails -- Display files as thumbnails.
|
|
228
|
-
:type display_type:
|
|
234
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
229
235
|
:param sort_method: File sorting mode
|
|
230
236
|
:type sort_method: str | None
|
|
231
237
|
"""
|
bpy/ops/cachefile/__init__.pyi
CHANGED
|
@@ -33,7 +33,10 @@ def layer_add(
|
|
|
33
33
|
filter_blenlib: bool | None = False,
|
|
34
34
|
filemode: int | None = 8,
|
|
35
35
|
relative_path: bool | None = True,
|
|
36
|
-
display_type:
|
|
36
|
+
display_type: typing.Literal[
|
|
37
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
38
|
+
]
|
|
39
|
+
| None = "DEFAULT",
|
|
37
40
|
sort_method: str | None = "",
|
|
38
41
|
):
|
|
39
42
|
"""Add an override layer to the archive
|
|
@@ -98,7 +101,7 @@ def layer_add(
|
|
|
98
101
|
|
|
99
102
|
THUMBNAIL
|
|
100
103
|
Thumbnails -- Display files as thumbnails.
|
|
101
|
-
:type display_type:
|
|
104
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
102
105
|
:param sort_method: File sorting mode
|
|
103
106
|
:type sort_method: str | None
|
|
104
107
|
"""
|
|
@@ -110,7 +113,7 @@ def layer_move(
|
|
|
110
113
|
execution_context: int | str | None = None,
|
|
111
114
|
undo: bool | None = None,
|
|
112
115
|
*,
|
|
113
|
-
direction:
|
|
116
|
+
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
114
117
|
):
|
|
115
118
|
"""Move layer in the list, layers further down the list will overwrite data from the layers higher up
|
|
116
119
|
|
|
@@ -118,7 +121,7 @@ def layer_move(
|
|
|
118
121
|
:type execution_context: int | str | None
|
|
119
122
|
:type undo: bool | None
|
|
120
123
|
:param direction: Direction, Direction to move the active vertex group towards
|
|
121
|
-
:type direction:
|
|
124
|
+
:type direction: typing.Literal['UP','DOWN'] | None
|
|
122
125
|
"""
|
|
123
126
|
|
|
124
127
|
...
|
|
@@ -164,7 +167,10 @@ def open(
|
|
|
164
167
|
filter_blenlib: bool | None = False,
|
|
165
168
|
filemode: int | None = 8,
|
|
166
169
|
relative_path: bool | None = True,
|
|
167
|
-
display_type:
|
|
170
|
+
display_type: typing.Literal[
|
|
171
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
172
|
+
]
|
|
173
|
+
| None = "DEFAULT",
|
|
168
174
|
sort_method: str | None = "",
|
|
169
175
|
):
|
|
170
176
|
"""Load a cache file
|
|
@@ -229,7 +235,7 @@ def open(
|
|
|
229
235
|
|
|
230
236
|
THUMBNAIL
|
|
231
237
|
Thumbnails -- Display files as thumbnails.
|
|
232
|
-
:type display_type:
|
|
238
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
233
239
|
:param sort_method: File sorting mode
|
|
234
240
|
:type sort_method: str | None
|
|
235
241
|
"""
|
bpy/ops/clip/__init__.pyi
CHANGED
|
@@ -184,7 +184,8 @@ def clean_tracks(
|
|
|
184
184
|
*,
|
|
185
185
|
frames: int | None = 0,
|
|
186
186
|
error: float | None = 0.0,
|
|
187
|
-
action:
|
|
187
|
+
action: typing.Literal["SELECT", "DELETE_TRACK", "DELETE_SEGMENTS"]
|
|
188
|
+
| None = "SELECT",
|
|
188
189
|
):
|
|
189
190
|
"""Clean tracks with high error values or few frames
|
|
190
191
|
|
|
@@ -205,7 +206,7 @@ def clean_tracks(
|
|
|
205
206
|
|
|
206
207
|
DELETE_SEGMENTS
|
|
207
208
|
Delete Segments -- Delete unclean segments of tracks.
|
|
208
|
-
:type action:
|
|
209
|
+
:type action: typing.Literal['SELECT','DELETE_TRACK','DELETE_SEGMENTS'] | None
|
|
209
210
|
"""
|
|
210
211
|
|
|
211
212
|
...
|
|
@@ -229,7 +230,7 @@ def clear_track_path(
|
|
|
229
230
|
execution_context: int | str | None = None,
|
|
230
231
|
undo: bool | None = None,
|
|
231
232
|
*,
|
|
232
|
-
action:
|
|
233
|
+
action: typing.Literal["UPTO", "REMAINED", "ALL"] | None = "REMAINED",
|
|
233
234
|
clear_active: bool | None = False,
|
|
234
235
|
):
|
|
235
236
|
"""Clear tracks after/before current position or clear the whole track
|
|
@@ -247,7 +248,7 @@ def clear_track_path(
|
|
|
247
248
|
|
|
248
249
|
ALL
|
|
249
250
|
Clear All -- Clear the whole path.
|
|
250
|
-
:type action:
|
|
251
|
+
:type action: typing.Literal['UPTO','REMAINED','ALL'] | None
|
|
251
252
|
:param clear_active: Clear Active, Clear active track only instead of all selected tracks
|
|
252
253
|
:type clear_active: bool | None
|
|
253
254
|
"""
|
|
@@ -369,7 +370,8 @@ def detect_features(
|
|
|
369
370
|
execution_context: int | str | None = None,
|
|
370
371
|
undo: bool | None = None,
|
|
371
372
|
*,
|
|
372
|
-
placement:
|
|
373
|
+
placement: typing.Literal["FRAME", "INSIDE_GPENCIL", "OUTSIDE_GPENCIL"]
|
|
374
|
+
| None = "FRAME",
|
|
373
375
|
margin: int | None = 16,
|
|
374
376
|
threshold: float | None = 0.5,
|
|
375
377
|
min_distance: int | None = 120,
|
|
@@ -389,7 +391,7 @@ def detect_features(
|
|
|
389
391
|
|
|
390
392
|
OUTSIDE_GPENCIL
|
|
391
393
|
Outside Annotated Area -- Place markers only outside areas outlined with the Annotation tool.
|
|
392
|
-
:type placement:
|
|
394
|
+
:type placement: typing.Literal['FRAME','INSIDE_GPENCIL','OUTSIDE_GPENCIL'] | None
|
|
393
395
|
:param margin: Margin, Only features further than margin pixels from the image edges are considered
|
|
394
396
|
:type margin: int | None
|
|
395
397
|
:param threshold: Threshold, Threshold level to consider feature good enough for tracking
|
|
@@ -405,7 +407,7 @@ def disable_markers(
|
|
|
405
407
|
execution_context: int | str | None = None,
|
|
406
408
|
undo: bool | None = None,
|
|
407
409
|
*,
|
|
408
|
-
action:
|
|
410
|
+
action: typing.Literal["DISABLE", "ENABLE", "TOGGLE"] | None = "DISABLE",
|
|
409
411
|
):
|
|
410
412
|
"""Disable/enable selected markers
|
|
411
413
|
|
|
@@ -422,7 +424,7 @@ def disable_markers(
|
|
|
422
424
|
|
|
423
425
|
TOGGLE
|
|
424
426
|
Toggle -- Toggle disabled flag for selected markers.
|
|
425
|
-
:type action:
|
|
427
|
+
:type action: typing.Literal['DISABLE','ENABLE','TOGGLE'] | None
|
|
426
428
|
"""
|
|
427
429
|
|
|
428
430
|
...
|
|
@@ -485,7 +487,8 @@ def frame_jump(
|
|
|
485
487
|
execution_context: int | str | None = None,
|
|
486
488
|
undo: bool | None = None,
|
|
487
489
|
*,
|
|
488
|
-
position:
|
|
490
|
+
position: typing.Literal["PATHSTART", "PATHEND", "FAILEDPREV", "FAILNEXT"]
|
|
491
|
+
| None = "PATHSTART",
|
|
489
492
|
):
|
|
490
493
|
"""Jump to special frame
|
|
491
494
|
|
|
@@ -505,7 +508,7 @@ def frame_jump(
|
|
|
505
508
|
|
|
506
509
|
FAILNEXT
|
|
507
510
|
Next Failed -- Jump to next failed frame.
|
|
508
|
-
:type position:
|
|
511
|
+
:type position: typing.Literal['PATHSTART','PATHEND','FAILEDPREV','FAILNEXT'] | None
|
|
509
512
|
"""
|
|
510
513
|
|
|
511
514
|
...
|
|
@@ -561,7 +564,7 @@ def graph_disable_markers(
|
|
|
561
564
|
execution_context: int | str | None = None,
|
|
562
565
|
undo: bool | None = None,
|
|
563
566
|
*,
|
|
564
|
-
action:
|
|
567
|
+
action: typing.Literal["DISABLE", "ENABLE", "TOGGLE"] | None = "DISABLE",
|
|
565
568
|
):
|
|
566
569
|
"""Disable/enable selected markers
|
|
567
570
|
|
|
@@ -578,7 +581,7 @@ def graph_disable_markers(
|
|
|
578
581
|
|
|
579
582
|
TOGGLE
|
|
580
583
|
Toggle -- Toggle disabled flag for selected markers.
|
|
581
|
-
:type action:
|
|
584
|
+
:type action: typing.Literal['DISABLE','ENABLE','TOGGLE'] | None
|
|
582
585
|
"""
|
|
583
586
|
|
|
584
587
|
...
|
|
@@ -609,7 +612,7 @@ def graph_select_all_markers(
|
|
|
609
612
|
execution_context: int | str | None = None,
|
|
610
613
|
undo: bool | None = None,
|
|
611
614
|
*,
|
|
612
|
-
action:
|
|
615
|
+
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
613
616
|
):
|
|
614
617
|
"""Change selection of all markers of active track
|
|
615
618
|
|
|
@@ -629,7 +632,7 @@ def graph_select_all_markers(
|
|
|
629
632
|
|
|
630
633
|
INVERT
|
|
631
634
|
Invert -- Invert selection of all elements.
|
|
632
|
-
:type action:
|
|
635
|
+
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
633
636
|
"""
|
|
634
637
|
|
|
635
638
|
...
|
|
@@ -777,7 +780,7 @@ def lock_tracks(
|
|
|
777
780
|
execution_context: int | str | None = None,
|
|
778
781
|
undo: bool | None = None,
|
|
779
782
|
*,
|
|
780
|
-
action:
|
|
783
|
+
action: typing.Literal["LOCK", "UNLOCK", "TOGGLE"] | None = "LOCK",
|
|
781
784
|
):
|
|
782
785
|
"""Lock/unlock selected tracks
|
|
783
786
|
|
|
@@ -794,7 +797,7 @@ def lock_tracks(
|
|
|
794
797
|
|
|
795
798
|
TOGGLE
|
|
796
799
|
Toggle -- Toggle locked flag for selected tracks.
|
|
797
|
-
:type action:
|
|
800
|
+
:type action: typing.Literal['LOCK','UNLOCK','TOGGLE'] | None
|
|
798
801
|
"""
|
|
799
802
|
|
|
800
803
|
...
|
|
@@ -804,7 +807,7 @@ def mode_set(
|
|
|
804
807
|
execution_context: int | str | None = None,
|
|
805
808
|
undo: bool | None = None,
|
|
806
809
|
*,
|
|
807
|
-
mode:
|
|
810
|
+
mode: typing.Literal["TRACKING", "MASK"] | None = "TRACKING",
|
|
808
811
|
):
|
|
809
812
|
"""Set the clip interaction mode
|
|
810
813
|
|
|
@@ -812,7 +815,7 @@ def mode_set(
|
|
|
812
815
|
:type execution_context: int | str | None
|
|
813
816
|
:type undo: bool | None
|
|
814
817
|
:param mode: Mode
|
|
815
|
-
:type mode:
|
|
818
|
+
:type mode: typing.Literal['TRACKING', 'MASK'] | None
|
|
816
819
|
"""
|
|
817
820
|
|
|
818
821
|
...
|
|
@@ -862,8 +865,18 @@ def open(
|
|
|
862
865
|
relative_path: bool | None = True,
|
|
863
866
|
show_multiview: bool | None = False,
|
|
864
867
|
use_multiview: bool | None = False,
|
|
865
|
-
display_type:
|
|
866
|
-
|
|
868
|
+
display_type: typing.Literal[
|
|
869
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
870
|
+
]
|
|
871
|
+
| None = "DEFAULT",
|
|
872
|
+
sort_method: typing.Literal[
|
|
873
|
+
"DEFAULT",
|
|
874
|
+
"FILE_SORT_ALPHA",
|
|
875
|
+
"FILE_SORT_EXTENSION",
|
|
876
|
+
"FILE_SORT_TIME",
|
|
877
|
+
"FILE_SORT_SIZE",
|
|
878
|
+
]
|
|
879
|
+
| None = "",
|
|
867
880
|
):
|
|
868
881
|
"""Load a sequence of frames or a movie file
|
|
869
882
|
|
|
@@ -933,7 +946,7 @@ def open(
|
|
|
933
946
|
|
|
934
947
|
THUMBNAIL
|
|
935
948
|
Thumbnails -- Display files as thumbnails.
|
|
936
|
-
:type display_type:
|
|
949
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
937
950
|
:param sort_method: File sorting mode
|
|
938
951
|
|
|
939
952
|
DEFAULT
|
|
@@ -950,7 +963,7 @@ def open(
|
|
|
950
963
|
|
|
951
964
|
FILE_SORT_SIZE
|
|
952
965
|
Size -- Sort files by size.
|
|
953
|
-
:type sort_method:
|
|
966
|
+
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE'] | None
|
|
954
967
|
"""
|
|
955
968
|
|
|
956
969
|
...
|
|
@@ -1058,7 +1071,7 @@ def select_all(
|
|
|
1058
1071
|
execution_context: int | str | None = None,
|
|
1059
1072
|
undo: bool | None = None,
|
|
1060
1073
|
*,
|
|
1061
|
-
action:
|
|
1074
|
+
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
1062
1075
|
):
|
|
1063
1076
|
"""Change selection of all tracking markers
|
|
1064
1077
|
|
|
@@ -1078,7 +1091,7 @@ def select_all(
|
|
|
1078
1091
|
|
|
1079
1092
|
INVERT
|
|
1080
1093
|
Invert -- Invert selection of all elements.
|
|
1081
|
-
:type action:
|
|
1094
|
+
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
1082
1095
|
"""
|
|
1083
1096
|
|
|
1084
1097
|
...
|
|
@@ -1093,7 +1106,7 @@ def select_box(
|
|
|
1093
1106
|
ymin: int | None = 0,
|
|
1094
1107
|
ymax: int | None = 0,
|
|
1095
1108
|
wait_for_input: bool | None = True,
|
|
1096
|
-
mode:
|
|
1109
|
+
mode: typing.Literal["SET", "ADD", "SUB"] | None = "SET",
|
|
1097
1110
|
):
|
|
1098
1111
|
"""Select markers using box selection
|
|
1099
1112
|
|
|
@@ -1120,7 +1133,7 @@ def select_box(
|
|
|
1120
1133
|
|
|
1121
1134
|
SUB
|
|
1122
1135
|
Subtract -- Subtract existing selection.
|
|
1123
|
-
:type mode:
|
|
1136
|
+
:type mode: typing.Literal['SET','ADD','SUB'] | None
|
|
1124
1137
|
"""
|
|
1125
1138
|
|
|
1126
1139
|
...
|
|
@@ -1134,7 +1147,7 @@ def select_circle(
|
|
|
1134
1147
|
y: int | None = 0,
|
|
1135
1148
|
radius: int | None = 25,
|
|
1136
1149
|
wait_for_input: bool | None = True,
|
|
1137
|
-
mode:
|
|
1150
|
+
mode: typing.Literal["SET", "ADD", "SUB"] | None = "SET",
|
|
1138
1151
|
):
|
|
1139
1152
|
"""Select markers using circle selection
|
|
1140
1153
|
|
|
@@ -1159,7 +1172,7 @@ def select_circle(
|
|
|
1159
1172
|
|
|
1160
1173
|
SUB
|
|
1161
1174
|
Subtract -- Subtract existing selection.
|
|
1162
|
-
:type mode:
|
|
1175
|
+
:type mode: typing.Literal['SET','ADD','SUB'] | None
|
|
1163
1176
|
"""
|
|
1164
1177
|
|
|
1165
1178
|
...
|
|
@@ -1169,7 +1182,10 @@ def select_grouped(
|
|
|
1169
1182
|
execution_context: int | str | None = None,
|
|
1170
1183
|
undo: bool | None = None,
|
|
1171
1184
|
*,
|
|
1172
|
-
group:
|
|
1185
|
+
group: typing.Literal[
|
|
1186
|
+
"KEYFRAMED", "ESTIMATED", "TRACKED", "LOCKED", "DISABLED", "COLOR", "FAILED"
|
|
1187
|
+
]
|
|
1188
|
+
| None = "ESTIMATED",
|
|
1173
1189
|
):
|
|
1174
1190
|
"""Select all tracks from specified group
|
|
1175
1191
|
|
|
@@ -1198,7 +1214,7 @@ def select_grouped(
|
|
|
1198
1214
|
|
|
1199
1215
|
FAILED
|
|
1200
1216
|
Failed Tracks -- Select all tracks which failed to be reconstructed.
|
|
1201
|
-
:type group:
|
|
1217
|
+
:type group: typing.Literal['KEYFRAMED','ESTIMATED','TRACKED','LOCKED','DISABLED','COLOR','FAILED'] | None
|
|
1202
1218
|
"""
|
|
1203
1219
|
|
|
1204
1220
|
...
|
|
@@ -1212,7 +1228,7 @@ def select_lasso(
|
|
|
1212
1228
|
use_smooth_stroke: bool | None = False,
|
|
1213
1229
|
smooth_stroke_factor: float | None = 0.75,
|
|
1214
1230
|
smooth_stroke_radius: int | None = 35,
|
|
1215
|
-
mode:
|
|
1231
|
+
mode: typing.Literal["SET", "ADD", "SUB"] | None = "SET",
|
|
1216
1232
|
):
|
|
1217
1233
|
"""Select markers using lasso selection
|
|
1218
1234
|
|
|
@@ -1237,7 +1253,7 @@ def select_lasso(
|
|
|
1237
1253
|
|
|
1238
1254
|
SUB
|
|
1239
1255
|
Subtract -- Subtract existing selection.
|
|
1240
|
-
:type mode:
|
|
1256
|
+
:type mode: typing.Literal['SET','ADD','SUB'] | None
|
|
1241
1257
|
"""
|
|
1242
1258
|
|
|
1243
1259
|
...
|
|
@@ -1261,7 +1277,7 @@ def set_axis(
|
|
|
1261
1277
|
execution_context: int | str | None = None,
|
|
1262
1278
|
undo: bool | None = None,
|
|
1263
1279
|
*,
|
|
1264
|
-
axis:
|
|
1280
|
+
axis: typing.Literal["X", "Y"] | None = "X",
|
|
1265
1281
|
):
|
|
1266
1282
|
"""Set the direction of a scene axis by rotating the camera (or its parent if present). This assumes that the selected track lies on a real axis connecting it to the origin
|
|
1267
1283
|
|
|
@@ -1275,7 +1291,7 @@ def set_axis(
|
|
|
1275
1291
|
|
|
1276
1292
|
Y
|
|
1277
1293
|
Y -- Align bundle align Y axis.
|
|
1278
|
-
:type axis:
|
|
1294
|
+
:type axis: typing.Literal['X','Y'] | None
|
|
1279
1295
|
"""
|
|
1280
1296
|
|
|
1281
1297
|
...
|
|
@@ -1303,7 +1319,7 @@ def set_plane(
|
|
|
1303
1319
|
execution_context: int | str | None = None,
|
|
1304
1320
|
undo: bool | None = None,
|
|
1305
1321
|
*,
|
|
1306
|
-
plane:
|
|
1322
|
+
plane: typing.Literal["FLOOR", "WALL"] | None = "FLOOR",
|
|
1307
1323
|
):
|
|
1308
1324
|
"""Set plane based on 3 selected bundles by moving camera (or its parent if present) in 3D space
|
|
1309
1325
|
|
|
@@ -1317,7 +1333,7 @@ def set_plane(
|
|
|
1317
1333
|
|
|
1318
1334
|
WALL
|
|
1319
1335
|
Wall -- Set wall plane.
|
|
1320
|
-
:type plane:
|
|
1336
|
+
:type plane: typing.Literal['FLOOR','WALL'] | None
|
|
1321
1337
|
"""
|
|
1322
1338
|
|
|
1323
1339
|
...
|
|
@@ -1377,7 +1393,7 @@ def set_solver_keyframe(
|
|
|
1377
1393
|
execution_context: int | str | None = None,
|
|
1378
1394
|
undo: bool | None = None,
|
|
1379
1395
|
*,
|
|
1380
|
-
keyframe:
|
|
1396
|
+
keyframe: typing.Literal["KEYFRAME_A", "KEYFRAME_B"] | None = "KEYFRAME_A",
|
|
1381
1397
|
):
|
|
1382
1398
|
"""Set keyframe used by solver
|
|
1383
1399
|
|
|
@@ -1385,7 +1401,7 @@ def set_solver_keyframe(
|
|
|
1385
1401
|
:type execution_context: int | str | None
|
|
1386
1402
|
:type undo: bool | None
|
|
1387
1403
|
:param keyframe: Keyframe, Keyframe to set
|
|
1388
|
-
:type keyframe:
|
|
1404
|
+
:type keyframe: typing.Literal['KEYFRAME_A','KEYFRAME_B'] | None
|
|
1389
1405
|
"""
|
|
1390
1406
|
|
|
1391
1407
|
...
|
bpy/ops/console/__init__.pyi
CHANGED
|
@@ -106,7 +106,10 @@ def delete(
|
|
|
106
106
|
execution_context: int | str | None = None,
|
|
107
107
|
undo: bool | None = None,
|
|
108
108
|
*,
|
|
109
|
-
type:
|
|
109
|
+
type: typing.Literal[
|
|
110
|
+
"NEXT_CHARACTER", "PREVIOUS_CHARACTER", "NEXT_WORD", "PREVIOUS_WORD"
|
|
111
|
+
]
|
|
112
|
+
| None = "NEXT_CHARACTER",
|
|
110
113
|
):
|
|
111
114
|
"""Delete text by cursor position
|
|
112
115
|
|
|
@@ -114,7 +117,7 @@ def delete(
|
|
|
114
117
|
:type execution_context: int | str | None
|
|
115
118
|
:type undo: bool | None
|
|
116
119
|
:param type: Type, Which part of the text to delete
|
|
117
|
-
:type type:
|
|
120
|
+
:type type: typing.Literal['NEXT_CHARACTER','PREVIOUS_CHARACTER','NEXT_WORD','PREVIOUS_WORD'] | None
|
|
118
121
|
"""
|
|
119
122
|
|
|
120
123
|
...
|
|
@@ -248,7 +251,15 @@ def move(
|
|
|
248
251
|
execution_context: int | str | None = None,
|
|
249
252
|
undo: bool | None = None,
|
|
250
253
|
*,
|
|
251
|
-
type:
|
|
254
|
+
type: typing.Literal[
|
|
255
|
+
"LINE_BEGIN",
|
|
256
|
+
"LINE_END",
|
|
257
|
+
"PREVIOUS_CHARACTER",
|
|
258
|
+
"NEXT_CHARACTER",
|
|
259
|
+
"PREVIOUS_WORD",
|
|
260
|
+
"NEXT_WORD",
|
|
261
|
+
]
|
|
262
|
+
| None = "LINE_BEGIN",
|
|
252
263
|
select: bool | None = False,
|
|
253
264
|
):
|
|
254
265
|
"""Move cursor position
|
|
@@ -257,7 +268,7 @@ def move(
|
|
|
257
268
|
:type execution_context: int | str | None
|
|
258
269
|
:type undo: bool | None
|
|
259
270
|
:param type: Type, Where to move cursor to
|
|
260
|
-
:type type:
|
|
271
|
+
:type type: typing.Literal['LINE_BEGIN','LINE_END','PREVIOUS_CHARACTER','NEXT_CHARACTER','PREVIOUS_WORD','NEXT_WORD'] | None
|
|
261
272
|
:param select: Select, Whether to select while moving
|
|
262
273
|
:type select: bool | None
|
|
263
274
|
"""
|
|
@@ -288,7 +299,7 @@ def scrollback_append(
|
|
|
288
299
|
undo: bool | None = None,
|
|
289
300
|
*,
|
|
290
301
|
text: str = "",
|
|
291
|
-
type:
|
|
302
|
+
type: typing.Literal["OUTPUT", "INPUT", "INFO", "ERROR"] | None = "OUTPUT",
|
|
292
303
|
):
|
|
293
304
|
"""Append scrollback text by type
|
|
294
305
|
|
|
@@ -298,7 +309,7 @@ def scrollback_append(
|
|
|
298
309
|
:param text: Text, Text to insert at the cursor position
|
|
299
310
|
:type text: str
|
|
300
311
|
:param type: Type, Console output type
|
|
301
|
-
:type type:
|
|
312
|
+
:type type: typing.Literal['OUTPUT','INPUT','INFO','ERROR'] | None
|
|
302
313
|
"""
|
|
303
314
|
|
|
304
315
|
...
|