fake-bpy-module 20240706__py3-none-any.whl → 20240707__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.
- bl_operators/assets/__init__.pyi +8 -8
- bl_operators/image_as_planes/__init__.pyi +43 -43
- bl_operators/node/__init__.pyi +234 -234
- bl_operators/object_quick_effects/__init__.pyi +21 -21
- bl_operators/presets/__init__.pyi +388 -388
- bl_ui/properties_collection/__init__.pyi +12 -12
- bl_ui/properties_constraint/__init__.pyi +954 -954
- bl_ui/properties_data_armature/__init__.pyi +85 -85
- bl_ui/properties_data_bone/__init__.pyi +12 -12
- bl_ui/properties_data_curve/__init__.pyi +92 -92
- bl_ui/properties_data_curves/__init__.pyi +12 -12
- bl_ui/properties_data_empty/__init__.pyi +12 -12
- bl_ui/properties_data_gpencil/__init__.pyi +265 -265
- bl_ui/properties_data_grease_pencil/__init__.pyi +312 -312
- bl_ui/properties_data_lattice/__init__.pyi +12 -12
- bl_ui/properties_data_light/__init__.pyi +12 -12
- bl_ui/properties_data_lightprobe/__init__.pyi +12 -12
- bl_ui/properties_data_mesh/__init__.pyi +527 -527
- bl_ui/properties_data_metaball/__init__.pyi +12 -12
- bl_ui/properties_data_modifier/__init__.pyi +19 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +140 -140
- bl_ui/properties_data_shaderfx/__init__.pyi +5 -5
- bl_ui/properties_data_speaker/__init__.pyi +12 -12
- bl_ui/properties_data_volume/__init__.pyi +65 -65
- bl_ui/properties_freestyle/__init__.pyi +248 -248
- bl_ui/properties_material/__init__.pyi +145 -145
- bl_ui/properties_material_gpencil/__init__.pyi +86 -86
- bl_ui/properties_object/__init__.pyi +75 -75
- bl_ui/properties_output/__init__.pyi +201 -201
- bl_ui/properties_particle/__init__.pyi +220 -220
- bl_ui/properties_physics_cloth/__init__.pyi +12 -12
- bl_ui/properties_physics_common/__init__.pyi +12 -12
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +187 -187
- bl_ui/properties_physics_field/__init__.pyi +19 -19
- bl_ui/properties_physics_fluid/__init__.pyi +61 -61
- bl_ui/properties_physics_rigidbody/__init__.pyi +5 -5
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +5 -5
- bl_ui/properties_physics_softbody/__init__.pyi +12 -12
- bl_ui/properties_render/__init__.pyi +217 -217
- bl_ui/properties_scene/__init__.pyi +143 -143
- bl_ui/properties_texture/__init__.pyi +156 -156
- bl_ui/properties_view_layer/__init__.pyi +78 -78
- bl_ui/properties_workspace/__init__.pyi +64 -64
- bl_ui/properties_world/__init__.pyi +12 -12
- bl_ui/space_clip/__init__.pyi +366 -366
- bl_ui/space_dopesheet/__init__.pyi +176 -176
- bl_ui/space_filebrowser/__init__.pyi +735 -735
- bl_ui/space_image/__init__.pyi +646 -646
- bl_ui/space_sequencer/__init__.pyi +841 -389
- bl_ui/space_time/__init__.pyi +11 -11
- bl_ui/space_userpref/__init__.pyi +684 -684
- bl_ui/space_view3d/__init__.pyi +1152 -1152
- bl_ui/space_view3d_toolbar/__init__.pyi +2831 -2831
- bpy/types/__init__.pyi +69750 -69696
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240707.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240707.dist-info}/RECORD +62 -62
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +87 -87
- mathutils/__init__.pyi +156 -6
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240707.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240707.dist-info}/top_level.txt +0 -0
bl_operators/node/__init__.pyi
CHANGED
|
@@ -201,47 +201,8 @@ class NODE_FH_image_node:
|
|
|
201
201
|
"""
|
|
202
202
|
...
|
|
203
203
|
|
|
204
|
-
class NodeAddOperator:
|
|
205
|
-
|
|
206
|
-
"""
|
|
207
|
-
|
|
208
|
-
:param context:
|
|
209
|
-
:param node_type:
|
|
210
|
-
"""
|
|
211
|
-
...
|
|
212
|
-
|
|
213
|
-
def deselect_nodes(self, context):
|
|
214
|
-
"""
|
|
215
|
-
|
|
216
|
-
:param context:
|
|
217
|
-
"""
|
|
218
|
-
...
|
|
219
|
-
|
|
220
|
-
def invoke(self, context, event):
|
|
221
|
-
"""
|
|
222
|
-
|
|
223
|
-
:param context:
|
|
224
|
-
:param event:
|
|
225
|
-
"""
|
|
226
|
-
...
|
|
227
|
-
|
|
228
|
-
def poll(self, context):
|
|
229
|
-
"""
|
|
230
|
-
|
|
231
|
-
:param context:
|
|
232
|
-
"""
|
|
233
|
-
...
|
|
234
|
-
|
|
235
|
-
def store_mouse_cursor(self, context, event):
|
|
236
|
-
"""
|
|
237
|
-
|
|
238
|
-
:param context:
|
|
239
|
-
:param event:
|
|
240
|
-
"""
|
|
241
|
-
...
|
|
242
|
-
|
|
243
|
-
class NODE_OT_collapse_hide_unused_toggle:
|
|
244
|
-
"""Toggle collapsed nodes and hide unused sockets"""
|
|
204
|
+
class NODE_OT_add_node(NodeAddOperator):
|
|
205
|
+
"""Add a node to the active tree"""
|
|
245
206
|
|
|
246
207
|
bl_idname: typing.Any
|
|
247
208
|
bl_label: typing.Any
|
|
@@ -280,6 +241,29 @@ class NODE_OT_collapse_hide_unused_toggle:
|
|
|
280
241
|
"""
|
|
281
242
|
...
|
|
282
243
|
|
|
244
|
+
def create_node(self, context, node_type):
|
|
245
|
+
"""
|
|
246
|
+
|
|
247
|
+
:param context:
|
|
248
|
+
:param node_type:
|
|
249
|
+
"""
|
|
250
|
+
...
|
|
251
|
+
|
|
252
|
+
def description(self, _context, properties):
|
|
253
|
+
"""
|
|
254
|
+
|
|
255
|
+
:param _context:
|
|
256
|
+
:param properties:
|
|
257
|
+
"""
|
|
258
|
+
...
|
|
259
|
+
|
|
260
|
+
def deselect_nodes(self, context):
|
|
261
|
+
"""
|
|
262
|
+
|
|
263
|
+
:param context:
|
|
264
|
+
"""
|
|
265
|
+
...
|
|
266
|
+
|
|
283
267
|
def driver_add(self) -> bpy.types.FCurve:
|
|
284
268
|
"""Adds driver(s) to the given property
|
|
285
269
|
|
|
@@ -331,6 +315,14 @@ class NODE_OT_collapse_hide_unused_toggle:
|
|
|
331
315
|
"""
|
|
332
316
|
...
|
|
333
317
|
|
|
318
|
+
def invoke(self, context, event):
|
|
319
|
+
"""
|
|
320
|
+
|
|
321
|
+
:param context:
|
|
322
|
+
:param event:
|
|
323
|
+
"""
|
|
324
|
+
...
|
|
325
|
+
|
|
334
326
|
def is_property_hidden(self) -> bool:
|
|
335
327
|
"""Check if a property is hidden.
|
|
336
328
|
|
|
@@ -438,6 +430,14 @@ class NODE_OT_collapse_hide_unused_toggle:
|
|
|
438
430
|
"""Unset a property, will use default value afterward."""
|
|
439
431
|
...
|
|
440
432
|
|
|
433
|
+
def store_mouse_cursor(self, context, event):
|
|
434
|
+
"""
|
|
435
|
+
|
|
436
|
+
:param context:
|
|
437
|
+
:param event:
|
|
438
|
+
"""
|
|
439
|
+
...
|
|
440
|
+
|
|
441
441
|
def type_recast(self):
|
|
442
442
|
"""Return a new instance, this is needed because types
|
|
443
443
|
such as textures can be changed at runtime.
|
|
@@ -454,22 +454,16 @@ class NODE_OT_collapse_hide_unused_toggle:
|
|
|
454
454
|
"""
|
|
455
455
|
...
|
|
456
456
|
|
|
457
|
-
class
|
|
458
|
-
|
|
459
|
-
"""
|
|
460
|
-
|
|
461
|
-
:param context:
|
|
462
|
-
"""
|
|
463
|
-
...
|
|
464
|
-
|
|
465
|
-
class NODE_OT_tree_path_parent:
|
|
466
|
-
"""Go to parent node tree"""
|
|
457
|
+
class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
458
|
+
"""Add a repeat zone that allows executing nodes a dynamic number of times"""
|
|
467
459
|
|
|
468
460
|
bl_idname: typing.Any
|
|
469
461
|
bl_label: typing.Any
|
|
470
462
|
bl_options: typing.Any
|
|
471
463
|
bl_rna: typing.Any
|
|
472
464
|
id_data: typing.Any
|
|
465
|
+
input_node_type: typing.Any
|
|
466
|
+
output_node_type: typing.Any
|
|
473
467
|
|
|
474
468
|
def as_keywords(self, ignore=()):
|
|
475
469
|
"""Return a copy of the properties as a dictionary
|
|
@@ -502,6 +496,21 @@ class NODE_OT_tree_path_parent:
|
|
|
502
496
|
"""
|
|
503
497
|
...
|
|
504
498
|
|
|
499
|
+
def create_node(self, context, node_type):
|
|
500
|
+
"""
|
|
501
|
+
|
|
502
|
+
:param context:
|
|
503
|
+
:param node_type:
|
|
504
|
+
"""
|
|
505
|
+
...
|
|
506
|
+
|
|
507
|
+
def deselect_nodes(self, context):
|
|
508
|
+
"""
|
|
509
|
+
|
|
510
|
+
:param context:
|
|
511
|
+
"""
|
|
512
|
+
...
|
|
513
|
+
|
|
505
514
|
def driver_add(self) -> bpy.types.FCurve:
|
|
506
515
|
"""Adds driver(s) to the given property
|
|
507
516
|
|
|
@@ -553,6 +562,14 @@ class NODE_OT_tree_path_parent:
|
|
|
553
562
|
"""
|
|
554
563
|
...
|
|
555
564
|
|
|
565
|
+
def invoke(self, context, event):
|
|
566
|
+
"""
|
|
567
|
+
|
|
568
|
+
:param context:
|
|
569
|
+
:param event:
|
|
570
|
+
"""
|
|
571
|
+
...
|
|
572
|
+
|
|
556
573
|
def is_property_hidden(self) -> bool:
|
|
557
574
|
"""Check if a property is hidden.
|
|
558
575
|
|
|
@@ -660,6 +677,14 @@ class NODE_OT_tree_path_parent:
|
|
|
660
677
|
"""Unset a property, will use default value afterward."""
|
|
661
678
|
...
|
|
662
679
|
|
|
680
|
+
def store_mouse_cursor(self, context, event):
|
|
681
|
+
"""
|
|
682
|
+
|
|
683
|
+
:param context:
|
|
684
|
+
:param event:
|
|
685
|
+
"""
|
|
686
|
+
...
|
|
687
|
+
|
|
663
688
|
def type_recast(self):
|
|
664
689
|
"""Return a new instance, this is needed because types
|
|
665
690
|
such as textures can be changed at runtime.
|
|
@@ -676,9 +701,23 @@ class NODE_OT_tree_path_parent:
|
|
|
676
701
|
"""
|
|
677
702
|
...
|
|
678
703
|
|
|
679
|
-
class
|
|
704
|
+
class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
705
|
+
"""Add simulation zone input and output nodes to the active tree"""
|
|
706
|
+
|
|
707
|
+
bl_idname: typing.Any
|
|
708
|
+
bl_label: typing.Any
|
|
709
|
+
bl_options: typing.Any
|
|
680
710
|
bl_rna: typing.Any
|
|
681
711
|
id_data: typing.Any
|
|
712
|
+
input_node_type: typing.Any
|
|
713
|
+
output_node_type: typing.Any
|
|
714
|
+
|
|
715
|
+
def as_keywords(self, ignore=()):
|
|
716
|
+
"""Return a copy of the properties as a dictionary
|
|
717
|
+
|
|
718
|
+
:param ignore:
|
|
719
|
+
"""
|
|
720
|
+
...
|
|
682
721
|
|
|
683
722
|
def as_pointer(self) -> int:
|
|
684
723
|
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
@@ -704,6 +743,21 @@ class NodeSetting:
|
|
|
704
743
|
"""
|
|
705
744
|
...
|
|
706
745
|
|
|
746
|
+
def create_node(self, context, node_type):
|
|
747
|
+
"""
|
|
748
|
+
|
|
749
|
+
:param context:
|
|
750
|
+
:param node_type:
|
|
751
|
+
"""
|
|
752
|
+
...
|
|
753
|
+
|
|
754
|
+
def deselect_nodes(self, context):
|
|
755
|
+
"""
|
|
756
|
+
|
|
757
|
+
:param context:
|
|
758
|
+
"""
|
|
759
|
+
...
|
|
760
|
+
|
|
707
761
|
def driver_add(self) -> bpy.types.FCurve:
|
|
708
762
|
"""Adds driver(s) to the given property
|
|
709
763
|
|
|
@@ -720,6 +774,13 @@ class NodeSetting:
|
|
|
720
774
|
"""
|
|
721
775
|
...
|
|
722
776
|
|
|
777
|
+
def execute(self, context):
|
|
778
|
+
"""
|
|
779
|
+
|
|
780
|
+
:param context:
|
|
781
|
+
"""
|
|
782
|
+
...
|
|
783
|
+
|
|
723
784
|
def get(self):
|
|
724
785
|
"""Returns the value of the custom property assigned to key or default
|
|
725
786
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -748,6 +809,14 @@ class NodeSetting:
|
|
|
748
809
|
"""
|
|
749
810
|
...
|
|
750
811
|
|
|
812
|
+
def invoke(self, context, event):
|
|
813
|
+
"""
|
|
814
|
+
|
|
815
|
+
:param context:
|
|
816
|
+
:param event:
|
|
817
|
+
"""
|
|
818
|
+
...
|
|
819
|
+
|
|
751
820
|
def is_property_hidden(self) -> bool:
|
|
752
821
|
"""Check if a property is hidden.
|
|
753
822
|
|
|
@@ -825,6 +894,17 @@ class NodeSetting:
|
|
|
825
894
|
"""Returns the property from the path, raise an exception when not found."""
|
|
826
895
|
...
|
|
827
896
|
|
|
897
|
+
def poll(self, context):
|
|
898
|
+
"""
|
|
899
|
+
|
|
900
|
+
:param context:
|
|
901
|
+
"""
|
|
902
|
+
...
|
|
903
|
+
|
|
904
|
+
def poll_message_set(self):
|
|
905
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
906
|
+
...
|
|
907
|
+
|
|
828
908
|
def pop(self):
|
|
829
909
|
"""Remove and return the value of the custom property assigned to key or default
|
|
830
910
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -844,6 +924,14 @@ class NodeSetting:
|
|
|
844
924
|
"""Unset a property, will use default value afterward."""
|
|
845
925
|
...
|
|
846
926
|
|
|
927
|
+
def store_mouse_cursor(self, context, event):
|
|
928
|
+
"""
|
|
929
|
+
|
|
930
|
+
:param context:
|
|
931
|
+
:param event:
|
|
932
|
+
"""
|
|
933
|
+
...
|
|
934
|
+
|
|
847
935
|
def type_recast(self):
|
|
848
936
|
"""Return a new instance, this is needed because types
|
|
849
937
|
such as textures can be changed at runtime.
|
|
@@ -860,8 +948,8 @@ class NodeSetting:
|
|
|
860
948
|
"""
|
|
861
949
|
...
|
|
862
950
|
|
|
863
|
-
class
|
|
864
|
-
"""
|
|
951
|
+
class NODE_OT_collapse_hide_unused_toggle:
|
|
952
|
+
"""Toggle collapsed nodes and hide unused sockets"""
|
|
865
953
|
|
|
866
954
|
bl_idname: typing.Any
|
|
867
955
|
bl_label: typing.Any
|
|
@@ -900,29 +988,6 @@ class NODE_OT_add_node(NodeAddOperator):
|
|
|
900
988
|
"""
|
|
901
989
|
...
|
|
902
990
|
|
|
903
|
-
def create_node(self, context, node_type):
|
|
904
|
-
"""
|
|
905
|
-
|
|
906
|
-
:param context:
|
|
907
|
-
:param node_type:
|
|
908
|
-
"""
|
|
909
|
-
...
|
|
910
|
-
|
|
911
|
-
def description(self, _context, properties):
|
|
912
|
-
"""
|
|
913
|
-
|
|
914
|
-
:param _context:
|
|
915
|
-
:param properties:
|
|
916
|
-
"""
|
|
917
|
-
...
|
|
918
|
-
|
|
919
|
-
def deselect_nodes(self, context):
|
|
920
|
-
"""
|
|
921
|
-
|
|
922
|
-
:param context:
|
|
923
|
-
"""
|
|
924
|
-
...
|
|
925
|
-
|
|
926
991
|
def driver_add(self) -> bpy.types.FCurve:
|
|
927
992
|
"""Adds driver(s) to the given property
|
|
928
993
|
|
|
@@ -974,14 +1039,6 @@ class NODE_OT_add_node(NodeAddOperator):
|
|
|
974
1039
|
"""
|
|
975
1040
|
...
|
|
976
1041
|
|
|
977
|
-
def invoke(self, context, event):
|
|
978
|
-
"""
|
|
979
|
-
|
|
980
|
-
:param context:
|
|
981
|
-
:param event:
|
|
982
|
-
"""
|
|
983
|
-
...
|
|
984
|
-
|
|
985
1042
|
def is_property_hidden(self) -> bool:
|
|
986
1043
|
"""Check if a property is hidden.
|
|
987
1044
|
|
|
@@ -1089,14 +1146,6 @@ class NODE_OT_add_node(NodeAddOperator):
|
|
|
1089
1146
|
"""Unset a property, will use default value afterward."""
|
|
1090
1147
|
...
|
|
1091
1148
|
|
|
1092
|
-
def store_mouse_cursor(self, context, event):
|
|
1093
|
-
"""
|
|
1094
|
-
|
|
1095
|
-
:param context:
|
|
1096
|
-
:param event:
|
|
1097
|
-
"""
|
|
1098
|
-
...
|
|
1099
|
-
|
|
1100
1149
|
def type_recast(self):
|
|
1101
1150
|
"""Return a new instance, this is needed because types
|
|
1102
1151
|
such as textures can be changed at runtime.
|
|
@@ -1113,52 +1162,6 @@ class NODE_OT_add_node(NodeAddOperator):
|
|
|
1113
1162
|
"""
|
|
1114
1163
|
...
|
|
1115
1164
|
|
|
1116
|
-
class NodeAddZoneOperator(NodeAddOperator):
|
|
1117
|
-
def create_node(self, context, node_type):
|
|
1118
|
-
"""
|
|
1119
|
-
|
|
1120
|
-
:param context:
|
|
1121
|
-
:param node_type:
|
|
1122
|
-
"""
|
|
1123
|
-
...
|
|
1124
|
-
|
|
1125
|
-
def deselect_nodes(self, context):
|
|
1126
|
-
"""
|
|
1127
|
-
|
|
1128
|
-
:param context:
|
|
1129
|
-
"""
|
|
1130
|
-
...
|
|
1131
|
-
|
|
1132
|
-
def execute(self, context):
|
|
1133
|
-
"""
|
|
1134
|
-
|
|
1135
|
-
:param context:
|
|
1136
|
-
"""
|
|
1137
|
-
...
|
|
1138
|
-
|
|
1139
|
-
def invoke(self, context, event):
|
|
1140
|
-
"""
|
|
1141
|
-
|
|
1142
|
-
:param context:
|
|
1143
|
-
:param event:
|
|
1144
|
-
"""
|
|
1145
|
-
...
|
|
1146
|
-
|
|
1147
|
-
def poll(self, context):
|
|
1148
|
-
"""
|
|
1149
|
-
|
|
1150
|
-
:param context:
|
|
1151
|
-
"""
|
|
1152
|
-
...
|
|
1153
|
-
|
|
1154
|
-
def store_mouse_cursor(self, context, event):
|
|
1155
|
-
"""
|
|
1156
|
-
|
|
1157
|
-
:param context:
|
|
1158
|
-
:param event:
|
|
1159
|
-
"""
|
|
1160
|
-
...
|
|
1161
|
-
|
|
1162
1165
|
class NODE_OT_interface_item_duplicate(NodeInterfaceOperator):
|
|
1163
1166
|
"""Add a copy of the active item to the interface"""
|
|
1164
1167
|
|
|
@@ -1808,16 +1811,14 @@ class NODE_OT_interface_item_remove(NodeInterfaceOperator):
|
|
|
1808
1811
|
"""
|
|
1809
1812
|
...
|
|
1810
1813
|
|
|
1811
|
-
class
|
|
1812
|
-
"""
|
|
1814
|
+
class NODE_OT_tree_path_parent:
|
|
1815
|
+
"""Go to parent node tree"""
|
|
1813
1816
|
|
|
1814
1817
|
bl_idname: typing.Any
|
|
1815
1818
|
bl_label: typing.Any
|
|
1816
1819
|
bl_options: typing.Any
|
|
1817
1820
|
bl_rna: typing.Any
|
|
1818
1821
|
id_data: typing.Any
|
|
1819
|
-
input_node_type: typing.Any
|
|
1820
|
-
output_node_type: typing.Any
|
|
1821
1822
|
|
|
1822
1823
|
def as_keywords(self, ignore=()):
|
|
1823
1824
|
"""Return a copy of the properties as a dictionary
|
|
@@ -1850,21 +1851,6 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
1850
1851
|
"""
|
|
1851
1852
|
...
|
|
1852
1853
|
|
|
1853
|
-
def create_node(self, context, node_type):
|
|
1854
|
-
"""
|
|
1855
|
-
|
|
1856
|
-
:param context:
|
|
1857
|
-
:param node_type:
|
|
1858
|
-
"""
|
|
1859
|
-
...
|
|
1860
|
-
|
|
1861
|
-
def deselect_nodes(self, context):
|
|
1862
|
-
"""
|
|
1863
|
-
|
|
1864
|
-
:param context:
|
|
1865
|
-
"""
|
|
1866
|
-
...
|
|
1867
|
-
|
|
1868
1854
|
def driver_add(self) -> bpy.types.FCurve:
|
|
1869
1855
|
"""Adds driver(s) to the given property
|
|
1870
1856
|
|
|
@@ -1916,14 +1902,6 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
1916
1902
|
"""
|
|
1917
1903
|
...
|
|
1918
1904
|
|
|
1919
|
-
def invoke(self, context, event):
|
|
1920
|
-
"""
|
|
1921
|
-
|
|
1922
|
-
:param context:
|
|
1923
|
-
:param event:
|
|
1924
|
-
"""
|
|
1925
|
-
...
|
|
1926
|
-
|
|
1927
1905
|
def is_property_hidden(self) -> bool:
|
|
1928
1906
|
"""Check if a property is hidden.
|
|
1929
1907
|
|
|
@@ -2031,14 +2009,6 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
2031
2009
|
"""Unset a property, will use default value afterward."""
|
|
2032
2010
|
...
|
|
2033
2011
|
|
|
2034
|
-
def store_mouse_cursor(self, context, event):
|
|
2035
|
-
"""
|
|
2036
|
-
|
|
2037
|
-
:param context:
|
|
2038
|
-
:param event:
|
|
2039
|
-
"""
|
|
2040
|
-
...
|
|
2041
|
-
|
|
2042
2012
|
def type_recast(self):
|
|
2043
2013
|
"""Return a new instance, this is needed because types
|
|
2044
2014
|
such as textures can be changed at runtime.
|
|
@@ -2055,60 +2025,78 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
2055
2025
|
"""
|
|
2056
2026
|
...
|
|
2057
2027
|
|
|
2058
|
-
class
|
|
2059
|
-
|
|
2028
|
+
class NodeAddOperator:
|
|
2029
|
+
def create_node(self, context, node_type):
|
|
2030
|
+
"""
|
|
2060
2031
|
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
id_data: typing.Any
|
|
2066
|
-
input_node_type: typing.Any
|
|
2067
|
-
output_node_type: typing.Any
|
|
2032
|
+
:param context:
|
|
2033
|
+
:param node_type:
|
|
2034
|
+
"""
|
|
2035
|
+
...
|
|
2068
2036
|
|
|
2069
|
-
def
|
|
2070
|
-
"""
|
|
2037
|
+
def deselect_nodes(self, context):
|
|
2038
|
+
"""
|
|
2071
2039
|
|
|
2072
|
-
:param
|
|
2040
|
+
:param context:
|
|
2073
2041
|
"""
|
|
2074
2042
|
...
|
|
2075
2043
|
|
|
2076
|
-
def
|
|
2077
|
-
"""
|
|
2044
|
+
def invoke(self, context, event):
|
|
2045
|
+
"""
|
|
2078
2046
|
|
|
2079
|
-
:
|
|
2080
|
-
:
|
|
2047
|
+
:param context:
|
|
2048
|
+
:param event:
|
|
2081
2049
|
"""
|
|
2082
2050
|
...
|
|
2083
2051
|
|
|
2084
|
-
def
|
|
2052
|
+
def poll(self, context):
|
|
2085
2053
|
"""
|
|
2086
2054
|
|
|
2087
|
-
:
|
|
2088
|
-
:rtype: bpy.types.Struct
|
|
2055
|
+
:param context:
|
|
2089
2056
|
"""
|
|
2090
2057
|
...
|
|
2091
2058
|
|
|
2092
|
-
def
|
|
2059
|
+
def store_mouse_cursor(self, context, event):
|
|
2093
2060
|
"""
|
|
2094
2061
|
|
|
2095
|
-
:
|
|
2096
|
-
:
|
|
2062
|
+
:param context:
|
|
2063
|
+
:param event:
|
|
2097
2064
|
"""
|
|
2098
2065
|
...
|
|
2099
2066
|
|
|
2100
|
-
|
|
2067
|
+
class NodeInterfaceOperator:
|
|
2068
|
+
def poll(self, context):
|
|
2101
2069
|
"""
|
|
2102
2070
|
|
|
2103
2071
|
:param context:
|
|
2104
|
-
:param node_type:
|
|
2105
2072
|
"""
|
|
2106
2073
|
...
|
|
2107
2074
|
|
|
2108
|
-
|
|
2075
|
+
class NodeSetting:
|
|
2076
|
+
bl_rna: typing.Any
|
|
2077
|
+
id_data: typing.Any
|
|
2078
|
+
|
|
2079
|
+
def as_pointer(self) -> int:
|
|
2080
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2081
|
+
|
|
2082
|
+
:return: int (memory address).
|
|
2083
|
+
:rtype: int
|
|
2109
2084
|
"""
|
|
2085
|
+
...
|
|
2110
2086
|
|
|
2111
|
-
|
|
2087
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2088
|
+
"""
|
|
2089
|
+
|
|
2090
|
+
:return: The RNA type or default when not found.
|
|
2091
|
+
:rtype: bpy.types.Struct
|
|
2092
|
+
"""
|
|
2093
|
+
...
|
|
2094
|
+
|
|
2095
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2096
|
+
"""
|
|
2097
|
+
|
|
2098
|
+
:return: The class or default when not found.
|
|
2099
|
+
:rtype: typing.Any
|
|
2112
2100
|
"""
|
|
2113
2101
|
...
|
|
2114
2102
|
|
|
@@ -2128,13 +2116,6 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
2128
2116
|
"""
|
|
2129
2117
|
...
|
|
2130
2118
|
|
|
2131
|
-
def execute(self, context):
|
|
2132
|
-
"""
|
|
2133
|
-
|
|
2134
|
-
:param context:
|
|
2135
|
-
"""
|
|
2136
|
-
...
|
|
2137
|
-
|
|
2138
2119
|
def get(self):
|
|
2139
2120
|
"""Returns the value of the custom property assigned to key or default
|
|
2140
2121
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2163,14 +2144,6 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
2163
2144
|
"""
|
|
2164
2145
|
...
|
|
2165
2146
|
|
|
2166
|
-
def invoke(self, context, event):
|
|
2167
|
-
"""
|
|
2168
|
-
|
|
2169
|
-
:param context:
|
|
2170
|
-
:param event:
|
|
2171
|
-
"""
|
|
2172
|
-
...
|
|
2173
|
-
|
|
2174
2147
|
def is_property_hidden(self) -> bool:
|
|
2175
2148
|
"""Check if a property is hidden.
|
|
2176
2149
|
|
|
@@ -2248,17 +2221,6 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
2248
2221
|
"""Returns the property from the path, raise an exception when not found."""
|
|
2249
2222
|
...
|
|
2250
2223
|
|
|
2251
|
-
def poll(self, context):
|
|
2252
|
-
"""
|
|
2253
|
-
|
|
2254
|
-
:param context:
|
|
2255
|
-
"""
|
|
2256
|
-
...
|
|
2257
|
-
|
|
2258
|
-
def poll_message_set(self):
|
|
2259
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
2260
|
-
...
|
|
2261
|
-
|
|
2262
2224
|
def pop(self):
|
|
2263
2225
|
"""Remove and return the value of the custom property assigned to key or default
|
|
2264
2226
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2278,14 +2240,6 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
2278
2240
|
"""Unset a property, will use default value afterward."""
|
|
2279
2241
|
...
|
|
2280
2242
|
|
|
2281
|
-
def store_mouse_cursor(self, context, event):
|
|
2282
|
-
"""
|
|
2283
|
-
|
|
2284
|
-
:param context:
|
|
2285
|
-
:param event:
|
|
2286
|
-
"""
|
|
2287
|
-
...
|
|
2288
|
-
|
|
2289
2243
|
def type_recast(self):
|
|
2290
2244
|
"""Return a new instance, this is needed because types
|
|
2291
2245
|
such as textures can be changed at runtime.
|
|
@@ -2301,3 +2255,49 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
|
|
|
2301
2255
|
:return: custom property values.
|
|
2302
2256
|
"""
|
|
2303
2257
|
...
|
|
2258
|
+
|
|
2259
|
+
class NodeAddZoneOperator(NodeAddOperator):
|
|
2260
|
+
def create_node(self, context, node_type):
|
|
2261
|
+
"""
|
|
2262
|
+
|
|
2263
|
+
:param context:
|
|
2264
|
+
:param node_type:
|
|
2265
|
+
"""
|
|
2266
|
+
...
|
|
2267
|
+
|
|
2268
|
+
def deselect_nodes(self, context):
|
|
2269
|
+
"""
|
|
2270
|
+
|
|
2271
|
+
:param context:
|
|
2272
|
+
"""
|
|
2273
|
+
...
|
|
2274
|
+
|
|
2275
|
+
def execute(self, context):
|
|
2276
|
+
"""
|
|
2277
|
+
|
|
2278
|
+
:param context:
|
|
2279
|
+
"""
|
|
2280
|
+
...
|
|
2281
|
+
|
|
2282
|
+
def invoke(self, context, event):
|
|
2283
|
+
"""
|
|
2284
|
+
|
|
2285
|
+
:param context:
|
|
2286
|
+
:param event:
|
|
2287
|
+
"""
|
|
2288
|
+
...
|
|
2289
|
+
|
|
2290
|
+
def poll(self, context):
|
|
2291
|
+
"""
|
|
2292
|
+
|
|
2293
|
+
:param context:
|
|
2294
|
+
"""
|
|
2295
|
+
...
|
|
2296
|
+
|
|
2297
|
+
def store_mouse_cursor(self, context, event):
|
|
2298
|
+
"""
|
|
2299
|
+
|
|
2300
|
+
:param context:
|
|
2301
|
+
:param event:
|
|
2302
|
+
"""
|
|
2303
|
+
...
|