fake-bpy-module 20240802__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 +96 -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 +56103 -30890
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/RECORD +73 -73
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/types/__init__.pyi +76 -63
- freestyle/utils/__init__.pyi +1 -1
- 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-20240802.dist-info → fake_bpy_module-20240804.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/top_level.txt +0 -0
bpy/ops/sound/__init__.pyi
CHANGED
|
@@ -46,13 +46,28 @@ def mixdown(
|
|
|
46
46
|
filter_blenlib: bool | None = False,
|
|
47
47
|
filemode: int | None = 9,
|
|
48
48
|
relative_path: bool | None = True,
|
|
49
|
-
display_type:
|
|
49
|
+
display_type: typing.Literal[
|
|
50
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
51
|
+
]
|
|
52
|
+
| None = "DEFAULT",
|
|
50
53
|
sort_method: str | None = "",
|
|
51
54
|
accuracy: int | None = 1024,
|
|
52
|
-
container:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
container: typing.Literal["AC3", "FLAC", "MATROSKA", "MP2", "MP3", "OGG", "WAV"]
|
|
56
|
+
| None = "FLAC",
|
|
57
|
+
codec: typing.Literal["AAC", "AC3", "FLAC", "MP2", "MP3", "PCM", "VORBIS"]
|
|
58
|
+
| None = "FLAC",
|
|
59
|
+
channels: typing.Literal[
|
|
60
|
+
"MONO",
|
|
61
|
+
"STEREO",
|
|
62
|
+
"STEREO_LFE",
|
|
63
|
+
"SURROUND4",
|
|
64
|
+
"SURROUND5",
|
|
65
|
+
"SURROUND51",
|
|
66
|
+
"SURROUND61",
|
|
67
|
+
"SURROUND71",
|
|
68
|
+
]
|
|
69
|
+
| None = "STEREO",
|
|
70
|
+
format: typing.Literal["U8", "S16", "S24", "S32", "F32", "F64"] | None = "S16",
|
|
56
71
|
mixrate: int | None = 48000,
|
|
57
72
|
bitrate: int | None = 192,
|
|
58
73
|
split_channels: bool | None = False,
|
|
@@ -117,7 +132,7 @@ def mixdown(
|
|
|
117
132
|
|
|
118
133
|
THUMBNAIL
|
|
119
134
|
Thumbnails -- Display files as thumbnails.
|
|
120
|
-
:type display_type:
|
|
135
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
121
136
|
:param sort_method: File sorting mode
|
|
122
137
|
:type sort_method: str | None
|
|
123
138
|
:param accuracy: Accuracy, Sample accuracy, important for animation data (the lower the value, the more accurate)
|
|
@@ -144,7 +159,7 @@ def mixdown(
|
|
|
144
159
|
|
|
145
160
|
WAV
|
|
146
161
|
WAV -- Waveform Audio File Format.
|
|
147
|
-
:type container:
|
|
162
|
+
:type container: typing.Literal['AC3','FLAC','MATROSKA','MP2','MP3','OGG','WAV'] | None
|
|
148
163
|
:param codec: Codec, Audio Codec
|
|
149
164
|
|
|
150
165
|
AAC
|
|
@@ -167,7 +182,7 @@ def mixdown(
|
|
|
167
182
|
|
|
168
183
|
VORBIS
|
|
169
184
|
Vorbis -- Xiph.Org Vorbis Codec.
|
|
170
|
-
:type codec:
|
|
185
|
+
:type codec: typing.Literal['AAC','AC3','FLAC','MP2','MP3','PCM','VORBIS'] | None
|
|
171
186
|
:param channels: Channels, Audio channel count
|
|
172
187
|
|
|
173
188
|
MONO
|
|
@@ -193,7 +208,7 @@ def mixdown(
|
|
|
193
208
|
|
|
194
209
|
SURROUND71
|
|
195
210
|
7.1 Surround -- 7.1 surround sound.
|
|
196
|
-
:type channels:
|
|
211
|
+
:type channels: typing.Literal['MONO','STEREO','STEREO_LFE','SURROUND4','SURROUND5','SURROUND51','SURROUND61','SURROUND71'] | None
|
|
197
212
|
:param format: Format, Sample format
|
|
198
213
|
|
|
199
214
|
U8
|
|
@@ -213,7 +228,7 @@ def mixdown(
|
|
|
213
228
|
|
|
214
229
|
F64
|
|
215
230
|
F64 -- 64-bit floating-point.
|
|
216
|
-
:type format:
|
|
231
|
+
:type format: typing.Literal['U8','S16','S24','S32','F32','F64'] | None
|
|
217
232
|
:param mixrate: Samplerate, Samplerate in samples/s
|
|
218
233
|
:type mixrate: int | None
|
|
219
234
|
:param bitrate: Bitrate, Bitrate in kbit/s
|
|
@@ -253,7 +268,10 @@ def open(
|
|
|
253
268
|
relative_path: bool | None = True,
|
|
254
269
|
show_multiview: bool | None = False,
|
|
255
270
|
use_multiview: bool | None = False,
|
|
256
|
-
display_type:
|
|
271
|
+
display_type: typing.Literal[
|
|
272
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
273
|
+
]
|
|
274
|
+
| None = "DEFAULT",
|
|
257
275
|
sort_method: str | None = "",
|
|
258
276
|
cache: bool | None = False,
|
|
259
277
|
mono: bool | None = False,
|
|
@@ -324,7 +342,7 @@ def open(
|
|
|
324
342
|
|
|
325
343
|
THUMBNAIL
|
|
326
344
|
Thumbnails -- Display files as thumbnails.
|
|
327
|
-
:type display_type:
|
|
345
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
328
346
|
:param sort_method: File sorting mode
|
|
329
347
|
:type sort_method: str | None
|
|
330
348
|
:param cache: Cache, Cache the sound in memory
|
|
@@ -364,7 +382,10 @@ def open_mono(
|
|
|
364
382
|
relative_path: bool | None = True,
|
|
365
383
|
show_multiview: bool | None = False,
|
|
366
384
|
use_multiview: bool | None = False,
|
|
367
|
-
display_type:
|
|
385
|
+
display_type: typing.Literal[
|
|
386
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
387
|
+
]
|
|
388
|
+
| None = "DEFAULT",
|
|
368
389
|
sort_method: str | None = "",
|
|
369
390
|
cache: bool | None = False,
|
|
370
391
|
mono: bool | None = True,
|
|
@@ -435,7 +456,7 @@ def open_mono(
|
|
|
435
456
|
|
|
436
457
|
THUMBNAIL
|
|
437
458
|
Thumbnails -- Display files as thumbnails.
|
|
438
|
-
:type display_type:
|
|
459
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
439
460
|
:param sort_method: File sorting mode
|
|
440
461
|
:type sort_method: str | None
|
|
441
462
|
:param cache: Cache, Cache the sound in memory
|
|
@@ -465,7 +486,10 @@ def unpack(
|
|
|
465
486
|
execution_context: int | str | None = None,
|
|
466
487
|
undo: bool | None = None,
|
|
467
488
|
*,
|
|
468
|
-
method:
|
|
489
|
+
method: typing.Literal[
|
|
490
|
+
"REMOVE", "USE_LOCAL", "WRITE_LOCAL", "USE_ORIGINAL", "WRITE_ORIGINAL"
|
|
491
|
+
]
|
|
492
|
+
| None = "USE_LOCAL",
|
|
469
493
|
id: str = "",
|
|
470
494
|
):
|
|
471
495
|
"""Unpack the sound to the samples filename
|
|
@@ -474,7 +498,7 @@ def unpack(
|
|
|
474
498
|
:type execution_context: int | str | None
|
|
475
499
|
:type undo: bool | None
|
|
476
500
|
:param method: Method, How to unpack
|
|
477
|
-
:type method:
|
|
501
|
+
:type method: typing.Literal['REMOVE', 'USE_LOCAL', 'WRITE_LOCAL', 'USE_ORIGINAL', 'WRITE_ORIGINAL'] | None
|
|
478
502
|
:param id: Sound Name, Sound data-block name to unpack
|
|
479
503
|
:type id: str
|
|
480
504
|
"""
|
bpy/ops/surface/__init__.pyi
CHANGED
|
@@ -14,7 +14,7 @@ def primitive_nurbs_surface_circle_add(
|
|
|
14
14
|
*,
|
|
15
15
|
radius: float | None = 1.0,
|
|
16
16
|
enter_editmode: bool | None = False,
|
|
17
|
-
align:
|
|
17
|
+
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
18
18
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
19
19
|
0.0,
|
|
20
20
|
0.0,
|
|
@@ -46,7 +46,7 @@ def primitive_nurbs_surface_circle_add(
|
|
|
46
46
|
|
|
47
47
|
CURSOR
|
|
48
48
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
49
|
-
:type align:
|
|
49
|
+
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
50
50
|
:param location: Location, Location for the newly added object
|
|
51
51
|
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
52
52
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -64,7 +64,7 @@ def primitive_nurbs_surface_curve_add(
|
|
|
64
64
|
*,
|
|
65
65
|
radius: float | None = 1.0,
|
|
66
66
|
enter_editmode: bool | None = False,
|
|
67
|
-
align:
|
|
67
|
+
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
68
68
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
69
69
|
0.0,
|
|
70
70
|
0.0,
|
|
@@ -96,7 +96,7 @@ def primitive_nurbs_surface_curve_add(
|
|
|
96
96
|
|
|
97
97
|
CURSOR
|
|
98
98
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
99
|
-
:type align:
|
|
99
|
+
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
100
100
|
:param location: Location, Location for the newly added object
|
|
101
101
|
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
102
102
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -114,7 +114,7 @@ def primitive_nurbs_surface_cylinder_add(
|
|
|
114
114
|
*,
|
|
115
115
|
radius: float | None = 1.0,
|
|
116
116
|
enter_editmode: bool | None = False,
|
|
117
|
-
align:
|
|
117
|
+
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
118
118
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
119
119
|
0.0,
|
|
120
120
|
0.0,
|
|
@@ -146,7 +146,7 @@ def primitive_nurbs_surface_cylinder_add(
|
|
|
146
146
|
|
|
147
147
|
CURSOR
|
|
148
148
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
149
|
-
:type align:
|
|
149
|
+
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
150
150
|
:param location: Location, Location for the newly added object
|
|
151
151
|
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
152
152
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -164,7 +164,7 @@ def primitive_nurbs_surface_sphere_add(
|
|
|
164
164
|
*,
|
|
165
165
|
radius: float | None = 1.0,
|
|
166
166
|
enter_editmode: bool | None = False,
|
|
167
|
-
align:
|
|
167
|
+
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
168
168
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
169
169
|
0.0,
|
|
170
170
|
0.0,
|
|
@@ -196,7 +196,7 @@ def primitive_nurbs_surface_sphere_add(
|
|
|
196
196
|
|
|
197
197
|
CURSOR
|
|
198
198
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
199
|
-
:type align:
|
|
199
|
+
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
200
200
|
:param location: Location, Location for the newly added object
|
|
201
201
|
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
202
202
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -214,7 +214,7 @@ def primitive_nurbs_surface_surface_add(
|
|
|
214
214
|
*,
|
|
215
215
|
radius: float | None = 1.0,
|
|
216
216
|
enter_editmode: bool | None = False,
|
|
217
|
-
align:
|
|
217
|
+
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
218
218
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
219
219
|
0.0,
|
|
220
220
|
0.0,
|
|
@@ -246,7 +246,7 @@ def primitive_nurbs_surface_surface_add(
|
|
|
246
246
|
|
|
247
247
|
CURSOR
|
|
248
248
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
249
|
-
:type align:
|
|
249
|
+
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
250
250
|
:param location: Location, Location for the newly added object
|
|
251
251
|
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
252
252
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -264,7 +264,7 @@ def primitive_nurbs_surface_torus_add(
|
|
|
264
264
|
*,
|
|
265
265
|
radius: float | None = 1.0,
|
|
266
266
|
enter_editmode: bool | None = False,
|
|
267
|
-
align:
|
|
267
|
+
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
268
268
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
269
269
|
0.0,
|
|
270
270
|
0.0,
|
|
@@ -296,7 +296,7 @@ def primitive_nurbs_surface_torus_add(
|
|
|
296
296
|
|
|
297
297
|
CURSOR
|
|
298
298
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
299
|
-
:type align:
|
|
299
|
+
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
300
300
|
:param location: Location, Location for the newly added object
|
|
301
301
|
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
302
302
|
:param rotation: Rotation, Rotation for the newly added object
|
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -25,7 +25,7 @@ def comment_toggle(
|
|
|
25
25
|
execution_context: int | str | None = None,
|
|
26
26
|
undo: bool | None = None,
|
|
27
27
|
*,
|
|
28
|
-
type:
|
|
28
|
+
type: typing.Literal["TOGGLE", "COMMENT", "UNCOMMENT"] | None = "TOGGLE",
|
|
29
29
|
):
|
|
30
30
|
"""Undocumented, consider contributing.
|
|
31
31
|
|
|
@@ -33,7 +33,7 @@ def comment_toggle(
|
|
|
33
33
|
:type execution_context: int | str | None
|
|
34
34
|
:type undo: bool | None
|
|
35
35
|
:param type: Type, Add or remove comments
|
|
36
|
-
:type type:
|
|
36
|
+
:type type: typing.Literal['TOGGLE','COMMENT','UNCOMMENT'] | None
|
|
37
37
|
"""
|
|
38
38
|
|
|
39
39
|
...
|
|
@@ -43,7 +43,7 @@ def convert_whitespace(
|
|
|
43
43
|
execution_context: int | str | None = None,
|
|
44
44
|
undo: bool | None = None,
|
|
45
45
|
*,
|
|
46
|
-
type:
|
|
46
|
+
type: typing.Literal["SPACES", "TABS"] | None = "SPACES",
|
|
47
47
|
):
|
|
48
48
|
"""Convert whitespaces by type
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ def convert_whitespace(
|
|
|
51
51
|
:type execution_context: int | str | None
|
|
52
52
|
:type undo: bool | None
|
|
53
53
|
:param type: Type, Type of whitespace to convert to
|
|
54
|
-
:type type:
|
|
54
|
+
:type type: typing.Literal['SPACES','TABS'] | None
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
...
|
|
@@ -110,7 +110,10 @@ def delete(
|
|
|
110
110
|
execution_context: int | str | None = None,
|
|
111
111
|
undo: bool | None = None,
|
|
112
112
|
*,
|
|
113
|
-
type:
|
|
113
|
+
type: typing.Literal[
|
|
114
|
+
"NEXT_CHARACTER", "PREVIOUS_CHARACTER", "NEXT_WORD", "PREVIOUS_WORD"
|
|
115
|
+
]
|
|
116
|
+
| None = "NEXT_CHARACTER",
|
|
114
117
|
):
|
|
115
118
|
"""Delete text by cursor position
|
|
116
119
|
|
|
@@ -118,7 +121,7 @@ def delete(
|
|
|
118
121
|
:type execution_context: int | str | None
|
|
119
122
|
:type undo: bool | None
|
|
120
123
|
:param type: Type, Which part of the text to delete
|
|
121
|
-
:type type:
|
|
124
|
+
:type type: typing.Literal['NEXT_CHARACTER','PREVIOUS_CHARACTER','NEXT_WORD','PREVIOUS_WORD'] | None
|
|
122
125
|
"""
|
|
123
126
|
|
|
124
127
|
...
|
|
@@ -300,7 +303,21 @@ def move(
|
|
|
300
303
|
execution_context: int | str | None = None,
|
|
301
304
|
undo: bool | None = None,
|
|
302
305
|
*,
|
|
303
|
-
type:
|
|
306
|
+
type: typing.Literal[
|
|
307
|
+
"LINE_BEGIN",
|
|
308
|
+
"LINE_END",
|
|
309
|
+
"FILE_TOP",
|
|
310
|
+
"FILE_BOTTOM",
|
|
311
|
+
"PREVIOUS_CHARACTER",
|
|
312
|
+
"NEXT_CHARACTER",
|
|
313
|
+
"PREVIOUS_WORD",
|
|
314
|
+
"NEXT_WORD",
|
|
315
|
+
"PREVIOUS_LINE",
|
|
316
|
+
"NEXT_LINE",
|
|
317
|
+
"PREVIOUS_PAGE",
|
|
318
|
+
"NEXT_PAGE",
|
|
319
|
+
]
|
|
320
|
+
| None = "LINE_BEGIN",
|
|
304
321
|
):
|
|
305
322
|
"""Move cursor to position type
|
|
306
323
|
|
|
@@ -308,7 +325,7 @@ def move(
|
|
|
308
325
|
:type execution_context: int | str | None
|
|
309
326
|
:type undo: bool | None
|
|
310
327
|
:param type: Type, Where to move cursor to
|
|
311
|
-
:type type:
|
|
328
|
+
:type type: typing.Literal['LINE_BEGIN','LINE_END','FILE_TOP','FILE_BOTTOM','PREVIOUS_CHARACTER','NEXT_CHARACTER','PREVIOUS_WORD','NEXT_WORD','PREVIOUS_LINE','NEXT_LINE','PREVIOUS_PAGE','NEXT_PAGE'] | None
|
|
312
329
|
"""
|
|
313
330
|
|
|
314
331
|
...
|
|
@@ -318,7 +335,7 @@ def move_lines(
|
|
|
318
335
|
execution_context: int | str | None = None,
|
|
319
336
|
undo: bool | None = None,
|
|
320
337
|
*,
|
|
321
|
-
direction:
|
|
338
|
+
direction: typing.Literal["UP", "DOWN"] | None = "DOWN",
|
|
322
339
|
):
|
|
323
340
|
"""Move the currently selected line(s) up/down
|
|
324
341
|
|
|
@@ -326,7 +343,7 @@ def move_lines(
|
|
|
326
343
|
:type execution_context: int | str | None
|
|
327
344
|
:type undo: bool | None
|
|
328
345
|
:param direction: Direction
|
|
329
|
-
:type direction:
|
|
346
|
+
:type direction: typing.Literal['UP','DOWN'] | None
|
|
330
347
|
"""
|
|
331
348
|
|
|
332
349
|
...
|
|
@@ -336,7 +353,21 @@ def move_select(
|
|
|
336
353
|
execution_context: int | str | None = None,
|
|
337
354
|
undo: bool | None = None,
|
|
338
355
|
*,
|
|
339
|
-
type:
|
|
356
|
+
type: typing.Literal[
|
|
357
|
+
"LINE_BEGIN",
|
|
358
|
+
"LINE_END",
|
|
359
|
+
"FILE_TOP",
|
|
360
|
+
"FILE_BOTTOM",
|
|
361
|
+
"PREVIOUS_CHARACTER",
|
|
362
|
+
"NEXT_CHARACTER",
|
|
363
|
+
"PREVIOUS_WORD",
|
|
364
|
+
"NEXT_WORD",
|
|
365
|
+
"PREVIOUS_LINE",
|
|
366
|
+
"NEXT_LINE",
|
|
367
|
+
"PREVIOUS_PAGE",
|
|
368
|
+
"NEXT_PAGE",
|
|
369
|
+
]
|
|
370
|
+
| None = "LINE_BEGIN",
|
|
340
371
|
):
|
|
341
372
|
"""Move the cursor while selecting
|
|
342
373
|
|
|
@@ -344,7 +375,7 @@ def move_select(
|
|
|
344
375
|
:type execution_context: int | str | None
|
|
345
376
|
:type undo: bool | None
|
|
346
377
|
:param type: Type, Where to move cursor to, to make a selection
|
|
347
|
-
:type type:
|
|
378
|
+
:type type: typing.Literal['LINE_BEGIN','LINE_END','FILE_TOP','FILE_BOTTOM','PREVIOUS_CHARACTER','NEXT_CHARACTER','PREVIOUS_WORD','NEXT_WORD','PREVIOUS_LINE','NEXT_LINE','PREVIOUS_PAGE','NEXT_PAGE'] | None
|
|
348
379
|
"""
|
|
349
380
|
|
|
350
381
|
...
|
|
@@ -389,8 +420,18 @@ def open(
|
|
|
389
420
|
filter_folder: bool | None = True,
|
|
390
421
|
filter_blenlib: bool | None = False,
|
|
391
422
|
filemode: int | None = 9,
|
|
392
|
-
display_type:
|
|
393
|
-
|
|
423
|
+
display_type: typing.Literal[
|
|
424
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
425
|
+
]
|
|
426
|
+
| None = "DEFAULT",
|
|
427
|
+
sort_method: typing.Literal[
|
|
428
|
+
"DEFAULT",
|
|
429
|
+
"FILE_SORT_ALPHA",
|
|
430
|
+
"FILE_SORT_EXTENSION",
|
|
431
|
+
"FILE_SORT_TIME",
|
|
432
|
+
"FILE_SORT_SIZE",
|
|
433
|
+
]
|
|
434
|
+
| None = "",
|
|
394
435
|
internal: bool | None = False,
|
|
395
436
|
):
|
|
396
437
|
"""Open a new text data-block
|
|
@@ -453,7 +494,7 @@ def open(
|
|
|
453
494
|
|
|
454
495
|
THUMBNAIL
|
|
455
496
|
Thumbnails -- Display files as thumbnails.
|
|
456
|
-
:type display_type:
|
|
497
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
457
498
|
:param sort_method: File sorting mode
|
|
458
499
|
|
|
459
500
|
DEFAULT
|
|
@@ -470,7 +511,7 @@ def open(
|
|
|
470
511
|
|
|
471
512
|
FILE_SORT_SIZE
|
|
472
513
|
Size -- Sort files by size.
|
|
473
|
-
:type sort_method:
|
|
514
|
+
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE'] | None
|
|
474
515
|
:param internal: Make Internal, Make text file internal after loading
|
|
475
516
|
:type internal: bool | None
|
|
476
517
|
"""
|
|
@@ -574,7 +615,8 @@ def resolve_conflict(
|
|
|
574
615
|
execution_context: int | str | None = None,
|
|
575
616
|
undo: bool | None = None,
|
|
576
617
|
*,
|
|
577
|
-
resolution:
|
|
618
|
+
resolution: typing.Literal["IGNORE", "RELOAD", "SAVE", "MAKE_INTERNAL"]
|
|
619
|
+
| None = "IGNORE",
|
|
578
620
|
):
|
|
579
621
|
"""When external text is out of sync, resolve the conflict
|
|
580
622
|
|
|
@@ -582,7 +624,7 @@ def resolve_conflict(
|
|
|
582
624
|
:type execution_context: int | str | None
|
|
583
625
|
:type undo: bool | None
|
|
584
626
|
:param resolution: Resolution, How to solve conflict due to differences in internal and external text
|
|
585
|
-
:type resolution:
|
|
627
|
+
:type resolution: typing.Literal['IGNORE','RELOAD','SAVE','MAKE_INTERNAL'] | None
|
|
586
628
|
"""
|
|
587
629
|
|
|
588
630
|
...
|
|
@@ -641,7 +683,10 @@ def save_as(
|
|
|
641
683
|
filter_folder: bool | None = True,
|
|
642
684
|
filter_blenlib: bool | None = False,
|
|
643
685
|
filemode: int | None = 9,
|
|
644
|
-
display_type:
|
|
686
|
+
display_type: typing.Literal[
|
|
687
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
688
|
+
]
|
|
689
|
+
| None = "DEFAULT",
|
|
645
690
|
sort_method: str | None = "",
|
|
646
691
|
):
|
|
647
692
|
"""Save active text file with options
|
|
@@ -704,7 +749,7 @@ def save_as(
|
|
|
704
749
|
|
|
705
750
|
THUMBNAIL
|
|
706
751
|
Thumbnails -- Display files as thumbnails.
|
|
707
|
-
:type display_type:
|
|
752
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
708
753
|
:param sort_method: File sorting mode
|
|
709
754
|
:type sort_method: str | None
|
|
710
755
|
"""
|
bpy/ops/texture/__init__.pyi
CHANGED
|
@@ -39,7 +39,7 @@ def slot_move(
|
|
|
39
39
|
execution_context: int | str | None = None,
|
|
40
40
|
undo: bool | None = None,
|
|
41
41
|
*,
|
|
42
|
-
type:
|
|
42
|
+
type: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
43
43
|
):
|
|
44
44
|
"""Move texture slots up and down
|
|
45
45
|
|
|
@@ -47,7 +47,7 @@ def slot_move(
|
|
|
47
47
|
:type execution_context: int | str | None
|
|
48
48
|
:type undo: bool | None
|
|
49
49
|
:param type: Type
|
|
50
|
-
:type type:
|
|
50
|
+
:type type: typing.Literal['UP','DOWN'] | None
|
|
51
51
|
"""
|
|
52
52
|
|
|
53
53
|
...
|