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

@@ -2195,6 +2195,34 @@ class VIEW3D_MT_editor_menus(bpy.types.Menu):
2195
2195
  :param context:
2196
2196
  """
2197
2197
 
2198
+ class VIEW3D_MT_empty_add(bpy.types.Menu):
2199
+ bl_idname: typing.Any
2200
+ bl_label: typing.Any
2201
+ bl_options: typing.Any
2202
+ bl_rna: typing.Any
2203
+ bl_translation_context: typing.Any
2204
+ id_data: typing.Any
2205
+
2206
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
2207
+ """
2208
+
2209
+ :return: The RNA type or default when not found.
2210
+ :rtype: bpy.types.Struct
2211
+ """
2212
+
2213
+ def bl_rna_get_subclass_py(self) -> typing.Any:
2214
+ """
2215
+
2216
+ :return: The class or default when not found.
2217
+ :rtype: typing.Any
2218
+ """
2219
+
2220
+ def draw(self, _context):
2221
+ """
2222
+
2223
+ :param _context:
2224
+ """
2225
+
2198
2226
  class VIEW3D_MT_face_sets(bpy.types.Menu):
2199
2227
  bl_label: typing.Any
2200
2228
  bl_rna: typing.Any
bpy/props/__init__.pyi CHANGED
@@ -83,6 +83,10 @@ Remember that these callbacks may be executed in threaded context.
83
83
 
84
84
  ```../examples/bpy.props.5.py```
85
85
 
86
+ [NOTE]
87
+ Pointer properties do not support storing references to embedded IDs (e.g. bpy.types.Scene.collection, bpy.types.Material.node_tree).
88
+ These should exclusively be referenced and accessed through their owner ID (e.g. the scene or material).
89
+
86
90
  [NOTE]
87
91
  Typically this function doesn't need to be accessed directly.
88
92
  Instead use del cls.attr
bpy/types/__init__.pyi CHANGED
@@ -234813,6 +234813,8 @@ VIEW3D_MT_edit_surface: bl_ui.space_view3d.VIEW3D_MT_edit_surface
234813
234813
 
234814
234814
  VIEW3D_MT_editor_menus: bl_ui.space_view3d.VIEW3D_MT_editor_menus
234815
234815
 
234816
+ VIEW3D_MT_empty_add: bl_ui.space_view3d.VIEW3D_MT_empty_add
234817
+
234816
234818
  VIEW3D_MT_face_sets: bl_ui.space_view3d.VIEW3D_MT_face_sets
234817
234819
 
234818
234820
  VIEW3D_MT_face_sets_init: bl_ui.space_view3d.VIEW3D_MT_face_sets_init
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241222
3
+ Version: 20241224
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
@@ -172,7 +172,7 @@ bl_ui/space_toolsystem_common/__init__.pyi,sha256=IFq4tTh_oM6-dQWMZbuRo6HhYinOLB
172
172
  bl_ui/space_toolsystem_toolbar/__init__.pyi,sha256=amIcQArvjsuZ7iHNMO3EETPZ1LXkSGRjIwTLtqDkJbk,9946
173
173
  bl_ui/space_topbar/__init__.pyi,sha256=tVupsHc6IdA1o_axDcB1Cbf0o8ARZzgLncMXgguQnWY,15316
174
174
  bl_ui/space_userpref/__init__.pyi,sha256=iLYc94VUBgP3dE6whoVFktEjvqAE-oLGDbtey9Y4L0E,79675
175
- bl_ui/space_view3d/__init__.pyi,sha256=HyTTm0awNZtEwDNkDYINCyklRpnXy0Rfr07ki5TGt3A,155025
175
+ bl_ui/space_view3d/__init__.pyi,sha256=A-_oojmtoq7q5-iMMWQqFDQEJZzYQZJCEuraLc2piew,155644
176
176
  bl_ui/space_view3d_toolbar/__init__.pyi,sha256=EG6IIG6nSOJAvIRRxU3TyjEQNWZ_n2tFEB6FlwjIhuw,76295
177
177
  bl_ui/utils/__init__.pyi,sha256=qkgl-AlZI3QD4UUITGIvN9PbifOI4BPkZBpu7WyxMBw,483
178
178
  bl_ui_utils/__init__.pyi,sha256=ZOo9_bgn1c9NiCNalhTplCD2IChG67rU_V3BeG0k4pE,93
@@ -274,8 +274,8 @@ bpy/ops/wm/__init__.pyi,sha256=hKfEGg5ZP1ydNAkhidsg-KN0yT_p28pgR_g2Vns_bq4,21426
274
274
  bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHCU,1983
275
275
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
276
276
  bpy/path/__init__.pyi,sha256=N-QNSw3piTmrzrydYRyWab7GFGOh3BsdaS91x4Kf-Cc,5403
277
- bpy/props/__init__.pyi,sha256=Hye1gGaDpIcGMnsfCVUKgidLJynfWIGyjOSYDq6orjQ,31199
278
- bpy/types/__init__.pyi,sha256=svIlL1V-v45MqTDgd6zrDk1oBS_JxBwpuurrhRXuYiM,5401713
277
+ bpy/props/__init__.pyi,sha256=BqqbIZuZNtKAJ3-FpeQoR_yzNV-a4fEb09xdCPZBEuI,31446
278
+ bpy/types/__init__.pyi,sha256=7gniI7pAiFgCOsTewS5qNJVph8MKAWP_qWQ_BVbXYBE,5401774
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
280
  bpy/utils/__init__.pyi,sha256=wvjdEDEtBn5bR5pZG7HnW1ZdL_J-IQYvmB7e4AwTW0s,13537
281
281
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
@@ -311,7 +311,7 @@ freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTE
311
311
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
312
312
  freestyle/shaders/__init__.pyi,sha256=1Ov48B4P7LV3dwjBqHqqqbPFRBZWjENqIDaFb97Qdj0,23835
313
313
  freestyle/types/__init__.pyi,sha256=p6WoVuWvAdGxcKMvxz-IrMbZiBTML9cbjgwgj-QnyI8,100051
314
- freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,5108
314
+ freestyle/utils/__init__.pyi,sha256=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
315
315
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=fPDfiBEjpoqXQhBhmHJ6WxG9oLMItwQ32MxKQz_c9_I,3445
316
316
  gpu/__init__.pyi,sha256=Q-AbyJO85pPYcwXNWtvgAhFGGJ6OnnHrlsXQxur9jhs,7999
317
317
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -325,7 +325,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
325
  gpu/types/__init__.pyi,sha256=3irdUxznJA1-vvflQGps24-pxPBxopb_eOtUkiiw25I,26846
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=WiNyGZ_ivr5sKh_DePTwqR4ue9QHd8YjBdJwUHHXMkk,856
328
+ gpu_extras/batch/__init__.pyi,sha256=tgSLHYF1sb3LZuu6iJ6l6tNmLCknXid9wy3_L7xp2j8,855
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
@@ -339,7 +339,7 @@ keyingsets_builtins/__init__.pyi,sha256=FmSnRj8eAiQ_O-X_-kAHM_a8rCv_HZBrjXLXDRss
339
339
  keyingsets_builtins/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
340
340
  keyingsets_utils/__init__.pyi,sha256=UpGuAqOVl6bmy3rffJhqFS8ZKhUtAV-MfVyuuHtqXQI,770
341
341
  keyingsets_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
342
- mathutils/__init__.pyi,sha256=L4zURTaeuRGKca7u14jBdZEYlUSBwXQwe2QKPpWqA_Y,88319
342
+ mathutils/__init__.pyi,sha256=8m5OQ78bZkC094zIKPDjfXSzQZN1Vavo9Q0Ql4QilgM,88340
343
343
  mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
344
344
  mathutils/bvhtree/__init__.pyi,sha256=tnSMnnlM4AUV5BXMVRB8daXeBCc2dt1yF2VhVgx-png,4482
345
345
  mathutils/geometry/__init__.pyi,sha256=YU4LyVtd5nl5KJeVsbOcWMNZhJlI9TQWIWJ5V-nrkz0,22182
@@ -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-20241222.dist-info/METADATA,sha256=7MIUPzuP0EJ6cbOevmnQTBWwKs_0jAQio54tRxvln1c,7289
362
- fake_bpy_module-20241222.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20241222.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241222.dist-info/RECORD,,
361
+ fake_bpy_module-20241224.dist-info/METADATA,sha256=y1Reg-hMwInCi4iChx-4Q2Uom5lF8W3T-ak4s4k1c8s,7289
362
+ fake_bpy_module-20241224.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241224.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241224.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,12 +1,13 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import bgl
4
5
  import gpu.types
5
6
 
6
7
  def batch_for_shader(
7
8
  shader: gpu.types.GPUShader,
8
9
  type: str,
9
- content: dict[str, gpu.types.Buffer],
10
+ content: dict[str, bgl.Buffer],
10
11
  *,
11
12
  indices=None,
12
13
  ) -> gpu.types.GPUBatch:
@@ -18,7 +19,7 @@ def batch_for_shader(
18
19
  :type type: str
19
20
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
20
21
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
21
- :type content: dict[str, gpu.types.Buffer]
22
+ :type content: dict[str, bgl.Buffer]
22
23
  :return: compatible batch
23
24
  :rtype: gpu.types.GPUBatch
24
25
  """
mathutils/__init__.pyi CHANGED
@@ -3666,7 +3666,7 @@ class Vector:
3666
3666
  def angle_signed(
3667
3667
  self,
3668
3668
  other: collections.abc.Sequence[float] | typing_extensions.Self,
3669
- fallback: typing.Any,
3669
+ fallback: typing.Any | None = None,
3670
3670
  ) -> float | typing.Any:
3671
3671
  """Return the signed angle between two 2D vectors (clockwise is positive).
3672
3672
 
@@ -3674,7 +3674,7 @@ class Vector:
3674
3674
  :type other: collections.abc.Sequence[float] | typing_extensions.Self
3675
3675
  :param fallback: return this when the angle can't be calculated (zero length vector),
3676
3676
  (instead of raising a `ValueError`).
3677
- :type fallback: typing.Any
3677
+ :type fallback: typing.Any | None
3678
3678
  :return: angle in radians or fallback when given
3679
3679
  :rtype: float | typing.Any
3680
3680
  """