fake-bpy-module 20250612__py3-none-any.whl → 20260118__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.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +3 -1
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +4 -4
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +4 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -1
- _bpy_internal/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -2
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +1592 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +2 -0
- {rna_info → _rna_info}/__init__.pyi +4 -2
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +122 -145
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +5 -0
- bl_app_templates_system/py.typed +0 -0
- bl_math/__init__.pyi +3 -13
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +2 -3
- bl_operators/anim/__init__.pyi +62 -38
- bl_operators/assets/__init__.pyi +4 -9
- bl_operators/bone_selection_sets/__init__.pyi +15 -42
- bl_operators/clip/__init__.pyi +12 -31
- bl_operators/connect_to_output/__init__.pyi +2 -3
- bl_operators/console/__init__.pyi +6 -15
- bl_operators/constraint/__init__.pyi +6 -13
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +6 -11
- bl_operators/freestyle/__init__.pyi +5 -12
- bl_operators/geometry_nodes/__init__.pyi +5 -12
- bl_operators/grease_pencil/__init__.pyi +2 -3
- bl_operators/image/__init__.pyi +6 -15
- bl_operators/image_as_planes/__init__.pyi +3 -10
- bl_operators/mesh/__init__.pyi +3 -49
- bl_operators/node/__init__.pyi +294 -73
- bl_operators/object/__init__.pyi +17 -53
- bl_operators/object_align/__init__.pyi +2 -3
- bl_operators/object_quick_effects/__init__.pyi +5 -12
- bl_operators/object_randomize_transform/__init__.pyi +2 -3
- bl_operators/presets/__init__.pyi +27 -76
- bl_operators/rigidbody/__init__.pyi +4 -9
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -3
- bl_operators/sequencer/__init__.pyi +12 -27
- bl_operators/spreadsheet/__init__.pyi +2 -3
- bl_operators/userpref/__init__.pyi +26 -75
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -4
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -4
- bl_operators/uvcalc_transform/__init__.pyi +26 -16
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -3
- bl_operators/view3d/__init__.pyi +9 -24
- bl_operators/wm/__init__.pyi +48 -139
- bl_operators/world/__init__.pyi +3 -4
- bl_ui/__init__.pyi +7 -7
- bl_ui/anim/__init__.pyi +2 -3
- bl_ui/asset_shelf/__init__.pyi +2 -3
- bl_ui/generic_ui_list/__init__.pyi +4 -19
- bl_ui/node_add_menu/__init__.pyi +263 -7
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -79
- bl_ui/node_add_menu_geometry/__init__.pyi +309 -270
- bl_ui/node_add_menu_shader/__init__.pyi +49 -49
- bl_ui/node_add_menu_texture/__init__.pyi +17 -62
- bl_ui/properties_collection/__init__.pyi +9 -22
- bl_ui/properties_constraint/__init__.pyi +129 -282
- bl_ui/properties_data_armature/__init__.pyi +22 -57
- bl_ui/properties_data_bone/__init__.pyi +12 -31
- bl_ui/properties_data_camera/__init__.pyi +18 -47
- bl_ui/properties_data_curve/__init__.pyi +18 -47
- bl_ui/properties_data_curves/__init__.pyi +11 -26
- bl_ui/properties_data_empty/__init__.pyi +3 -6
- bl_ui/properties_data_grease_pencil/__init__.pyi +23 -62
- bl_ui/properties_data_lattice/__init__.pyi +7 -14
- bl_ui/properties_data_light/__init__.pyi +13 -32
- bl_ui/properties_data_lightprobe/__init__.pyi +16 -43
- bl_ui/properties_data_mesh/__init__.pyi +47 -62
- bl_ui/properties_data_metaball/__init__.pyi +9 -20
- bl_ui/properties_data_modifier/__init__.pyi +22 -28
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -3
- bl_ui/properties_data_speaker/__init__.pyi +9 -20
- bl_ui/properties_data_volume/__init__.pyi +12 -29
- bl_ui/properties_freestyle/__init__.pyi +27 -76
- bl_ui/properties_grease_pencil_common/__init__.pyi +10 -168
- bl_ui/properties_mask_common/__init__.pyi +8 -21
- bl_ui/properties_material/__init__.pyi +26 -86
- bl_ui/properties_material_gpencil/__init__.pyi +36 -57
- bl_ui/properties_object/__init__.pyi +59 -65
- bl_ui/properties_output/__init__.pyi +21 -60
- bl_ui/properties_paint_common/__init__.pyi +30 -22
- bl_ui/properties_particle/__init__.pyi +58 -161
- bl_ui/properties_physics_cloth/__init__.pyi +15 -42
- bl_ui/properties_physics_common/__init__.pyi +2 -3
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +23 -66
- bl_ui/properties_physics_field/__init__.pyi +11 -30
- bl_ui/properties_physics_fluid/__init__.pyi +29 -84
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +9 -24
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +14 -39
- bl_ui/properties_physics_softbody/__init__.pyi +16 -45
- bl_ui/properties_render/__init__.pyi +139 -197
- bl_ui/properties_scene/__init__.pyi +46 -50
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +30 -83
- bl_ui/properties_view_layer/__init__.pyi +84 -39
- bl_ui/properties_workspace/__init__.pyi +6 -13
- bl_ui/properties_world/__init__.pyi +14 -35
- bl_ui/space_clip/__init__.pyi +150 -231
- bl_ui/space_console/__init__.pyi +7 -18
- bl_ui/space_dopesheet/__init__.pyi +143 -100
- bl_ui/space_filebrowser/__init__.pyi +33 -90
- bl_ui/space_graph/__init__.pyi +48 -85
- bl_ui/space_image/__init__.pyi +111 -229
- bl_ui/space_info/__init__.pyi +7 -18
- bl_ui/space_nla/__init__.pyi +44 -73
- bl_ui/space_node/__init__.pyi +161 -123
- bl_ui/space_outliner/__init__.pyi +16 -45
- bl_ui/space_properties/__init__.pyi +34 -10
- bl_ui/space_sequencer/__init__.pyi +164 -901
- bl_ui/space_spreadsheet/__init__.pyi +4 -9
- bl_ui/space_statusbar/__init__.pyi +2 -3
- bl_ui/space_text/__init__.pyi +17 -48
- bl_ui/space_time/__init__.pyi +25 -71
- bl_ui/space_toolsystem_common/__init__.pyi +2 -2
- bl_ui/space_toolsystem_toolbar/__init__.pyi +30 -7
- bl_ui/space_topbar/__init__.pyi +35 -79
- bl_ui/space_userpref/__init__.pyi +185 -321
- bl_ui/space_view3d/__init__.pyi +337 -817
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +110 -880
- bl_ui/utils/__init__.pyi +0 -17
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +8 -54
- bmesh/__init__.pyi +2 -9
- bmesh/geometry/__init__.pyi +1 -4
- bmesh/ops/__init__.pyi +125 -508
- bmesh/types/__init__.pyi +318 -664
- bmesh/utils/__init__.pyi +17 -43
- bpy/__init__.pyi +1 -1
- bpy/app/__init__.pyi +93 -88
- bpy/app/handlers/__init__.pyi +19 -19
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +2 -7
- bpy/app/translations/__init__.pyi +8 -23
- bpy/msgbus/__init__.pyi +4 -6
- bpy/ops/action/__init__.pyi +68 -199
- bpy/ops/anim/__init__.pyi +142 -299
- bpy/ops/armature/__init__.pyi +78 -209
- bpy/ops/asset/__init__.pyi +46 -108
- bpy/ops/boid/__init__.pyi +28 -45
- bpy/ops/brush/__init__.pyi +13 -108
- bpy/ops/buttons/__init__.pyi +16 -75
- bpy/ops/cachefile/__init__.pyi +8 -65
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +173 -471
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +23 -36
- bpy/ops/console/__init__.pyi +40 -98
- bpy/ops/constraint/__init__.pyi +14 -85
- bpy/ops/curve/__init__.pyi +94 -277
- bpy/ops/curves/__init__.pyi +119 -166
- bpy/ops/cycles/__init__.pyi +4 -15
- bpy/ops/dpaint/__init__.pyi +14 -24
- bpy/ops/ed/__init__.pyi +44 -92
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +16 -170
- bpy/ops/extensions/__init__.pyi +60 -165
- bpy/ops/file/__init__.pyi +110 -246
- bpy/ops/fluid/__init__.pyi +52 -83
- bpy/ops/font/__init__.pyi +40 -144
- bpy/ops/geometry/__init__.pyi +12 -127
- bpy/ops/gizmogroup/__init__.pyi +4 -13
- bpy/ops/gpencil/__init__.pyi +22 -54
- bpy/ops/graph/__init__.pyi +92 -343
- bpy/ops/grease_pencil/__init__.pyi +218 -550
- bpy/ops/image/__init__.pyi +85 -435
- bpy/ops/import_anim/__init__.pyi +3 -17
- bpy/ops/import_curve/__init__.pyi +2 -5
- bpy/ops/import_scene/__init__.pyi +15 -49
- bpy/ops/info/__init__.pyi +16 -39
- bpy/ops/lattice/__init__.pyi +12 -36
- bpy/ops/marker/__init__.pyi +12 -51
- bpy/ops/mask/__init__.pyi +68 -193
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +4 -31
- bpy/ops/mesh/__init__.pyi +140 -967
- bpy/ops/nla/__init__.pyi +87 -206
- bpy/ops/node/__init__.pyi +714 -744
- bpy/ops/object/__init__.pyi +461 -1341
- bpy/ops/outliner/__init__.pyi +192 -376
- bpy/ops/paint/__init__.pyi +94 -319
- bpy/ops/paintcurve/__init__.pyi +20 -40
- bpy/ops/palette/__init__.pyi +14 -30
- bpy/ops/particle/__init__.pyi +86 -184
- bpy/ops/pointcloud/__init__.pyi +12 -38
- bpy/ops/pose/__init__.pyi +108 -261
- bpy/ops/poselib/__init__.pyi +32 -67
- bpy/ops/preferences/__init__.pyi +37 -187
- bpy/ops/ptcache/__init__.pyi +22 -36
- bpy/ops/render/__init__.pyi +20 -72
- bpy/ops/rigidbody/__init__.pyi +25 -63
- bpy/ops/scene/__init__.pyi +122 -181
- bpy/ops/screen/__init__.pyi +93 -221
- bpy/ops/script/__init__.pyi +4 -13
- bpy/ops/sculpt/__init__.pyi +69 -324
- bpy/ops/sculpt_curves/__init__.pyi +10 -23
- bpy/ops/sequencer/__init__.pyi +410 -730
- bpy/ops/sound/__init__.pyi +16 -114
- bpy/ops/spreadsheet/__init__.pyi +20 -37
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +112 -250
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +14 -21
- bpy/ops/transform/__init__.pyi +18 -386
- bpy/ops/ui/__init__.pyi +117 -188
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +238 -305
- bpy/ops/view2d/__init__.pyi +16 -76
- bpy/ops/view3d/__init__.pyi +153 -377
- bpy/ops/wm/__init__.pyi +277 -1397
- bpy/ops/workspace/__init__.pyi +32 -39
- bpy/ops/world/__init__.pyi +10 -12
- bpy/path/__init__.pyi +1 -35
- bpy/props/__init__.pyi +347 -218
- bpy/stub_internal/rna_enums/__init__.pyi +142 -108
- bpy/types/__init__.pyi +77367 -101305
- bpy/utils/__init__.pyi +11 -82
- bpy/utils/previews/__init__.pyi +2 -11
- bpy/utils/units/__init__.pyi +5 -15
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +2 -11
- bpy_extras/io_utils/__init__.pyi +8 -27
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +1 -9
- bpy_extras/object_utils/__init__.pyi +1 -15
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -1
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +17 -16
- freestyle/chainingiterators/__init__.pyi +5 -27
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +2 -53
- freestyle/shaders/__init__.pyi +15 -81
- freestyle/types/__init__.pyi +159 -799
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +5 -11
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +2 -7
- gpu/shader/__init__.pyi +26 -9
- gpu/state/__init__.pyi +60 -39
- gpu/texture/__init__.pyi +3 -5
- gpu/types/__init__.pyi +116 -184
- gpu_extras/batch/__init__.pyi +1 -5
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +3 -10
- imbuf/types/__init__.pyi +7 -21
- keyingsets_builtins/__init__.pyi +24 -67
- mathutils/__init__.pyi +241 -2207
- mathutils/bvhtree/__init__.pyi +18 -26
- mathutils/geometry/__init__.pyi +82 -132
- mathutils/interpolate/__init__.pyi +6 -5
- mathutils/kdtree/__init__.pyi +1 -11
- mathutils/noise/__init__.pyi +61 -106
- rna_prop_ui/__init__.pyi +1 -1
- bgl/__init__.pyi +0 -4256
- bpy_types/__init__.pyi +0 -30
- fake_bpy_module-20250612.dist-info/RECORD +0 -367
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
bl_operators/node/__init__.pyi
CHANGED
|
@@ -2,9 +2,10 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
+
import _bpy_types
|
|
5
6
|
import bpy.types
|
|
6
7
|
|
|
7
|
-
class NODE_FH_image_node(
|
|
8
|
+
class NODE_FH_image_node(_bpy_types.FileHandler):
|
|
8
9
|
bl_file_extensions: typing.Any
|
|
9
10
|
bl_idname: typing.Any
|
|
10
11
|
bl_import_operator: typing.Any
|
|
@@ -16,14 +17,12 @@ class NODE_FH_image_node(bpy.types.FileHandler):
|
|
|
16
17
|
"""
|
|
17
18
|
|
|
18
19
|
:return: The RNA type or default when not found.
|
|
19
|
-
:rtype: bpy.types.Struct
|
|
20
20
|
"""
|
|
21
21
|
|
|
22
22
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
25
|
:return: The class or default when not found.
|
|
26
|
-
:rtype: typing.Any
|
|
27
26
|
"""
|
|
28
27
|
|
|
29
28
|
@classmethod
|
|
@@ -33,7 +32,7 @@ class NODE_FH_image_node(bpy.types.FileHandler):
|
|
|
33
32
|
:param context:
|
|
34
33
|
"""
|
|
35
34
|
|
|
36
|
-
class NODE_OT_add_closure_zone(NodeAddZoneOperator,
|
|
35
|
+
class NODE_OT_add_closure_zone(NodeAddZoneOperator, _bpy_types.Operator):
|
|
37
36
|
"""Add a Closure zone"""
|
|
38
37
|
|
|
39
38
|
add_default_geometry_link: typing.Any
|
|
@@ -49,17 +48,15 @@ class NODE_OT_add_closure_zone(NodeAddZoneOperator, bpy.types.Operator):
|
|
|
49
48
|
"""
|
|
50
49
|
|
|
51
50
|
:return: The RNA type or default when not found.
|
|
52
|
-
:rtype: bpy.types.Struct
|
|
53
51
|
"""
|
|
54
52
|
|
|
55
53
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
56
54
|
"""
|
|
57
55
|
|
|
58
56
|
:return: The class or default when not found.
|
|
59
|
-
:rtype: typing.Any
|
|
60
57
|
"""
|
|
61
58
|
|
|
62
|
-
class NODE_OT_add_empty_group(NodeAddOperator,
|
|
59
|
+
class NODE_OT_add_empty_group(NodeAddOperator, _bpy_types.Operator):
|
|
63
60
|
bl_description: typing.Any
|
|
64
61
|
bl_idname: typing.Any
|
|
65
62
|
bl_label: typing.Any
|
|
@@ -71,14 +68,12 @@ class NODE_OT_add_empty_group(NodeAddOperator, bpy.types.Operator):
|
|
|
71
68
|
"""
|
|
72
69
|
|
|
73
70
|
:return: The RNA type or default when not found.
|
|
74
|
-
:rtype: bpy.types.Struct
|
|
75
71
|
"""
|
|
76
72
|
|
|
77
73
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
78
74
|
"""
|
|
79
75
|
|
|
80
76
|
:return: The class or default when not found.
|
|
81
|
-
:rtype: typing.Any
|
|
82
77
|
"""
|
|
83
78
|
|
|
84
79
|
@staticmethod
|
|
@@ -88,6 +83,14 @@ class NODE_OT_add_empty_group(NodeAddOperator, bpy.types.Operator):
|
|
|
88
83
|
:param idname:
|
|
89
84
|
"""
|
|
90
85
|
|
|
86
|
+
@classmethod
|
|
87
|
+
def description(cls, _context, properties) -> None:
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
:param _context:
|
|
91
|
+
:param properties:
|
|
92
|
+
"""
|
|
93
|
+
|
|
91
94
|
def execute(self, context) -> None:
|
|
92
95
|
"""
|
|
93
96
|
|
|
@@ -95,7 +98,7 @@ class NODE_OT_add_empty_group(NodeAddOperator, bpy.types.Operator):
|
|
|
95
98
|
"""
|
|
96
99
|
|
|
97
100
|
class NODE_OT_add_foreach_geometry_element_zone(
|
|
98
|
-
NodeAddZoneOperator,
|
|
101
|
+
NodeAddZoneOperator, _bpy_types.Operator
|
|
99
102
|
):
|
|
100
103
|
"""Add a For Each Geometry Element zone that allows executing nodes e.g. for each vertex separately"""
|
|
101
104
|
|
|
@@ -112,17 +115,15 @@ class NODE_OT_add_foreach_geometry_element_zone(
|
|
|
112
115
|
"""
|
|
113
116
|
|
|
114
117
|
:return: The RNA type or default when not found.
|
|
115
|
-
:rtype: bpy.types.Struct
|
|
116
118
|
"""
|
|
117
119
|
|
|
118
120
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
119
121
|
"""
|
|
120
122
|
|
|
121
123
|
:return: The class or default when not found.
|
|
122
|
-
:rtype: typing.Any
|
|
123
124
|
"""
|
|
124
125
|
|
|
125
|
-
class NODE_OT_add_node(NodeAddOperator,
|
|
126
|
+
class NODE_OT_add_node(NodeAddOperator, _bpy_types.Operator):
|
|
126
127
|
"""Add a node to the active tree"""
|
|
127
128
|
|
|
128
129
|
bl_idname: typing.Any
|
|
@@ -135,22 +136,12 @@ class NODE_OT_add_node(NodeAddOperator, bpy.types.Operator):
|
|
|
135
136
|
"""
|
|
136
137
|
|
|
137
138
|
:return: The RNA type or default when not found.
|
|
138
|
-
:rtype: bpy.types.Struct
|
|
139
139
|
"""
|
|
140
140
|
|
|
141
141
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
142
142
|
"""
|
|
143
143
|
|
|
144
144
|
:return: The class or default when not found.
|
|
145
|
-
:rtype: typing.Any
|
|
146
|
-
"""
|
|
147
|
-
|
|
148
|
-
@classmethod
|
|
149
|
-
def description(cls, _context, properties) -> None:
|
|
150
|
-
"""
|
|
151
|
-
|
|
152
|
-
:param _context:
|
|
153
|
-
:param properties:
|
|
154
145
|
"""
|
|
155
146
|
|
|
156
147
|
def execute(self, context) -> None:
|
|
@@ -159,7 +150,7 @@ class NODE_OT_add_node(NodeAddOperator, bpy.types.Operator):
|
|
|
159
150
|
:param context:
|
|
160
151
|
"""
|
|
161
152
|
|
|
162
|
-
class NODE_OT_add_repeat_zone(NodeAddZoneOperator,
|
|
153
|
+
class NODE_OT_add_repeat_zone(NodeAddZoneOperator, _bpy_types.Operator):
|
|
163
154
|
"""Add a repeat zone that allows executing nodes a dynamic number of times"""
|
|
164
155
|
|
|
165
156
|
add_default_geometry_link: typing.Any
|
|
@@ -175,17 +166,15 @@ class NODE_OT_add_repeat_zone(NodeAddZoneOperator, bpy.types.Operator):
|
|
|
175
166
|
"""
|
|
176
167
|
|
|
177
168
|
:return: The RNA type or default when not found.
|
|
178
|
-
:rtype: bpy.types.Struct
|
|
179
169
|
"""
|
|
180
170
|
|
|
181
171
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
182
172
|
"""
|
|
183
173
|
|
|
184
174
|
:return: The class or default when not found.
|
|
185
|
-
:rtype: typing.Any
|
|
186
175
|
"""
|
|
187
176
|
|
|
188
|
-
class NODE_OT_add_simulation_zone(NodeAddZoneOperator,
|
|
177
|
+
class NODE_OT_add_simulation_zone(NodeAddZoneOperator, _bpy_types.Operator):
|
|
189
178
|
"""Add simulation zone input and output nodes to the active tree"""
|
|
190
179
|
|
|
191
180
|
add_default_geometry_link: typing.Any
|
|
@@ -201,17 +190,35 @@ class NODE_OT_add_simulation_zone(NodeAddZoneOperator, bpy.types.Operator):
|
|
|
201
190
|
"""
|
|
202
191
|
|
|
203
192
|
:return: The RNA type or default when not found.
|
|
204
|
-
:rtype: bpy.types.Struct
|
|
205
193
|
"""
|
|
206
194
|
|
|
207
195
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
208
196
|
"""
|
|
209
197
|
|
|
210
198
|
:return: The class or default when not found.
|
|
211
|
-
:rtype: typing.Any
|
|
212
199
|
"""
|
|
213
200
|
|
|
214
|
-
class
|
|
201
|
+
class NODE_OT_add_zone(NodeAddZoneOperator, _bpy_types.Operator):
|
|
202
|
+
add_default_geometry_link: typing.Any
|
|
203
|
+
bl_idname: typing.Any
|
|
204
|
+
bl_label: typing.Any
|
|
205
|
+
bl_options: typing.Any
|
|
206
|
+
bl_rna: typing.Any
|
|
207
|
+
id_data: typing.Any
|
|
208
|
+
|
|
209
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
210
|
+
"""
|
|
211
|
+
|
|
212
|
+
:return: The RNA type or default when not found.
|
|
213
|
+
"""
|
|
214
|
+
|
|
215
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
216
|
+
"""
|
|
217
|
+
|
|
218
|
+
:return: The class or default when not found.
|
|
219
|
+
"""
|
|
220
|
+
|
|
221
|
+
class NODE_OT_collapse_hide_unused_toggle(_bpy_types.Operator):
|
|
215
222
|
"""Toggle collapsed nodes and hide unused sockets"""
|
|
216
223
|
|
|
217
224
|
bl_idname: typing.Any
|
|
@@ -224,14 +231,12 @@ class NODE_OT_collapse_hide_unused_toggle(bpy.types.Operator):
|
|
|
224
231
|
"""
|
|
225
232
|
|
|
226
233
|
:return: The RNA type or default when not found.
|
|
227
|
-
:rtype: bpy.types.Struct
|
|
228
234
|
"""
|
|
229
235
|
|
|
230
236
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
231
237
|
"""
|
|
232
238
|
|
|
233
239
|
:return: The class or default when not found.
|
|
234
|
-
:rtype: typing.Any
|
|
235
240
|
"""
|
|
236
241
|
|
|
237
242
|
def execute(self, context) -> None:
|
|
@@ -247,7 +252,7 @@ class NODE_OT_collapse_hide_unused_toggle(bpy.types.Operator):
|
|
|
247
252
|
:param context:
|
|
248
253
|
"""
|
|
249
254
|
|
|
250
|
-
class NODE_OT_interface_item_duplicate(NodeInterfaceOperator,
|
|
255
|
+
class NODE_OT_interface_item_duplicate(NodeInterfaceOperator, _bpy_types.Operator):
|
|
251
256
|
"""Add a copy of the active item to the interface"""
|
|
252
257
|
|
|
253
258
|
bl_idname: typing.Any
|
|
@@ -260,14 +265,12 @@ class NODE_OT_interface_item_duplicate(NodeInterfaceOperator, bpy.types.Operator
|
|
|
260
265
|
"""
|
|
261
266
|
|
|
262
267
|
:return: The RNA type or default when not found.
|
|
263
|
-
:rtype: bpy.types.Struct
|
|
264
268
|
"""
|
|
265
269
|
|
|
266
270
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
267
271
|
"""
|
|
268
272
|
|
|
269
273
|
:return: The class or default when not found.
|
|
270
|
-
:rtype: typing.Any
|
|
271
274
|
"""
|
|
272
275
|
|
|
273
276
|
def execute(self, context) -> None:
|
|
@@ -284,7 +287,7 @@ class NODE_OT_interface_item_duplicate(NodeInterfaceOperator, bpy.types.Operator
|
|
|
284
287
|
"""
|
|
285
288
|
|
|
286
289
|
class NODE_OT_interface_item_make_panel_toggle(
|
|
287
|
-
NodeInterfaceOperator,
|
|
290
|
+
NodeInterfaceOperator, _bpy_types.Operator
|
|
288
291
|
):
|
|
289
292
|
"""Make the active boolean socket a toggle for its parent panel"""
|
|
290
293
|
|
|
@@ -298,14 +301,12 @@ class NODE_OT_interface_item_make_panel_toggle(
|
|
|
298
301
|
"""
|
|
299
302
|
|
|
300
303
|
:return: The RNA type or default when not found.
|
|
301
|
-
:rtype: bpy.types.Struct
|
|
302
304
|
"""
|
|
303
305
|
|
|
304
306
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
305
307
|
"""
|
|
306
308
|
|
|
307
309
|
:return: The class or default when not found.
|
|
308
|
-
:rtype: typing.Any
|
|
309
310
|
"""
|
|
310
311
|
|
|
311
312
|
def execute(self, context) -> None:
|
|
@@ -321,7 +322,7 @@ class NODE_OT_interface_item_make_panel_toggle(
|
|
|
321
322
|
:param context:
|
|
322
323
|
"""
|
|
323
324
|
|
|
324
|
-
class NODE_OT_interface_item_new(NodeInterfaceOperator,
|
|
325
|
+
class NODE_OT_interface_item_new(NodeInterfaceOperator, _bpy_types.Operator):
|
|
325
326
|
"""Add a new item to the interface"""
|
|
326
327
|
|
|
327
328
|
bl_idname: typing.Any
|
|
@@ -334,14 +335,12 @@ class NODE_OT_interface_item_new(NodeInterfaceOperator, bpy.types.Operator):
|
|
|
334
335
|
"""
|
|
335
336
|
|
|
336
337
|
:return: The RNA type or default when not found.
|
|
337
|
-
:rtype: bpy.types.Struct
|
|
338
338
|
"""
|
|
339
339
|
|
|
340
340
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
341
341
|
"""
|
|
342
342
|
|
|
343
343
|
:return: The class or default when not found.
|
|
344
|
-
:rtype: typing.Any
|
|
345
344
|
"""
|
|
346
345
|
|
|
347
346
|
def execute(self, context) -> None:
|
|
@@ -357,15 +356,49 @@ class NODE_OT_interface_item_new(NodeInterfaceOperator, bpy.types.Operator):
|
|
|
357
356
|
:param tree:
|
|
358
357
|
"""
|
|
359
358
|
|
|
360
|
-
|
|
359
|
+
class NODE_OT_interface_item_new_panel_toggle(_bpy_types.Operator):
|
|
360
|
+
"""Add a checkbox to the currently selected panel"""
|
|
361
|
+
|
|
362
|
+
bl_idname: typing.Any
|
|
363
|
+
bl_label: typing.Any
|
|
364
|
+
bl_options: typing.Any
|
|
365
|
+
bl_rna: typing.Any
|
|
366
|
+
id_data: typing.Any
|
|
367
|
+
|
|
368
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
369
|
+
"""
|
|
370
|
+
|
|
371
|
+
:return: The RNA type or default when not found.
|
|
372
|
+
"""
|
|
373
|
+
|
|
374
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
375
|
+
"""
|
|
376
|
+
|
|
377
|
+
:return: The class or default when not found.
|
|
378
|
+
"""
|
|
379
|
+
|
|
380
|
+
def execute(self, context) -> None:
|
|
381
|
+
"""
|
|
382
|
+
|
|
383
|
+
:param context:
|
|
384
|
+
"""
|
|
385
|
+
|
|
386
|
+
@staticmethod
|
|
387
|
+
def get_panel_toggle(panel) -> None:
|
|
388
|
+
"""
|
|
389
|
+
|
|
390
|
+
:param panel:
|
|
391
|
+
"""
|
|
392
|
+
|
|
393
|
+
@classmethod
|
|
394
|
+
def poll(cls, context) -> None:
|
|
361
395
|
"""
|
|
362
396
|
|
|
363
|
-
:param _self:
|
|
364
397
|
:param context:
|
|
365
398
|
"""
|
|
366
399
|
|
|
367
|
-
class NODE_OT_interface_item_remove(NodeInterfaceOperator,
|
|
368
|
-
"""Remove
|
|
400
|
+
class NODE_OT_interface_item_remove(NodeInterfaceOperator, _bpy_types.Operator):
|
|
401
|
+
"""Remove selected items from the interface"""
|
|
369
402
|
|
|
370
403
|
bl_idname: typing.Any
|
|
371
404
|
bl_label: typing.Any
|
|
@@ -377,14 +410,12 @@ class NODE_OT_interface_item_remove(NodeInterfaceOperator, bpy.types.Operator):
|
|
|
377
410
|
"""
|
|
378
411
|
|
|
379
412
|
:return: The RNA type or default when not found.
|
|
380
|
-
:rtype: bpy.types.Struct
|
|
381
413
|
"""
|
|
382
414
|
|
|
383
415
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
384
416
|
"""
|
|
385
417
|
|
|
386
418
|
:return: The class or default when not found.
|
|
387
|
-
:rtype: typing.Any
|
|
388
419
|
"""
|
|
389
420
|
|
|
390
421
|
def execute(self, context) -> None:
|
|
@@ -394,7 +425,7 @@ class NODE_OT_interface_item_remove(NodeInterfaceOperator, bpy.types.Operator):
|
|
|
394
425
|
"""
|
|
395
426
|
|
|
396
427
|
class NODE_OT_interface_item_unlink_panel_toggle(
|
|
397
|
-
NodeInterfaceOperator,
|
|
428
|
+
NodeInterfaceOperator, _bpy_types.Operator
|
|
398
429
|
):
|
|
399
430
|
"""Make the panel toggle a stand-alone socket"""
|
|
400
431
|
|
|
@@ -408,14 +439,12 @@ class NODE_OT_interface_item_unlink_panel_toggle(
|
|
|
408
439
|
"""
|
|
409
440
|
|
|
410
441
|
:return: The RNA type or default when not found.
|
|
411
|
-
:rtype: bpy.types.Struct
|
|
412
442
|
"""
|
|
413
443
|
|
|
414
444
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
415
445
|
"""
|
|
416
446
|
|
|
417
447
|
:return: The class or default when not found.
|
|
418
|
-
:rtype: typing.Any
|
|
419
448
|
"""
|
|
420
449
|
|
|
421
450
|
def execute(self, context) -> None:
|
|
@@ -431,7 +460,133 @@ class NODE_OT_interface_item_unlink_panel_toggle(
|
|
|
431
460
|
:param context:
|
|
432
461
|
"""
|
|
433
462
|
|
|
434
|
-
class
|
|
463
|
+
class NODE_OT_swap_empty_group(NodeSwapOperator, _bpy_types.Operator):
|
|
464
|
+
bl_description: typing.Any
|
|
465
|
+
bl_idname: typing.Any
|
|
466
|
+
bl_label: typing.Any
|
|
467
|
+
bl_options: typing.Any
|
|
468
|
+
bl_rna: typing.Any
|
|
469
|
+
id_data: typing.Any
|
|
470
|
+
properties_to_pass: typing.Any
|
|
471
|
+
|
|
472
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
473
|
+
"""
|
|
474
|
+
|
|
475
|
+
:return: The RNA type or default when not found.
|
|
476
|
+
"""
|
|
477
|
+
|
|
478
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
479
|
+
"""
|
|
480
|
+
|
|
481
|
+
:return: The class or default when not found.
|
|
482
|
+
"""
|
|
483
|
+
|
|
484
|
+
@staticmethod
|
|
485
|
+
def create_empty_group(idname) -> None:
|
|
486
|
+
"""
|
|
487
|
+
|
|
488
|
+
:param idname:
|
|
489
|
+
"""
|
|
490
|
+
|
|
491
|
+
@classmethod
|
|
492
|
+
def description(cls, _context, properties) -> None:
|
|
493
|
+
"""
|
|
494
|
+
|
|
495
|
+
:param _context:
|
|
496
|
+
:param properties:
|
|
497
|
+
"""
|
|
498
|
+
|
|
499
|
+
def execute(self, context) -> None:
|
|
500
|
+
"""
|
|
501
|
+
|
|
502
|
+
:param context:
|
|
503
|
+
"""
|
|
504
|
+
|
|
505
|
+
class NODE_OT_swap_node(NodeSwapOperator, _bpy_types.Operator):
|
|
506
|
+
"""Replace the selected nodes with the specified type"""
|
|
507
|
+
|
|
508
|
+
bl_idname: typing.Any
|
|
509
|
+
bl_label: typing.Any
|
|
510
|
+
bl_options: typing.Any
|
|
511
|
+
bl_rna: typing.Any
|
|
512
|
+
id_data: typing.Any
|
|
513
|
+
properties_to_pass: typing.Any
|
|
514
|
+
|
|
515
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
516
|
+
"""
|
|
517
|
+
|
|
518
|
+
:return: The RNA type or default when not found.
|
|
519
|
+
"""
|
|
520
|
+
|
|
521
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
522
|
+
"""
|
|
523
|
+
|
|
524
|
+
:return: The class or default when not found.
|
|
525
|
+
"""
|
|
526
|
+
|
|
527
|
+
def execute(self, context) -> None:
|
|
528
|
+
"""
|
|
529
|
+
|
|
530
|
+
:param context:
|
|
531
|
+
"""
|
|
532
|
+
|
|
533
|
+
@staticmethod
|
|
534
|
+
def get_zone_pair(tree, node) -> None:
|
|
535
|
+
"""
|
|
536
|
+
|
|
537
|
+
:param tree:
|
|
538
|
+
:param node:
|
|
539
|
+
"""
|
|
540
|
+
|
|
541
|
+
class NODE_OT_swap_zone(NodeSwapOperator, ZoneOperator, _bpy_types.Operator):
|
|
542
|
+
bl_idname: typing.Any
|
|
543
|
+
bl_label: typing.Any
|
|
544
|
+
bl_options: typing.Any
|
|
545
|
+
bl_rna: typing.Any
|
|
546
|
+
id_data: typing.Any
|
|
547
|
+
properties_to_pass: typing.Any
|
|
548
|
+
|
|
549
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
550
|
+
"""
|
|
551
|
+
|
|
552
|
+
:return: The RNA type or default when not found.
|
|
553
|
+
"""
|
|
554
|
+
|
|
555
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
556
|
+
"""
|
|
557
|
+
|
|
558
|
+
:return: The class or default when not found.
|
|
559
|
+
"""
|
|
560
|
+
|
|
561
|
+
def execute(self, context) -> None:
|
|
562
|
+
"""
|
|
563
|
+
|
|
564
|
+
:param context:
|
|
565
|
+
"""
|
|
566
|
+
|
|
567
|
+
@staticmethod
|
|
568
|
+
def get_child_items(node) -> None:
|
|
569
|
+
"""
|
|
570
|
+
|
|
571
|
+
:param node:
|
|
572
|
+
"""
|
|
573
|
+
|
|
574
|
+
@staticmethod
|
|
575
|
+
def get_zone_pair(tree, node) -> None:
|
|
576
|
+
"""
|
|
577
|
+
|
|
578
|
+
:param tree:
|
|
579
|
+
:param node:
|
|
580
|
+
"""
|
|
581
|
+
|
|
582
|
+
def transfer_zone_sockets(self, old_node, new_node) -> None:
|
|
583
|
+
"""
|
|
584
|
+
|
|
585
|
+
:param old_node:
|
|
586
|
+
:param new_node:
|
|
587
|
+
"""
|
|
588
|
+
|
|
589
|
+
class NODE_OT_tree_path_parent(_bpy_types.Operator):
|
|
435
590
|
"""Go to parent node tree"""
|
|
436
591
|
|
|
437
592
|
bl_idname: typing.Any
|
|
@@ -444,14 +599,12 @@ class NODE_OT_tree_path_parent(bpy.types.Operator):
|
|
|
444
599
|
"""
|
|
445
600
|
|
|
446
601
|
:return: The RNA type or default when not found.
|
|
447
|
-
:rtype: bpy.types.Struct
|
|
448
602
|
"""
|
|
449
603
|
|
|
450
604
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
451
605
|
"""
|
|
452
606
|
|
|
453
607
|
:return: The class or default when not found.
|
|
454
|
-
:rtype: typing.Any
|
|
455
608
|
"""
|
|
456
609
|
|
|
457
610
|
def execute(self, context) -> None:
|
|
@@ -467,8 +620,8 @@ class NODE_OT_tree_path_parent(bpy.types.Operator):
|
|
|
467
620
|
:param context:
|
|
468
621
|
"""
|
|
469
622
|
|
|
470
|
-
class NODE_OT_viewer_shortcut_get(
|
|
471
|
-
"""
|
|
623
|
+
class NODE_OT_viewer_shortcut_get(_bpy_types.Operator):
|
|
624
|
+
"""Toggle a specific viewer node using 1,2,..,9 keys"""
|
|
472
625
|
|
|
473
626
|
bl_idname: typing.Any
|
|
474
627
|
bl_label: typing.Any
|
|
@@ -480,14 +633,12 @@ class NODE_OT_viewer_shortcut_get(bpy.types.Operator):
|
|
|
480
633
|
"""
|
|
481
634
|
|
|
482
635
|
:return: The RNA type or default when not found.
|
|
483
|
-
:rtype: bpy.types.Struct
|
|
484
636
|
"""
|
|
485
637
|
|
|
486
638
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
487
639
|
"""
|
|
488
640
|
|
|
489
641
|
:return: The class or default when not found.
|
|
490
|
-
:rtype: typing.Any
|
|
491
642
|
"""
|
|
492
643
|
|
|
493
644
|
def execute(self, context) -> None:
|
|
@@ -503,8 +654,8 @@ class NODE_OT_viewer_shortcut_get(bpy.types.Operator):
|
|
|
503
654
|
:param context:
|
|
504
655
|
"""
|
|
505
656
|
|
|
506
|
-
class NODE_OT_viewer_shortcut_set(
|
|
507
|
-
"""Create a
|
|
657
|
+
class NODE_OT_viewer_shortcut_set(_bpy_types.Operator):
|
|
658
|
+
"""Create a viewer shortcut for the selected node by pressing ctrl+1,2,..9"""
|
|
508
659
|
|
|
509
660
|
bl_idname: typing.Any
|
|
510
661
|
bl_label: typing.Any
|
|
@@ -516,14 +667,12 @@ class NODE_OT_viewer_shortcut_set(bpy.types.Operator):
|
|
|
516
667
|
"""
|
|
517
668
|
|
|
518
669
|
:return: The RNA type or default when not found.
|
|
519
|
-
:rtype: bpy.types.Struct
|
|
520
670
|
"""
|
|
521
671
|
|
|
522
672
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
523
673
|
"""
|
|
524
674
|
|
|
525
675
|
:return: The class or default when not found.
|
|
526
|
-
:rtype: typing.Any
|
|
527
676
|
"""
|
|
528
677
|
|
|
529
678
|
def execute(self, context) -> None:
|
|
@@ -545,7 +694,13 @@ class NODE_OT_viewer_shortcut_set(bpy.types.Operator):
|
|
|
545
694
|
:param context:
|
|
546
695
|
"""
|
|
547
696
|
|
|
548
|
-
class
|
|
697
|
+
class NodeOperator:
|
|
698
|
+
def apply_node_settings(self, node) -> None:
|
|
699
|
+
"""
|
|
700
|
+
|
|
701
|
+
:param node:
|
|
702
|
+
"""
|
|
703
|
+
|
|
549
704
|
def create_node(self, context, node_type) -> None:
|
|
550
705
|
"""
|
|
551
706
|
|
|
@@ -553,6 +708,14 @@ class NodeAddOperator:
|
|
|
553
708
|
:param node_type:
|
|
554
709
|
"""
|
|
555
710
|
|
|
711
|
+
@classmethod
|
|
712
|
+
def description(cls, _context, properties) -> None:
|
|
713
|
+
"""
|
|
714
|
+
|
|
715
|
+
:param _context:
|
|
716
|
+
:param properties:
|
|
717
|
+
"""
|
|
718
|
+
|
|
556
719
|
@staticmethod
|
|
557
720
|
def deselect_nodes(context) -> None:
|
|
558
721
|
"""
|
|
@@ -560,6 +723,40 @@ class NodeAddOperator:
|
|
|
560
723
|
:param context:
|
|
561
724
|
"""
|
|
562
725
|
|
|
726
|
+
class NodeInterfaceOperator:
|
|
727
|
+
@classmethod
|
|
728
|
+
def poll(cls, context) -> None:
|
|
729
|
+
"""
|
|
730
|
+
|
|
731
|
+
:param context:
|
|
732
|
+
"""
|
|
733
|
+
|
|
734
|
+
class NodeSetting(_bpy_types.PropertyGroup):
|
|
735
|
+
bl_rna: typing.Any
|
|
736
|
+
id_data: typing.Any
|
|
737
|
+
|
|
738
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
739
|
+
"""
|
|
740
|
+
|
|
741
|
+
:return: The RNA type or default when not found.
|
|
742
|
+
"""
|
|
743
|
+
|
|
744
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
745
|
+
"""
|
|
746
|
+
|
|
747
|
+
:return: The class or default when not found.
|
|
748
|
+
"""
|
|
749
|
+
|
|
750
|
+
class ZoneOperator:
|
|
751
|
+
@classmethod
|
|
752
|
+
def description(cls, _context, properties) -> None:
|
|
753
|
+
"""
|
|
754
|
+
|
|
755
|
+
:param _context:
|
|
756
|
+
:param properties:
|
|
757
|
+
"""
|
|
758
|
+
|
|
759
|
+
class NodeAddOperator(NodeOperator):
|
|
563
760
|
def invoke(self, context, event) -> None:
|
|
564
761
|
"""
|
|
565
762
|
|
|
@@ -582,7 +779,16 @@ class NodeAddOperator:
|
|
|
582
779
|
:param event:
|
|
583
780
|
"""
|
|
584
781
|
|
|
585
|
-
class
|
|
782
|
+
class NodeSwapOperator(NodeOperator):
|
|
783
|
+
properties_to_pass: typing.Any
|
|
784
|
+
|
|
785
|
+
@staticmethod
|
|
786
|
+
def get_switch_items(node) -> None:
|
|
787
|
+
"""
|
|
788
|
+
|
|
789
|
+
:param node:
|
|
790
|
+
"""
|
|
791
|
+
|
|
586
792
|
@classmethod
|
|
587
793
|
def poll(cls, context) -> None:
|
|
588
794
|
"""
|
|
@@ -590,25 +796,38 @@ class NodeInterfaceOperator:
|
|
|
590
796
|
:param context:
|
|
591
797
|
"""
|
|
592
798
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
id_data: typing.Any
|
|
799
|
+
def transfer_input_values(self, old_node, new_node) -> None:
|
|
800
|
+
"""
|
|
596
801
|
|
|
597
|
-
|
|
802
|
+
:param old_node:
|
|
803
|
+
:param new_node:
|
|
598
804
|
"""
|
|
599
805
|
|
|
600
|
-
|
|
601
|
-
|
|
806
|
+
@staticmethod
|
|
807
|
+
def transfer_links(tree, old_node, new_node, is_input) -> None:
|
|
602
808
|
"""
|
|
603
809
|
|
|
604
|
-
|
|
810
|
+
:param tree:
|
|
811
|
+
:param old_node:
|
|
812
|
+
:param new_node:
|
|
813
|
+
:param is_input:
|
|
605
814
|
"""
|
|
606
815
|
|
|
607
|
-
|
|
608
|
-
:rtype: typing.Any
|
|
816
|
+
def transfer_node_properties(self, old_node, new_node) -> None:
|
|
609
817
|
"""
|
|
610
818
|
|
|
611
|
-
|
|
819
|
+
:param old_node:
|
|
820
|
+
:param new_node:
|
|
821
|
+
"""
|
|
822
|
+
|
|
823
|
+
def transfer_switch_data(self, old_node, new_node) -> None:
|
|
824
|
+
"""
|
|
825
|
+
|
|
826
|
+
:param old_node:
|
|
827
|
+
:param new_node:
|
|
828
|
+
"""
|
|
829
|
+
|
|
830
|
+
class NodeAddZoneOperator(ZoneOperator, NodeAddOperator):
|
|
612
831
|
add_default_geometry_link: typing.Any
|
|
613
832
|
|
|
614
833
|
def execute(self, context) -> None:
|
|
@@ -616,3 +835,5 @@ class NodeAddZoneOperator(NodeAddOperator):
|
|
|
616
835
|
|
|
617
836
|
:param context:
|
|
618
837
|
"""
|
|
838
|
+
|
|
839
|
+
def cast_value(source, target) -> None: ...
|