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

bpy/ops/node/__init__.pyi CHANGED
@@ -24,19 +24,19 @@ def add_closure_zone(
24
24
  undo: bool | None = None,
25
25
  /,
26
26
  *,
27
- use_transform: bool | None = False,
28
27
  settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
29
28
  | None = None,
29
+ use_transform: bool | None = False,
30
30
  offset: collections.abc.Iterable[float] | None = (150.0, 0.0),
31
31
  ) -> None:
32
32
  """Add a Closure zone
33
33
 
34
34
  :type execution_context: int | str | None
35
35
  :type undo: bool | None
36
- :param use_transform: Use Transform, Start transform operator after inserting the node
37
- :type use_transform: bool | None
38
36
  :param settings: Settings, Settings to be applied on the newly created node
39
37
  :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
38
+ :param use_transform: Use Transform, Start transform operator after inserting the node
39
+ :type use_transform: bool | None
40
40
  :param offset: Offset, Offset of nodes from the cursor when added
41
41
  :type offset: collections.abc.Iterable[float] | None
42
42
  """
@@ -85,18 +85,18 @@ def add_empty_group(
85
85
  undo: bool | None = None,
86
86
  /,
87
87
  *,
88
- use_transform: bool | None = False,
89
88
  settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
90
89
  | None = None,
90
+ use_transform: bool | None = False,
91
91
  ) -> None:
92
92
  """Add a group node with an empty group
93
93
 
94
94
  :type execution_context: int | str | None
95
95
  :type undo: bool | None
96
- :param use_transform: Use Transform, Start transform operator after inserting the node
97
- :type use_transform: bool | None
98
96
  :param settings: Settings, Settings to be applied on the newly created node
99
97
  :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
98
+ :param use_transform: Use Transform, Start transform operator after inserting the node
99
+ :type use_transform: bool | None
100
100
  """
101
101
 
