fake-bpy-module 20241029__py3-none-any.whl → 20241101__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_operators/geometry_nodes/__init__.pyi +1 -1
- bl_operators/userpref/__init__.pyi +2 -2
- bl_ui/properties_data_armature/__init__.pyi +0 -2
- bl_ui/properties_data_bone/__init__.pyi +0 -1
- bl_ui/properties_data_curve/__init__.pyi +0 -2
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -1
- bl_ui/properties_data_lattice/__init__.pyi +0 -2
- bl_ui/properties_data_light/__init__.pyi +0 -124
- bl_ui/properties_data_metaball/__init__.pyi +0 -2
- bl_ui/properties_material_gpencil/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +1 -540
- bl_ui/properties_view_layer/__init__.pyi +0 -90
- bmesh/types/__init__.pyi +66 -16
- bpy/ops/clip/__init__.pyi +5 -1
- bpy/ops/export_scene/__init__.pyi +3 -0
- bpy/ops/node/__init__.pyi +5 -1
- bpy/ops/object/__init__.pyi +8 -1
- bpy/ops/preferences/__init__.pyi +2 -2
- bpy/ops/screen/__init__.pyi +2 -2
- bpy/ops/sequencer/__init__.pyi +15 -3
- bpy/ops/text/__init__.pyi +5 -1
- bpy/types/__init__.pyi +30 -65
- bpy/typing/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +2 -3
- {fake_bpy_module-20241029.dist-info → fake_bpy_module-20241101.dist-info}/METADATA +4 -3
- {fake_bpy_module-20241029.dist-info → fake_bpy_module-20241101.dist-info}/RECORD +29 -29
- {fake_bpy_module-20241029.dist-info → fake_bpy_module-20241101.dist-info}/WHEEL +1 -1
- gpu/types/__init__.pyi +1 -1
- {fake_bpy_module-20241029.dist-info → fake_bpy_module-20241101.dist-info}/top_level.txt +0 -0
bmesh/types/__init__.pyi
CHANGED
|
@@ -62,7 +62,7 @@ class BMDeformVert:
|
|
|
62
62
|
:rtype: list[float]
|
|
63
63
|
"""
|
|
64
64
|
|
|
65
|
-
class BMEdge
|
|
65
|
+
class BMEdge:
|
|
66
66
|
"""The BMesh edge connecting 2 verts"""
|
|
67
67
|
|
|
68
68
|
hide: bool
|
|
@@ -227,7 +227,9 @@ class BMEdge[_GenericType1]:
|
|
|
227
227
|
:type select: bool
|
|
228
228
|
"""
|
|
229
229
|
|
|
230
|
-
def __getitem__
|
|
230
|
+
def __getitem__[_GenericType1](
|
|
231
|
+
self, key: BMLayerItem[_GenericType1]
|
|
232
|
+
) -> _GenericType1:
|
|
231
233
|
"""
|
|
232
234
|
|
|
233
235
|
:param key:
|
|
@@ -236,7 +238,9 @@ class BMEdge[_GenericType1]:
|
|
|
236
238
|
:rtype: _GenericType1
|
|
237
239
|
"""
|
|
238
240
|
|
|
239
|
-
def __setitem__
|
|
241
|
+
def __setitem__[_GenericType1](
|
|
242
|
+
self, key: BMLayerItem[_GenericType1], value: _GenericType1
|
|
243
|
+
):
|
|
240
244
|
"""
|
|
241
245
|
|
|
242
246
|
:param key:
|
|
@@ -245,7 +249,7 @@ class BMEdge[_GenericType1]:
|
|
|
245
249
|
:type value: _GenericType1
|
|
246
250
|
"""
|
|
247
251
|
|
|
248
|
-
def __delitem__(self, key: BMLayerItem[_GenericType1]):
|
|
252
|
+
def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]):
|
|
249
253
|
"""
|
|
250
254
|
|
|
251
255
|
:param key:
|
|
@@ -414,7 +418,7 @@ class BMElemSeq[_GenericType1]:
|
|
|
414
418
|
:rtype: int
|
|
415
419
|
"""
|
|
416
420
|
|
|
417
|
-
class BMFace
|
|
421
|
+
class BMFace:
|
|
418
422
|
"""The BMesh face with 3 or more sides"""
|
|
419
423
|
|
|
420
424
|
edges: BMElemSeq[BMEdge]
|
|
@@ -598,7 +602,9 @@ class BMFace[_GenericType1]:
|
|
|
598
602
|
:type select: bool
|
|
599
603
|
"""
|
|
600
604
|
|
|
601
|
-
def __getitem__
|
|
605
|
+
def __getitem__[_GenericType1](
|
|
606
|
+
self, key: BMLayerItem[_GenericType1]
|
|
607
|
+
) -> _GenericType1:
|
|
602
608
|
"""
|
|
603
609
|
|
|
604
610
|
:param key:
|
|
@@ -607,7 +613,9 @@ class BMFace[_GenericType1]:
|
|
|
607
613
|
:rtype: _GenericType1
|
|
608
614
|
"""
|
|
609
615
|
|
|
610
|
-
def __setitem__
|
|
616
|
+
def __setitem__[_GenericType1](
|
|
617
|
+
self, key: BMLayerItem[_GenericType1], value: _GenericType1
|
|
618
|
+
):
|
|
611
619
|
"""
|
|
612
620
|
|
|
613
621
|
:param key:
|
|
@@ -616,7 +624,7 @@ class BMFace[_GenericType1]:
|
|
|
616
624
|
:type value: _GenericType1
|
|
617
625
|
"""
|
|
618
626
|
|
|
619
|
-
def __delitem__(self, key: BMLayerItem[_GenericType1]):
|
|
627
|
+
def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]):
|
|
620
628
|
"""
|
|
621
629
|
|
|
622
630
|
:param key:
|
|
@@ -1014,7 +1022,7 @@ class BMLayerItem[_GenericType1]:
|
|
|
1014
1022
|
:type other: typing_extensions.Self
|
|
1015
1023
|
"""
|
|
1016
1024
|
|
|
1017
|
-
class BMLoop
|
|
1025
|
+
class BMLoop:
|
|
1018
1026
|
"""This is normally accessed from `BMFace.loops` where each face loop represents a corner of the face."""
|
|
1019
1027
|
|
|
1020
1028
|
edge: BMEdge
|
|
@@ -1133,7 +1141,9 @@ class BMLoop[_GenericType1]:
|
|
|
1133
1141
|
:type multires: bool
|
|
1134
1142
|
"""
|
|
1135
1143
|
|
|
1136
|
-
def __getitem__
|
|
1144
|
+
def __getitem__[_GenericType1](
|
|
1145
|
+
self, key: BMLayerItem[_GenericType1]
|
|
1146
|
+
) -> _GenericType1:
|
|
1137
1147
|
"""
|
|
1138
1148
|
|
|
1139
1149
|
:param key:
|
|
@@ -1142,7 +1152,9 @@ class BMLoop[_GenericType1]:
|
|
|
1142
1152
|
:rtype: _GenericType1
|
|
1143
1153
|
"""
|
|
1144
1154
|
|
|
1145
|
-
def __setitem__
|
|
1155
|
+
def __setitem__[_GenericType1](
|
|
1156
|
+
self, key: BMLayerItem[_GenericType1], value: _GenericType1
|
|
1157
|
+
):
|
|
1146
1158
|
"""
|
|
1147
1159
|
|
|
1148
1160
|
:param key:
|
|
@@ -1151,7 +1163,7 @@ class BMLoop[_GenericType1]:
|
|
|
1151
1163
|
:type value: _GenericType1
|
|
1152
1164
|
"""
|
|
1153
1165
|
|
|
1154
|
-
def __delitem__(self, key: BMLayerItem[_GenericType1]):
|
|
1166
|
+
def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]):
|
|
1155
1167
|
"""
|
|
1156
1168
|
|
|
1157
1169
|
:param key:
|
|
@@ -1165,6 +1177,40 @@ class BMLoopSeq:
|
|
|
1165
1177
|
:type: BMLayerAccessLoop
|
|
1166
1178
|
"""
|
|
1167
1179
|
|
|
1180
|
+
@typing.overload
|
|
1181
|
+
def __getitem__(self, key: int) -> BMLoop:
|
|
1182
|
+
"""
|
|
1183
|
+
|
|
1184
|
+
:param key:
|
|
1185
|
+
:type key: int
|
|
1186
|
+
:return:
|
|
1187
|
+
:rtype: BMLoop
|
|
1188
|
+
"""
|
|
1189
|
+
|
|
1190
|
+
@typing.overload
|
|
1191
|
+
def __getitem__(self, key: slice) -> tuple[BMLoop, ...]:
|
|
1192
|
+
"""
|
|
1193
|
+
|
|
1194
|
+
:param key:
|
|
1195
|
+
:type key: slice
|
|
1196
|
+
:return:
|
|
1197
|
+
:rtype: tuple[BMLoop, ...]
|
|
1198
|
+
"""
|
|
1199
|
+
|
|
1200
|
+
def __iter__(self) -> BMIter[BMLoop]:
|
|
1201
|
+
"""
|
|
1202
|
+
|
|
1203
|
+
:return:
|
|
1204
|
+
:rtype: BMIter[BMLoop]
|
|
1205
|
+
"""
|
|
1206
|
+
|
|
1207
|
+
def __len__(self) -> int:
|
|
1208
|
+
"""
|
|
1209
|
+
|
|
1210
|
+
:return:
|
|
1211
|
+
:rtype: int
|
|
1212
|
+
"""
|
|
1213
|
+
|
|
1168
1214
|
class BMLoopUV:
|
|
1169
1215
|
pin_uv: bool
|
|
1170
1216
|
""" UV pin state.
|
|
@@ -1190,7 +1236,7 @@ class BMLoopUV:
|
|
|
1190
1236
|
:type: mathutils.Vector
|
|
1191
1237
|
"""
|
|
1192
1238
|
|
|
1193
|
-
class BMVert
|
|
1239
|
+
class BMVert:
|
|
1194
1240
|
"""The BMesh vertex type"""
|
|
1195
1241
|
|
|
1196
1242
|
co: mathutils.Vector
|
|
@@ -1335,7 +1381,9 @@ class BMVert[_GenericType1]:
|
|
|
1335
1381
|
:type select: bool
|
|
1336
1382
|
"""
|
|
1337
1383
|
|
|
1338
|
-
def __getitem__
|
|
1384
|
+
def __getitem__[_GenericType1](
|
|
1385
|
+
self, key: BMLayerItem[_GenericType1]
|
|
1386
|
+
) -> _GenericType1:
|
|
1339
1387
|
"""
|
|
1340
1388
|
|
|
1341
1389
|
:param key:
|
|
@@ -1344,7 +1392,9 @@ class BMVert[_GenericType1]:
|
|
|
1344
1392
|
:rtype: _GenericType1
|
|
1345
1393
|
"""
|
|
1346
1394
|
|
|
1347
|
-
def __setitem__
|
|
1395
|
+
def __setitem__[_GenericType1](
|
|
1396
|
+
self, key: BMLayerItem[_GenericType1], value: _GenericType1
|
|
1397
|
+
):
|
|
1348
1398
|
"""
|
|
1349
1399
|
|
|
1350
1400
|
:param key:
|
|
@@ -1353,7 +1403,7 @@ class BMVert[_GenericType1]:
|
|
|
1353
1403
|
:type value: _GenericType1
|
|
1354
1404
|
"""
|
|
1355
1405
|
|
|
1356
|
-
def __delitem__(self, key: BMLayerItem[_GenericType1]):
|
|
1406
|
+
def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]):
|
|
1357
1407
|
"""
|
|
1358
1408
|
|
|
1359
1409
|
:param key:
|
bpy/ops/clip/__init__.pyi
CHANGED
|
@@ -789,6 +789,7 @@ def open(
|
|
|
789
789
|
"FILE_SORT_EXTENSION",
|
|
790
790
|
"FILE_SORT_TIME",
|
|
791
791
|
"FILE_SORT_SIZE",
|
|
792
|
+
"ASSET_CATALOG",
|
|
792
793
|
]
|
|
793
794
|
| None = "",
|
|
794
795
|
):
|
|
@@ -877,7 +878,10 @@ def open(
|
|
|
877
878
|
|
|
878
879
|
FILE_SORT_SIZE
|
|
879
880
|
Size -- Sort files by size.
|
|
880
|
-
|
|
881
|
+
|
|
882
|
+
ASSET_CATALOG
|
|
883
|
+
Asset Catalog -- Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
884
|
+
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE','ASSET_CATALOG'] | None
|
|
881
885
|
"""
|
|
882
886
|
|
|
883
887
|
def paste_tracks(
|
|
@@ -356,6 +356,7 @@ def gltf(
|
|
|
356
356
|
will_save_settings: bool | None = False,
|
|
357
357
|
export_hierarchy_full_collections: bool | None = False,
|
|
358
358
|
export_extra_animations: bool | None = False,
|
|
359
|
+
export_loglevel: int | None = -1,
|
|
359
360
|
filter_glob: str = "*.glb",
|
|
360
361
|
):
|
|
361
362
|
"""Export scene as glTF 2.0 file
|
|
@@ -648,6 +649,8 @@ def gltf(
|
|
|
648
649
|
:type export_hierarchy_full_collections: bool | None
|
|
649
650
|
:param export_extra_animations: Prepare extra animations, Export additional animations.This feature is not standard and needs an external extension to be included in the glTF file
|
|
650
651
|
:type export_extra_animations: bool | None
|
|
652
|
+
:param export_loglevel: Log Level, Log Level
|
|
653
|
+
:type export_loglevel: int | None
|
|
651
654
|
:param filter_glob: filter_glob
|
|
652
655
|
:type filter_glob: str
|
|
653
656
|
"""
|
bpy/ops/node/__init__.pyi
CHANGED
|
@@ -67,6 +67,7 @@ def add_file(
|
|
|
67
67
|
"FILE_SORT_EXTENSION",
|
|
68
68
|
"FILE_SORT_TIME",
|
|
69
69
|
"FILE_SORT_SIZE",
|
|
70
|
+
"ASSET_CATALOG",
|
|
70
71
|
]
|
|
71
72
|
| None = "",
|
|
72
73
|
name: str = "",
|
|
@@ -159,7 +160,10 @@ def add_file(
|
|
|
159
160
|
|
|
160
161
|
FILE_SORT_SIZE
|
|
161
162
|
Size -- Sort files by size.
|
|
162
|
-
|
|
163
|
+
|
|
164
|
+
ASSET_CATALOG
|
|
165
|
+
Asset Catalog -- Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
166
|
+
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE','ASSET_CATALOG'] | None
|
|
163
167
|
:param name: Name, Name of the data-block to use by the operator
|
|
164
168
|
:type name: str
|
|
165
169
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
bpy/ops/object/__init__.pyi
CHANGED
|
@@ -1316,6 +1316,7 @@ def empty_image_add(
|
|
|
1316
1316
|
"FILE_SORT_EXTENSION",
|
|
1317
1317
|
"FILE_SORT_TIME",
|
|
1318
1318
|
"FILE_SORT_SIZE",
|
|
1319
|
+
"ASSET_CATALOG",
|
|
1319
1320
|
]
|
|
1320
1321
|
| None = "",
|
|
1321
1322
|
name: str = "",
|
|
@@ -1417,7 +1418,10 @@ def empty_image_add(
|
|
|
1417
1418
|
|
|
1418
1419
|
FILE_SORT_SIZE
|
|
1419
1420
|
Size -- Sort files by size.
|
|
1420
|
-
|
|
1421
|
+
|
|
1422
|
+
ASSET_CATALOG
|
|
1423
|
+
Asset Catalog -- Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
1424
|
+
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE','ASSET_CATALOG'] | None
|
|
1421
1425
|
:param name: Name, Name of the data-block to use by the operator
|
|
1422
1426
|
:type name: str
|
|
1423
1427
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
@@ -2828,6 +2832,7 @@ def modifier_apply_as_shapekey(
|
|
|
2828
2832
|
keep_modifier: bool | None = False,
|
|
2829
2833
|
modifier: str = "",
|
|
2830
2834
|
report: bool | None = False,
|
|
2835
|
+
use_selected_objects: bool | None = False,
|
|
2831
2836
|
):
|
|
2832
2837
|
"""Apply modifier as a new shape key and remove from the stack
|
|
2833
2838
|
|
|
@@ -2840,6 +2845,8 @@ def modifier_apply_as_shapekey(
|
|
|
2840
2845
|
:type modifier: str
|
|
2841
2846
|
:param report: Report, Create a notification after the operation
|
|
2842
2847
|
:type report: bool | None
|
|
2848
|
+
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2849
|
+
:type use_selected_objects: bool | None
|
|
2843
2850
|
"""
|
|
2844
2851
|
|
|
2845
2852
|
def modifier_convert(
|
bpy/ops/preferences/__init__.pyi
CHANGED
|
@@ -10,7 +10,7 @@ def addon_disable(
|
|
|
10
10
|
*,
|
|
11
11
|
module: str = "",
|
|
12
12
|
):
|
|
13
|
-
"""Turn off this
|
|
13
|
+
"""Turn off this add-on
|
|
14
14
|
|
|
15
15
|
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
16
16
|
:type execution_context: int | str | None
|
|
@@ -26,7 +26,7 @@ def addon_enable(
|
|
|
26
26
|
*,
|
|
27
27
|
module: str = "",
|
|
28
28
|
):
|
|
29
|
-
"""Turn on this
|
|
29
|
+
"""Turn on this add-on
|
|
30
30
|
|
|
31
31
|
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
32
32
|
:type execution_context: int | str | None
|
bpy/ops/screen/__init__.pyi
CHANGED
|
@@ -96,8 +96,8 @@ def area_join(
|
|
|
96
96
|
execution_context: int | str | None = None,
|
|
97
97
|
undo: bool | None = None,
|
|
98
98
|
*,
|
|
99
|
-
source_xy: collections.abc.Iterable[int] | None = (
|
|
100
|
-
target_xy: collections.abc.Iterable[int] | None = (
|
|
99
|
+
source_xy: collections.abc.Iterable[int] | None = (0, 0),
|
|
100
|
+
target_xy: collections.abc.Iterable[int] | None = (0, 0),
|
|
101
101
|
):
|
|
102
102
|
"""Join selected areas into new window
|
|
103
103
|
|
bpy/ops/sequencer/__init__.pyi
CHANGED
|
@@ -716,6 +716,7 @@ def image_strip_add(
|
|
|
716
716
|
"FILE_SORT_EXTENSION",
|
|
717
717
|
"FILE_SORT_TIME",
|
|
718
718
|
"FILE_SORT_SIZE",
|
|
719
|
+
"ASSET_CATALOG",
|
|
719
720
|
]
|
|
720
721
|
| None = "",
|
|
721
722
|
frame_start: int | None = 0,
|
|
@@ -811,7 +812,10 @@ def image_strip_add(
|
|
|
811
812
|
|
|
812
813
|
FILE_SORT_SIZE
|
|
813
814
|
Size -- Sort files by size.
|
|
814
|
-
|
|
815
|
+
|
|
816
|
+
ASSET_CATALOG
|
|
817
|
+
Asset Catalog -- Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
818
|
+
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE','ASSET_CATALOG'] | None
|
|
815
819
|
:param frame_start: Start Frame, Start frame of the sequence strip
|
|
816
820
|
:type frame_start: int | None
|
|
817
821
|
:param frame_end: End Frame, End frame for the color strip
|
|
@@ -980,6 +984,7 @@ def movie_strip_add(
|
|
|
980
984
|
"FILE_SORT_EXTENSION",
|
|
981
985
|
"FILE_SORT_TIME",
|
|
982
986
|
"FILE_SORT_SIZE",
|
|
987
|
+
"ASSET_CATALOG",
|
|
983
988
|
]
|
|
984
989
|
| None = "",
|
|
985
990
|
frame_start: int | None = 0,
|
|
@@ -1078,7 +1083,10 @@ def movie_strip_add(
|
|
|
1078
1083
|
|
|
1079
1084
|
FILE_SORT_SIZE
|
|
1080
1085
|
Size -- Sort files by size.
|
|
1081
|
-
|
|
1086
|
+
|
|
1087
|
+
ASSET_CATALOG
|
|
1088
|
+
Asset Catalog -- Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
1089
|
+
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE','ASSET_CATALOG'] | None
|
|
1082
1090
|
:param frame_start: Start Frame, Start frame of the sequence strip
|
|
1083
1091
|
:type frame_start: int | None
|
|
1084
1092
|
:param channel: Channel, Channel to place this strip into
|
|
@@ -1906,6 +1914,7 @@ def sound_strip_add(
|
|
|
1906
1914
|
"FILE_SORT_EXTENSION",
|
|
1907
1915
|
"FILE_SORT_TIME",
|
|
1908
1916
|
"FILE_SORT_SIZE",
|
|
1917
|
+
"ASSET_CATALOG",
|
|
1909
1918
|
]
|
|
1910
1919
|
| None = "",
|
|
1911
1920
|
frame_start: int | None = 0,
|
|
@@ -1997,7 +2006,10 @@ def sound_strip_add(
|
|
|
1997
2006
|
|
|
1998
2007
|
FILE_SORT_SIZE
|
|
1999
2008
|
Size -- Sort files by size.
|
|
2000
|
-
|
|
2009
|
+
|
|
2010
|
+
ASSET_CATALOG
|
|
2011
|
+
Asset Catalog -- Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
2012
|
+
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE','ASSET_CATALOG'] | None
|
|
2001
2013
|
:param frame_start: Start Frame, Start frame of the sequence strip
|
|
2002
2014
|
:type frame_start: int | None
|
|
2003
2015
|
:param channel: Channel, Channel to place this strip into
|
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -383,6 +383,7 @@ def open(
|
|
|
383
383
|
"FILE_SORT_EXTENSION",
|
|
384
384
|
"FILE_SORT_TIME",
|
|
385
385
|
"FILE_SORT_SIZE",
|
|
386
|
+
"ASSET_CATALOG",
|
|
386
387
|
]
|
|
387
388
|
| None = "",
|
|
388
389
|
internal: bool | None = False,
|
|
@@ -464,7 +465,10 @@ def open(
|
|
|
464
465
|
|
|
465
466
|
FILE_SORT_SIZE
|
|
466
467
|
Size -- Sort files by size.
|
|
467
|
-
|
|
468
|
+
|
|
469
|
+
ASSET_CATALOG
|
|
470
|
+
Asset Catalog -- Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
471
|
+
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE','ASSET_CATALOG'] | None
|
|
468
472
|
:param internal: Make Internal, Make text file internal after loading
|
|
469
473
|
:type internal: bool | None
|
|
470
474
|
"""
|
bpy/types/__init__.pyi
CHANGED
|
@@ -172450,27 +172450,21 @@ class Mesh(ID, bpy_struct):
|
|
|
172450
172450
|
"""
|
|
172451
172451
|
|
|
172452
172452
|
def normals_split_custom_set(
|
|
172453
|
-
self,
|
|
172454
|
-
normals: list[list[float]]
|
|
172455
|
-
| tuple[tuple[float], tuple[float], tuple[float]]
|
|
172456
|
-
| None,
|
|
172453
|
+
self, normals: list[list[float]] | tuple[tuple[float, float, float]] | None
|
|
172457
172454
|
):
|
|
172458
172455
|
"""Define custom split normals of this mesh (use zero-vectors to keep auto ones)
|
|
172459
172456
|
|
|
172460
172457
|
:param normals: Normals
|
|
172461
|
-
:type normals: list[list[float]] | tuple[tuple[float
|
|
172458
|
+
:type normals: list[list[float]] | tuple[tuple[float, float, float]] | None
|
|
172462
172459
|
"""
|
|
172463
172460
|
|
|
172464
172461
|
def normals_split_custom_set_from_vertices(
|
|
172465
|
-
self,
|
|
172466
|
-
normals: list[list[float]]
|
|
172467
|
-
| tuple[tuple[float], tuple[float], tuple[float]]
|
|
172468
|
-
| None,
|
|
172462
|
+
self, normals: list[list[float]] | tuple[tuple[float, float, float]] | None
|
|
172469
172463
|
):
|
|
172470
172464
|
"""Define custom split normals of this mesh, from vertices' normals (use zero-vectors to keep auto ones)
|
|
172471
172465
|
|
|
172472
172466
|
:param normals: Normals
|
|
172473
|
-
:type normals: list[list[float]] | tuple[tuple[float
|
|
172467
|
+
:type normals: list[list[float]] | tuple[tuple[float, float, float]] | None
|
|
172474
172468
|
"""
|
|
172475
172469
|
|
|
172476
172470
|
def update(
|
|
@@ -175406,11 +175400,14 @@ class MovieTrackingMarker(bpy_struct):
|
|
|
175406
175400
|
"""
|
|
175407
175401
|
|
|
175408
175402
|
pattern_corners: list[list[float]] | tuple[
|
|
175409
|
-
tuple[float, float
|
|
175403
|
+
tuple[float, float],
|
|
175404
|
+
tuple[float, float],
|
|
175405
|
+
tuple[float, float],
|
|
175406
|
+
tuple[float, float],
|
|
175410
175407
|
]
|
|
175411
175408
|
""" Array of coordinates which represents pattern's corners in normalized coordinates relative to marker position
|
|
175412
175409
|
|
|
175413
|
-
:type: list[list[float]] | tuple[tuple[float, float, float, float], tuple[float, float, float, float]]
|
|
175410
|
+
:type: list[list[float]] | tuple[tuple[float, float], tuple[float, float], tuple[float, float], tuple[float, float]]
|
|
175414
175411
|
"""
|
|
175415
175412
|
|
|
175416
175413
|
search_max: mathutils.Vector
|
|
@@ -175524,11 +175521,14 @@ class MovieTrackingPlaneMarker(bpy_struct):
|
|
|
175524
175521
|
"""Match-moving plane marker data for tracking"""
|
|
175525
175522
|
|
|
175526
175523
|
corners: list[list[float]] | tuple[
|
|
175527
|
-
tuple[float, float
|
|
175524
|
+
tuple[float, float],
|
|
175525
|
+
tuple[float, float],
|
|
175526
|
+
tuple[float, float],
|
|
175527
|
+
tuple[float, float],
|
|
175528
175528
|
]
|
|
175529
175529
|
""" Array of coordinates which represents UI rectangle corners in frame normalized coordinates
|
|
175530
175530
|
|
|
175531
|
-
:type: list[list[float]] | tuple[tuple[float, float, float, float], tuple[float, float, float, float]]
|
|
175531
|
+
:type: list[list[float]] | tuple[tuple[float, float], tuple[float, float], tuple[float, float], tuple[float, float]]
|
|
175532
175532
|
"""
|
|
175533
175533
|
|
|
175534
175534
|
frame: int
|
|
@@ -183159,13 +183159,18 @@ class Object(ID, bpy_struct):
|
|
|
183159
183159
|
"""
|
|
183160
183160
|
|
|
183161
183161
|
bound_box: list[list[float]] | tuple[
|
|
183162
|
-
tuple[float, float, float
|
|
183163
|
-
tuple[float, float, float
|
|
183164
|
-
tuple[float, float, float
|
|
183162
|
+
tuple[float, float, float],
|
|
183163
|
+
tuple[float, float, float],
|
|
183164
|
+
tuple[float, float, float],
|
|
183165
|
+
tuple[float, float, float],
|
|
183166
|
+
tuple[float, float, float],
|
|
183167
|
+
tuple[float, float, float],
|
|
183168
|
+
tuple[float, float, float],
|
|
183169
|
+
tuple[float, float, float],
|
|
183165
183170
|
]
|
|
183166
183171
|
""" Object's bounding box in object-space coordinates, all values are -1.0 when not available
|
|
183167
183172
|
|
|
183168
|
-
:type: list[list[float]] | tuple[tuple[float, float, float, float, float, float, float, float], tuple[float, float, float, float, float, float, float, float], tuple[float, float, float, float, float, float
|
|
183173
|
+
:type: list[list[float]] | tuple[tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float]]
|
|
183169
183174
|
"""
|
|
183170
183175
|
|
|
183171
183176
|
collision: CollisionSettings
|
|
@@ -192328,14 +192333,16 @@ class RegionView3D(bpy_struct):
|
|
|
192328
192333
|
"""3D View region data"""
|
|
192329
192334
|
|
|
192330
192335
|
clip_planes: list[list[float]] | tuple[
|
|
192331
|
-
tuple[float, float, float, float
|
|
192332
|
-
tuple[float, float, float, float
|
|
192333
|
-
tuple[float, float, float, float
|
|
192334
|
-
tuple[float, float, float, float
|
|
192336
|
+
tuple[float, float, float, float],
|
|
192337
|
+
tuple[float, float, float, float],
|
|
192338
|
+
tuple[float, float, float, float],
|
|
192339
|
+
tuple[float, float, float, float],
|
|
192340
|
+
tuple[float, float, float, float],
|
|
192341
|
+
tuple[float, float, float, float],
|
|
192335
192342
|
]
|
|
192336
192343
|
"""
|
|
192337
192344
|
|
|
192338
|
-
:type: list[list[float]] | tuple[tuple[float, float, float, float, float, float
|
|
192345
|
+
:type: list[list[float]] | tuple[tuple[float, float, float, float], tuple[float, float, float, float], tuple[float, float, float, float], tuple[float, float, float, float], tuple[float, float, float, float], tuple[float, float, float, float]]
|
|
192339
192346
|
"""
|
|
192340
192347
|
|
|
192341
192348
|
is_orthographic_side_view: bool
|
|
@@ -230974,12 +230981,6 @@ DATA_PT_EEVEE_light_influence: bl_ui.properties_data_light.DATA_PT_EEVEE_light_i
|
|
|
230974
230981
|
|
|
230975
230982
|
DATA_PT_EEVEE_light_shadow: bl_ui.properties_data_light.DATA_PT_EEVEE_light_shadow
|
|
230976
230983
|
|
|
230977
|
-
DATA_PT_EEVEE_shadow: bl_ui.properties_data_light.DATA_PT_EEVEE_shadow
|
|
230978
|
-
|
|
230979
|
-
DATA_PT_EEVEE_shadow_cascaded_shadow_map: bl_ui.properties_data_light.DATA_PT_EEVEE_shadow_cascaded_shadow_map
|
|
230980
|
-
|
|
230981
|
-
DATA_PT_EEVEE_shadow_contact: bl_ui.properties_data_light.DATA_PT_EEVEE_shadow_contact
|
|
230982
|
-
|
|
230983
230984
|
DATA_PT_active_spline: bl_ui.properties_data_curve.DATA_PT_active_spline
|
|
230984
230985
|
|
|
230985
230986
|
DATA_PT_armature_animation: bl_ui.properties_data_armature.DATA_PT_armature_animation
|
|
@@ -231602,8 +231603,6 @@ MATERIAL_PT_gpencil_fillcolor: bl_ui.properties_material_gpencil.MATERIAL_PT_gpe
|
|
|
231602
231603
|
|
|
231603
231604
|
MATERIAL_PT_gpencil_material_presets: bl_ui.properties_material_gpencil.MATERIAL_PT_gpencil_material_presets
|
|
231604
231605
|
|
|
231605
|
-
MATERIAL_PT_gpencil_preview: bl_ui.properties_material_gpencil.MATERIAL_PT_gpencil_preview
|
|
231606
|
-
|
|
231607
231606
|
MATERIAL_PT_gpencil_settings: bl_ui.properties_material_gpencil.MATERIAL_PT_gpencil_settings
|
|
231608
231607
|
|
|
231609
231608
|
MATERIAL_PT_gpencil_slots: bl_ui.properties_material_gpencil.MATERIAL_PT_gpencil_slots
|
|
@@ -232524,22 +232523,8 @@ RENDER_PT_color_management_white_balance_presets: bl_ui.properties_render.RENDER
|
|
|
232524
232523
|
|
|
232525
232524
|
RENDER_PT_context: bl_ui.properties_render.RENDER_PT_context
|
|
232526
232525
|
|
|
232527
|
-
RENDER_PT_eevee_ambient_occlusion: bl_ui.properties_render.RENDER_PT_eevee_ambient_occlusion
|
|
232528
|
-
|
|
232529
|
-
RENDER_PT_eevee_bloom: bl_ui.properties_render.RENDER_PT_eevee_bloom
|
|
232530
|
-
|
|
232531
|
-
RENDER_PT_eevee_depth_of_field: bl_ui.properties_render.RENDER_PT_eevee_depth_of_field
|
|
232532
|
-
|
|
232533
|
-
RENDER_PT_eevee_film: bl_ui.properties_render.RENDER_PT_eevee_film
|
|
232534
|
-
|
|
232535
232526
|
RENDER_PT_eevee_hair: bl_ui.properties_render.RENDER_PT_eevee_hair
|
|
232536
232527
|
|
|
232537
|
-
RENDER_PT_eevee_indirect_lighting: bl_ui.properties_render.RENDER_PT_eevee_indirect_lighting
|
|
232538
|
-
|
|
232539
|
-
RENDER_PT_eevee_indirect_lighting_display: bl_ui.properties_render.RENDER_PT_eevee_indirect_lighting_display
|
|
232540
|
-
|
|
232541
|
-
RENDER_PT_eevee_motion_blur: bl_ui.properties_render.RENDER_PT_eevee_motion_blur
|
|
232542
|
-
|
|
232543
232528
|
RENDER_PT_eevee_next_clamping: bl_ui.properties_render.RENDER_PT_eevee_next_clamping
|
|
232544
232529
|
|
|
232545
232530
|
RENDER_PT_eevee_next_clamping_surface: bl_ui.properties_render.RENDER_PT_eevee_next_clamping_surface
|
|
@@ -232586,20 +232571,6 @@ RENDER_PT_eevee_performance_memory: bl_ui.properties_render.RENDER_PT_eevee_perf
|
|
|
232586
232571
|
|
|
232587
232572
|
RENDER_PT_eevee_performance_viewport: bl_ui.properties_render.RENDER_PT_eevee_performance_viewport
|
|
232588
232573
|
|
|
232589
|
-
RENDER_PT_eevee_sampling: bl_ui.properties_render.RENDER_PT_eevee_sampling
|
|
232590
|
-
|
|
232591
|
-
RENDER_PT_eevee_screen_space_reflections: bl_ui.properties_render.RENDER_PT_eevee_screen_space_reflections
|
|
232592
|
-
|
|
232593
|
-
RENDER_PT_eevee_shadows: bl_ui.properties_render.RENDER_PT_eevee_shadows
|
|
232594
|
-
|
|
232595
|
-
RENDER_PT_eevee_subsurface_scattering: bl_ui.properties_render.RENDER_PT_eevee_subsurface_scattering
|
|
232596
|
-
|
|
232597
|
-
RENDER_PT_eevee_volumetric: bl_ui.properties_render.RENDER_PT_eevee_volumetric
|
|
232598
|
-
|
|
232599
|
-
RENDER_PT_eevee_volumetric_lighting: bl_ui.properties_render.RENDER_PT_eevee_volumetric_lighting
|
|
232600
|
-
|
|
232601
|
-
RENDER_PT_eevee_volumetric_shadows: bl_ui.properties_render.RENDER_PT_eevee_volumetric_shadows
|
|
232602
|
-
|
|
232603
232574
|
RENDER_PT_encoding: bl_ui.properties_output.RENDER_PT_encoding
|
|
232604
232575
|
|
|
232605
232576
|
RENDER_PT_encoding_audio: bl_ui.properties_output.RENDER_PT_encoding_audio
|
|
@@ -233954,12 +233925,6 @@ VIEW3D_PT_viewport_debug: bl_ui.space_view3d.VIEW3D_PT_viewport_debug
|
|
|
233954
233925
|
|
|
233955
233926
|
VIEWLAYER_MT_lightgroup_sync: bl_ui.properties_view_layer.VIEWLAYER_MT_lightgroup_sync
|
|
233956
233927
|
|
|
233957
|
-
VIEWLAYER_PT_eevee_layer_passes_data: bl_ui.properties_view_layer.VIEWLAYER_PT_eevee_layer_passes_data
|
|
233958
|
-
|
|
233959
|
-
VIEWLAYER_PT_eevee_layer_passes_effects: bl_ui.properties_view_layer.VIEWLAYER_PT_eevee_layer_passes_effects
|
|
233960
|
-
|
|
233961
|
-
VIEWLAYER_PT_eevee_layer_passes_light: bl_ui.properties_view_layer.VIEWLAYER_PT_eevee_layer_passes_light
|
|
233962
|
-
|
|
233963
233928
|
VIEWLAYER_PT_eevee_next_layer_passes_data: bl_ui.properties_view_layer.VIEWLAYER_PT_eevee_next_layer_passes_data
|
|
233964
233929
|
|
|
233965
233930
|
VIEWLAYER_PT_eevee_next_layer_passes_light: bl_ui.properties_view_layer.VIEWLAYER_PT_eevee_next_layer_passes_light
|
bpy/typing/__init__.pyi
CHANGED
|
@@ -744,6 +744,7 @@ type FileselectParamsSortItems = typing.Literal[
|
|
|
744
744
|
"FILE_SORT_EXTENSION", # Extension.Sort the file list by extension/type.
|
|
745
745
|
"FILE_SORT_TIME", # Modified Date.Sort files by modification time.
|
|
746
746
|
"FILE_SORT_SIZE", # Size.Sort files by size.
|
|
747
|
+
"ASSET_CATALOG", # Asset Catalog.Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
747
748
|
]
|
|
748
749
|
type FmodifierTypeItems = typing.Literal[
|
|
749
750
|
"NULL", # Invalid.
|
|
@@ -39,7 +39,7 @@ class KeyframesCo:
|
|
|
39
39
|
"""
|
|
40
40
|
|
|
41
41
|
def insert_keyframes_into_existing_action(
|
|
42
|
-
self, lookup_fcurves, total_new_keys, action,
|
|
42
|
+
self, lookup_fcurves, total_new_keys, action, action_slot
|
|
43
43
|
):
|
|
44
44
|
"""Assumes the action already exists, that it might already have F-curves. Otherwise, the
|
|
45
45
|
only difference between versions is performance and implementation simplicity.
|
|
@@ -48,8 +48,7 @@ class KeyframesCo:
|
|
|
48
48
|
It's a substitute for action.fcurves.find() which is a potentially expensive linear search.
|
|
49
49
|
:param total_new_keys:
|
|
50
50
|
:param action:
|
|
51
|
-
:param
|
|
52
|
-
:type action_group_name: str
|
|
51
|
+
:param action_slot:
|
|
53
52
|
"""
|
|
54
53
|
|
|
55
54
|
def insert_keyframes_into_new_action(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fake-bpy-module
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20241101
|
|
4
4
|
Summary: Collection of the fake Blender Python API module for the code completion.
|
|
5
5
|
Author: nutti
|
|
6
6
|
Author-email: nutti.metro@gmail.com
|
|
@@ -21,7 +21,7 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
|
|
|
21
21
|
Classifier: Programming Language :: Python
|
|
22
22
|
Classifier: Programming Language :: Python :: 3
|
|
23
23
|
Classifier: License :: OSI Approved :: MIT License
|
|
24
|
-
Requires-Python: >=3.
|
|
24
|
+
Requires-Python: >=3.8
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
|
|
27
27
|
# Fake Blender Python API module collection: fake-bpy-module
|
|
@@ -43,7 +43,8 @@ Note: The similar project for Blender Game Engine (BGE) is available on
|
|
|
43
43
|
|
|
44
44
|
## Requirements
|
|
45
45
|
|
|
46
|
-
fake-bpy-module
|
|
46
|
+
fake-bpy-module uses typing module and type hints which are available from
|
|
47
|
+
Python 3.8. Check your Python version is >= 3.8.
|
|
47
48
|
|
|
48
49
|
## Install
|
|
49
50
|
|