fake-bpy-module 20250307__py3-none-any.whl → 20250309__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.

bpy/ops/node/__init__.pyi CHANGED
@@ -7,6 +7,15 @@ import bpy._typing.rna_enums
7
7
  import bpy.ops.transform
8
8
  import bpy.types
9
9
 
10
+ def activate_viewer(
11
+ execution_context: int | str | None = None, undo: bool | None = None
12
+ ):
13
+ """Activate selected viewer node in compositor and geometry nodes
14
+
15
+ :type execution_context: int | str | None
16
+ :type undo: bool | None
17
+ """
18
+
10
19
  def add_collection(
11
20
  execution_context: int | str | None = None,
12
21
  undo: bool | None = None,
bpy/types/__init__.pyi CHANGED
@@ -176682,12 +176682,17 @@ class Mesh(ID, bpy_struct):
176682
176682
  """Calculate loop triangle tessellation (supports editmode too)"""
176683
176683
 
176684
176684
  def calc_smooth_groups(
176685
- self, *, use_bitflags: bool | None = False
176685
+ self,
176686
+ *,
176687
+ use_bitflags: bool | None = False,
176688
+ use_boundary_vertices_for_bitflags: bool | None = False,
176686
176689
  ) -> tuple[bpy_prop_array[int], int]:
176687
176690
  """Calculate smooth groups from sharp edges
176688
176691
 
176689
176692
  :param use_bitflags: Produce bitflags groups instead of simple numeric values
176690
176693
  :type use_bitflags: bool | None
176694
+ :param use_boundary_vertices_for_bitflags: Also consider different smoothgroups sharing only vertices (but without any common edge) as neighbors, preventing them from sharing the same bitflag value. Only effective when use_bitflags is set. WARNING: Will overflow (run out of available bits) easily with some types of topology, e.g. large fans of sharp edges
176695
+ :type use_boundary_vertices_for_bitflags: bool | None
176691
176696
  :return: poly_groups, Smooth Groups, int array of 1 items in [-inf, inf]
176692
176697
 
176693
176698
  groups, Total number of groups, int in [0, inf]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250307
3
+ Version: 20250309
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
@@ -242,7 +242,7 @@ bpy/ops/material/__init__.pyi,sha256=4Xm8cTXZ8L1NkYiLaYrwWA0p_paciXXBCk9MNnxsgJg
242
242
  bpy/ops/mball/__init__.pyi,sha256=vKET4S-NZrDAf4r1XUXjyyW8Ry5bdna9EeQlV3HMo5Y,4182
243
243
  bpy/ops/mesh/__init__.pyi,sha256=JxF40_1aTup030iKyTdKOMajm67wsEOKcmKc4XcQCdQ,132623
244
244
  bpy/ops/nla/__init__.pyi,sha256=6C8Gm7ZOBATflqUymRCXljSEKN_oE1MvqVMpR05eVIM,18172
245
- bpy/ops/node/__init__.pyi,sha256=-yDo0eUcWo7pviJ-YNrtFYUniU4dL1HZLiG3H8Z1l4Q,54686
245
+ bpy/ops/node/__init__.pyi,sha256=kYqxP3bTbRi_rnUoJCG_BnsI9tdnQyypFJS1ZjS2eHo,54937
246
246
  bpy/ops/object/__init__.pyi,sha256=Zt3MscJ8NCH9UeZkZOu69GWI2C0y_iYNfGNYOhfWTBw,168316
247
247
  bpy/ops/outliner/__init__.pyi,sha256=MnOyASVckw3cVMUICszbNrPEfchfFB1Ny2drSnrScvI,27770
248
248
  bpy/ops/paint/__init__.pyi,sha256=U-uMYTkGLmcnkI9RsWRnsbqDLJuLaWPk-5ue5rnoQwg,37692
@@ -279,7 +279,7 @@ bpy/ops/workspace/__init__.pyi,sha256=hXSSQZl7IwVFrxMveYrlSKGWY7BjrsV-cKagPzhuT0
279
279
  bpy/ops/world/__init__.pyi,sha256=9OhY87-WRRLor-4GQJhDiDJG3M9W5s9yFo9x45Iiycs,628
280
280
  bpy/path/__init__.pyi,sha256=p309InrX9QRoqh0vMXKzNHQIYef9A51c9J4LYU5THxQ,5511
281
281
  bpy/props/__init__.pyi,sha256=QR_11bCyEyK-Q85yZhNDW6BsqHVq73C9IL_qShksqQU,35264
282
- bpy/types/__init__.pyi,sha256=6V8_rsXrwpFWr3QwRVYsLldVfiz0QME00hwBL13VsDk,5484473
282
+ bpy/types/__init__.pyi,sha256=0R6yp11SvidbHLE-C1-rNPIcc99UUqgWFgTR6BsrZz4,5484999
283
283
  bpy/utils/__init__.pyi,sha256=sTpVkInNYv883pb3TyZzGLQbn468mQHzz_sUG9UMp6M,14936
284
284
  bpy/utils/previews/__init__.pyi,sha256=RF4ii5Rs-FetM_ZmC0GCpMSiin5evppVj62-CmKK76s,2307
285
285
  bpy/utils/units/__init__.pyi,sha256=dc9ZViPAqOap5ZsFfWoI0d6bHdri3pWWiVeRxAaZr-U,2672
@@ -314,7 +314,7 @@ freestyle/functions/__init__.pyi,sha256=RGdlJWbBctqKBR3p81MsXBk9OWdTuvEoOfBXvxjf
314
314
  freestyle/predicates/__init__.pyi,sha256=Liq_1krkT25RfeNPeEgvKWkLnWtHCuO9-7vXX3lE71E,13488
315
315
  freestyle/shaders/__init__.pyi,sha256=imuo4jXkwaN4dazDARvErEGdn9XuMGlWIKGpnqd3Po0,24041
316
316
  freestyle/types/__init__.pyi,sha256=zCVqLakrYPiSTlYVHLg-455C9aPCEo-eeO-0A1fYFYs,100227
317
- freestyle/utils/__init__.pyi,sha256=k2JFp4C3DUpnkVgR1B32ZDux08pAcsceSuWBnIEHD9A,5135
317
+ freestyle/utils/__init__.pyi,sha256=ub0HsAFKN7jMbNu3fuP9OpaOSHywBpSckuXSexz0Bos,5135
318
318
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=YvDLJXMxKbbqBS0so4MnfuSN1g4wNAFOXbpW7_g4AR0,3472
319
319
  gpu/__init__.pyi,sha256=80Udrv8AAvblVeWgcU709t4PmsX3ShvU2TaWj7qv0uk,8026
320
320
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -328,7 +328,7 @@ gpu/texture/__init__.pyi,sha256=eXL-ZQU-gsMFo_Yv6ShF_YjBQ-yPDLRZno-T3P59nhE,668
328
328
  gpu/types/__init__.pyi,sha256=wv4qnmZ16QT1VUYeF2EMYiRPI_xIa2yCqrzrA_Ukac4,27950
329
329
  gpu_extras/__init__.pyi,sha256=XscwC-5DTPC0yc2HB_XMgvX61rT5Qs5RaImqNwR6c40,240
330
330
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
331
- gpu_extras/batch/__init__.pyi,sha256=0z8rIEm4SFuC-rUGyoOMU0L6i_TsaW5nJN9cGR6u40Y,1306
331
+ gpu_extras/batch/__init__.pyi,sha256=P0KwOXu_4yBZvCupG7WJ08TQ6yvocr5NZLAhJK_qLtQ,1305
332
332
  gpu_extras/presets/__init__.pyi,sha256=9MrG1r0CUOxBYWyp_vZSYxs47oElIxca1uMyuFPLKdw,1674
333
333
  graphviz_export/__init__.pyi,sha256=_breciGLRC6qTh-HOor-Ufn_fI5HXnoQego6mmvTAIQ,242
334
334
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -361,7 +361,7 @@ rna_prop_ui/__init__.pyi,sha256=o3yE2C_BSi2O_ZJM_Jao06i6seWMRNQcZaI6keKjpFE,1308
361
361
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
362
  rna_xml/__init__.pyi,sha256=EBP-inpL9KRsjGftcoza9_G_Do5UjXw62eAvuEMoaO0,604
363
363
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
364
- fake_bpy_module-20250307.dist-info/METADATA,sha256=l3nycExLvi7XDoUq-GEmI3Xdi55VDoF3wNWurgObYQ8,7429
365
- fake_bpy_module-20250307.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
366
- fake_bpy_module-20250307.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
- fake_bpy_module-20250307.dist-info/RECORD,,
364
+ fake_bpy_module-20250309.dist-info/METADATA,sha256=7oqOko-843OjF_xzMQ-ZvVv7dh2kzQZGE_qwZiUhW8w,7429
365
+ fake_bpy_module-20250309.dist-info/WHEEL,sha256=EaM1zKIUYa7rQnxGiOCGhzJABRwy4WO57rWMR3_tj4I,91
366
+ fake_bpy_module-20250309.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
+ fake_bpy_module-20250309.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (75.9.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -125,7 +125,7 @@ def material_from_fedge(fe):
125
125
  """get the diffuse RGBA color from an FEdge"""
126
126
 
127
127
  def normal_at_I0D(it): ...
128
- def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
128
+ def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
129
129
  """Yields a tuple containing the previous and current object"""
130
130
 
131
131
  def rgb_to_bw(r, g, b):
@@ -2,6 +2,7 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
+ import bgl
5
6
  import gpu.types
6
7
 
7
8
  def batch_for_shader(
@@ -9,7 +10,7 @@ def batch_for_shader(
9
10
  type: str,
10
11
  content: dict[
11
12
  str,
12
- gpu.types.Buffer
13
+ bgl.Buffer
13
14
  | collections.abc.Sequence[float]
14
15
  | collections.abc.Sequence[int]
15
16
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -26,7 +27,7 @@ def batch_for_shader(
26
27
  :type type: str
27
28
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
28
29
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
29
- :type content: dict[str, gpu.types.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
30
+ :type content: dict[str, bgl.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
30
31
  :return: compatible batch
31
32
  :rtype: gpu.types.GPUBatch
32
33
  """