fake-bpy-module 20241031__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.

bmesh/types/__init__.pyi CHANGED
@@ -62,7 +62,7 @@ class BMDeformVert:
62
62
  :rtype: list[float]
63
63
  """
64
64
 
65
- class BMEdge[_GenericType1]:
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__(self, key: BMLayerItem[_GenericType1]) -> _GenericType1:
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__(self, key: BMLayerItem[_GenericType1], value: _GenericType1):
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[_GenericType1]:
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__(self, key: BMLayerItem[_GenericType1]) -> _GenericType1:
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__(self, key: BMLayerItem[_GenericType1], value: _GenericType1):
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[_GenericType1]:
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__(self, key: BMLayerItem[_GenericType1]) -> _GenericType1:
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__(self, key: BMLayerItem[_GenericType1], value: _GenericType1):
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[_GenericType1]:
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__(self, key: BMLayerItem[_GenericType1]) -> _GenericType1:
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__(self, key: BMLayerItem[_GenericType1], value: _GenericType1):
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:
@@ -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
  """
@@ -2832,6 +2832,7 @@ def modifier_apply_as_shapekey(
2832
2832
  keep_modifier: bool | None = False,
2833
2833
  modifier: str = "",
2834
2834
  report: bool | None = False,
2835
+ use_selected_objects: bool | None = False,
2835
2836
  ):
2836
2837
  """Apply modifier as a new shape key and remove from the stack
2837
2838
 
@@ -2844,6 +2845,8 @@ def modifier_apply_as_shapekey(
2844
2845
  :type modifier: str
2845
2846
  :param report: Report, Create a notification after the operation
2846
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
2847
2850
  """
2848
2851
 
