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

@@ -322,6 +322,84 @@ class NODE_OT_tree_path_parent(bpy.types.Operator):
322
322
  :param context:
323
323
  """
324
324
 
325
+ class NODE_OT_viewer_shortcut_get(bpy.types.Operator):
326
+ """Activate a specific compositor viewer node using 1,2,..,9 keys"""
327
+
328
+ bl_idname: typing.Any
329
+ bl_label: typing.Any
330
+ bl_options: typing.Any
331
+ bl_rna: typing.Any
332
+ id_data: typing.Any
333
+
334
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
335
+ """
336
+
337
+ :return: The RNA type or default when not found.
338
+ :rtype: bpy.types.Struct
339
+ """
340
+
341
+ def bl_rna_get_subclass_py(self) -> typing.Any:
342
+ """
343
+
344
+ :return: The class or default when not found.
345
+ :rtype: typing.Any
346
+ """
347
+
348
+ def execute(self, context):
349
+ """
350
+
351
+ :param context:
352
+ """
353
+
354
+ @classmethod
355
+ def poll(cls, context):
356
+ """
357
+
358
+ :param context:
359
+ """
360
+
361
+ class NODE_OT_viewer_shortcut_set(bpy.types.Operator):
362
+ """Create a compositor viewer shortcut for the selected node by pressing ctrl+1,2,..9"""
363
+
364
+ bl_idname: typing.Any
365
+ bl_label: typing.Any
366
+ bl_options: typing.Any
367
+ bl_rna: typing.Any
368
+ id_data: typing.Any
369
+
370
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
371
+ """
372
+
373
+ :return: The RNA type or default when not found.
374
+ :rtype: bpy.types.Struct
375
+ """
376
+
377
+ def bl_rna_get_subclass_py(self) -> typing.Any:
378
+ """
379
+
380
+ :return: The class or default when not found.
381
+ :rtype: typing.Any
382
+ """
383
+
384
+ def execute(self, context):
385
+ """
386
+
387
+ :param context:
388
+ """
389
+
390
+ def get_connected_viewer(self, node):
391
+ """
392
+
393
+ :param node:
394
+ """
395
+
396
+ @classmethod
397
+ def poll(cls, context):
398
+ """
399
+
400
+ :param context:
401
+ """
402
+
325
403
  class NodeAddOperator:
326
404
  def create_node(self, context, node_type):
327
405
  """
@@ -2023,9 +2023,9 @@ type NodeClampItems = typing.Literal[
2023
2023
  "RANGE", # Range.Constrain value between min and max, swapping arguments when min > max.
2024
2024
  ]
2025
2025
  type NodeCombsepColorItems = typing.Literal[
2026
- "RGB", # RGB.Use RGB color processing.
2027
- "HSV", # HSV.Use HSV color processing.
2028
- "HSL", # HSL.Use HSL color processing.
2026
+ "RGB", # RGB.Use RGB (Red, Green, Blue) color processing.
2027
+ "HSV", # HSV.Use HSV (Hue, Saturation, Value) color processing.
2028
+ "HSL", # HSL.Use HSL (Hue, Saturation, Lightness) color processing.
2029
2029
  ]
