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

@@ -46,7 +46,9 @@ def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list[list[int]]:
46
46
  """
47
47
 
48
48
  def ngon_tessellate(
49
- from_data: bpy.types.Mesh | list | tuple,
49
+ from_data: bpy.types.Mesh
50
+ | list[collections.abc.Sequence[float]]
51
+ | tuple[collections.abc.Sequence[float]],
50
52
  indices: list[int],
51
53
  fix_loops: bool = True,
52
54
  debug_print=True,
@@ -56,7 +58,7 @@ def ngon_tessellate(
56
58
  ngon to create from existing verts.
57
59
 
58
60
  :param from_data: Either a mesh, or a list/tuple of 3D vectors.
59
- :type from_data: bpy.types.Mesh | list | tuple
61
+ :type from_data: bpy.types.Mesh | list[collections.abc.Sequence[float]] | tuple[collections.abc.Sequence[float]]
60
62
  :param indices: a list of indices to use this list
61
63
  is the ordered closed poly-line
62
64
  to fill, and can be a subset of the data given.
@@ -67,12 +69,16 @@ def ngon_tessellate(
67
69
  :type fix_loops: bool
68
70
  """
69
71
 
70
- def triangle_random_points(num_points: int, loop_triangles) -> list[mathutils.Vector]:
72
+ def triangle_random_points(
73
+ num_points: int,
74
+ loop_triangles: collections.abc.Sequence[bpy.types.MeshLoopTriangle],
75
+ ) -> list[mathutils.Vector]:
71
76
  """Generates a list of random points over mesh loop triangles.
72
77
 
73
78
  :param num_points: The number of random points to generate on each triangle.
74
79
  :type num_points: int
75
80
  :param loop_triangles: Sequence of the triangles to generate points on.
81
+ :type loop_triangles: collections.abc.Sequence[bpy.types.MeshLoopTriangle]
76
82
  :return: List of random points over all triangles.
77
83
  :rtype: list[mathutils.Vector]
78
84
  """
@@ -35,7 +35,7 @@ def object_add_grid_scale_apply_operator(operator, context):
35
35
 
36
36
  def object_data_add(
37
37
  context: bpy.types.Context,
38
- obdata: bpy.types.ID,
38
+ obdata: None | bpy.types.ID,
39
39
  operator: bpy.types.Operator | None = None,
40
40
  name: str | None = None,
41
41
  ) -> bpy.types.Object:
