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

aud/__init__.pyi CHANGED
@@ -428,7 +428,7 @@ class Sound:
428
428
  """Sound objects are immutable and represent a sound that can be played simultaneously multiple times. They are called factories because they create reader objects internally that are used for playback."""
429
429
 
430
430
  length: typing.Any
431
- """ The sample specification of the sound as a tuple with rate and channel count."""
431
+ """ The length attribute returns the duration of the sound in seconds."""
432
432
 
433
433
  specs: typing.Any
434
434
  """ The sample specification of the sound as a tuple with rate and channel count."""
blf/__init__.pyi CHANGED
@@ -9,6 +9,14 @@ need to use the GPU module gpu as well.
9
9
 
10
10
  ```../examples/blf.py```
11
11
 
12
+
13
+ --------------------
14
+
15
+ Example showing how text can be draw into an image.
16
+ This can be done by binding an image buffer (imbuf) to the font's ID.
17
+
18
+ ```../examples/blf.1.py```
19
+
12
20
  """
13
21
 
14
22
  import typing
@@ -25,6 +33,16 @@ def aspect(fontid: int, aspect: float):
25
33
  :type aspect: float
26
34
  """
27
35
 
36
+ def bind_imbuf(fontid: int, image, display_name: None | str | None = None):
37
+ """Context manager to draw text into an image buffer instead of the GPU's context.
38
+
39
+ :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
40
+ :type fontid: int
41
+ :param display_name: The color management display name to use or None.
42
+ :type display_name: None | str | None
43
+ :return: The BLF ImBuf context manager.
44
+ """
45
+
28
46
  def clipping(fontid: int, xmin: float, ymin: float, xmax: float, ymax: float):
29
47
  """Set the clipping, enable/disable using CLIPPING.
30
48
 
@@ -84,6 +102,15 @@ def draw(fontid: int, text: str):
84
102
  :type text: str
85
103
  """
86
104
 
105
+ def draw_buffer(fontid: int, text: str):
106
+ """Draw text into the buffer bound to the fontid.
107
+
108
+ :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
109
+ :type fontid: int
110
+ :param text: the text to draw.
111
+ :type text: str
112
+ """
113
+
87
114
  def enable(fontid: int, option: int):
88
115
  """Enable option.
89
116
 
@@ -29,7 +29,8 @@ def fbx(
29
29
  | None = {"ARMATURE", "CAMERA", "EMPTY", "LIGHT", "MESH", "OTHER"},
30
30
  use_mesh_modifiers: bool | None = True,
31
31
  use_mesh_modifiers_render: bool | None = True,
32
- mesh_smooth_type: typing.Literal["OFF", "FACE", "EDGE"] | None = "OFF",
32
+ mesh_smooth_type: typing.Literal["OFF", "FACE", "EDGE", "SMOOTH_GROUP"]
33
+ | None = "OFF",
33
34
  colors_type: typing.Literal["NONE", "SRGB", "LINEAR"] | None = "SRGB",
34
35
  prioritize_active_color: bool | None = False,
35
36
  use_subsurf: bool | None = False,
@@ -135,7 +136,10 @@ def fbx(
135
136
 
136
137
  EDGE
137
138
  Edge -- Write edge smoothing.
138
- :type mesh_smooth_type: typing.Literal['OFF','FACE','EDGE'] | None
139
+
140
+ SMOOTH_GROUP
141
+ Smoothing Groups -- Write face smoothing groups.
142
+ :type mesh_smooth_type: typing.Literal['OFF','FACE','EDGE','SMOOTH_GROUP'] | None
139
143
  :param colors_type: Vertex Colors, Export vertex color attributes
140
144
 
141
145
  NONE
@@ -1637,6 +1637,13 @@ def stroke_smooth(
1637
1637
  :type smooth_opacity: bool | None
1638
1638
  """
1639
1639
 