2030
2030
  type NodeCompareOperationItems = typing.Literal[
2031
2031
  "LESS_THAN", # Less Than.True when the first input is smaller than second input.
bpy/ops/node/__init__.pyi CHANGED
@@ -1701,3 +1701,33 @@ def viewer_border(
1701
1701
  :param wait_for_input: Wait for Input
1702
1702
  :type wait_for_input: bool | None
1703
1703
  """
1704
+
1705
+ def viewer_shortcut_get(
1706
+ execution_context: int | str | None = None,
1707
+ undo: bool | None = None,
1708
+ /,
1709
+ *,
1710
+ viewer_index: int | None = 0,
1711
+ ):
1712
+ """Activate a specific compositor viewer node using 1,2,..,9 keys
1713
+
1714
+ :type execution_context: int | str | None
1715
+ :type undo: bool | None
1716
+ :param viewer_index: Viewer Index, Index corresponding to the shortcut, e.g. number key 1 corresponds to index 1 etc..
1717
+ :type viewer_index: int | None
1718
+ """
1719
+
1720
+ def viewer_shortcut_set(
1721
+ execution_context: int | str | None = None,
1722
+ undo: bool | None = None,
1723
+ /,
1724
+ *,
1725
+ viewer_index: int | None = 0,
1726
+ ):
1727
+ """Create a compositor viewer shortcut for the selected node by pressing ctrl+1,2,..9
1728
+
1729
+ :type execution_context: int | str | None
1730
+ :type undo: bool | None
1731
+ :param viewer_index: Viewer Index, Index corresponding to the shortcut, e.g. number key 1 corresponds to index 1 etc..
1732
+ :type viewer_index: int | None
1733
+ """
bpy/ops/wm/__init__.pyi CHANGED
@@ -5157,7 +5157,7 @@ def usd_export(
5157
5157
  :type custom_properties_namespace: str
5158
5158
  :param author_blender_name: Blender Names, Author USD custom attributes containing the original Blender object and object data names
5159
5159
  :type author_blender_name: bool | None
5160
- :param convert_world_material: Convert World Material, Convert the world material to a USD dome light. Currently works for simple materials, consisting of an environment texture connected to a background shader, with an optional vector multiply of the texture color
5160
+ :param convert_world_material: World Dome Light, Convert the world material to a USD dome light. Currently works for simple materials, consisting of an environment texture connected to a background shader, with an optional vector multiply of the texture color
5161
5161
  :type convert_world_material: bool | None
5162
5162
  :param allow_unicode: Allow Unicode, Preserve UTF-8 encoded characters when writing USD prim and property names (requires software utilizing USD 24.03 or greater when opening the resulting files)
5163
5163
  :type allow_unicode: bool | None
@@ -5481,7 +5481,7 @@ def usd_import(
5481
5481
  :type attr_import_mode: typing.Literal['NONE','USER','ALL'] | None
5482
5482
  :param validate_meshes: Validate Meshes, Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing)
5483
5483
  :type validate_meshes: bool | None
5484
- :param create_world_material: Create World Material, Convert the first discovered USD dome light to a world background shader
5484
+ :param create_world_material: World Dome Light, Convert the first discovered USD dome light to a world background shader
5485
5485
  :type create_world_material: bool | None
5486
5486
  :param import_defined_only: Defined Primitives Only, Import only defined USD primitives. When disabled this allows importing USD primitives which are not defined, such as those with an override specifier
5487
5487
  :type import_defined_only: bool | None
bpy/types/__init__.pyi CHANGED
@@ -131842,6 +131842,12 @@ class CompositorNodeVecBlur(CompositorNode, NodeInternal, Node, bpy_struct):
131842
131842
  class CompositorNodeViewer(CompositorNode, NodeInternal, Node, bpy_struct):
131843
131843
  """Visualize data from inside a node graph, in the image editor or as a backdrop"""
131844
131844
 
131845
+ ui_shortcut: int
131846
+ """
131847
+
131848
+ :type: int
131849
+ """
131850
+
131845
131851
  use_alpha: bool
131846
131852
  """ Colors are treated alpha premultiplied, or colors output straight (alpha gets set to 1)
131847
131853
 
@@ -197743,7 +197749,7 @@ class Scene(ID, bpy_struct):
197743
197749
  """
197744
197750
 
197745
197751
  def frame_set(self, frame: int | None, *, subframe: float | None = 0.0):
197746
- """Set scene frame updating all objects immediately
197752
+ """Set scene frame updating all objects and view layers immediately
197747
197753
 
197748
197754
  :param frame: Frame number to set
197749
197755
  :type frame: int | None
@@ -234018,6 +234024,10 @@ NODE_OT_interface_item_remove: bl_operators.node.NODE_OT_interface_item_remove
234018
234024
 
234019
234025
  NODE_OT_tree_path_parent: bl_operators.node.NODE_OT_tree_path_parent
234020
234026
 
234027
+ NODE_OT_viewer_shortcut_get: bl_operators.node.NODE_OT_viewer_shortcut_get
234028
+
234029
+ NODE_OT_viewer_shortcut_set: bl_operators.node.NODE_OT_viewer_shortcut_set
234030
+
234021
234031
  NODE_PT_active_node_color: bl_ui.space_node.NODE_PT_active_node_color
234022
234032
 
234023
234033
  NODE_PT_active_node_generic: bl_ui.space_node.NODE_PT_active_node_generic
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250129
3
+ Version: 20250130
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
@@ -69,7 +69,7 @@ bl_operators/geometry_nodes/__init__.pyi,sha256=h0mxRrKeb6_NoRZJUENU2aj_WiN3SHUN
69
69
  bl_operators/image/__init__.pyi,sha256=YNHvnRdvl9z5DBqDRR23PpFgA94TshQfexGmyYbyzK0,3436
70
70
  bl_operators/image_as_planes/__init__.pyi,sha256=msyQ3WObip0mOUVflYsSpneXxgBNKZs_QIPIQDJjuFg,4556
71
71
  bl_operators/mesh/__init__.pyi,sha256=jdyChlzXgKrhiw9ROSf8o7YFi3L40p4dBGfTn-vAshU,2412
72
- bl_operators/node/__init__.pyi,sha256=_g1JyUl1mmxqhuo78PALVmQKkcwQLTcg3pvQFohVht4,8683
72
+ bl_operators/node/__init__.pyi,sha256=8J5P2UkShdfiK18ZJaZTzXNiCbTE8PLDgJPBUDjK8AA,10316
73
73
  bl_operators/node_editor/__init__.pyi,sha256=YI0O4rr9UH6VJ4rkOUE55YwqteSKLutqZ5SZQvKD7pA,109
74
74
  bl_operators/node_editor/node_functions/__init__.pyi,sha256=8EfnI7vkBtnn2CxIdhEHBEHCzUjI5F6r3wgMoWPo2Dc,527
75
75
  bl_operators/object/__init__.pyi,sha256=2MCam5rUDHiwmbRk-vRt6O5xUvdl2kmJYITxR1-IQ4U,11516
@@ -191,7 +191,7 @@ bmesh/utils/__init__.pyi,sha256=XNhFTqYQPL7ZUvljUTQkN0X_3YCS_RyrOgEzqrQZiDg,6235
191
191
  bpy/__init__.pyi,sha256=KeQc-X1TjhtunVxLDy0IK0cMmurLmAQm4fX_D__UPJo,464
192
192
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
193
193
  bpy/_typing/__init__.pyi,sha256=7bioadpQS-8UKR8TdY1m4MqUFqKVy8h13sPIt28ZUqs,99
194
- bpy/_typing/rna_enums/__init__.pyi,sha256=ZIA_61vtwZhJ_ariTHynnh0quJOwueOG16GPLtC6Yn8,138619
194
+ bpy/_typing/rna_enums/__init__.pyi,sha256=WeU_5jwP5G5xPFkCyKfV2zsXtH5WsasE7I3qlrj48WU,138692
195
195
  bpy/app/__init__.pyi,sha256=s6DxbRrXGzFTpAIeczXT4DiCPzeYAKldZFZk4uVR5Yg,8740
196
196
  bpy/app/handlers/__init__.pyi,sha256=Gxao8v-gF10WpVRUdswsB4QndzHjO1UtymwrorJef-4,6911
197
197
  bpy/app/icons/__init__.pyi,sha256=w18Xn9y0T54WlpHyhC3_y8a3Lq9kuo3U72Bu7wOY41A,928
@@ -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=f-sZY8A2OnvpTVF-fQd_Dk7qZFz9osDrjv-vf4aft6Q,52024
244
+ bpy/ops/node/__init__.pyi,sha256=QOa13EAEyS_cTuOu4SzX841cdd142EhKhyPtCywjGlg,52976
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
@@ -272,12 +272,12 @@ bpy/ops/uilist/__init__.pyi,sha256=1Vu7qHRYL-MOM5kdcHJLmJwucvveh10t1wbmL_98GEM,1
272
272
  bpy/ops/uv/__init__.pyi,sha256=_PFdsIxNsw5RLzCHmpqA7MnHriWUf0mau2pvYSyj7DQ,45436
273
273
  bpy/ops/view2d/__init__.pyi,sha256=bw6xoLUDUWQGk36g4T8THDWpNSH_VX8Pyg_mlGB9Dik,6986
274
274
  bpy/ops/view3d/__init__.pyi,sha256=MGiNsaGKtQPLFiSQgEdKlULq2a0Rp6W3vGTub0Hb3p4,30689
275
- bpy/ops/wm/__init__.pyi,sha256=vNXQGtWFHxjk_ft3OeWStjne67NsOtRXjBtFWbP-jOA,215937
275
+ bpy/ops/wm/__init__.pyi,sha256=j7hlRICQ5pqYjsgTQPkJozhTMs4EMBzG6XbGjuLrzDk,215926
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
279
  bpy/props/__init__.pyi,sha256=ZldUQ1MIMYkmYB0PpIP7HwwzMGpVB4rM3KeZOqV54sU,35236
280
- bpy/types/__init__.pyi,sha256=m9bV5h1b9vtvMEImXN8dF7NXTIdRNPuGPeCX9pgNmGE,5422563
280
+ bpy/types/__init__.pyi,sha256=MG9wNzTgv-tEMJ8A6Cf4NTkyFN47FQ_FGUZHZgOPK0c,5422786
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=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
315
+ freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,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=nbeZNWRKChMLBkKYc4mLF9abAffVyzEHp01yf64gZK8,1279
329
+ gpu_extras/batch/__init__.pyi,sha256=t-kFLEyZ0OABqt8VbtSwvo60S7vw15Tq5HRea-G3odE,1278
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-20250129.dist-info/METADATA,sha256=f1gQy4CoefXrGgPg2Q918Hqkj5ndoeCrcjFAnvrWNBY,7289
363
- fake_bpy_module-20250129.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
- fake_bpy_module-20250129.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
- fake_bpy_module-20250129.dist-info/RECORD,,
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,,
@@ -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,6 +1,7 @@
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(
@@ -8,7 +9,7 @@ def batch_for_shader(
8
9
  type: str,
9
10
  content: dict[
10
11
  str,
11
- gpu.types.Buffer
12
+ bgl.Buffer
12
13
  | collections.abc.Sequence[float]
13
14
  | collections.abc.Sequence[int]
14
15
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -25,7 +26,7 @@ def batch_for_shader(
25
26
  :type type: str
26
27
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
27
28
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
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]]]
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]]]
29
30
  :return: compatible batch
30
31
  :rtype: gpu.types.GPUBatch
31
32
  """