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.

@@ -45,6 +45,7 @@ class NODE_OT_add_closure_zone(NodeAddZoneOperator, _bpy_types.Operator):
45
45
  id_data: typing.Any
46
46
  input_node_type: typing.Any
47
47
  output_node_type: typing.Any
48
+ zone_tooltips: typing.Any
48
49
 
49
50
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
50
51
  """
@@ -89,6 +90,14 @@ class NODE_OT_add_empty_group(NodeAddOperator, _bpy_types.Operator):
89
90
  :param idname:
90
91
  """
91
92
 
93
+ @classmethod
94
+ def description(cls, _context, properties) -> None:
95
+ """
96
+
97
+ :param _context:
98
+ :param properties:
99
+ """
100
+
92
101
  def execute(self, context) -> None:
93
102
  """
94
103
 
@@ -108,6 +117,7 @@ class NODE_OT_add_foreach_geometry_element_zone(
108
117
  id_data: typing.Any
109
118
  input_node_type: typing.Any
110
119
  output_node_type: typing.Any
120
+ zone_tooltips: typing.Any
111
121
 
112
122
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
113
123
  """
@@ -146,14 +156,6 @@ class NODE_OT_add_node(NodeAddOperator, _bpy_types.Operator):
146
156
  :rtype: typing.Any
147
157
  """
148
158
 
149
- @classmethod
150
- def description(cls, _context, properties) -> None:
151
- """
152
-
153
- :param _context:
154
- :param properties:
155
- """
156
-
157
159
  def execute(self, context) -> None:
158
160
  """
159
161
 
@@ -171,6 +173,7 @@ class NODE_OT_add_repeat_zone(NodeAddZoneOperator, _bpy_types.Operator):
171
173
  id_data: typing.Any
172
174
  input_node_type: typing.Any
173
175
  output_node_type: typing.Any
176
+ zone_tooltips: typing.Any
174
177
 
175
178
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
176
179
  """
@@ -197,6 +200,30 @@ class NODE_OT_add_simulation_zone(NodeAddZoneOperator, _bpy_types.Operator):
197
200
  id_data: typing.Any
198
201
  input_node_type: typing.Any
199
202
  output_node_type: typing.Any
203
+ zone_tooltips: typing.Any
204
+
205
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
206
+ """
207
+
208
+ :return: The RNA type or default when not found.
209
+ :rtype: bpy.types.Struct
210
+ """
211
+
212
+ def bl_rna_get_subclass_py(self) -> typing.Any:
213
+ """
214
+
215
+ :return: The class or default when not found.
216
+ :rtype: typing.Any
217
+ """
218
+
219
+ class NODE_OT_add_zone(NodeAddZoneOperator, _bpy_types.Operator):
220
+ add_default_geometry_link: typing.Any
221
+ bl_idname: typing.Any
222
+ bl_label: typing.Any
223
+ bl_options: typing.Any
224
+ bl_rna: typing.Any
225
+ id_data: typing.Any
226
+ zone_tooltips: typing.Any
200
227
 
201
228
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
202
229
  """