1640
+ def stroke_split(execution_context: int | str | None = None, undo: bool | None = None):
1641
+ """Split selected points to a new stroke
1642
+
1643
+ :type execution_context: int | str | None
1644
+ :type undo: bool | None
1645
+ """
1646
+
1640
1647
  def stroke_subdivide(
1641
1648
  execution_context: int | str | None = None,
1642
1649
  undo: bool | None = None,
bpy/types/__init__.pyi CHANGED
@@ -70867,6 +70867,8 @@ from a search field, this can be done using bpy.types.Operator.invoke_search_pop
70867
70867
  * FileSelectParams.filter_search
70868
70868
  * FileSelectParams.display_size
70869
70869
  * FileSelectParams.display_size_discrete
70870
+ * FileSelectParams.list_display_size
70871
+ * FileSelectParams.list_column_size
70870
70872
 
70871
70873
  :columns: 2
70872
70874
 
@@ -141731,6 +141733,18 @@ class FileSelectParams(bpy_struct):
141731
141733
  :type: str
141732
141734
  """
141733
141735
 
141736
+ list_column_size: int
141737
+ """ The width of columns in horizontal list views
141738
+
141739
+ :type: int
141740
+ """
141741
+
141742
+ list_display_size: int
141743
+ """ Change the size of thumbnails in list views
141744
+
141745
+ :type: int
141746
+ """
141747
+
141734
141748
  recursion_level: typing.Literal["NONE", "BLEND", "ALL_1", "ALL_2", "ALL_3"]
141735
141749
  """ Numbers of dirtree levels to show simultaneously
141736
141750
 
@@ -158351,10 +158365,10 @@ class GeometryNodeStoreNamedAttribute(GeometryNode, NodeInternal, Node, bpy_stru
158351
158365
  class GeometryNodeStoreNamedGrid(GeometryNode, NodeInternal, Node, bpy_struct):
158352
158366
  """Store grid data in a volume geometry with the specified name"""
158353
158367
 
158354
- data_type: bpy._typing.rna_enums.AttributeTypeItems
158368
+ data_type: bpy._typing.rna_enums.VolumeGridDataTypeItems
158355
158369
  """ Type of grid data
158356
158370
 
158357
- :type: bpy._typing.rna_enums.AttributeTypeItems
158371
+ :type: bpy._typing.rna_enums.VolumeGridDataTypeItems
158358
158372
  """
158359
158373
 
158360
158374
  @classmethod
@@ -159669,6 +159683,12 @@ class GeometryNodeViewer(GeometryNode, NodeInternal, Node, bpy_struct):
159669
159683
  :type: bpy._typing.rna_enums.AttributeDomainWithAutoItems
159670
159684
  """
159671
159685
 
159686
+ ui_shortcut: int
159687
+ """
159688
+
159689
+ :type: int
159690
+ """
159691
+
159672
159692
  @classmethod
159673
159693
  def is_registered_node_type(cls) -> bool:
159674
159694
  """True if a registered node type
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250314
3
+ Version: 20250316
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
@@ -17,7 +17,7 @@ addon_utils/__init__.pyi,sha256=f7nhdBInhF2_MG8xJPVRS6SlGEEDCKko105mojVclDw,3439
17
17
  addon_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  animsys_refactor/__init__.pyi,sha256=IKeVVNRVdnhaJRRr1ji08VvnNmGJtl4mU7hCazq-ccA,670
19
19
  animsys_refactor/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
- aud/__init__.pyi,sha256=3Y7LurfGITm_gahYuV8q2HC05dfcb4pSbNPrRY7w2fw,33586
20
+ aud/__init__.pyi,sha256=u_BPDhZek4wpXgNMjh1w9M7dTc47IGmfR1me5uAdcEg,33575
21
21
  aud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  bgl/__init__.pyi,sha256=TctGyhZyWTsWVp5lG9XjXUEFRj8ejnIucL06KjCe9AY,99561
23
23
  bgl/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -181,7 +181,7 @@ bl_ui_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
181
181
  bl_ui_utils/layout/__init__.pyi,sha256=BBW6hJ_J1_hBrSDcrww6oYTdEul1J9R-gzdNI9t8wF4,207
182
182
  blend_render_info/__init__.pyi,sha256=LzefxbLWZq-zkqKQc0YkjzXU8jppuStiPS7yJbA9nrQ,266
183
183
  blend_render_info/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
184
- blf/__init__.pyi,sha256=g83isFOZ_iKKlA5fmUP8AGhvMeup4NaOpA7klqN6U2A,5750
184
+ blf/__init__.pyi,sha256=ii_abRKx8XqkApELPV6_3gwZVp0pUZs6cBr3qtzkSqs,6648
185
185
  blf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
186
186
  bmesh/__init__.pyi,sha256=YOez3jb0tQcWQUH2qiy3C2eUtjlNpQdS_HnZUxduUqQ,1527
187
187
  bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -220,7 +220,7 @@ bpy/ops/cycles/__init__.pyi,sha256=wpr-6dy_yQc7R4mF-e3sPK67nR2X6hMnbLevI6xHozk,1
220
220
  bpy/ops/dpaint/__init__.pyi,sha256=9c4iWq0b5rd_bwy132hZ0puT1b6MYsQFD9Gsuy9IFR8,1582
221
221
  bpy/ops/ed/__init__.pyi,sha256=ToAbK51M0V5uEjpG4ENeXLfzqqzt0RBPpqD7-cP_ddI,7129
222
222
  bpy/ops/export_anim/__init__.pyi,sha256=vMJtrDBdESAFGNAyzK3vKVdjfhzjbaS5I3qqGFZatS4,2054
223
- bpy/ops/export_scene/__init__.pyi,sha256=iK1RPwtd1Evq4XgOf7ok1COjFtSMI295kRNtXKT9f-k,40346
223
+ bpy/ops/export_scene/__init__.pyi,sha256=WQxTBro7MQ0JY4rMtRCHocmBfBMc2iEG7aF5zBXdPgE,40452
224
224
  bpy/ops/extensions/__init__.pyi,sha256=4GEwMrDb2GWypyU9-pxv3A1OxyJ73Zgr005VifV4R24,12327
225
225
  bpy/ops/file/__init__.pyi,sha256=RcQ7PXPKaFvA5XNsUbGrovqFjvjlvJ3LsEdp8k9MkCM,19287
226
226
  bpy/ops/fluid/__init__.pyi,sha256=lJDfm8cfRkm9S42vutMzeAeZBezIPIheRrMVaYpr4cY,3218
@@ -229,7 +229,7 @@ bpy/ops/geometry/__init__.pyi,sha256=fAv7_BGMFQa5vixcm6tyKguDi_sbfnPSLK8Wi-Sht8s
229
229
  bpy/ops/gizmogroup/__init__.pyi,sha256=FJqZ3Cfe4EuuTxNCDZwbZtPxRuppxibrEFZVJiWsFqU,1289
230
230
  bpy/ops/gpencil/__init__.pyi,sha256=vNZ7b6FETSovKJVYC9yN8wIBOh9F4d9DSurNeBdUduk,4859
231
231
  bpy/ops/graph/__init__.pyi,sha256=N6A_44dYq5ShZyWZeT12T-kFibqYaMNHvkuBhO5XdTY,41730
232
- bpy/ops/grease_pencil/__init__.pyi,sha256=dZ4_KZ-eR-isDy5TYXWQomfnzkATAYgVNbubU_vTlmE,62709
232
+ bpy/ops/grease_pencil/__init__.pyi,sha256=i2YanaDA0kzc5vCXupQ7V1bW0MMKpfoL4fXVE2xv6IQ,62926
233
233
  bpy/ops/image/__init__.pyi,sha256=mBK-uC_UY3pesucvwHPdNNTf092_QxGPCYb38Pj-C24,52493
234
234
  bpy/ops/import_anim/__init__.pyi,sha256=ZyT-zjTRWvhOapP9D8G_eHO09JJNlT-ofF1SCC0rrOk,3073
235
235
  bpy/ops/import_curve/__init__.pyi,sha256=_4ievJ9zQxVxcyTkZ1exj42uAPD_WZUN5iM-ZfRsptw,741
@@ -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=7-_wXRbyGJSoalxgAiuGAPvcM988qoM5DdQ2A8p1kpk,5507
281
281
  bpy/props/__init__.pyi,sha256=QR_11bCyEyK-Q85yZhNDW6BsqHVq73C9IL_qShksqQU,35264
282
- bpy/types/__init__.pyi,sha256=oaxCcAIPdUgJzH0-dk-UFixnZgAgO4GQFVRynLnLl-c,5485332
282
+ bpy/types/__init__.pyi,sha256=e7MRwNQy9-qOyCboY-CEsEpXSx_jVEFbfJS8Qnm1UWg,5485679
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
@@ -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-20250314.dist-info/METADATA,sha256=w2QB6h3eSVzGEjmT5uJidufIDd_2LLUVo6SAc6CH27Y,7429
365
- fake_bpy_module-20250314.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
366
- fake_bpy_module-20250314.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
- fake_bpy_module-20250314.dist-info/RECORD,,
364
+ fake_bpy_module-20250316.dist-info/METADATA,sha256=g0QaD8oD_89kxaUyJRf-RzA_mYn7uBuNHY1rCAPHbSg,7429
365
+ fake_bpy_module-20250316.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
366
+ fake_bpy_module-20250316.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
+ fake_bpy_module-20250316.dist-info/RECORD,,
@@ -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
  """