@@ -45,7 +45,7 @@ def object_data_add(
45
45
  :param context: The context to use.
46
46
  :type context: bpy.types.Context
47
47
  :param obdata: Valid object data to used for the new object or None.
48
- :type obdata: bpy.types.ID
48
+ :type obdata: None | bpy.types.ID
49
49
  :param operator: The operator, checked for location and rotation properties.
50
50
  :type operator: bpy.types.Operator | None
51
51
  :param name: Optional name
@@ -51,9 +51,9 @@ def region_2d_to_location_3d(
51
51
  def region_2d_to_origin_3d(
52
52
  region: bpy.types.Region,
53
53
  rv3d: bpy.types.RegionView3D,
54
- coord,
54
+ coord: collections.abc.Sequence[float],
55
55
  *,
56
- clamp: float | None = None,
56
+ clamp: None | float | None = None,
57
57
  ) -> mathutils.Vector:
58
58
  """Return the 3d view origin from the region relative 2d coords.
59
59
 
@@ -63,9 +63,10 @@ def region_2d_to_origin_3d(
63
63
  :type rv3d: bpy.types.RegionView3D
64
64
  :param coord: 2D coordinates relative to the region;
65
65
  (event.mouse_region_x, event.mouse_region_y) for example.
66
+ :type coord: collections.abc.Sequence[float]
66
67
  :param clamp: Clamp the maximum far-clip value used.
67
68
  (negative value will move the offset away from the view_location)
68
- :type clamp: float | None
69
+ :type clamp: None | float | None
69
70
  :return: The origin of the viewpoint in 3d space.
70
71
  :rtype: mathutils.Vector
71
72
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241229
3
+ Version: 20241230
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
@@ -13,7 +13,7 @@ _bpy_internal/system_info/__init__.pyi,sha256=cR0YfdA5e1gzPoJPkqRHZUm8ArCVuyulST
13
13
  _bpy_internal/system_info/text_generate_runtime/__init__.pyi,sha256=KkCIdvrNtqXRvKaojEVaARNyX3CFnj8UCo7B_nKLC0A,86
14
14
  _bpy_internal/system_info/url_prefill_runtime/__init__.pyi,sha256=L1cEExq7nGmeqjqhRH6p5yUL4CN6iEQY0wAYLSw2nKw,109
15
15
  _bpy_internal/system_info/url_prefill_startup/__init__.pyi,sha256=cL1oQCJ1CvBoUdGEPgZVpxOOJPA7bZUJpzRl8zglcYk,107
16
- addon_utils/__init__.pyi,sha256=4s4XkTkO6J9mPdDFdsO4wSxSp3tUcvCBrWRNZGeFsjc,2986
16
+ addon_utils/__init__.pyi,sha256=BYOy-IUoTwuhAwj5NKc6DxCLUdXDoWte6Gwqa0JFVbc,3177
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
@@ -186,15 +186,15 @@ bmesh/__init__.pyi,sha256=6QP0wBMiFIY5MtM1Yuw4Qj2ZPtEZHFUdAf1ay4z-SQE,1500
186
186
  bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
187
187
  bmesh/geometry/__init__.pyi,sha256=fgGEevkhB2IEtja2X5rm6OQU5EoDfkPaqiKeNGfWZ6c,656
188
188
  bmesh/ops/__init__.pyi,sha256=7W-Tv_SgkgEMa90SsRfRzBzNG2Wt1EU622YpkDYJthc,74701
189
- bmesh/types/__init__.pyi,sha256=rm5SoXTeZCFOVBAWsN8bYzIKddWdxjt6Djx1g44SM3w,42601
190
- bmesh/utils/__init__.pyi,sha256=4Ru6ZMwJzSC2SOlFwkke03I8XiEg6Cxc4LNhiLHB-tw,5988
189
+ bmesh/types/__init__.pyi,sha256=1KUSIGZDOD-fC_iPMVljAL2QYyYHpsCzWbgnsJJyT8A,43472
190
+ bmesh/utils/__init__.pyi,sha256=dxZKrKK89WTo7uvlIZd2JUtAUJWqDXRtHMaLLojlY9A,6235
191
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
195
195
  bpy/app/icons/__init__.pyi,sha256=w18Xn9y0T54WlpHyhC3_y8a3Lq9kuo3U72Bu7wOY41A,928
196
196
  bpy/app/timers/__init__.pyi,sha256=vtrATRAmkTfP1CknievwpOCC19cPOMowyLTE6Ie9GSg,2126
197
- bpy/app/translations/__init__.pyi,sha256=l5NXziSYWbDnNSWXam-Oseo4D8qh8NPButB_xMgpSps,6848
197
+ bpy/app/translations/__init__.pyi,sha256=cTQKT-pPZcfDQfUVJKoat9W2wdnAwl2TdaeQkp83rQU,6932
198
198
  bpy/msgbus/__init__.pyi,sha256=e9cmp_Wq7FA5pDTQQJ2s0_I84bEJMu8J-5Lu5gNoClM,2954
199
199
  bpy/ops/__init__.pyi,sha256=JptIpKHRAy3jrKGANEBzrwmfNuZx8JLP9ofvWLCaLBU,5396
200
200
  bpy/ops/action/__init__.pyi,sha256=VaEROcYL3F9RerL3OGNvMeFCRh2Z97iwDs8D3hftDew,18502
@@ -273,27 +273,27 @@ bpy/ops/view3d/__init__.pyi,sha256=MGiNsaGKtQPLFiSQgEdKlULq2a0Rp6W3vGTub0Hb3p4,3
273
273
  bpy/ops/wm/__init__.pyi,sha256=hKfEGg5ZP1ydNAkhidsg-KN0yT_p28pgR_g2Vns_bq4,214261
274
274
  bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHCU,1983
275
275
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
276
- bpy/path/__init__.pyi,sha256=N-QNSw3piTmrzrydYRyWab7GFGOh3BsdaS91x4Kf-Cc,5403
277
- bpy/props/__init__.pyi,sha256=BqqbIZuZNtKAJ3-FpeQoR_yzNV-a4fEb09xdCPZBEuI,31446
278
- bpy/types/__init__.pyi,sha256=qy86trF4k6h7nZK6sVEpKEISgBqIANU5Aw06doNRaLs,5404481
276
+ bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
277
+ bpy/props/__init__.pyi,sha256=XCW9PAdsJ0eCqKV9IMd7KY-WJBXNuN902exwwL7nNtE,34382
278
+ bpy/types/__init__.pyi,sha256=-UohU-Ihrff0RM8XHYvZaC5FrtnHu6Skrqp08xaTlfY,5406480
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
- bpy/utils/__init__.pyi,sha256=wvjdEDEtBn5bR5pZG7HnW1ZdL_J-IQYvmB7e4AwTW0s,13537
280
+ bpy/utils/__init__.pyi,sha256=Shl-q0XiWluRIHc6l_YMuVwFrz3vOJ0hnlgjVp1OirY,13711
281
281
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
282
- bpy/utils/units/__init__.pyi,sha256=r9G6UXferw_5pDijn-FmpyhYSnEng3_y-5apdkPAKl0,2631
282
+ bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
283
283
  bpy_extras/__init__.pyi,sha256=wejK55NeAEGsAzM9psNhBokX9H0DBihwOdNQ5XlCHB4,968
284
284
  bpy_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
285
- bpy_extras/anim_utils/__init__.pyi,sha256=LGnLuRoBzyZOOgCS5bS4IX-gue67k7pEhemshXNzP8U,4061
285
+ bpy_extras/anim_utils/__init__.pyi,sha256=X7i1EWhLlGBe16Zc0KqKf7c2mVz81zhXcvmvkk6xMAM,4210
286
286
  bpy_extras/asset_utils/__init__.pyi,sha256=AaHtXcv1a-TrQUpu7Rm1A9gcwXRUZVaHOKjVV_hCcyM,194
287
287
  bpy_extras/bmesh_utils/__init__.pyi,sha256=oo5HU1Z0ILE04jc7p68-4vFP8k7sD3qhcLGSoCbxv9g,478
288
288
  bpy_extras/id_map_utils/__init__.pyi,sha256=oTM7UGvrLRIhWXjHhXcwE20PNjSyRVXlV9FLAn_QCk4,450
289
- bpy_extras/image_utils/__init__.pyi,sha256=c3O1nv_u-Kr3VtKV8SBDvutYzIjPORiZ3--K5UNRgFw,2087
290
- bpy_extras/io_utils/__init__.pyi,sha256=rGsN0KD8zOJVbOVq1VLmHYHwQ-Xm_ryEp5zfA-2wTSc,5289
289
+ bpy_extras/image_utils/__init__.pyi,sha256=BtYt5gwj6mIeZp1Jqv8au72yzTVD7xQKZLzmGF7ZhoY,2115
290
+ bpy_extras/io_utils/__init__.pyi,sha256=eX5Y0euP1hog_CdLaLTnVFVBMD33SjUUbX7OXhtMfU0,5435
291
291
  bpy_extras/keyconfig_utils/__init__.pyi,sha256=152lGc6wB3z4qLyEuthYUfB_vggCQKqnyonGni0lNNo,361
292
- bpy_extras/mesh_utils/__init__.pyi,sha256=3n3TAu2Ni0oTQ1gXjynu-k4U5SEEamM0BYMdIy5YI78,2692
292
+ bpy_extras/mesh_utils/__init__.pyi,sha256=JothF0a_THcexYm7anlWzxhWC-ppKkkhpbo6Xbqy5Uo,2976
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=UwOzMwuSRGHHH8ebF5nzMmbilyaO8iT5CPcUhVej1Bc,3308
296
- bpy_extras/view3d_utils/__init__.pyi,sha256=uagbvfAFaRLiR-mq8BFs2eUQVpDx3PdF4wCvL2aMICk,3670
295
+ bpy_extras/object_utils/__init__.pyi,sha256=91ZhMqIqgTNKauwktu_VHa9yGZinItd_8czJteeeH6c,3322
296
+ bpy_extras/view3d_utils/__init__.pyi,sha256=MvFcBtk44sI522EVh2f8Owthyan1qINl8ZL2L33cGhs,3770
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
299
299
  bpy_restrict_state/__init__.pyi,sha256=hz85c3uVSt_QKxJE6xtdNQmvOWzNM4P5GXwc7Xet5bg,239
@@ -306,51 +306,51 @@ console_shell/__init__.pyi,sha256=0JnVxvEsJuNJKxTcWGvWMeZg168-ckmqDoWE8TzuakU,22
306
306
  console_shell/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
307
307
  freestyle/__init__.pyi,sha256=bjebH-BOh6r_bsMIXX2toGAPc183HD23o_UR8VvqZA0,716
308
308
  freestyle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
309
- freestyle/chainingiterators/__init__.pyi,sha256=N7cwNzpTKVAv-ZdBTj0nqhICvHGVqBE8OdijmbT5HIo,10564
309
+ freestyle/chainingiterators/__init__.pyi,sha256=-sExETC4ZKfEvte3IoUoOj318RttlFo5otO6VATWnE0,10592
310
310
  freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTEOk4,48844
311
311
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
312
312
  freestyle/shaders/__init__.pyi,sha256=1Ov48B4P7LV3dwjBqHqqqbPFRBZWjENqIDaFb97Qdj0,23835
313
- freestyle/types/__init__.pyi,sha256=p6WoVuWvAdGxcKMvxz-IrMbZiBTML9cbjgwgj-QnyI8,100051
313
+ freestyle/types/__init__.pyi,sha256=BsZjLTN4AobRDBHcT_yh-VC7lo7mDvJPclsVl-fK5FM,100093
314
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
318
318
  gpu/capabilities/__init__.pyi,sha256=U7oWzRMBqfzk6vILPP0ydvD_i7OBr_D3LDIEwp8RxOE,3756
319
- gpu/matrix/__init__.pyi,sha256=k4xYJpqcuk1QL6TMql77yitRaIALd1oHYk5Oivgd1U4,2583
319
+ gpu/matrix/__init__.pyi,sha256=I0XNqDYN1ZAPnRy8MjcbWOkE-3BPULhphZDOLtxuHIQ,2748
320
320
  gpu/platform/__init__.pyi,sha256=i04uMPhMl5w4ZNlXvep8f_7-AaVZ4R_ppcxikHuzQYA,803
321
321
  gpu/select/__init__.pyi,sha256=piRQyAtE8YnDjLSqF8S_SSttxzZTickDlbHRONYYdV8,207
322
322
  gpu/shader/__init__.pyi,sha256=JsSm0Zagw7GAVxeaLK4cUAa1oyjSckfNwpweWfepUQg,2138
323
323
  gpu/state/__init__.pyi,sha256=AimAU8NQNaZqYSgKtg7aMS76dzxNuK7m1vTA2ZwMnCQ,4310
324
324
  gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
- gpu/types/__init__.pyi,sha256=3irdUxznJA1-vvflQGps24-pxPBxopb_eOtUkiiw25I,26846
325
+ gpu/types/__init__.pyi,sha256=YP9_rEYD3QKsEAm23qlbvFrZzypTn86XT8Qf65N9pbw,27923
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
329
- gpu_extras/presets/__init__.pyi,sha256=XARWkuQ0koiQPC3Cjh2l7D2f9n3IgHRf5Ymd9xKkjBg,1435
328
+ gpu_extras/batch/__init__.pyi,sha256=t-kFLEyZ0OABqt8VbtSwvo60S7vw15Tq5HRea-G3odE,1278
329
+ gpu_extras/presets/__init__.pyi,sha256=pDhGELr5vKTZ9yDsLJ4Y836Kmh7cs95rDhSwd1i5e-s,1647
330
330
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
331
331
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
332
332
  idprop/__init__.pyi,sha256=k99082XuBl1__FNGc7dZUujlxTi6jK3J93dNtKNdgkE,91
333
333
  idprop/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
334
334
  idprop/types/__init__.pyi,sha256=fFSnDjuFFwu2jhm6BK57AxRx_i8zAkuf_blV2J0mvRk,1767
335
- imbuf/__init__.pyi,sha256=nwnD-Tu8aABtY6tc77fqG639NSuGchsgzIDmGBusqAw,1117
335
+ imbuf/__init__.pyi,sha256=aQUm2sFUW4UfgDpJxwJ0SoAjo-0ciH_KI_n-xSWDJsc,1131
336
336
  imbuf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
337
337
  imbuf/types/__init__.pyi,sha256=DaqHsV8Ww9zWRa9DFegHohh6fCgf5lBd5diDm9mAUac,1375
338
338
  keyingsets_builtins/__init__.pyi,sha256=FmSnRj8eAiQ_O-X_-kAHM_a8rCv_HZBrjXLXDRssvYU,15769
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=8m5OQ78bZkC094zIKPDjfXSzQZN1Vavo9Q0Ql4QilgM,88340
342
+ mathutils/__init__.pyi,sha256=ISsSCElrC_d8RQyErtGB00lCpUWV0EdXP5DCpELTjn0,89139
343
343
  mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
344
- mathutils/bvhtree/__init__.pyi,sha256=tnSMnnlM4AUV5BXMVRB8daXeBCc2dt1yF2VhVgx-png,4482
345
- mathutils/geometry/__init__.pyi,sha256=YU4LyVtd5nl5KJeVsbOcWMNZhJlI9TQWIWJ5V-nrkz0,22182
346
- mathutils/interpolate/__init__.pyi,sha256=3MR9khGFn6OavD1uxB06mLE8WC2zQdWDDuCTQFt0xMg,393
347
- mathutils/kdtree/__init__.pyi,sha256=bE3wUvxhvzr3n5ENSAqYQyzPCuQtTsOwtzXtSqqX8go,1862
344
+ mathutils/bvhtree/__init__.pyi,sha256=UtzuOlaUjgPwVQZnDiZhPrzgrFmgpyVY7z9WqoZzNsI,4933
345
+ mathutils/geometry/__init__.pyi,sha256=hlZ8PzbCxTbzG_0PE6CAbeRKtDBIFTMgO5WRi4xo8sQ,23278
346
+ mathutils/interpolate/__init__.pyi,sha256=3MaN3gfetfW_J0ZGye7U9Ae-O5cT7Ok2nyRWjy6HuV4,535
347
+ mathutils/kdtree/__init__.pyi,sha256=R7efrHFwgdpF3LKlQzW25s-GxVCECQgTuXOwSGoKJTk,2247
348
348
  mathutils/noise/__init__.pyi,sha256=nDUTZpaghLXZwQG_8sVJnR-vdPeN7qk0p343sAsovgI,12725
349
349
  nodeitems_builtins/__init__.pyi,sha256=UEiW_FT6HF0dl6FrM3-n3OnTE1SiufVzyyLjCsGCqPc,475
350
350
  nodeitems_builtins/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
351
351
  nodeitems_utils/__init__.pyi,sha256=F82sRq2Foowt3d9IUxloVB_qg7pTQP5w8qYvMJhwvFs,747
352
352
  nodeitems_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
353
- rna_info/__init__.pyi,sha256=sSGo1cH7Z0vV6m5FqAxQkU95CIPvXfuYF24k-MoaQHo,3143
353
+ rna_info/__init__.pyi,sha256=kI_XC8-AfgtU2sMzU5fmctZSDvbfVTGQ4SEwdsLNvSs,3157
354
354
  rna_info/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
355
355
  rna_keymap_ui/__init__.pyi,sha256=_NxiagnZt0BpMFhk-f0ArWcANpUAJZ3h3KAs6U12Kjs,413
356
356
  rna_keymap_ui/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-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,,
361
+ fake_bpy_module-20241230.dist-info/METADATA,sha256=SbAQR5DFXkGkYl4t1yqijbV6KkhfckxqTPbZvpEI1T0,7289
362
+ fake_bpy_module-20241230.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241230.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241230.dist-info/RECORD,,
@@ -32,7 +32,7 @@ class ChainPredicateIterator:
32
32
  bpred: freestyle.types.BinaryPredicate1D,
33
33
  restrict_to_selection: bool = True,
34
34
  restrict_to_unvisited: bool = True,
35
- begin: freestyle.types.ViewEdge | None = None,
35
+ begin: None | freestyle.types.ViewEdge | None = None,
36
36
  orientation: bool = True,
37
37
  ):
38
38
  """Builds a ChainPredicateIterator from a unary predicate, a binary
@@ -50,7 +50,7 @@ class ChainPredicateIterator:
50
50
  already been chained must be ignored ot not.
51
51
  :type restrict_to_unvisited: bool
52
52
  :param begin: The ViewEdge from where to start the iteration.
53
- :type begin: freestyle.types.ViewEdge | None
53
+ :type begin: None | freestyle.types.ViewEdge | None
54
54
  :param orientation: If true, we'll look for the next ViewEdge among
55
55
  the ViewEdges that surround the ending ViewVertex of begin. If
56
56
  false, we'll search over the ViewEdges surrounding the ending
@@ -81,7 +81,7 @@ class ChainSilhouetteIterator:
81
81
  def __init__(
82
82
  self,
83
83
  restrict_to_selection: bool = True,
84
- begin: freestyle.types.ViewEdge | None = None,
84
+ begin: None | freestyle.types.ViewEdge | None = None,
85
85
  orientation: bool = True,
86
86
  ):
87
87
  """Builds a ChainSilhouetteIterator from the first ViewEdge used for
@@ -91,7 +91,7 @@ class ChainSilhouetteIterator:
91
91
  to stay within the set of selected ViewEdges or not.
92
92
  :type restrict_to_selection: bool
93
93
  :param begin: The ViewEdge from where to start the iteration.
94
- :type begin: freestyle.types.ViewEdge | None
94
+ :type begin: None | freestyle.types.ViewEdge | None
95
95
  :param orientation: If true, we'll look for the next ViewEdge among
96
96
  the ViewEdges that surround the ending ViewVertex of begin. If
97
97
  false, we'll search over the ViewEdges surrounding the ending
@@ -273,7 +273,7 @@ class ChainingIterator:
273
273
  self,
274
274
  restrict_to_selection: bool = True,
275
275
  restrict_to_unvisited: bool = True,
276
- begin: ViewEdge | None = None,
276
+ begin: None | ViewEdge | None = None,
277
277
  orientation: bool = True,
278
278
  ):
279
279
  """Builds a Chaining Iterator from the first ViewEdge used for
@@ -286,7 +286,7 @@ class ChainingIterator:
286
286
  already been chained must be ignored ot not.
287
287
  :type restrict_to_unvisited: bool
288
288
  :param begin: The ViewEdge from which to start the chain.
289
- :type begin: ViewEdge | None
289
+ :type begin: None | ViewEdge | None
290
290
  :param orientation: The direction to follow to explore the graph. If
291
291
  true, the direction indicated by the first ViewEdge is used.
292
292
  :type orientation: bool
@@ -307,7 +307,7 @@ class ChainingIterator:
307
307
 
308
308
  """
309
309
 
310
- def traverse(self, it: AdjacencyIterator) -> ViewEdge:
310
+ def traverse(self, it: AdjacencyIterator) -> None | ViewEdge:
311
311
  """This method iterates over the potential next ViewEdges and returns
312
312
  the one that will be followed next. Returns the next ViewEdge to
313
313
  follow or None when the end of the chain is reached.
@@ -317,7 +317,7 @@ class ChainingIterator:
317
317
  restriction rules by only iterating over the valid ViewEdges.
318
318
  :type it: AdjacencyIterator
319
319
  :return: Returns the next ViewEdge to follow, or None if chaining ends.
320
- :rtype: ViewEdge
320
+ :rtype: None | ViewEdge
321
321
  """
322
322
 
323
323
  class Curve:
@@ -2806,12 +2806,12 @@ of the "begin" ViewEdge.
2806
2806
  :type: bool
2807
2807
  """
2808
2808
 
2809
- def __init__(self, begin: ViewEdge | None = None, orientation: bool = True):
2809
+ def __init__(self, begin: None | ViewEdge | None = None, orientation: bool = True):
2810
2810
  """Builds a ViewEdgeIterator from a starting ViewEdge and its
2811
2811
  orientation or the copy constructor.
2812
2812
 
2813
2813
  :param begin: The ViewEdge from where to start the iteration.
2814
- :type begin: ViewEdge | None
2814
+ :type begin: None | ViewEdge | None
2815
2815
  :param orientation: If true, we'll look for the next ViewEdge among
2816
2816
  the ViewEdges that surround the ending ViewVertex of begin. If
2817
2817
  false, we'll search over the ViewEdges surrounding the ending
gpu/matrix/__init__.pyi CHANGED
@@ -83,10 +83,11 @@ def push_projection():
83
83
  def reset():
84
84
  """Empty stack and set to identity."""
85
85
 
86
- def scale(scale):
86
+ def scale(scale: collections.abc.Sequence[float]):
87
87
  """Scale the current stack matrix.
88
88
 
89
89
  :param scale: Scale the current stack matrix with 2 or 3 floats.
90
+ :type scale: collections.abc.Sequence[float]
90
91
  """
91
92
 
92
93
  def scale_uniform(scale: float):
@@ -96,8 +97,9 @@ def scale_uniform(scale: float):
96
97
  :type scale: float
97
98
  """
98
99
 
99
- def translate(offset):
100
+ def translate(offset: collections.abc.Sequence[float]):
100
101
  """Scale the current stack matrix.
101
102
 
102
103
  :param offset: Translate the current stack matrix with 2 or 3 floats.
104
+ :type offset: collections.abc.Sequence[float]
103
105
  """
gpu/types/__init__.pyi CHANGED
@@ -87,11 +87,17 @@ class GPUFrameBuffer:
87
87
  def bind(self):
88
88
  """Context manager to ensure balanced bind calls, even in the case of an error."""
89
89
 
90
- def clear(self, color=None, depth: float | None = None, stencil: int | None = None):
90
+ def clear(
91
+ self,
92
+ color: collections.abc.Sequence[float] | None = None,
93
+ depth: float | None = None,
94
+ stencil: int | None = None,
95
+ ):
91
96
  """Fill color, depth and stencil textures with specific value.
92
97
  Common values: color=(0.0, 0.0, 0.0, 1.0), depth=1.0, stencil=0.
93
98
 
94
99
  :param color: Sequence of 3 or 4 floats representing (r, g, b, a).
100
+ :type color: collections.abc.Sequence[float] | None
95
101
  :param depth: depth value.
96
102
  :type depth: float | None
97
103
  :param stencil: stencil value.
@@ -270,11 +276,11 @@ class GPUShader:
270
276
  :rtype: int
271
277
  """
272
278
 
273
- def attrs_info_get(self) -> tuple[tuple[str, str], int]:
279
+ def attrs_info_get(self) -> tuple[tuple[str, str | None], int]:
274
280
  """Information about the attributes used in the Shader.
275
281
 
276
282
  :return: tuples containing information about the attributes in order (name, type)
277
- :rtype: tuple[tuple[str, str], int]
283
+ :rtype: tuple[tuple[str, str | None], int]
278
284
  """
279
285
 
280
286
  def bind(self):
@@ -313,22 +319,22 @@ class GPUShader:
313
319
  :rtype: int
314
320
  """
315
321
 
316
- def uniform_bool(self, name: str, value: bool):
322
+ def uniform_bool(self, name: str, value: bool | collections.abc.Sequence[bool]):
317
323
  """Specify the value of a uniform variable for the current program object.
318
324
 
319
325
  :param name: Name of the uniform variable whose value is to be changed.
320
326
  :type name: str
321
327
  :param value: Value that will be used to update the specified uniform variable.
322
- :type value: bool
328
+ :type value: bool | collections.abc.Sequence[bool]
323
329
  """
324
330
 
325
- def uniform_float(self, name: str, value: float):
331
+ def uniform_float(self, name: str, value: collections.abc.Sequence[float] | float):
326
332
  """Specify the value of a uniform variable for the current program object.
327
333
 
328
334
  :param name: Name of the uniform variable whose value is to be changed.
329
335
  :type name: str
330
336
  :param value: Value that will be used to update the specified uniform variable.
331
- :type value: float
337
+ :type value: collections.abc.Sequence[float] | float
332
338
  """
333
339
 
334
340
  def uniform_from_name(self, name: str) -> int:
@@ -340,12 +346,13 @@ class GPUShader:
340
346
  :rtype: int
341
347
  """
342
348
 
343
- def uniform_int(self, name: str, seq):
349
+ def uniform_int(self, name: str, seq: collections.abc.Sequence[int]):
344
350
  """Specify the value of a uniform variable for the current program object.
345
351
 
346
352
  :param name: name of the uniform variable whose value is to be changed.
347
353
  :type name: str
348
354
  :param seq: Value that will be used to update the specified uniform variable.
355
+ :type seq: collections.abc.Sequence[int]
349
356
  """
350
357
 
351
358
  def uniform_sampler(self, name: str, texture: GPUTexture):
@@ -357,12 +364,19 @@ class GPUShader:
357
364
  :type texture: GPUTexture
358
365
  """
359
366
 
360
- def uniform_vector_float(self, location: int, buffer, length: int, count: int):
367
+ def uniform_vector_float(
368
+ self,
369
+ location: int,
370
+ buffer: collections.abc.Sequence[float],
371
+ length: int,
372
+ count: int,
373
+ ):
361
374
  """Set the buffer to fill the uniform.
362
375
 
363
376
  :param location: Location of the uniform variable to be modified.
364
377
  :type location: int
365
378
  :param buffer: The data that should be set. Can support the buffer protocol.
379
+ :type buffer: collections.abc.Sequence[float]
366
380
  :param length: Size of the uniform data type:
367
381
 
368
382
  1: float
@@ -974,13 +988,18 @@ class GPUTexture:
974
988
  :type: int
975
989
  """
976
990
 
977
- def clear(self, format: str = "FLOAT", value=(0.0, 0.0, 0.0, 1.0)):
991
+ def clear(
992
+ self,
993
+ format: str = "FLOAT",
994
+ value: collections.abc.Sequence[float] = (0.0, 0.0, 0.0, 1.0),
995
+ ):
978
996
  """Fill texture with specific value.
979
997
 
980
998
  :param format: The format that describes the content of a single item.
981
999
  Possible values are FLOAT, INT, UINT, UBYTE, UINT_24_8 and 10_11_11_REV.
982
1000
  :type format: str
983
1001
  :param value: Sequence each representing the value to fill. Sizes 1..4 are supported.
1002
+ :type value: collections.abc.Sequence[float]
984
1003
  """
985
1004
 
986
1005
  def read(self):
@@ -998,13 +1017,21 @@ class GPUUniformBuf:
998
1017
  class GPUVertBuf:
999
1018
  """Contains a VBO."""
1000
1019
 
1001
- def attr_fill(self, id: int | str, data: Buffer):
1020
+ def attr_fill(
1021
+ self,
1022
+ id: int | str,
1023
+ data: Buffer
1024
+ | collections.abc.Sequence[collections.abc.Sequence[float]]
1025
+ | collections.abc.Sequence[collections.abc.Sequence[int]]
1026
+ | collections.abc.Sequence[float]
1027
+ | collections.abc.Sequence[int],
1028
+ ):
1002
1029
  """Insert data into the buffer for a single attribute.
1003
1030
 
1004
1031
  :param id: Either the name or the id of the attribute.
1005
1032
  :type id: int | str
1006
1033
  :param data: Buffer or sequence of data that should be stored in the buffer
1007
- :type data: Buffer
1034
+ :type data: Buffer | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]] | collections.abc.Sequence[float] | collections.abc.Sequence[int]
1008
1035
  """
1009
1036
 
1010
1037
  class GPUVertFormat:
@@ -1,12 +1,20 @@
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[
11
+ str,
12
+ bgl.Buffer
13
+ | collections.abc.Sequence[float]
14
+ | collections.abc.Sequence[int]
15
+ | collections.abc.Sequence[collections.abc.Sequence[float]]
16
+ | collections.abc.Sequence[collections.abc.Sequence[int]],
17
+ ],
10
18
  *,
11
19
  indices=None,
12
20
  ) -> gpu.types.GPUBatch:
@@ -18,7 +26,7 @@ def batch_for_shader(
18
26
  :type type: str
19
27
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
20
28
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
21
- :type content: dict[str, gpu.types.Buffer]
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]]]
22
30
  :return: compatible batch
23
31
  :rtype: gpu.types.GPUBatch
24
32
  """
