fake-bpy-module 20250130__py3-none-any.whl → 20250201__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
@@ -24,6 +24,27 @@ def add_collection(
24
24
  :type session_uid: int | None
25
25
  """
26
26
 
27
+ def add_color(
28
+ execution_context: int | str | None = None,
29
+ undo: bool | None = None,
30
+ /,
31
+ *,
32
+ color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 0.0),
33
+ gamma: bool | None = False,
34
+ has_alpha: bool | None = False,
35
+ ):
36
+ """Add a color node to the current node editor
37
+
38
+ :type execution_context: int | str | None
39
+ :type undo: bool | None
40
+ :param color: Color, Source color
41
+ :type color: collections.abc.Iterable[float] | None
42
+ :param gamma: Gamma Corrected, The source color is gamma corrected
43
+ :type gamma: bool | None
44
+ :param has_alpha: Has Alpha, The source color contains an Alpha component
45
+ :type has_alpha: bool | None
46
+ """
47
+
27
48
  def add_file(
28
49
  execution_context: int | str | None = None,
29
50
  undo: bool | None = None,
bpy/ops/ui/__init__.pyi CHANGED
@@ -1,7 +1,6 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import mathutils
5
4
 
6
5
  def assign_default_button(
7
6
  execution_context: int | str | None = None, undo: bool | None = None
@@ -104,17 +103,20 @@ def drop_color(
104
103
  undo: bool | None = None,
105
104
  /,
106
105
  *,
107
- color: collections.abc.Sequence[float] | mathutils.Color | None = (0.0, 0.0, 0.0),
106
+ color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 0.0),
108
107
  gamma: bool | None = False,
108
+ has_alpha: bool | None = False,
109
109
  ):
110
110
  """Drop colors to buttons
111
111
 
112
112
  :type execution_context: int | str | None
113
113
  :type undo: bool | None
114
114
  :param color: Color, Source color
115
- :type color: collections.abc.Sequence[float] | mathutils.Color | None
115
+ :type color: collections.abc.Iterable[float] | None
116
116
  :param gamma: Gamma Corrected, The source color is gamma corrected
117
117
  :type gamma: bool | None
118
+ :param has_alpha: Has Alpha, The source color contains an Alpha component
119
+ :type has_alpha: bool | None
118
120
  """
119
121
 
120
122
  def drop_material(
bpy/props/__init__.pyi CHANGED
@@ -26,7 +26,7 @@ When accessing external non-Blender data, thread safety mechanisms should be con
26
26
 
27
27
  A common use of custom properties is for python based Operator
28
28
  classes. Test this code by running it in the text editor, or by clicking the
29
- button in the 3D Viewport's Tools panel. The latter will show the properties
29
+ button in the 3D View-port's Tools panel. The latter will show the properties
30
30
  in the Redo panel and allow you to change them.
31
31
 
32
32
  ```../examples/bpy.props.1.py```
bpy/types/__init__.pyi CHANGED
@@ -83004,7 +83004,7 @@ animation or modifiers into account:
83004
83004
 
83005
83005
  * For meshes this is similar to duplicating the source mesh.
83006
83006
  * For curves this disables own modifiers, and modifiers of objects used as bevel and taper.
83007
- * For metaballs this produces an empty mesh since polygonization is done as a modifier evaluation.
83007
+ * For meta-balls this produces an empty mesh since polygonization is done as a modifier evaluation.
83008
83008
 
83009
83009
  When is used on evaluated object all modifiers are taken into account.
83010
83010
 
@@ -114824,11 +114824,15 @@ class ActionKeyframeStrip(ActionStrip, bpy_struct):
114824
114824
  :type: ActionChannelbags
114825
114825
  """
114826
114826
 
114827
- def channels(self, slot_handle: int | None) -> ActionChannelbag:
114827
+ def channels(
114828
+ self, slot_handle: int | None, *, ensure: bool | None = False
114829
+ ) -> ActionChannelbag:
114828
114830
  """Find the ActionChannelbag for a specific Slot
114829
114831
 
114830
114832
  :param slot_handle: Slot Handle, Number that identifies a specific action slot
114831
114833
  :type slot_handle: int | None
114834
+ :param ensure: Create if necessary, Ensure the channelbag exists for this slot handle, creating it if necessary
114835
+ :type ensure: bool | None
114832
114836
  :return: Channels
114833
114837
  :rtype: ActionChannelbag
114834
114838
  """
@@ -131554,7 +131558,7 @@ class CompositorNodeTranslate(CompositorNode, NodeInternal, Node, bpy_struct):
131554
131558
  """
131555
131559
 
131556
131560
  wrap_axis: typing.Literal["NONE", "XAXIS", "YAXIS", "BOTH"]
131557
- """ Wrap image on a specific axis
131561
+ """ Repeats image on a specific axis
131558
131562
 
131559
131563
  :type: typing.Literal['NONE','XAXIS','YAXIS','BOTH']
131560
131564
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250130
3
+ Version: 20250201
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
@@ -114,6 +114,7 @@ being too big for intelliSense to work.*
114
114
  |4.0|[https://pypi.org/project/fake-bpy-module-4.0/](https://pypi.org/project/fake-bpy-module-4.0/)|
115
115
  |4.1|[https://pypi.org/project/fake-bpy-module-4.1/](https://pypi.org/project/fake-bpy-module-4.1/)|
116
116
  |4.2|[https://pypi.org/project/fake-bpy-module-4.2/](https://pypi.org/project/fake-bpy-module-4.2/)|
117
+ |4.3|[https://pypi.org/project/fake-bpy-module-4.3/](https://pypi.org/project/fake-bpy-module-4.3/)|
117
118
  |latest|[https://pypi.org/project/fake-bpy-module/](https://pypi.org/project/fake-bpy-module/)|
118
119
  ||[https://pypi.org/project/fake-bpy-module-latest/](https://pypi.org/project/fake-bpy-module-latest/)|
119
120
 
@@ -177,3 +178,4 @@ Support via [GitHub Sponsors](https://github.com/sponsors/nutti)
177
178
  * [**@UuuNyaa**](https://github.com/UuuNyaa)
178
179
  * [**@Road-hog123**](https://github.com/Road-hog123)
179
180
  * [**@Andrej730**](https://github.com/Andrej730)
181
+ * [**@ice3**](https://github.com/ice3)
@@ -241,7 +241,7 @@ bpy/ops/material/__init__.pyi,sha256=8AhfpDXsCDLZI0UEESadmN8-zfNGEiDblmKobSJLcqA
241
241
  bpy/ops/mball/__init__.pyi,sha256=VRZZbMhoN6OWmsG-344hmoHQ-_qcjRuisuzJvLxGobI,4155
242
242
  bpy/ops/mesh/__init__.pyi,sha256=qE1RpDdjx6k30pAjr1ZWqjR4aoY6_qJ8VVyQk0F8GPA,132596
243
243
  bpy/ops/nla/__init__.pyi,sha256=qWBmb8nOy9c6H_rKEjt3spO-TnwPaqJc1meOgDy5uaY,18145
244
- bpy/ops/node/__init__.pyi,sha256=QOa13EAEyS_cTuOu4SzX841cdd142EhKhyPtCywjGlg,52976
244
+ bpy/ops/node/__init__.pyi,sha256=nX6jbMBsyypERuhUpBJ3Y9ML0wNylwyCH_7WgvDdCtI,53668
245
245
  bpy/ops/object/__init__.pyi,sha256=r-chJkYsfu2ZUp4KBcamnBl7Od4_LW5zJ76e45lc8u0,168021
246
246
  bpy/ops/outliner/__init__.pyi,sha256=la079qCOhk_Bf_FiEtjcNh0jP97X0sY5aPgnAxOT4x0,27743
247
247
  bpy/ops/paint/__init__.pyi,sha256=Q-EnWEXXc_RyYXxGY0x4zTQbmNwd4HOaPxashYEWwpk,37665
@@ -267,7 +267,7 @@ bpy/ops/text/__init__.pyi,sha256=j6wutufMV-p6P1WkAJxrFJWDv3MK-ra691fkR_rdy1s,211
267
267
  bpy/ops/text_editor/__init__.pyi,sha256=-BquL2tZJRA0PG5_CbDNcfFJ5S2JgVWVWHRGOr-5IKo,635
268
268
  bpy/ops/texture/__init__.pyi,sha256=oxKGKHziumZd9yFWYjRNVALiIAgR3-AIlmSnHbhhT1I,1043
269
269
  bpy/ops/transform/__init__.pyi,sha256=nFMU9BIC1R0F3vOtG3UJzG06_0bhvpn5WJ7jpB_B3rA,58195
270
- bpy/ops/ui/__init__.pyi,sha256=C3pDpcSf36MCa56mWmGyR-W_vDizDBBTmFj65RIvfS4,12411
270
+ bpy/ops/ui/__init__.pyi,sha256=kbNC_5Oa5EwzUSkInFS7hgie-vd6CqQ_zIshNh6UIAA,12510
271
271
  bpy/ops/uilist/__init__.pyi,sha256=1Vu7qHRYL-MOM5kdcHJLmJwucvveh10t1wbmL_98GEM,1618
272
272
  bpy/ops/uv/__init__.pyi,sha256=_PFdsIxNsw5RLzCHmpqA7MnHriWUf0mau2pvYSyj7DQ,45436
273
273
  bpy/ops/view2d/__init__.pyi,sha256=bw6xoLUDUWQGk36g4T8THDWpNSH_VX8Pyg_mlGB9Dik,6986
@@ -276,8 +276,8 @@ bpy/ops/wm/__init__.pyi,sha256=j7hlRICQ5pqYjsgTQPkJozhTMs4EMBzG6XbGjuLrzDk,21592
276
276
  bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHCU,1983
277
277
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
278
278
  bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
279
- bpy/props/__init__.pyi,sha256=ZldUQ1MIMYkmYB0PpIP7HwwzMGpVB4rM3KeZOqV54sU,35236
280
- bpy/types/__init__.pyi,sha256=MG9wNzTgv-tEMJ8A6Cf4NTkyFN47FQ_FGUZHZgOPK0c,5422786
279
+ bpy/props/__init__.pyi,sha256=Ky1J5ndL8p_pvAaQakudyKKVynbr1NxXvzoN-5E9_I0,35237
280
+ bpy/types/__init__.pyi,sha256=UkGp2Y6Uu332yoKN7CwVq_Y2NV_0qWH7J9aVeUFDbQA,5422990
281
281
  bpy/utils/__init__.pyi,sha256=Dwq7WFMz4vZM6bcYjsWYj9mYm1SDnqESf0d0UPX4xPE,14897
282
282
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
283
283
  bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
@@ -312,7 +312,7 @@ freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTE
312
312
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
313
313
  freestyle/shaders/__init__.pyi,sha256=4a-rY8mkkIcsnIvYGcP8YgAULdJENDJnncju2CjhQVg,24014
314
314
  freestyle/types/__init__.pyi,sha256=Dmb8LokYlO2lCfmDwPX5MwwpnHHSRaXU2t6Nu37Rzjg,100200
315
- freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,5108
315
+ freestyle/utils/__init__.pyi,sha256=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
316
316
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=fPDfiBEjpoqXQhBhmHJ6WxG9oLMItwQ32MxKQz_c9_I,3445
317
317
  gpu/__init__.pyi,sha256=Q-AbyJO85pPYcwXNWtvgAhFGGJ6OnnHrlsXQxur9jhs,7999
318
318
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -326,7 +326,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
326
326
  gpu/types/__init__.pyi,sha256=Q8Gym2MsHoDFLW7snVIfPMUGCQns-XA2URYfeOV3nnk,27923
327
327
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
328
328
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
- gpu_extras/batch/__init__.pyi,sha256=t-kFLEyZ0OABqt8VbtSwvo60S7vw15Tq5HRea-G3odE,1278
329
+ gpu_extras/batch/__init__.pyi,sha256=nbeZNWRKChMLBkKYc4mLF9abAffVyzEHp01yf64gZK8,1279
330
330
  gpu_extras/presets/__init__.pyi,sha256=pDhGELr5vKTZ9yDsLJ4Y836Kmh7cs95rDhSwd1i5e-s,1647
331
331
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
332
332
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -359,7 +359,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
359
359
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
360
360
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
361
361
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
- fake_bpy_module-20250130.dist-info/METADATA,sha256=hwKtvNakffHikKhhoFJoMhIg1DSiplj4hARZRHQ_8jw,7289
363
- fake_bpy_module-20250130.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
- fake_bpy_module-20250130.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
- fake_bpy_module-20250130.dist-info/RECORD,,
362
+ fake_bpy_module-20250201.dist-info/METADATA,sha256=kWZKI4Di3bIuakfWrmR8DXkR_3dICYVcHcWPsgunpmI,7429
363
+ fake_bpy_module-20250201.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
+ fake_bpy_module-20250201.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
+ fake_bpy_module-20250201.dist-info/RECORD,,
@@ -124,7 +124,7 @@ def material_from_fedge(fe):
124
124
  """get the diffuse RGBA color from an FEdge"""
125
125
 
126
126
  def normal_at_I0D(it): ...
127
- def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
127
+ def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
128
128
  """Yields a tuple containing the previous and current object"""
129
129
 
130
130
  def rgb_to_bw(r, g, b):
@@ -1,7 +1,6 @@
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(
@@ -9,7 +8,7 @@ def batch_for_shader(
9
8
  type: str,
10
9
  content: dict[
11
10
  str,
12
- bgl.Buffer
11
+ gpu.types.Buffer
13
12
  | collections.abc.Sequence[float]
14
13
  | collections.abc.Sequence[int]
15
14
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -26,7 +25,7 @@ def batch_for_shader(
26
25
  :type type: str
27
26
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
28
27
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
29
- :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]]]
28
+ :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
29
  :return: compatible batch
31
30
  :rtype: gpu.types.GPUBatch
32
31
  """