fake-bpy-module 20241203__py3-none-any.whl → 20241204__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 CHANGED
@@ -639,7 +639,7 @@ class Sound:
639
639
  :rtype: typing_extensions.Self
640
640
  """
641
641
 
642
- def filter(self, b: list[float], a: list[float] = 1) -> typing_extensions.Self:
642
+ def filter(self, b: list[float], a: list[float] = (1)) -> typing_extensions.Self:
643
643
  """Filters a sound with the supplied IIR filter coefficients.
644
644
  Without the second parameter you'll get a FIR filter.If the first value of the a sequence is 0,
645
645
  it will be set to 1 automatically.
bpy/ops/wm/__init__.pyi CHANGED
@@ -2572,6 +2572,7 @@ def obj_import(
2572
2572
  use_split_groups: bool | None = False,
2573
2573
  import_vertex_groups: bool | None = False,
2574
2574
  validate_meshes: bool | None = True,
2575
+ close_spline_loops: bool | None = True,
2575
2576
  collection_separator: str = "",
2576
2577
  filter_glob: str = "*.obj;*.mtl",
2577
2578
  ):
@@ -2692,6 +2693,8 @@ def obj_import(
2692
2693
  :type import_vertex_groups: bool | None
2693
2694
  :param validate_meshes: Validate Meshes, Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing)
2694
2695
  :type validate_meshes: bool | None
2696
+ :param close_spline_loops: Detect Cyclic Curves, Join curve endpoints if overlapping control points are detected(if disabled, no curves will be cyclic)
2697
+ :type close_spline_loops: bool | None
2695
2698
  :param collection_separator: Path Separator, Character used to separate objects name into hierarchical structure
2696
2699
  :type collection_separator: str
2697
2700
  :param filter_glob: Extension Filter
bpy/types/__init__.pyi CHANGED
@@ -87052,6 +87052,7 @@ example of how to create/use filtering/reordering callbacks.
87052
87052
  * BlendData.hair_curves
87053
87053
  * BlendDataHairCurves.new
87054
87054
  * BlendDataHairCurves.remove
87055
+ * Curves.unit_test_compare
87055
87056
 
87056
87057
  :columns: 2
87057
87058
 
@@ -132705,6 +132706,13 @@ class Curves(ID, bpy_struct):
132705
132706
  :type indices: collections.abc.Iterable[int] | None
132706
132707
  """
132707
132708
 
132709
+ def reorder_curves(self, new_indices: collections.abc.Iterable[int] | None):
132710
+ """Reorder the curves by the new indices.
132711
+
132712
+ :param new_indices: New indices, The new index for each of the curves
132713
+ :type new_indices: collections.abc.Iterable[int] | None
132714
+ """
132715
+
132708
132716
  def set_types(
132709
132717
  self,
132710
132718
  *,
@@ -132719,6 +132727,22 @@ class Curves(ID, bpy_struct):
132719
132727
  :type indices: collections.abc.Iterable[int] | None
132720
132728
  """
132721
132729
 
132730
+ def unit_test_compare(
132731
+ self,
132732
+ *,
132733
+ curves: typing_extensions.Self | None = None,
132734
+ threshold: float | None = 7.1526e-06,
132735
+ ) -> str:
132736
+ """unit_test_compare
132737
+
132738
+ :param curves: Curves to compare to
132739
+ :type curves: typing_extensions.Self | None
132740
+ :param threshold: Threshold, Comparison tolerance threshold
132741
+ :type threshold: float | None
132742
+ :return: Return value, String description of result of comparison
132743
+ :rtype: str
132744
+ """
132745
+
132722
132746
  @classmethod
132723
132747
  def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
132724
132748
  """
@@ -157652,6 +157676,13 @@ class GreasePencilDrawing(bpy_struct):
157652
157676
  :type indices: collections.abc.Iterable[int] | None
157653
157677
  """
157654
157678
 