2849
2852
  def modifier_convert(
@@ -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 = (597883301, 32765),
100
- target_xy: collections.abc.Iterable[int] | None = (597883301, 32765),
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241031
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.12
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 requires Python 3.12.
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
 
@@ -186,7 +186,7 @@ bmesh/__init__.pyi,sha256=6QP0wBMiFIY5MtM1Yuw4Qj2ZPtEZHFUdAf1ay4z-SQE,1500
186
186
  bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
187
187
  bmesh/geometry/__init__.pyi,sha256=fgGEevkhB2IEtja2X5rm6OQU5EoDfkPaqiKeNGfWZ6c,656
188
188
  bmesh/ops/__init__.pyi,sha256=7W-Tv_SgkgEMa90SsRfRzBzNG2Wt1EU622YpkDYJthc,74701
189
- bmesh/types/__init__.pyi,sha256=1I3_bY2f1fn141wVh1tNU9n6rUwTkCeC6uvEGU-SpNw,41596
189
+ bmesh/types/__init__.pyi,sha256=ZcQqNXia8c1gCbz05ZNHD-eGC5RvtC0NGWVyc_r1RmI,42419
190
190
  bmesh/utils/__init__.pyi,sha256=NNWqLeAWiafZZa8o7QayCBvpJDkDHTspRk7ZHws83MY,6009
191
191
  bpy/__init__.pyi,sha256=dozab_KhjTikiJAE59kzHS9tbX9OJc8U1vPdj6gNFJY,502
192
192
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -217,7 +217,7 @@ bpy/ops/cycles/__init__.pyi,sha256=YEdJl69mqLmQj_thv25PXLD1ZGEqo3mRn_UkDJ4fJoI,2
217
217
  bpy/ops/dpaint/__init__.pyi,sha256=kWFW1HSoYMgomqCerlMGDmwizG8OBH40HBj9LboKTQI,2326
218
218
  bpy/ops/ed/__init__.pyi,sha256=eCvshg5UshWukVfIBIFZ71KL1q1faZSIOt1kC1s1Nu8,8817
219
219
  bpy/ops/export_anim/__init__.pyi,sha256=MdpU1cY6FvYpVacztZz0uIbQDYHgLx3vs9WLpG9ftKE,2197
220
- bpy/ops/export_scene/__init__.pyi,sha256=muwROBhDUCMj-ValtQQScvW8v1kDzMj-Z6cmepHwjxg,39078
220
+ bpy/ops/export_scene/__init__.pyi,sha256=AFGsAxd8ul9L2xIxsOaImCd294A6MOrNRsI9X-u5O90,39211
221
221
  bpy/ops/extensions/__init__.pyi,sha256=zCW9mLu3EIwz3Rrkc1vhQ7zn6zIB72BsLCYfgkMv574,18048
222
222
  bpy/ops/file/__init__.pyi,sha256=JTtbrNEORTNtuauMTwOQkQX1C2JHjQL-bubGccj14rw,25681
223
223
  bpy/ops/fluid/__init__.pyi,sha256=PM7jfvEosHmKpWcBTNwUgExKC5GpPHczHl82bvgTnWs,5516
@@ -240,7 +240,7 @@ bpy/ops/mball/__init__.pyi,sha256=jqOLev5gvBK4fx9CLXj1qxWyTp3z0kqVG1Fxk4Mnzn8,53
240
240
  bpy/ops/mesh/__init__.pyi,sha256=a_x0zfWW8LcwXgWU2yFYE4DXlW3N5XeMrXscL73LOT4,157018
241
241
  bpy/ops/nla/__init__.pyi,sha256=uhpT_iNKbnI3zN0dI3_w4ZuEeBSGy_2Z4eUsTTj3z48,24221
242
242
  bpy/ops/node/__init__.pyi,sha256=aOidac9kvo9PjUrMTjj-sOfw4DHfITAzolQnooGBasY,70002
243
- bpy/ops/object/__init__.pyi,sha256=AcUuJOCxtcrkBBpUUqoGkDpzqMzPBRaK_L8f46xcsJw,203698
243
+ bpy/ops/object/__init__.pyi,sha256=MqOYdgZX0qg902__kBnVzSiqrflk8pXi3NVsZIAKXsg,203902
244
244
  bpy/ops/outliner/__init__.pyi,sha256=o5OxwPlRmadDEhvCUSmt8u1aJ8euFSCV-UYCknYymdI,38952
245
245
  bpy/ops/paint/__init__.pyi,sha256=CwUI97PIYq0-IiQu9oZBP1cvc62P4wSTDyPbnILs5EI,44921
246
246
  bpy/ops/paintcurve/__init__.pyi,sha256=ej9Ou29-VVY4oHCAsSmdBtOjcO0ZQpQdsBSzfDKYMJw,4261
@@ -253,7 +253,7 @@ bpy/ops/ptcache/__init__.pyi,sha256=UXfqM90z4atRrWfj-u_OG0wi7OgvMzs0r8usiBp5Sow,
253
253
  bpy/ops/render/__init__.pyi,sha256=qgjTSltZ5-pvjFibfkbuahh5PPzPKe1Feo1lRzuxUMQ,9427
254
254
  bpy/ops/rigidbody/__init__.pyi,sha256=kH3fZft8NevNiVP44o_RMGUqx0bj4e1k3ADbJYM3_90,8647
255
255
  bpy/ops/scene/__init__.pyi,sha256=ZCDXo6ygGlCoFNgXs5BixfFTalKQJk48Tn5JKFK4EN4,19445
256
- bpy/ops/screen/__init__.pyi,sha256=WHJ7eTSoQx1UQyrxdyn6NwrYc0lJWSo_EAX1HlvR_0E,26028
256
+ bpy/ops/screen/__init__.pyi,sha256=brjCQalre8Km7BxXPI6t0j3NBggA1IrsiOwNZ9AmhKc,26004
257
257
  bpy/ops/script/__init__.pyi,sha256=qJGs4LY_-NgCKFwGkOBwvig0LFr5v72A9nL-LQ21HrY,1460
258
258
  bpy/ops/sculpt/__init__.pyi,sha256=rx6Cwe39UDt57ekD4u3CsfjrbBIGmGxNGHY7I4St0zg,52342
259
259
  bpy/ops/sculpt_curves/__init__.pyi,sha256=h9WZL7nJe6THcD9vxr7_qxeHb3s9dLuE-GSqd5s8dac,3310
@@ -322,7 +322,7 @@ gpu/select/__init__.pyi,sha256=piRQyAtE8YnDjLSqF8S_SSttxzZTickDlbHRONYYdV8,207
322
322
  gpu/shader/__init__.pyi,sha256=JsSm0Zagw7GAVxeaLK4cUAa1oyjSckfNwpweWfepUQg,2138
323
323
  gpu/state/__init__.pyi,sha256=2s-P3VpT8BBviXvIdKZt-sPibNrZ6BtpFFixcsaGBIo,4274
324
324
  gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
- gpu/types/__init__.pyi,sha256=gFZQ2RGt-8_vyU3qCBYmRtTtZVX8eoLdC_HjBJe-330,26967
325
+ gpu/types/__init__.pyi,sha256=cwEEG15jZcusDvII-nBWb1w3pzCOmtarStY2rxt_hQw,26986
326
326
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
327
327
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
328
  gpu_extras/batch/__init__.pyi,sha256=fXDCMNaRYdWySriwRprh-nEiTSY8iBowwakUNofPz8o,661
@@ -358,7 +358,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
358
358
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
359
359
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
360
360
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
- fake_bpy_module-20241031.dist-info/METADATA,sha256=WzdcSin123ytavQfIP8TkvjUmjzpb8EhMKNo0qdWyts,7204
362
- fake_bpy_module-20241031.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
363
- fake_bpy_module-20241031.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241031.dist-info/RECORD,,
361
+ fake_bpy_module-20241101.dist-info/METADATA,sha256=THnyYUIX2mzSij_1qhVhb9aS1HrlcwC7ZxEP2YeCi4s,7289
362
+ fake_bpy_module-20241101.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
363
+ fake_bpy_module-20241101.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241101.dist-info/RECORD,,
gpu/types/__init__.pyi CHANGED
@@ -71,7 +71,7 @@ class GPUBatch:
71
71
  Instead it can be used to add more attributes to the existing vertices.
72
72
  A good use case would be when you have a separate
73
73
  vertex buffer for vertex positions and vertex normals.
74
- Current a batch can have at most 16 vertex buffers.
74
+ Current a batch can have at most GPU_BATCH_VBO_MAX_LEN vertex buffers.
75
75
 
76
76
  :param buf: The vertex buffer that will be added to the batch.
77
77
  :type buf: GPUVertBuf