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

@@ -12,12 +12,12 @@ class AddObjectHelper:
12
12
  """
13
13
 
14
14
  def add_object_align_init(
15
- context: bpy.types.Context | None, operator: bpy.types.Operator
15
+ context: bpy.types.Context, operator: bpy.types.Operator
16
16
  ) -> mathutils.Matrix:
17
17
  """Return a matrix using the operator settings and view context.
18
18
 
19
19
  :param context: The context to use.
20
- :type context: bpy.types.Context | None
20
+ :type context: bpy.types.Context
21
21
  :param operator: The operator, checked for location and rotation properties.
22
22
  :type operator: bpy.types.Operator
23
23
  :return: the matrix from the context and settings.
@@ -34,7 +34,7 @@ def object_add_grid_scale_apply_operator(operator, context):
34
34
  """Scale an operators distance values by the grid size."""
35
35
 
36
36
  def object_data_add(
37
- context: bpy.types.Context | None,
37
+ context: bpy.types.Context,
38
38
  obdata: bpy.types.ID,
39
39
  operator: bpy.types.Operator | None = None,
40
40
  name: str | None = None,
@@ -43,7 +43,7 @@ def object_data_add(
43
43
  location, rotation and layer.
44
44
 
45
45
  :param context: The context to use.
46
- :type context: bpy.types.Context | None
46
+ :type context: bpy.types.Context
47
47
  :param obdata: Valid object data to used for the new object or None.
48
48
  :type obdata: bpy.types.ID
49
49
  :param operator: The operator, checked for location and rotation properties.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241228
3
+ Version: 20241229
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
@@ -102,7 +102,7 @@ bl_ui/__init__.pyi,sha256=1r51D8PicbD-QVUctmIy1-HlvGww8Neh3VIkKpkM5b4,6876
102
102
  bl_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
103
103
  bl_ui/anim/__init__.pyi,sha256=rfW-hFN0qy_jfivUrTMUZ7GIppMA5hycMUlWWj5wloo,614
104
104
  bl_ui/asset_shelf/__init__.pyi,sha256=t-xDmFic0fqVPdMcY7iFrprYEpNNmJeEN4XhPUx_m9w,763
105
- bl_ui/generic_ui_list/__init__.pyi,sha256=YBWfuVksjUKU50org3OCNIDojmyTHdWbRoc7iuMITTc,4219
105
+ bl_ui/generic_ui_list/__init__.pyi,sha256=E9S37L1rZLNoVKSC_Rc2_lZ7O_-8j3U6FujiN5i0t24,4205
106
106
  bl_ui/node_add_menu/__init__.pyi,sha256=47u8vW3h1ub07M_kPJfQ1pbEdHeckMek5HSTwfYR7f8,1148
107
107
  bl_ui/node_add_menu_compositor/__init__.pyi,sha256=Xyt38vc4UpTKxmANEt786uFNnjEDLF04O7OtFJiyc2A,9793
108
108
  bl_ui/node_add_menu_geometry/__init__.pyi,sha256=B1Hc_HPujxSaE8Onv5VPvaxsc49cQEfikZ_-d-zHBag,28540
@@ -188,7 +188,7 @@ bmesh/geometry/__init__.pyi,sha256=fgGEevkhB2IEtja2X5rm6OQU5EoDfkPaqiKeNGfWZ6c,6
188
188
  bmesh/ops/__init__.pyi,sha256=7W-Tv_SgkgEMa90SsRfRzBzNG2Wt1EU622YpkDYJthc,74701
189
189
  bmesh/types/__init__.pyi,sha256=rm5SoXTeZCFOVBAWsN8bYzIKddWdxjt6Djx1g44SM3w,42601
190
190
  bmesh/utils/__init__.pyi,sha256=4Ru6ZMwJzSC2SOlFwkke03I8XiEg6Cxc4LNhiLHB-tw,5988
191
- bpy/__init__.pyi,sha256=dozab_KhjTikiJAE59kzHS9tbX9OJc8U1vPdj6gNFJY,502
191
+ bpy/__init__.pyi,sha256=aaYss17B3fH0ejnN9bMctoFfT8ptLuJWq4Kjgm2Gm9Y,495
192
192
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
193
193
  bpy/app/__init__.pyi,sha256=gQJdiazscopU-G66fjv1pOLRZykYpJ-6L0aIAYBvzKA,8205
194
194
  bpy/app/handlers/__init__.pyi,sha256=Gxao8v-gF10WpVRUdswsB4QndzHjO1UtymwrorJef-4,6911
@@ -275,7 +275,7 @@ bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHC
275
275
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
276
276
  bpy/path/__init__.pyi,sha256=N-QNSw3piTmrzrydYRyWab7GFGOh3BsdaS91x4Kf-Cc,5403
277
277
  bpy/props/__init__.pyi,sha256=BqqbIZuZNtKAJ3-FpeQoR_yzNV-a4fEb09xdCPZBEuI,31446
278
- bpy/types/__init__.pyi,sha256=HhZ1ivB2NfEoRTCJEJ4WoBJkLqjtWAVXi3lz3_zP4x4,5406056
278
+ bpy/types/__init__.pyi,sha256=qy86trF4k6h7nZK6sVEpKEISgBqIANU5Aw06doNRaLs,5404481
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
@@ -292,7 +292,7 @@ bpy_extras/keyconfig_utils/__init__.pyi,sha256=152lGc6wB3z4qLyEuthYUfB_vggCQKqny
292
292
  bpy_extras/mesh_utils/__init__.pyi,sha256=3n3TAu2Ni0oTQ1gXjynu-k4U5SEEamM0BYMdIy5YI78,2692
293
293
  bpy_extras/node_shader_utils/__init__.pyi,sha256=wUnsxxIUgiZ2-KL6A4duhnEmP9r1SgViTomWqGSOOes,5602
294
294
  bpy_extras/node_utils/__init__.pyi,sha256=WgqDrr6jIHW77WeGCy8WutcNcCr6zoqgTvMh_A1ToZo,630
295
- bpy_extras/object_utils/__init__.pyi,sha256=wQX9CMYSh1nyTVCbmgVPXyzwHokfNd8ZGqC9MyVnZG4,3336
295
+ bpy_extras/object_utils/__init__.pyi,sha256=UwOzMwuSRGHHH8ebF5nzMmbilyaO8iT5CPcUhVej1Bc,3308
296
296
  bpy_extras/view3d_utils/__init__.pyi,sha256=uagbvfAFaRLiR-mq8BFs2eUQVpDx3PdF4wCvL2aMICk,3670
297
297
  bpy_extras/wm_utils/__init__.pyi,sha256=cnc2h-NDlAYDb9e5F5jCxnK4h96Mg-9QkdC6HH5p1VE,111
298
298
  bpy_extras/wm_utils/progress_report/__init__.pyi,sha256=lRvwzdkIKLAIIgS6BKRwHdZsnb8LRUNvIAVcA9vuysU,1708
@@ -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=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
314
+ freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,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=tgSLHYF1sb3LZuu6iJ6l6tNmLCknXid9wy3_L7xp2j8,855
328
+ gpu_extras/batch/__init__.pyi,sha256=WiNyGZ_ivr5sKh_DePTwqR4ue9QHd8YjBdJwUHHXMkk,856
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-20241228.dist-info/METADATA,sha256=qBCYCeh8mvASp4mriS7DjdFaUF7miXeg8HTz7Xkbtcw,7289
362
- fake_bpy_module-20241228.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20241228.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241228.dist-info/RECORD,,
361
+ fake_bpy_module-20241229.dist-info/METADATA,sha256=Qk8frE2awLHB5_MtqXiwT4RetwIgbgP6f2vM2dK5NQU,7289
362
+ fake_bpy_module-20241229.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241229.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241229.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={StrokeVertexIterator, Stroke}):
127
+ def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
128
128
  """Yields a tuple containing the previous and current object"""
129
129
 
130
130
  def rgb_to_bw(r, g, b):
@@ -1,13 +1,12 @@
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
7
  shader: gpu.types.GPUShader,
9
8
  type: str,
10
- content: dict[str, bgl.Buffer],
9
+ content: dict[str, gpu.types.Buffer],
11
10
  *,
12
11
  indices=None,
13
12
  ) -> gpu.types.GPUBatch:
@@ -19,7 +18,7 @@ def batch_for_shader(
19
18
  :type type: str
20
19
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
21
20
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
22
- :type content: dict[str, bgl.Buffer]
21
+ :type content: dict[str, gpu.types.Buffer]
23
22
  :return: compatible batch
24
23
  :rtype: gpu.types.GPUBatch
25
24
  """