157679
+ def reorder_strokes(self, new_indices: collections.abc.Iterable[int] | None):
157680
+ """Reorder the strokes by the new indices.
157681
+
157682
+ :param new_indices: New indices, The new index for each of the strokes
157683
+ :type new_indices: collections.abc.Iterable[int] | None
157684
+ """
157685
+
157655
157686
  def set_types(
157656
157687
  self,
157657
157688
  *,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241203
3
+ Version: 20241204
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
@@ -17,7 +17,7 @@ addon_utils/__init__.pyi,sha256=tH0c3thY37jEp4PRRKMlcbtGk5yRmry2XbjwunnSqnc,2935
17
17
  addon_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  animsys_refactor/__init__.pyi,sha256=FVtTS8ep5YY_wxoK9FesObKvYKIffFgmOyS74iuza0s,643
19
19
  animsys_refactor/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
- aud/__init__.pyi,sha256=ZPQGBVsqwaRi2rcIlO2Jq_F4GX1wTUkRKJgUEU_iKbY,33505
20
+ aud/__init__.pyi,sha256=tt3gNwZlxxqaCPPrJmqlpycZ-6LDuQyHzFeItdw0Ymw,33507
21
21
  aud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  bgl/__init__.pyi,sha256=5-Nz8jGOeMdI338xxTUnlKbbsVkqtzaGLL7MFNAXRgM,99508
23
23
  bgl/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -270,12 +270,12 @@ bpy/ops/uilist/__init__.pyi,sha256=L4xQFB8gZEK8eR2tymJBIVwALoVQLh9gwGkIjDzORyI,2
270
270
  bpy/ops/uv/__init__.pyi,sha256=ociGOFaeH4aChcVFMtC167ZWtM4roFQveDgKiqbAK3c,52706
271
271
  bpy/ops/view2d/__init__.pyi,sha256=UWYslz64I_HIULKVyiYd9bVK38ypxss_9EZySgQkyuI,9137
272
272
  bpy/ops/view3d/__init__.pyi,sha256=2lr2OOlmYao1DxhG3UugV_WXB8IViYGBL5WXvxHUXOE,41228
273
- bpy/ops/wm/__init__.pyi,sha256=e0xoKjfY5DXDKcPUqZB3wuIOgaLLBboUZpfpdxJPA_M,231415
273
+ bpy/ops/wm/__init__.pyi,sha256=dcHei-7_0zDIiJR95GXbjgd1MvXnW-2w9gFXDFQHEcw,231665
274
274
  bpy/ops/workspace/__init__.pyi,sha256=4qG0-HkVfaGfdBe9QvBCKUox03nb1ZfeV1fz-0b3KJY,3133
275
275
  bpy/ops/world/__init__.pyi,sha256=ytaDhwJ-K4SbWylChL1za6lvMNM2-RX1S0BR7892Afg,946
276
276
  bpy/path/__init__.pyi,sha256=XexWcsHek4S2exWHw2eiJvEkKEyWXE3E34hjXf-Od1g,5329
277
277
  bpy/props/__init__.pyi,sha256=eHzPsDSyDTa92O5TvPpi1yflmxv7vVGW_ZocCqudgw4,31027
278
- bpy/types/__init__.pyi,sha256=gPOGNedzrgohOURVL-4xo36_85DSXuPkQiXj95iDSZ0,5367472
278
+ bpy/types/__init__.pyi,sha256=jEzNSFi1UxU4PG-4BhFYipQjjdJybbfoslrZnCRawxk,5368581
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
280
  bpy/utils/__init__.pyi,sha256=fNpt-kiiVP9XWNCXbG1LPnq0TRjMWrDUZInAzrc2hUk,13239
281
281
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
@@ -325,7 +325,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
325
  gpu/types/__init__.pyi,sha256=VLRILy5hoGUiVYoRyplS8B_fo08s5UZ6nsXqNwu1FEg,26871
326
326
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
327
327
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
- gpu_extras/batch/__init__.pyi,sha256=XdMBpoKtUtV_HiwzFDQ50LVbLcmDzllEAVnXXkOEmfQ,816
328
+ gpu_extras/batch/__init__.pyi,sha256=AUcLCHedxFZIY0swMU0pQK2WfPeShEh0ZzuwAAMJ7Hc,817
329
329
  gpu_extras/presets/__init__.pyi,sha256=XARWkuQ0koiQPC3Cjh2l7D2f9n3IgHRf5Ymd9xKkjBg,1435
330
330
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
331
331
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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-20241203.dist-info/METADATA,sha256=t-XsWoGaODNxMsdvWboTAE27aH9w_8FmKf2zmDaHYGQ,7289
362
- fake_bpy_module-20241203.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20241203.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241203.dist-info/RECORD,,
361
+ fake_bpy_module-20241204.dist-info/METADATA,sha256=RuaW4yBpkFwq2RJylahZjNNb-6qJ1V9c_lGuggWZsRs,7289
362
+ fake_bpy_module-20241204.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241204.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241204.dist-info/RECORD,,
@@ -1,11 +1,10 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import bgl
5
4
  import gpu.types
6
5
 
7
6
  def batch_for_shader(
8
- shader: gpu.types.GPUShader, type: str, content: bgl.Buffer, *, indices=None
7
+ shader: gpu.types.GPUShader, type: str, content: gpu.types.Buffer, *, indices=None
9
8
  ) -> gpu.types.GPUBatch:
10
9
  """Return a batch already configured and compatible with the shader.
11
10
 
@@ -15,7 +14,7 @@ def batch_for_shader(
15
14
  :type type: str
16
15
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
17
16
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
18
- :type content: bgl.Buffer
17
+ :type content: gpu.types.Buffer
19
18
  :return: compatible batch
20
19
  :rtype: gpu.types.GPUBatch
21
20
  """