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.

@@ -2,14 +2,17 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
- import _bpy_types
5
+ import bl_ui.node_add_menu
6
6
  import bpy.types
7
7
 
8
- class NODE_MT_category_shader_color(_bpy_types.Menu):
9
- bl_idname: typing.Any
8
+ class NODE_MT_shader_node_all_base(bl_ui.node_add_menu.NodeMenu):
9
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
10
+
10
11
  bl_label: typing.Any
11
12
  bl_rna: typing.Any
13
+ bl_translation_context: typing.Any
12
14
  id_data: typing.Any
15
+ menu_path: typing.Any
13
16
 
14
17
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
15
18
  """
@@ -31,8 +34,9 @@ class NODE_MT_category_shader_color(_bpy_types.Menu):
31
34
  :param context:
32
35
  """
33
36
 
34
- class NODE_MT_category_shader_converter(_bpy_types.Menu):
35
- bl_idname: typing.Any
37
+ class NODE_MT_shader_node_color_base(bl_ui.node_add_menu.NodeMenu):
38
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
39
+
36
40
  bl_label: typing.Any
37
41
  bl_rna: typing.Any
38
42
  id_data: typing.Any
@@ -57,8 +61,9 @@ class NODE_MT_category_shader_converter(_bpy_types.Menu):
57
61
  :param context:
58
62
  """
59
63
 
60
- class NODE_MT_category_shader_group(_bpy_types.Menu):
61
- bl_idname: typing.Any
64
+ class NODE_MT_shader_node_converter_base(bl_ui.node_add_menu.NodeMenu):
65
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
66
+
62
67
  bl_label: typing.Any
63
68
  bl_rna: typing.Any
64
69
  id_data: typing.Any
@@ -83,8 +88,9 @@ class NODE_MT_category_shader_group(_bpy_types.Menu):
83
88
  :param context:
84
89
  """
85
90
 
86
- class NODE_MT_category_shader_input(_bpy_types.Menu):
87
- bl_idname: typing.Any
91
+ class NODE_MT_shader_node_input_base(bl_ui.node_add_menu.NodeMenu):
92
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
93
+
88
94
  bl_label: typing.Any
89
95
  bl_rna: typing.Any
90
96
  id_data: typing.Any
@@ -109,8 +115,9 @@ class NODE_MT_category_shader_input(_bpy_types.Menu):
109
115
  :param context:
110
116
  """
111
117
 
112
- class NODE_MT_category_shader_output(_bpy_types.Menu):
113
- bl_idname: typing.Any
118
+ class NODE_MT_shader_node_output_base(bl_ui.node_add_menu.NodeMenu):
119
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
120
+
114
121
  bl_label: typing.Any
115
122
  bl_rna: typing.Any
116
123
  id_data: typing.Any
@@ -129,8 +136,15 @@ class NODE_MT_category_shader_output(_bpy_types.Menu):
129
136
  :rtype: typing.Any
130
137
  """
131
138
 
132
- class NODE_MT_category_shader_script(_bpy_types.Menu):
133
- bl_idname: typing.Any
139
+ def draw(self, context) -> None:
140
+ """
141
+
142
+ :param context:
143
+ """
144
+
145
+ class NODE_MT_shader_node_script_base(bl_ui.node_add_menu.NodeMenu):
146
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
147
+
134
148
  bl_label: typing.Any
135
149
  bl_rna: typing.Any
136
150
  id_data: typing.Any
@@ -155,8 +169,9 @@ class NODE_MT_category_shader_script(_bpy_types.Menu):
155
169
  :param _context:
156
170
  """
157
171
 
158
- class NODE_MT_category_shader_shader(_bpy_types.Menu):
159
- bl_idname: typing.Any
172
+ class NODE_MT_shader_node_shader_base(bl_ui.node_add_menu.NodeMenu):
173
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
174
+
160
175
  bl_label: typing.Any
161
176
  bl_rna: typing.Any
162
177
  id_data: typing.Any
@@ -181,8 +196,9 @@ class NODE_MT_category_shader_shader(_bpy_types.Menu):
181
196
  :param context:
182
197
  """
183
198
 
184
- class NODE_MT_category_shader_texture(_bpy_types.Menu):
185
- bl_idname: typing.Any
199
+ class NODE_MT_shader_node_texture_base(bl_ui.node_add_menu.NodeMenu):
200
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
201
+
186
202
  bl_label: typing.Any
187
203
  bl_rna: typing.Any
188
204
  id_data: typing.Any
@@ -207,8 +223,9 @@ class NODE_MT_category_shader_texture(_bpy_types.Menu):
207
223
  :param _context:
208
224
  """
209
225
 
210
- class NODE_MT_category_shader_utilities(_bpy_types.Menu):
211
- bl_idname: typing.Any
226
+ class NODE_MT_shader_node_utilities_base(bl_ui.node_add_menu.NodeMenu):
227
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
228
+
212
229
  bl_label: typing.Any
213
230
  bl_rna: typing.Any
214
231
  id_data: typing.Any
@@ -233,37 +250,11 @@ class NODE_MT_category_shader_utilities(_bpy_types.Menu):
233
250
  :param context:
234
251
  """
235
252
 
236
- class NODE_MT_category_shader_vector(_bpy_types.Menu):
237
- bl_idname: typing.Any
238
- bl_label: typing.Any
239
- bl_rna: typing.Any
240
- id_data: typing.Any
241
-
242
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
243
- """
244
-
245
- :return: The RNA type or default when not found.
246
- :rtype: bpy.types.Struct
247
- """
248
-
249
- def bl_rna_get_subclass_py(self) -> typing.Any:
250
- """
251
-
252
- :return: The class or default when not found.
253
- :rtype: typing.Any
254
- """
255
-
256
- def draw(self, _context) -> None:
257
- """
253
+ class NODE_MT_shader_node_vector_base(bl_ui.node_add_menu.NodeMenu):
254
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
258
255
 
259
- :param _context:
260
- """
261
-
262
- class NODE_MT_shader_node_add_all(_bpy_types.Menu):
263
- bl_idname: typing.Any
264
256
  bl_label: typing.Any
265
257
  bl_rna: typing.Any
266
- bl_translation_context: typing.Any
267
258
  id_data: typing.Any
268
259
 
269
260
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
@@ -3,13 +3,17 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
5
  import _bpy_types
6
+ import bl_ui.node_add_menu
6
7
  import bpy.types
7
8
 
8
- class NODE_MT_category_texture_color(_bpy_types.Menu):
9
- bl_idname: typing.Any
9
+ class NODE_MT_texture_node_all_base(bl_ui.node_add_menu.NodeMenu):
10
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
11
+
10
12
  bl_label: typing.Any
11
13
  bl_rna: typing.Any
14
+ bl_translation_context: typing.Any
12
15
  id_data: typing.Any
16
+ menu_path: typing.Any
13
17
 
14
18
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
15
19
  """
@@ -25,14 +29,13 @@ class NODE_MT_category_texture_color(_bpy_types.Menu):
25
29
  :rtype: typing.Any
26
30
  """
27
31
 
28
- def draw(self, _context) -> None:
32
+ def draw(self, context) -> None:
29
33
  """
30
34
 
31
- :param _context:
35
+ :param context:
32
36
  """
33
37
 
34
- class NODE_MT_category_texture_converter(_bpy_types.Menu):
35
- bl_idname: typing.Any
38
+ class NODE_MT_texture_node_color_base(_bpy_types.Menu):
36
39
  bl_label: typing.Any
37
40
  bl_rna: typing.Any
38
41
  id_data: typing.Any
@@ -57,8 +60,7 @@ class NODE_MT_category_texture_converter(_bpy_types.Menu):
57
60
  :param _context:
58
61
  """
59
62
 
60
- class NODE_MT_category_texture_distort(_bpy_types.Menu):
61
- bl_idname: typing.Any
63
+ class NODE_MT_texture_node_converter_base(_bpy_types.Menu):
62
64
  bl_label: typing.Any
63
65
  bl_rna: typing.Any
64
66
  id_data: typing.Any
@@ -83,34 +85,7 @@ class NODE_MT_category_texture_distort(_bpy_types.Menu):
83
85
  :param _context:
84
86
  """
85
87
 
86
- class NODE_MT_category_texture_group(_bpy_types.Menu):
87
- bl_idname: typing.Any
88
- bl_label: typing.Any
89
- bl_rna: typing.Any
90
- id_data: typing.Any
91
-
92
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
93
- """
94
-
95
- :return: The RNA type or default when not found.
96
- :rtype: bpy.types.Struct
97
- """
98
-
99
- def bl_rna_get_subclass_py(self) -> typing.Any:
100
- """
101
-
102
- :return: The class or default when not found.
103
- :rtype: typing.Any
104
- """
105
-
106
- def draw(self, context) -> None:
107
- """
108
-
109
- :param context:
110
- """
111
-
112
- class NODE_MT_category_texture_input(_bpy_types.Menu):
113
- bl_idname: typing.Any
88
+ class NODE_MT_texture_node_distort_base(_bpy_types.Menu):
114
89
  bl_label: typing.Any
115
90
  bl_rna: typing.Any
116
91
  id_data: typing.Any
@@ -135,8 +110,7 @@ class NODE_MT_category_texture_input(_bpy_types.Menu):
135
110
  :param _context:
136
111
  """
137
112
 
138
- class NODE_MT_category_texture_output(_bpy_types.Menu):
139
- bl_idname: typing.Any
113
+ class NODE_MT_texture_node_input_base(_bpy_types.Menu):
140
114
  bl_label: typing.Any
141
115
  bl_rna: typing.Any
142
116
  id_data: typing.Any
@@ -161,11 +135,9 @@ class NODE_MT_category_texture_output(_bpy_types.Menu):
161
135
  :param _context:
162
136
  """
163
137
 
164
- class NODE_MT_category_texture_pattern(_bpy_types.Menu):
165
- bl_idname: typing.Any
138
+ class NODE_MT_texture_node_output_base(_bpy_types.Menu):
166
139
  bl_label: typing.Any
167
140
  bl_rna: typing.Any
168
- bl_translation_context: typing.Any
169
141
  id_data: typing.Any
170
142
 
171
143
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
@@ -188,10 +160,10 @@ class NODE_MT_category_texture_pattern(_bpy_types.Menu):
188
160
  :param _context:
189
161
  """
190
162
 
191
- class NODE_MT_category_texture_texture(_bpy_types.Menu):
192
- bl_idname: typing.Any
163
+ class NODE_MT_texture_node_pattern_base(_bpy_types.Menu):
193
164
  bl_label: typing.Any
194
165
  bl_rna: typing.Any
166
+ bl_translation_context: typing.Any
195
167
  id_data: typing.Any
196
168
 
197
169
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
@@ -214,11 +186,9 @@ class NODE_MT_category_texture_texture(_bpy_types.Menu):
214
186
  :param _context:
215
187
  """
216
188
 
217
- class NODE_MT_texture_node_add_all(_bpy_types.Menu):
218
- bl_idname: typing.Any
189
+ class NODE_MT_texture_node_texture_base(_bpy_types.Menu):
219
190
  bl_label: typing.Any
220
191
  bl_rna: typing.Any
221
- bl_translation_context: typing.Any
222
192
  id_data: typing.Any
223
193
 
224
194
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
@@ -3,6 +3,7 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
5
  import _bpy_types
6
+ import bl_ui.node_add_menu
6
7
  import bl_ui.properties_grease_pencil_common
7
8
  import bl_ui.space_toolsystem_common
8
9
  import bl_ui.utils
@@ -68,13 +69,21 @@ class NODE_HT_header(_bpy_types.Header):
68
69
  :param context:
69
70
  """
70
71
 
71
- class NODE_MT_add(_bpy_types.Menu):
72
+ class NODE_MT_add(bl_ui.node_add_menu.AddNodeMenu):
73
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
74
+
72
75
  bl_label: typing.Any
73
76
  bl_options: typing.Any
74
77
  bl_rna: typing.Any
75
78
  bl_space_type: typing.Any
76
79
  bl_translation_context: typing.Any
80
+ draw_assets: typing.Any
77
81
  id_data: typing.Any
82
+ main_operator_id: typing.Any
83
+ new_empty_group_operator_id: typing.Any
84
+ root_asset_menu: typing.Any
85
+ use_transform: typing.Any
86
+ zone_operator_id: typing.Any
78
87
 
79
88
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
80
89
  """
@@ -297,6 +306,41 @@ class NODE_MT_select(_bpy_types.Menu):
297
306
  :param _context:
298
307
  """
299
308
 
309
+ class NODE_MT_swap(bl_ui.node_add_menu.SwapNodeMenu):
310
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
311
+
312
+ bl_label: typing.Any
313
+ bl_options: typing.Any
314
+ bl_rna: typing.Any
315
+ bl_space_type: typing.Any
316
+ bl_translation_context: typing.Any
317
+ draw_assets: typing.Any
318
+ id_data: typing.Any
319
+ main_operator_id: typing.Any
320
+ new_empty_group_operator_id: typing.Any
321
+ root_asset_menu: typing.Any
322
+ zone_operator_id: typing.Any
323
+
324
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
325
+ """
326
+
327
+ :return: The RNA type or default when not found.
328
+ :rtype: bpy.types.Struct
329
+ """
330
+
331
+ def bl_rna_get_subclass_py(self) -> typing.Any:
332
+ """
333
+
334
+ :return: The class or default when not found.
335
+ :rtype: typing.Any
336
+ """
337
+
338
+ def draw(self, context) -> None:
339
+ """
340
+
341
+ :param context:
342
+ """
343
+
300
344
  class NODE_MT_view(_bpy_types.Menu):
301
345
  bl_label: typing.Any
302
346
  bl_rna: typing.Any
@@ -4961,31 +4961,6 @@ class VIEW3D_MT_view_regions(_bpy_types.Menu):
4961
4961
  :param _context:
4962
4962
  """