@@ -4,18 +4,26 @@ import typing_extensions
4
4
  import gpu.types
5
5
  import mathutils
6
6
 
7
- def draw_circle_2d(position, color, radius: float, *, segments: int | None = None):
7
+ def draw_circle_2d(
8
+ position: collections.abc.Sequence[float],
9
+ color: collections.abc.Sequence[float],
10
+ radius: float,
11
+ *,
12
+ segments: None | int | None = None,
13
+ ):
8
14
  """Draw a circle.
9
15
 
10
16
  :param position: 2D position where the circle will be drawn.
17
+ :type position: collections.abc.Sequence[float]
11
18
  :param color: Color of the circle (RGBA).
12
19
  To use transparency blend must be set to ALPHA, see: `gpu.state.blend_set`.
20
+ :type color: collections.abc.Sequence[float]
13
21
  :param radius: Radius of the circle.
14
22
  :type radius: float
15
23
  :param segments: How many segments will be used to draw the circle.
16
24
  Higher values give better results but the drawing will take longer.
17
25
  If None or not specified, an automatic value will be calculated.
18
- :type segments: int | None
26
+ :type segments: None | int | None
19
27
  """
20
28
 
21
29
  def draw_texture_2d(
imbuf/__init__.pyi CHANGED
@@ -36,11 +36,11 @@ def new(size: tuple[int, int]) -> imbuf.types.ImBuf:
36
36
  :rtype: imbuf.types.ImBuf
37
37
  """
38
38
 
39
- def write(image: imbuf.types.ImBuf, filepath: bytes | str = image.filepath):
39
+ def write(image: imbuf.types.ImBuf, filepath: None | bytes | str = image.filepath):
40
40
  """Write an image.
41
41
 
42
42
  :param image: the image to write.
43
43
  :type image: imbuf.types.ImBuf
44
44
  :param filepath: Optional filepath of the image (fallback to the images file path).
45
- :type filepath: bytes | str
45
+ :type filepath: None | bytes | str
46
46
  """