@@ -432,6 +459,125 @@ class NODE_OT_interface_item_unlink_panel_toggle(
432
459
  :param context:
433
460
  """
434
461
 
462
+ class NODE_OT_swap_empty_group(NodeSwapOperator, _bpy_types.Operator):
463
+ bl_description: typing.Any
464
+ bl_idname: typing.Any
465
+ bl_label: typing.Any
466
+ bl_options: typing.Any
467
+ bl_rna: typing.Any
468
+ id_data: typing.Any
469
+ properties_to_pass: typing.Any
470
+
471
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
472
+ """
473
+
474
+ :return: The RNA type or default when not found.
475
+ :rtype: bpy.types.Struct
476
+ """
477
+
478
+ def bl_rna_get_subclass_py(self) -> typing.Any:
479
+ """
480
+
481
+ :return: The class or default when not found.
482
+ :rtype: typing.Any
483
+ """
484
+
485
+ @staticmethod
486
+ def create_empty_group(idname) -> None:
487
+ """
488
+
489
+ :param idname:
490
+ """
491
+
492
+ @classmethod
493
+ def description(cls, _context, properties) -> None:
494
+ """
495
+
496
+ :param _context:
497
+ :param properties:
498
+ """
499
+
500
+ def execute(self, context) -> None:
501
+ """
502
+
503
+ :param context:
504
+ """
505
+
506
+ class NODE_OT_swap_node(NodeSwapOperator, _bpy_types.Operator):
507
+ """Replace the selected nodes with the specified type"""
508
+
509
+ bl_idname: typing.Any
510
+ bl_label: typing.Any
511
+ bl_options: typing.Any
512
+ bl_rna: typing.Any
513
+ id_data: typing.Any
514
+ properties_to_pass: typing.Any
515
+
516
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
517
+ """
518
+
519
+ :return: The RNA type or default when not found.
520
+ :rtype: bpy.types.Struct
521
+ """
522
+
523
+ def bl_rna_get_subclass_py(self) -> typing.Any:
524
+ """
525
+
526
+ :return: The class or default when not found.
527
+ :rtype: typing.Any
528
+ """
529
+
530
+ def execute(self, context) -> None:
531
+ """
532
+
533
+ :param context:
534
+ """
535
+
536
+ @staticmethod
537
+ def get_zone_pair(tree, node) -> None:
538
+ """
539
+
540
+ :param tree:
541
+ :param node:
542
+ """
543
+
544
+ class NODE_OT_swap_zone(NodeSwapOperator, ZoneOperator, _bpy_types.Operator):
545
+ bl_idname: typing.Any
546
+ bl_label: typing.Any
547
+ bl_options: typing.Any
548
+ bl_rna: typing.Any
549
+ id_data: typing.Any
550
+ properties_to_pass: typing.Any
551
+ zone_tooltips: typing.Any
552
+
553
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
554
+ """
555
+
556
+ :return: The RNA type or default when not found.
557
+ :rtype: bpy.types.Struct
558
+ """
559
+
560
+ def bl_rna_get_subclass_py(self) -> typing.Any:
561
+ """
562
+
563
+ :return: The class or default when not found.
564
+ :rtype: typing.Any
565
+ """
566
+
567
+ def execute(self, context) -> None:
568
+ """
569
+
570
+ :param context:
571
+ """
572
+
573
+ @staticmethod
574
+ def get_zone_pair(tree, node) -> None:
575
+ """
576
+
577
+ :param tree:
578
+ :param node:
579
+ """
580
+
435
581
  class NODE_OT_tree_path_parent(_bpy_types.Operator):
436
582
  """Go to parent node tree"""
437
583
 
@@ -546,7 +692,13 @@ class NODE_OT_viewer_shortcut_set(_bpy_types.Operator):
546
692
  :param context:
547
693
  """
548
694
 
549
- class NodeAddOperator:
695
+ class NodeOperator:
696
+ def apply_node_settings(self, node) -> None:
697
+ """
698
+
699
+ :param node:
700
+ """
701
+
550
702
  def create_node(self, context, node_type) -> None:
551
703
  """
552
704
 
@@ -554,6 +706,14 @@ class NodeAddOperator:
554
706
  :param node_type:
555
707
  """
556
708
 
709
+ @classmethod
710
+ def description(cls, _context, properties) -> None:
711
+ """
712
+
713
+ :param _context:
714
+ :param properties:
715
+ """
716
+
557
717
  @staticmethod
558
718
  def deselect_nodes(context) -> None:
559
719
  """
@@ -561,6 +721,46 @@ class NodeAddOperator:
561
721
  :param context:
562
722
  """
563
723
 
724
+ class NodeInterfaceOperator:
725
+ @classmethod
726
+ def poll(cls, context) -> None:
727
+ """
728
+
729
+ :param context:
730
+ """
731
+
732
+ class NodeSetting(_bpy_types.PropertyGroup):
733
+ bl_rna: typing.Any
734
+ id_data: typing.Any
735
+
736
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
737
+ """
738
+
739
+ :return: The RNA type or default when not found.
740
+ :rtype: bpy.types.Struct
741
+ """
742
+
743
+ def bl_rna_get_subclass_py(self) -> typing.Any:
744
+ """
745
+
746
+ :return: The class or default when not found.
747
+ :rtype: typing.Any
748
+ """
749
+
750
+ class ZoneOperator:
751
+ zone_tooltips: typing.Any
752
+
753
+ @classmethod
754
+ def description(cls, _context, properties) -> None:
755
+ """
756
+
757
+ :param _context:
758
+ :param properties:
759
+ """
760
+
761
+ class temporary_unframe: ...
762
+
763
+ class NodeAddOperator(NodeOperator):
564
764
  def invoke(self, context, event) -> None:
565
765
  """
566
766
 
@@ -583,7 +783,16 @@ class NodeAddOperator:
583
783
  :param event:
584
784
  """
585
785
 
586
- class NodeInterfaceOperator:
786
+ class NodeSwapOperator(NodeOperator):
787
+ properties_to_pass: typing.Any
788
+
789
+ @staticmethod
790
+ def get_switch_items(node) -> None:
791
+ """
792
+
793
+ :param node:
794
+ """
795
+
587
796
  @classmethod
588
797
  def poll(cls, context) -> None:
589
798
  """
@@ -591,29 +800,45 @@ class NodeInterfaceOperator:
591
800
  :param context:
592
801
  """
593
802
 
594
- class NodeSetting(_bpy_types.PropertyGroup):
595
- bl_rna: typing.Any
596
- id_data: typing.Any
803
+ def transfer_input_values(self, old_node, new_node) -> None:
804
+ """
597
805
 
598
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
806
+ :param old_node:
807
+ :param new_node:
599
808
  """
600
809
 
601
- :return: The RNA type or default when not found.
602
- :rtype: bpy.types.Struct
810
+ @staticmethod
811
+ def transfer_links(tree, old_node, new_node, is_input) -> None:
603
812
  """
604
813
 
605
- def bl_rna_get_subclass_py(self) -> typing.Any:
814
+ :param tree:
815
+ :param old_node:
816
+ :param new_node:
817
+ :param is_input:
606
818
  """
607
819
 
608
- :return: The class or default when not found.
609
- :rtype: typing.Any
820
+ def transfer_node_properties(self, old_node, new_node) -> None:
610
821
  """
611
822
 
612
- class NodeAddZoneOperator(NodeAddOperator):
823
+ :param old_node:
824
+ :param new_node:
825
+ """
826
+
827
+ def transfer_switch_data(self, old_node, new_node) -> None:
828
+ """
829
+
830
+ :param old_node:
831
+ :param new_node:
832
+ """
833
+
834
+ class NodeAddZoneOperator(ZoneOperator, NodeAddOperator):
613
835
  add_default_geometry_link: typing.Any
836
+ zone_tooltips: typing.Any
614
837
 
615
838
  def execute(self, context) -> None:
616
839
  """
617
840
 
618
841
  :param context:
619
842
  """
843
+
844
+ def cast_value(source, target) -> None: ...
@@ -120,7 +120,7 @@ class UILIST_OT_entry_remove(GenericUIListOperator, _bpy_types.Operator):
120
120
 
121
121
  def draw_ui_list(
122
122
  layout: bpy.types.UILayout,
123
- context: _bpy_types.Context,
123
+ context: bpy.types.Context,
124
124
  class_name: str = "UI_UL_list",
125
125
  *,
126
126
  unique_id: str,
@@ -136,7 +136,7 @@ def draw_ui_list(
136
136
  :param layout: UILayout to draw the list in.
137
137
  :type layout: bpy.types.UILayout
138
138
  :param context: Blender context to get the list data from.
139
- :type context: _bpy_types.Context
139
+ :type context: bpy.types.Context
140
140
  :param class_name: Name of the UIList class to draw. The default is the UIList class that ships with Blender.
141
141
  :type class_name: str
142
142
  :param unique_id: Unique identifier to differentiate this from other UI lists.
@@ -5,8 +5,228 @@ import numpy.typing as npt
5
5
  import _bpy_types
6
6
  import bpy.types
7
7
 
8
- class NODE_MT_category_layout(_bpy_types.Menu):
9
- bl_idname: typing.Any
8
+ class NodeMenu(_bpy_types.Menu):
9
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
10
+
11
+ bl_rna: typing.Any
12
+ id_data: typing.Any
13
+
14
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
15
+ """
16
+
17
+ :return: The RNA type or default when not found.
18
+ :rtype: bpy.types.Struct
19
+ """
20
+
21
+ def bl_rna_get_subclass_py(self) -> typing.Any:
22
+ """
23
+
24
+ :return: The class or default when not found.
25
+ :rtype: typing.Any
26
+ """
27
+
28
+ @classmethod
29
+ def closure_zone(cls, layout, label) -> None:
30
+ """
31
+
32
+ :param layout:
33
+ :param label:
34
+ """
35
+
36
+ @classmethod
37
+ def color_mix_node(cls, context, layout) -> None:
38
+ """The Mix Color node, with its different blend modes available while in search
39
+
40
+ :param context:
41
+ :param layout:
42
+ """
43
+
44
+ @classmethod
45
+ def draw_group_menu(cls, context, layout) -> None:
46
+ """Show operators used for interacting with node groups
47
+
48
+ :param context:
49
+ :param layout:
50
+ """
51
+
52
+ @classmethod
53
+ def draw_menu(cls, layout, path) -> None:
54
+ """Takes the given menu path and draws the corresponding menu.Menu paths are either explicitly defined, or based on bl_label if not.
55
+
56
+ :param layout:
57
+ :param path:
58
+ """
59
+
60
+ @classmethod
61
+ def draw_root_assets(cls, layout) -> None:
62
+ """
63
+
64
+ :param layout:
65
+ """
66
+
67
+ @classmethod
68
+ def for_each_element_zone(cls, layout, label) -> None:
69
+ """
70
+
71
+ :param layout:
72
+ :param label:
73
+ """
74
+
75
+ @classmethod
76
+ def new_empty_group(cls, layout) -> None:
77
+ """Group Node with a newly created empty group as its assigned nodetree
78
+
79
+ :param layout:
80
+ """
81
+
82
+ @classmethod
83
+ def node_operator(
84
+ cls,
85
+ layout,
86
+ node_type,
87
+ *,
88
+ label=None,
89
+ poll=None,
90
+ search_weight=0.0,
91
+ translate=True,
92
+ ) -> None:
93
+ """The main operator defined for the node menu.(e.g. Add Node for AddNodeMenu, or Swap Node for SwapNodeMenu)
94
+
95
+ :param layout:
96
+ :param node_type:
97
+ :param label:
98
+ :param poll:
99
+ :param search_weight:
100
+ :param translate:
101
+ """
102
+
103
+ @classmethod
104
+ def node_operator_with_outputs(
105
+ cls, context, layout, node_type, subnames, *, label=None, search_weight=0.0
106
+ ) -> None:
107
+ """Similar to node_operator, but with extra entries based on a enum socket while in search
108
+
109
+ :param context:
110
+ :param layout:
111
+ :param node_type:
112
+ :param subnames:
113
+ :param label:
114
+ :param search_weight:
115
+ """
116
+
117
+ @classmethod
118
+ def node_operator_with_searchable_enum(
119
+ cls, context, layout, node_idname, property_name, search_weight=0.0
120
+ ) -> None:
121
+ """Similar to node_operator, but with extra entries based on a enum property while in search
122
+
123
+ :param context:
124
+ :param layout:
125
+ :param node_idname:
126
+ :param property_name:
127
+ :param search_weight:
128
+ """
129
+
130
+ @classmethod
131
+ def node_operator_with_searchable_enum_socket(
132
+ cls,
133
+ context,
134
+ layout,
135
+ node_idname,
136
+ socket_identifier,
137
+ enum_names,
138
+ search_weight=0.0,
139
+ ) -> None:
140
+ """Similar to node_operator, but with extra entries based on a enum socket while in search
141
+
142
+ :param context:
143
+ :param layout:
144
+ :param node_idname:
145
+ :param socket_identifier:
146
+ :param enum_names:
147
+ :param search_weight:
148
+ """
149
+
150
+ @classmethod
151
+ def repeat_zone(cls, layout, label) -> None:
152
+ """
153
+
154
+ :param layout:
155
+ :param label:
156
+ """
157
+
158
+ @classmethod
159
+ def simulation_zone(cls, layout, label) -> None:
160
+ """
161
+
162
+ :param layout:
163
+ :param label:
164
+ """
165
+
166
+ class AddNodeMenu(NodeMenu):
167
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
168
+
169
+ bl_rna: typing.Any
170
+ draw_assets: typing.Any
171
+ id_data: typing.Any
172
+ main_operator_id: typing.Any
173
+ new_empty_group_operator_id: typing.Any
174
+ root_asset_menu: typing.Any
175
+ use_transform: typing.Any
176
+ zone_operator_id: typing.Any
177
+
178
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
179
+ """
180
+
181
+ :return: The RNA type or default when not found.
182
+ :rtype: bpy.types.Struct
183
+ """
184
+
185
+ def bl_rna_get_subclass_py(self) -> typing.Any:
186
+ """
187
+
188
+ :return: The class or default when not found.
189
+ :rtype: typing.Any
190
+ """
191
+
192
+ @classmethod
193
+ def draw_assets_for_catalog(cls, layout, catalog_path) -> None:
194
+ """
195
+
196
+ :param layout:
197
+ :param catalog_path:
198
+ """
199
+
200
+ class NODE_MT_group_base(NodeMenu):
201
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
202
+
203
+ bl_label: typing.Any
204
+ bl_rna: typing.Any
205
+ id_data: typing.Any
206
+
207
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
208
+ """
209
+
210
+ :return: The RNA type or default when not found.
211
+ :rtype: bpy.types.Struct
212
+ """
213
+
214
+ def bl_rna_get_subclass_py(self) -> typing.Any:
215
+ """
216
+
217
+ :return: The class or default when not found.
218
+ :rtype: typing.Any
219
+ """
220
+
221
+ def draw(self, context) -> None:
222
+ """
223
+
224
+ :param context:
225
+ """
226
+
227
+ class NODE_MT_layout_base(NodeMenu):
228
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
229
+
10
230
  bl_label: typing.Any
11
231
  bl_rna: typing.Any
12
232
  id_data: typing.Any
@@ -31,6 +251,39 @@ class NODE_MT_category_layout(_bpy_types.Menu):
31
251
  :param _context:
32
252
  """
33
253
 
254
+ class SwapNodeMenu(NodeMenu):
255
+ """A baseclass defining the shared methods for AddNodeMenu and SwapNodeMenu"""
256
+
257
+ bl_rna: typing.Any
258
+ draw_assets: typing.Any
259
+ id_data: typing.Any
260
+ main_operator_id: typing.Any
261
+ new_empty_group_operator_id: typing.Any
262
+ root_asset_menu: typing.Any
263
+ zone_operator_id: typing.Any
264
+
265
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
266
+ """
267
+
268
+ :return: The RNA type or default when not found.
269
+ :rtype: bpy.types.Struct
270
+ """
271
+
272
+ def bl_rna_get_subclass_py(self) -> typing.Any:
273
+ """
274
+
275
+ :return: The class or default when not found.
276
+ :rtype: typing.Any
277
+ """
278
+
279
+ @classmethod
280
+ def draw_assets_for_catalog(cls, layout, catalog_path) -> None:
281
+ """
282
+
283
+ :param layout:
284
+ :param catalog_path:
285
+ """
286
+
34
287
  def add_closure_zone(layout, label) -> None: ...
35
288
  def add_color_mix_node(context, layout) -> None: ...
36
289
  def add_empty_group(layout) -> None: ...
@@ -53,8 +306,9 @@ def add_repeat_zone(layout, label) -> None: ...
53
306
  def add_simulation_zone(layout, label) -> None:
54
307
  """Add simulation zone to a menu."""
55
308
 
56
- def draw_assets_for_catalog(layout, catalog_path) -> None: ...
57
309
  def draw_node_group_add_menu(context, layout) -> None:
58
310
  """Add items to the layout used for interacting with node groups."""
59
311
 
60
- def draw_root_assets(layout) -> None: ...
312
+ def generate_menu(bl_idname, template, layout_base, pathing_dict=None) -> None: ...
313
+ def generate_menus(menus, template, base_dict) -> None: ...
314
+ def generate_pathing_dict(pathing_dict, menus) -> None: ...