4963
4963
 
4964
- class VIEW3D_MT_view_render(_bpy_types.Menu):
4965
- bl_label: typing.Any
4966
- bl_rna: typing.Any
4967
- id_data: typing.Any
4968
-
4969
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
4970
- """
4971
-
4972
- :return: The RNA type or default when not found.
4973
- :rtype: bpy.types.Struct
4974
- """
4975
-
4976
- def bl_rna_get_subclass_py(self) -> typing.Any:
4977
- """
4978
-
4979
- :return: The class or default when not found.
4980
- :rtype: typing.Any
4981
- """
4982
-
4983
- def draw(self, _context) -> None:
4984
- """
4985
-
4986
- :param _context:
4987
- """
4988
-
4989
4964
  class VIEW3D_MT_view_viewpoint(_bpy_types.Menu):
4990
4965
  bl_label: typing.Any
4991
4966
  bl_rna: typing.Any
bmesh/types/__init__.pyi CHANGED
@@ -23,7 +23,6 @@ import typing
23
23
  import collections.abc
24
24
  import typing_extensions
25
25
  import numpy.typing as npt
26
- import _bpy_types
27
26
  import bpy.types
28
27
  import mathutils
29
28
 
@@ -1616,7 +1615,7 @@ class BMesh:
1616
1615
 
1617
1616
  def from_mesh(
1618
1617
  self,
1619
- mesh: _bpy_types.Mesh,
1618
+ mesh: bpy.types.Mesh,
1620
1619
  *,
1621
1620
  face_normals: bool = True,
1622
1621
  vertex_normals: bool = True,
@@ -1626,7 +1625,7 @@ class BMesh:
1626
1625
  """Initialize this bmesh from existing mesh data-block.
1627
1626
 
1628
1627
  :param mesh: The mesh data to load.
1629
- :type mesh: _bpy_types.Mesh
1628
+ :type mesh: bpy.types.Mesh
1630
1629
  :param face_normals:
1631
1630
  :type face_normals: bool
1632
1631
  :param vertex_normals:
@@ -1639,7 +1638,7 @@ class BMesh:
1639
1638
 
1640
1639
  def from_object(
1641
1640
  self,
1642
- object: _bpy_types.Object,
1641
+ object: bpy.types.Object,
1643
1642
  depsgraph: bpy.types.Depsgraph,
1644
1643
  *,
1645
1644
  cage: bool = False,
@@ -1649,7 +1648,7 @@ class BMesh:
1649
1648
  """Initialize this bmesh from existing object data-block (only meshes are currently supported).
1650
1649
 
1651
1650
  :param object: The object data to load.
1652
- :type object: _bpy_types.Object
1651
+ :type object: bpy.types.Object
1653
1652
  :param depsgraph:
1654
1653
  :type depsgraph: bpy.types.Depsgraph
1655
1654
  :param cage: Get the mesh as a deformed cage.
@@ -1673,11 +1672,11 @@ class BMesh:
1673
1672
  def select_flush_mode(self) -> None:
1674
1673
  """flush selection based on the current mode current `BMesh.select_mode`."""
1675
1674
 
1676
- def to_mesh(self, mesh: _bpy_types.Mesh) -> None:
1675
+ def to_mesh(self, mesh: bpy.types.Mesh) -> None:
1677
1676
  """Writes this BMesh data into an existing Mesh data-block.
1678
1677
 
1679
1678
  :param mesh: The mesh data to write into.
1680
- :type mesh: _bpy_types.Mesh
1679
+ :type mesh: bpy.types.Mesh
1681
1680
  """
1682
1681
 
1683
1682
  def transform(
@@ -238,28 +238,6 @@ def keyframe_type(
238
238
  :type type: bpy.stub_internal.rna_enums.BeztripleKeyframeTypeItems | None
239
239
  """
240
240
 
241
- def layer_next(
242
- execution_context: int | str | None = None,
243
- undo: bool | None = None,
244
- /,
245
- ) -> None:
246
- """Switch to editing action in animation layer above the current action in the NLA Stack
247
-
248
- :type execution_context: int | str | None
249
- :type undo: bool | None
250
- """
251
-
252
- def layer_prev(
253
- execution_context: int | str | None = None,
254
- undo: bool | None = None,
255
- /,
256
- ) -> None:
257
- """Switch to editing action in animation layer below the current action in the NLA Stack
258
-
259
- :type execution_context: int | str | None
260
- :type undo: bool | None
261
- """
262
-
263
241
  def markers_make_local(
264
242
  execution_context: int | str | None = None,
265
243
  undo: bool | None = None,