102
102
  def add_foreach_geometry_element_zone(
@@ -104,19 +104,19 @@ def add_foreach_geometry_element_zone(
104
104
  undo: bool | None = None,
105
105
  /,
106
106
  *,
107
- use_transform: bool | None = False,
108
107
  settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
109
108
  | None = None,
109
+ use_transform: bool | None = False,
110
110
  offset: collections.abc.Iterable[float] | None = (150.0, 0.0),
111
111
  ) -> None:
112
112
  """Add a For Each Geometry Element zone that allows executing nodes e.g. for each vertex separately
113
113
 
114
114
  :type execution_context: int | str | None
115
115
  :type undo: bool | None
116
- :param use_transform: Use Transform, Start transform operator after inserting the node
117
- :type use_transform: bool | None
118
116
  :param settings: Settings, Settings to be applied on the newly created node
119
117
  :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
118
+ :param use_transform: Use Transform, Start transform operator after inserting the node
119
+ :type use_transform: bool | None
120
120
  :param offset: Offset, Offset of nodes from the cursor when added
121
121
  :type offset: collections.abc.Iterable[float] | None
122
122
  """
@@ -383,9 +383,9 @@ def add_node(
383
383
  undo: bool | None = None,
384
384
  /,
385
385
  *,
386
- use_transform: bool | None = False,
387
386
  settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
388
387
  | None = None,
388
+ use_transform: bool | None = False,
389
389
  type: str = "",
390
390
  visible_output: str = "",
391
391
  ) -> None:
@@ -393,10 +393,10 @@ def add_node(
393
393
 
394
394
  :type execution_context: int | str | None
395
395
  :type undo: bool | None
396
- :param use_transform: Use Transform, Start transform operator after inserting the node
397
- :type use_transform: bool | None
398
396
  :param settings: Settings, Settings to be applied on the newly created node
399
397
  :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
398
+ :param use_transform: Use Transform, Start transform operator after inserting the node
399
+ :type use_transform: bool | None
400
400
  :param type: Node Type, Node type
401
401
  :type type: str
402
402
  :param visible_output: Output Name, If provided, all outputs that are named differently will be hidden
@@ -426,19 +426,19 @@ def add_repeat_zone(
426
426
  undo: bool | None = None,
427
427
  /,
428
428
  *,
429
- use_transform: bool | None = False,
430
429
  settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
431
430
  | None = None,
431
+ use_transform: bool | None = False,
432
432
  offset: collections.abc.Iterable[float] | None = (150.0, 0.0),
433
433
  ) -> None:
434
434
  """Add a repeat zone that allows executing nodes a dynamic number of times
435
435
 
436
436
  :type execution_context: int | str | None
437
437
  :type undo: bool | None
438
- :param use_transform: Use Transform, Start transform operator after inserting the node
439
- :type use_transform: bool | None
440
438
  :param settings: Settings, Settings to be applied on the newly created node
441
439
  :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
440
+ :param use_transform: Use Transform, Start transform operator after inserting the node
441
+ :type use_transform: bool | None
442
442
  :param offset: Offset, Offset of nodes from the cursor when added
443
443
  :type offset: collections.abc.Iterable[float] | None
444
444
  """
@@ -466,21 +466,52 @@ def add_simulation_zone(
466
466
  undo: bool | None = None,
467
467
  /,
468
468
  *,
469
- use_transform: bool | None = False,
470
469
  settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
471
470
  | None = None,
471
+ use_transform: bool | None = False,
472
472
  offset: collections.abc.Iterable[float] | None = (150.0, 0.0),
473
473
  ) -> None:
474
474
  """Add simulation zone input and output nodes to the active tree
475
475
 
476
476
  :type execution_context: int | str | None
477
477
  :type undo: bool | None
478
+ :param settings: Settings, Settings to be applied on the newly created node
479
+ :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
478
480
  :param use_transform: Use Transform, Start transform operator after inserting the node
479
481
  :type use_transform: bool | None
482
+ :param offset: Offset, Offset of nodes from the cursor when added
483
+ :type offset: collections.abc.Iterable[float] | None
484
+ """
485
+
486
+ def add_zone(
487
+ execution_context: int | str | None = None,
488
+ undo: bool | None = None,
489
+ /,
490
+ *,
491
+ settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
492
+ | None = None,
493
+ use_transform: bool | None = False,
494
+ offset: collections.abc.Iterable[float] | None = (150.0, 0.0),
495
+ input_node_type: str = "",
496
+ output_node_type: str = "",
497
+ add_default_geometry_link: bool | None = False,
498
+ ) -> None:
499
+ """Undocumented, consider contributing.
500
+
501
+ :type execution_context: int | str | None
502
+ :type undo: bool | None
480
503
  :param settings: Settings, Settings to be applied on the newly created node
481
504
  :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
505
+ :param use_transform: Use Transform, Start transform operator after inserting the node
506
+ :type use_transform: bool | None
482
507
  :param offset: Offset, Offset of nodes from the cursor when added
483
508
  :type offset: collections.abc.Iterable[float] | None
509
+ :param input_node_type: Input Node, Specifies the input node used the created zone
510
+ :type input_node_type: str
511
+ :param output_node_type: Output Node, Specifies the output node used the created zone
512
+ :type output_node_type: str
513
+ :param add_default_geometry_link: Add Geometry Link, When enabled, create a link between geometry sockets in this zone
514
+ :type add_default_geometry_link: bool | None
484
515
  """
485
516
 
486
517
  def attach(
@@ -2241,6 +2272,94 @@ def sockets_sync(
2241
2272
  :type node_name: str
2242
2273
  """
2243
2274
 
2275
+ def swap_empty_group(
2276
+ execution_context: int | str | None = None,
2277
+ undo: bool | None = None,
2278
+ /,
2279
+ *,
2280
+ settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
2281
+ | None = None,
2282
+ ) -> None:
2283
+ """Replace active node with an empty group
2284
+
2285
+ :type execution_context: int | str | None
2286
+ :type undo: bool | None
2287
+ :param settings: Settings, Settings to be applied on the newly created node
2288
+ :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
2289
+ """
2290
+
2291
+ def swap_group_asset(
2292
+ execution_context: int | str | None = None,
2293
+ undo: bool | None = None,
2294
+ /,
2295
+ *,
2296
+ asset_library_type: bpy.stub_internal.rna_enums.AssetLibraryTypeItems
2297
+ | None = "LOCAL",
2298
+ asset_library_identifier: str = "",
2299
+ relative_asset_identifier: str = "",
2300
+ ) -> None:
2301
+ """Swap selected nodes with the specified node group asset
2302
+
2303
+ :type execution_context: int | str | None
2304
+ :type undo: bool | None
2305
+ :param asset_library_type: Asset Library Type
2306
+ :type asset_library_type: bpy.stub_internal.rna_enums.AssetLibraryTypeItems | None
2307
+ :param asset_library_identifier: Asset Library Identifier
2308
+ :type asset_library_identifier: str
2309
+ :param relative_asset_identifier: Relative Asset Identifier
2310
+ :type relative_asset_identifier: str
2311
+ """
2312
+
2313
+ def swap_node(
2314
+ execution_context: int | str | None = None,
2315
+ undo: bool | None = None,
2316
+ /,
2317
+ *,
2318
+ settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
2319
+ | None = None,
2320
+ type: str = "",
2321
+ visible_output: str = "",
2322
+ ) -> None:
2323
+ """Replace the selected nodes with the specified type
2324
+
2325
+ :type execution_context: int | str | None
2326
+ :type undo: bool | None
2327
+ :param settings: Settings, Settings to be applied on the newly created node
2328
+ :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
2329
+ :param type: Node Type, Node type
2330
+ :type type: str
2331
+ :param visible_output: Output Name, If provided, all outputs that are named differently will be hidden
2332
+ :type visible_output: str
2333
+ """
2334
+
2335
+ def swap_zone(
2336
+ execution_context: int | str | None = None,
2337
+ undo: bool | None = None,
2338
+ /,
2339
+ *,
2340
+ settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
2341
+ | None = None,
2342
+ offset: collections.abc.Iterable[float] | None = (150.0, 0.0),
2343
+ input_node_type: str = "",
2344
+ output_node_type: str = "",
2345
+ add_default_geometry_link: bool | None = False,
2346
+ ) -> None:
2347
+ """Undocumented, consider contributing.
2348
+
2349
+ :type execution_context: int | str | None
2350
+ :type undo: bool | None
2351
+ :param settings: Settings, Settings to be applied on the newly created node
2352
+ :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
2353
+ :param offset: Offset, Offset of nodes from the cursor when added
2354
+ :type offset: collections.abc.Iterable[float] | None
2355
+ :param input_node_type: Input Node, Specifies the input node used the created zone
2356
+ :type input_node_type: str
2357
+ :param output_node_type: Output Node, Specifies the output node used the created zone
2358
+ :type output_node_type: str
2359
+ :param add_default_geometry_link: Add Geometry Link, When enabled, create a link between geometry sockets in this zone
2360
+ :type add_default_geometry_link: bool | None
2361
+ """
2362
+
2244
2363
  def test_inlining_shader_nodes(
2245
2364
  execution_context: int | str | None = None,
2246
2365
  undo: bool | None = None,
@@ -74,33 +74,33 @@ type AttributeDomainWithoutCornerItems = typing.Literal[
74
74
  type AttributeTypeItems = typing.Literal[
75
75
  "FLOAT", # Float.Floating-point value.
76
76
  "INT", # Integer.32-bit integer.
77
+ "BOOLEAN", # Boolean.True or false.
77
78
  "FLOAT_VECTOR", # Vector.3D vector with floating-point values.
78
79
  "FLOAT_COLOR", # Color.RGBA color with 32-bit floating-point values.
79
- "BYTE_COLOR", # Byte Color.RGBA color with 8-bit positive integer values.
80
+ "QUATERNION", # Quaternion.Floating point quaternion rotation.
81
+ "FLOAT4X4", # 4x4 Matrix.Floating point matrix.
80
82
  "STRING", # String.Text string.
81
- "BOOLEAN", # Boolean.True or false.
82
- "FLOAT2", # 2D Vector.2D vector with floating-point values.
83
83
  "INT8", # 8-Bit Integer.Smaller integer with a range from -128 to 127.
84
84
  "INT16_2D", # 2D 16-Bit Integer Vector.16-bit signed integer vector.
85
85
  "INT32_2D", # 2D Integer Vector.32-bit signed integer vector.
86
- "QUATERNION", # Quaternion.Floating point quaternion rotation.
87
- "FLOAT4X4", # 4x4 Matrix.Floating point matrix.
86
+ "FLOAT2", # 2D Vector.2D vector with floating-point values.
87
+ "BYTE_COLOR", # Byte Color.RGBA color with 8-bit positive integer values.
88
88
  ]
89
89
  type AttributeTypeWithAutoItems = typing.Literal[
90
90
  "AUTO", # Auto.
91
91
  "FLOAT", # Float.Floating-point value.
92
92
  "INT", # Integer.32-bit integer.
93
+ "BOOLEAN", # Boolean.True or false.
93
94
  "FLOAT_VECTOR", # Vector.3D vector with floating-point values.
94
95
  "FLOAT_COLOR", # Color.RGBA color with 32-bit floating-point values.
95
- "BYTE_COLOR", # Byte Color.RGBA color with 8-bit positive integer values.
96
+ "QUATERNION", # Quaternion.Floating point quaternion rotation.
97
+ "FLOAT4X4", # 4x4 Matrix.Floating point matrix.
96
98
  "STRING", # String.Text string.
97
- "BOOLEAN", # Boolean.True or false.
98
- "FLOAT2", # 2D Vector.2D vector with floating-point values.
99
- "FLOAT2", # 2D Vector.2D vector with floating-point values.
99
+ "INT8", # 8-Bit Integer.Smaller integer with a range from -128 to 127.
100
100
  "INT16_2D", # 2D 16-Bit Integer Vector.16-bit signed integer vector.
101
101
  "INT32_2D", # 2D Integer Vector.32-bit signed integer vector.
102
- "QUATERNION", # Quaternion.Floating point quaternion rotation.
103
- "FLOAT4X4", # 4x4 Matrix.Floating point matrix.
102
+ "FLOAT2", # 2D Vector.2D vector with floating-point values.
103
+ "BYTE_COLOR", # Byte Color.RGBA color with 8-bit positive integer values.
104
104
  ]
105
105
  type AxisFlagXyzItems = typing.Literal[
106
106
  "X", # <string>:4: (INFO/1) Enumerated list start value not ordinal-1: "X" (ordinal 24)
@@ -138,7 +138,7 @@ type BakePassTypeItems = typing.Literal[
138
138
  "NORMAL", # Normal.
139
139
  "UV", # UV.
140
140
  "ROUGHNESS", # ROUGHNESS.
141
- "EMIT", # Emit.
141
+ "EMIT", # Emission.
142
142
  "ENVIRONMENT", # Environment.
143
143
  "DIFFUSE", # Diffuse.
144
144
  "GLOSSY", # Glossy.
@@ -2191,11 +2191,11 @@ type NodeSocketDataTypeItems = typing.Literal[
2191
2191
  "INT", # Integer.
2192
2192
  "BOOLEAN", # Boolean.
2193
2193
  "VECTOR", # Vector.
2194
+ "RGBA", # Color.
2194
2195
  "ROTATION", # Rotation.
2195
2196
  "MATRIX", # Matrix.
2196
2197
  "STRING", # String.
2197
2198
  "MENU", # Menu.
2198
- "RGBA", # Color.
2199
2199
  "SHADER", # Shader.
2200
2200
  "OBJECT", # Object.
2201
2201
  "IMAGE", # Image.
@@ -2739,33 +2739,6 @@ type RegionTypeItems = typing.Literal[
2739
2739
  "TOOL_HEADER", # Tool Header.
2740
2740
  "XR", # XR.
2741
2741
  ]
2742
- type RenderPassTypeItems = typing.Literal[
2743
- "COMBINED", # Combined.
2744
- "Z", # <string>:4: (INFO/1) Enumerated list start value not ordinal-1: "Z" (ordinal 26)
2745
- "SHADOW", # Shadow.
2746
- "AO", # Ambient Occlusion.
2747
- "POSITION", # Position.
2748
- "NORMAL", # Normal.
2749
- "VECTOR", # Vector.
2750
- "OBJECT_INDEX", # Object Index.
2751
- "UV", # UV.
2752
- "MIST", # Mist.
2753
- "EMIT", # Emit.
2754
- "ENVIRONMENT", # Environment.
2755
- "MATERIAL_INDEX", # Material Index.
2756
- "DIFFUSE_DIRECT", # Diffuse Direct.
2757
- "DIFFUSE_INDIRECT", # Diffuse Indirect.
2758
- "DIFFUSE_COLOR", # Diffuse Color.
2759
- "GLOSSY_DIRECT", # Glossy Direct.
2760
- "GLOSSY_INDIRECT", # Glossy Indirect.
2761
- "GLOSSY_COLOR", # Glossy Color.
2762
- "TRANSMISSION_DIRECT", # Transmission Direct.
2763
- "TRANSMISSION_INDIRECT", # Transmission Indirect.
2764
- "TRANSMISSION_COLOR", # Transmission Color.
2765
- "SUBSURFACE_DIRECT", # Subsurface Direct.
2766
- "SUBSURFACE_INDIRECT", # Subsurface Indirect.
2767
- "SUBSURFACE_COLOR", # Subsurface Color.
2768
- ]
2769
2742
  type RigidbodyConstraintTypeItems = typing.Literal[
2770
2743
  "FIXED", # Fixed.Glue rigid bodies together.
2771
2744
  "POINT", # Point.Constrain rigid bodies to move around common pivot point.