fake-bpy-module 20250828__py3-none-any.whl → 20260119__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 +2 -0
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _bpy_internal/__init__.pyi +3 -1
- _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/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +115 -117
- {rna_info → _rna_info}/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +66 -142
- 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 +2 -12
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +47 -24
- bl_operators/assets/__init__.pyi +0 -6
- bl_operators/bone_selection_sets/__init__.pyi +0 -28
- bl_operators/clip/__init__.pyi +0 -20
- bl_operators/connect_to_output/__init__.pyi +0 -2
- bl_operators/console/__init__.pyi +0 -10
- bl_operators/constraint/__init__.pyi +0 -8
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +0 -6
- bl_operators/freestyle/__init__.pyi +0 -8
- bl_operators/geometry_nodes/__init__.pyi +0 -8
- bl_operators/grease_pencil/__init__.pyi +0 -2
- bl_operators/image/__init__.pyi +0 -10
- bl_operators/image_as_planes/__init__.pyi +0 -4
- bl_operators/mesh/__init__.pyi +0 -47
- bl_operators/node/__init__.pyi +277 -57
- bl_operators/object/__init__.pyi +0 -37
- bl_operators/object_align/__init__.pyi +0 -2
- bl_operators/object_quick_effects/__init__.pyi +0 -8
- bl_operators/object_randomize_transform/__init__.pyi +0 -2
- bl_operators/presets/__init__.pyi +1 -51
- bl_operators/rigidbody/__init__.pyi +0 -6
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
- bl_operators/sequencer/__init__.pyi +0 -16
- bl_operators/spreadsheet/__init__.pyi +0 -2
- bl_operators/userpref/__init__.pyi +0 -50
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -3
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +21 -12
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
- bl_operators/view3d/__init__.pyi +0 -16
- bl_operators/wm/__init__.pyi +0 -92
- bl_operators/world/__init__.pyi +0 -2
- bl_ui/__init__.pyi +3 -4
- bl_ui/anim/__init__.pyi +0 -2
- bl_ui/asset_shelf/__init__.pyi +0 -2
- bl_ui/generic_ui_list/__init__.pyi +1 -17
- bl_ui/node_add_menu/__init__.pyi +261 -6
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -80
- bl_ui/node_add_menu_geometry/__init__.pyi +266 -306
- bl_ui/node_add_menu_shader/__init__.pyi +49 -50
- bl_ui/node_add_menu_texture/__init__.pyi +16 -62
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +55 -209
- bl_ui/properties_data_armature/__init__.pyi +0 -36
- bl_ui/properties_data_bone/__init__.pyi +0 -20
- bl_ui/properties_data_camera/__init__.pyi +0 -30
- bl_ui/properties_data_curve/__init__.pyi +0 -30
- bl_ui/properties_data_curves/__init__.pyi +0 -16
- bl_ui/properties_data_empty/__init__.pyi +0 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
- bl_ui/properties_data_lattice/__init__.pyi +0 -8
- bl_ui/properties_data_light/__init__.pyi +0 -20
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
- bl_ui/properties_data_mesh/__init__.pyi +1 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +12 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
- bl_ui/properties_data_speaker/__init__.pyi +0 -12
- bl_ui/properties_data_volume/__init__.pyi +0 -18
- bl_ui/properties_freestyle/__init__.pyi +0 -50
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -159
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +23 -45
- bl_ui/properties_object/__init__.pyi +35 -42
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +23 -19
- bl_ui/properties_particle/__init__.pyi +0 -106
- bl_ui/properties_physics_cloth/__init__.pyi +0 -28
- bl_ui/properties_physics_common/__init__.pyi +0 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
- bl_ui/properties_physics_field/__init__.pyi +0 -20
- bl_ui/properties_physics_fluid/__init__.pyi +0 -56
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
- bl_ui/properties_physics_softbody/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +58 -86
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +7 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +82 -166
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +67 -76
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -66
- bl_ui/space_image/__init__.pyi +28 -162
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -58
- bl_ui/space_node/__init__.pyi +99 -132
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +29 -6
- bl_ui/space_sequencer/__init__.pyi +159 -987
- bl_ui/space_spreadsheet/__init__.pyi +0 -6
- bl_ui/space_statusbar/__init__.pyi +0 -2
- bl_ui/space_text/__init__.pyi +0 -32
- bl_ui/space_time/__init__.pyi +29 -22
- bl_ui/space_toolsystem_toolbar/__init__.pyi +7 -2
- bl_ui/space_topbar/__init__.pyi +7 -52
- bl_ui/space_userpref/__init__.pyi +77 -225
- bl_ui/space_view3d/__init__.pyi +69 -551
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +22 -799
- bl_ui/utils/__init__.pyi +0 -17
- blf/__init__.pyi +6 -50
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +5 -450
- bmesh/types/__init__.pyi +298 -639
- bmesh/utils/__init__.pyi +16 -43
- bpy/app/__init__.pyi +66 -58
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +1 -16
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +17 -186
- bpy/ops/anim/__init__.pyi +38 -279
- bpy/ops/armature/__init__.pyi +20 -191
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -104
- bpy/ops/buttons/__init__.pyi +4 -71
- bpy/ops/cachefile/__init__.pyi +2 -63
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +43 -427
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +3 -35
- bpy/ops/console/__init__.pyi +10 -88
- bpy/ops/constraint/__init__.pyi +3 -80
- bpy/ops/curve/__init__.pyi +23 -254
- bpy/ops/curves/__init__.pyi +54 -149
- bpy/ops/cycles/__init__.pyi +1 -14
- bpy/ops/dpaint/__init__.pyi +3 -21
- bpy/ops/ed/__init__.pyi +10 -82
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +1 -155
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +29 -216
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -124
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -49
- bpy/ops/graph/__init__.pyi +20 -315
- bpy/ops/grease_pencil/__init__.pyi +62 -523
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +2 -16
- bpy/ops/import_curve/__init__.pyi +0 -6
- bpy/ops/import_scene/__init__.pyi +0 -50
- bpy/ops/info/__init__.pyi +4 -35
- bpy/ops/lattice/__init__.pyi +3 -33
- bpy/ops/marker/__init__.pyi +4 -49
- bpy/ops/mask/__init__.pyi +17 -176
- bpy/ops/material/__init__.pyi +3 -15
- bpy/ops/mball/__init__.pyi +1 -30
- bpy/ops/mesh/__init__.pyi +34 -932
- bpy/ops/nla/__init__.pyi +22 -183
- bpy/ops/node/__init__.pyi +420 -625
- bpy/ops/object/__init__.pyi +197 -1239
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +29 -282
- bpy/ops/paintcurve/__init__.pyi +4 -36
- bpy/ops/palette/__init__.pyi +3 -27
- bpy/ops/particle/__init__.pyi +20 -160
- bpy/ops/pointcloud/__init__.pyi +3 -35
- bpy/ops/pose/__init__.pyi +29 -234
- bpy/ops/poselib/__init__.pyi +19 -66
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +10 -68
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +23 -168
- bpy/ops/screen/__init__.pyi +36 -202
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +42 -313
- bpy/ops/sculpt_curves/__init__.pyi +6 -21
- bpy/ops/sequencer/__init__.pyi +187 -644
- bpy/ops/sound/__init__.pyi +3 -109
- bpy/ops/spreadsheet/__init__.pyi +5 -32
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +27 -225
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +10 -382
- bpy/ops/ui/__init__.pyi +29 -154
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +195 -288
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +129 -1317
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +332 -203
- bpy/stub_internal/rna_enums/__init__.pyi +102 -82
- bpy/types/__init__.pyi +51712 -89245
- bpy/utils/__init__.pyi +4 -75
- bpy/utils/previews/__init__.pyi +1 -10
- bpy/utils/units/__init__.pyi +0 -12
- 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 +0 -9
- bpy_extras/io_utils/__init__.pyi +4 -23
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260119.dist-info}/METADATA +4 -1
- fake_bpy_module-20260119.dist-info/RECORD +385 -0
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260119.dist-info}/top_level.txt +15 -14
- freestyle/chainingiterators/__init__.pyi +0 -22
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +0 -51
- freestyle/shaders/__init__.pyi +0 -65
- freestyle/types/__init__.pyi +139 -777
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +0 -6
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +22 -6
- gpu/state/__init__.pyi +59 -38
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +84 -152
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +2 -9
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +1 -45
- mathutils/__init__.pyi +106 -2168
- mathutils/bvhtree/__init__.pyi +3 -25
- mathutils/geometry/__init__.pyi +41 -133
- mathutils/interpolate/__init__.pyi +3 -4
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module-20250828.dist-info/RECORD +0 -370
- {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
- {bl_console_utils → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +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_previews_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_rna_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_text_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_ui_utils → _bl_ui_utils}/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
- {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}/__init__.pyi +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-20250828.dist-info → fake_bpy_module-20260119.dist-info}/WHEEL +0 -0
bl_ui/__init__.pyi
CHANGED
|
@@ -55,6 +55,8 @@ from . import (
|
|
|
55
55
|
from . import properties_physics_softbody as properties_physics_softbody
|
|
56
56
|
from . import properties_render as properties_render
|
|
57
57
|
from . import properties_scene as properties_scene
|
|
58
|
+
from . import properties_strip as properties_strip
|
|
59
|
+
from . import properties_strip_modifier as properties_strip_modifier
|
|
58
60
|
from . import properties_texture as properties_texture
|
|
59
61
|
from . import properties_view_layer as properties_view_layer
|
|
60
62
|
from . import properties_workspace as properties_workspace
|
|
@@ -80,6 +82,7 @@ from . import space_toolsystem_toolbar as space_toolsystem_toolbar
|
|
|
80
82
|
from . import space_topbar as space_topbar
|
|
81
83
|
from . import space_userpref as space_userpref
|
|
82
84
|
from . import space_view3d as space_view3d
|
|
85
|
+
from . import space_view3d_sidebar as space_view3d_sidebar
|
|
83
86
|
from . import space_view3d_toolbar as space_view3d_toolbar
|
|
84
87
|
from . import utils as utils
|
|
85
88
|
|
|
@@ -98,14 +101,12 @@ class UI_MT_button_context_menu(_bpy_types.Menu):
|
|
|
98
101
|
"""
|
|
99
102
|
|
|
100
103
|
:return: The RNA type or default when not found.
|
|
101
|
-
:rtype: bpy.types.Struct
|
|
102
104
|
"""
|
|
103
105
|
|
|
104
106
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
105
107
|
"""
|
|
106
108
|
|
|
107
109
|
:return: The class or default when not found.
|
|
108
|
-
:rtype: typing.Any
|
|
109
110
|
"""
|
|
110
111
|
|
|
111
112
|
def draw(self, _context) -> None:
|
|
@@ -129,14 +130,12 @@ class UI_MT_list_item_context_menu(_bpy_types.Menu):
|
|
|
129
130
|
"""
|
|
130
131
|
|
|
131
132
|
:return: The RNA type or default when not found.
|
|
132
|
-
:rtype: bpy.types.Struct
|
|
133
133
|
"""
|
|
134
134
|
|
|
135
135
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
136
136
|
"""
|
|
137
137
|
|
|
138
138
|
:return: The class or default when not found.
|
|
139
|
-
:rtype: typing.Any
|
|
140
139
|
"""
|
|
141
140
|
|
|
142
141
|
def draw(self, _context) -> None:
|
bl_ui/anim/__init__.pyi
CHANGED
|
@@ -14,14 +14,12 @@ class ANIM_MT_keyframe_insert_pie(_bpy_types.Menu):
|
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
16
|
:return: The RNA type or default when not found.
|
|
17
|
-
:rtype: bpy.types.Struct
|
|
18
17
|
"""
|
|
19
18
|
|
|
20
19
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
21
20
|
"""
|
|
22
21
|
|
|
23
22
|
:return: The class or default when not found.
|
|
24
|
-
:rtype: typing.Any
|
|
25
23
|
"""
|
|
26
24
|
|
|
27
25
|
def draw(self, _context) -> None:
|
bl_ui/asset_shelf/__init__.pyi
CHANGED
|
@@ -16,14 +16,12 @@ class ASSETSHELF_PT_display(_bpy_types.Panel):
|
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
:return: The RNA type or default when not found.
|
|
19
|
-
:rtype: bpy.types.Struct
|
|
20
19
|
"""
|
|
21
20
|
|
|
22
21
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
23
22
|
"""
|
|
24
23
|
|
|
25
24
|
:return: The class or default when not found.
|
|
26
|
-
:rtype: typing.Any
|
|
27
25
|
"""
|
|
28
26
|
|
|
29
27
|
def draw(self, context) -> None:
|
|
@@ -44,14 +44,12 @@ class UILIST_OT_entry_add(GenericUIListOperator, _bpy_types.Operator):
|
|
|
44
44
|
"""
|
|
45
45
|
|
|
46
46
|
:return: The RNA type or default when not found.
|
|
47
|
-
:rtype: bpy.types.Struct
|
|
48
47
|
"""
|
|
49
48
|
|
|
50
49
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
51
50
|
"""
|
|
52
51
|
|
|
53
52
|
:return: The class or default when not found.
|
|
54
|
-
:rtype: typing.Any
|
|
55
53
|
"""
|
|
56
54
|
|
|
57
55
|
def execute(self, context) -> None:
|
|
@@ -73,14 +71,12 @@ class UILIST_OT_entry_move(GenericUIListOperator, _bpy_types.Operator):
|
|
|
73
71
|
"""
|
|
74
72
|
|
|
75
73
|
:return: The RNA type or default when not found.
|
|
76
|
-
:rtype: bpy.types.Struct
|
|
77
74
|
"""
|
|
78
75
|
|
|
79
76
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
80
77
|
"""
|
|
81
78
|
|
|
82
79
|
:return: The class or default when not found.
|
|
83
|
-
:rtype: typing.Any
|
|
84
80
|
"""
|
|
85
81
|
|
|
86
82
|
def execute(self, context) -> None:
|
|
@@ -102,14 +98,12 @@ class UILIST_OT_entry_remove(GenericUIListOperator, _bpy_types.Operator):
|
|
|
102
98
|
"""
|
|
103
99
|
|
|
104
100
|
:return: The RNA type or default when not found.
|
|
105
|
-
:rtype: bpy.types.Struct
|
|
106
101
|
"""
|
|
107
102
|
|
|
108
103
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
109
104
|
"""
|
|
110
105
|
|
|
111
106
|
:return: The class or default when not found.
|
|
112
|
-
:rtype: typing.Any
|
|
113
107
|
"""
|
|
114
108
|
|
|
115
109
|
def execute(self, context) -> None:
|
|
@@ -120,7 +114,7 @@ class UILIST_OT_entry_remove(GenericUIListOperator, _bpy_types.Operator):
|
|
|
120
114
|
|
|
121
115
|
def draw_ui_list(
|
|
122
116
|
layout: bpy.types.UILayout,
|
|
123
|
-
context:
|
|
117
|
+
context: bpy.types.Context,
|
|
124
118
|
class_name: str = "UI_UL_list",
|
|
125
119
|
*,
|
|
126
120
|
unique_id: str,
|
|
@@ -134,24 +128,14 @@ def draw_ui_list(
|
|
|
134
128
|
"""Draw a UIList with Add/Remove/Move buttons and a menu.Additional keyword arguments are passed to `UIList.template_list`.
|
|
135
129
|
|
|
136
130
|
:param layout: UILayout to draw the list in.
|
|
137
|
-
:type layout: bpy.types.UILayout
|
|
138
131
|
:param context: Blender context to get the list data from.
|
|
139
|
-
:type context: _bpy_types.Context
|
|
140
132
|
:param class_name: Name of the UIList class to draw. The default is the UIList class that ships with Blender.
|
|
141
|
-
:type class_name: str
|
|
142
133
|
:param unique_id: Unique identifier to differentiate this from other UI lists.
|
|
143
|
-
:type unique_id: str
|
|
144
134
|
:param list_path: Data path of the list relative to context, eg. "object.vertex_groups".
|
|
145
|
-
:type list_path: str
|
|
146
135
|
:param active_index_path: Data path of the list active index integer relative to context,
|
|
147
136
|
eg. "object.vertex_groups.active_index".
|
|
148
|
-
:type active_index_path: str
|
|
149
137
|
:param insertion_operators: Whether to draw Add/Remove buttons.
|
|
150
|
-
:type insertion_operators: bool
|
|
151
138
|
:param move_operators: Whether to draw Move Up/Down buttons.
|
|
152
|
-
:type move_operators: str
|
|
153
139
|
:param menu_class_name: Identifier of a Menu that should be drawn as a drop-down.
|
|
154
|
-
:type menu_class_name: str
|
|
155
140
|
:return: The right side column.
|
|
156
|
-
:rtype: bpy.types.UILayout
|
|
157
141
|
"""
|
bl_ui/node_add_menu/__init__.pyi
CHANGED
|
@@ -5,8 +5,230 @@ import numpy.typing as npt
|
|
|
5
5
|
import _bpy_types
|
|
6
6
|
import bpy.types
|
|
7
7
|
|
|
8
|
-
class
|
|
9
|
-
|
|
8
|
+
class NodeMenu(_bpy_types.Menu):
|
|
9
|
+
"""A base-class 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
|
+
"""
|
|
19
|
+
|
|
20
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
:return: The class or default when not found.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
@classmethod
|
|
27
|
+
def closure_zone(cls, layout, label) -> None:
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
:param layout:
|
|
31
|
+
:param label:
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
@classmethod
|
|
35
|
+
def color_mix_node(cls, context, layout) -> None:
|
|
36
|
+
"""The Mix Color node, with its different blend modes available while in search.
|
|
37
|
+
|
|
38
|
+
:param context:
|
|
39
|
+
:param layout:
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
@classmethod
|
|
43
|
+
def draw_group_menu(cls, context, layout) -> None:
|
|
44
|
+
"""Show operators used for interacting with node groups.
|
|
45
|
+
|
|
46
|
+
:param context:
|
|
47
|
+
:param layout:
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def draw_menu(cls, layout, path) -> None:
|
|
52
|
+
"""Takes the given menu path and draws the corresponding menu.
|
|
53
|
+
Menu paths are either explicitly defined, or based on bl_label if not.
|
|
54
|
+
|
|
55
|
+
:param layout:
|
|
56
|
+
:param path:
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def draw_root_assets(cls, layout) -> None:
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
:param layout:
|
|
64
|
+
"""
|
|
65
|
+
|
|
66
|
+
@classmethod
|
|
67
|
+
def for_each_element_zone(cls, layout, label) -> None:
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
:param layout:
|
|
71
|
+
:param label:
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def new_empty_group(cls, layout) -> None:
|
|
76
|
+
"""Group Node with a newly created empty group as its assigned node-tree.
|
|
77
|
+
|
|
78
|
+
:param layout:
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def node_operator(
|
|
83
|
+
cls,
|
|
84
|
+
layout,
|
|
85
|
+
node_type,
|
|
86
|
+
*,
|
|
87
|
+
label=None,
|
|
88
|
+
poll=None,
|
|
89
|
+
search_weight=0.0,
|
|
90
|
+
translate=True,
|
|
91
|
+
) -> None:
|
|
92
|
+
"""The main operator defined for the node menu.(e.g. Add Node for AddNodeMenu, or Swap Node for SwapNodeMenu).
|
|
93
|
+
|
|
94
|
+
:param layout:
|
|
95
|
+
:param node_type:
|
|
96
|
+
:param label:
|
|
97
|
+
:param poll:
|
|
98
|
+
:param search_weight:
|
|
99
|
+
:param translate:
|
|
100
|
+
"""
|
|
101
|
+
|
|
102
|
+
@classmethod
|
|
103
|
+
def node_operator_with_outputs(
|
|
104
|
+
cls, context, layout, node_type, subnames, *, label=None, search_weight=0.0
|
|
105
|
+
) -> None:
|
|
106
|
+
"""Similar to node_operator, but with extra entries based on a enum socket while in search.
|
|
107
|
+
|
|
108
|
+
:param context:
|
|
109
|
+
:param layout:
|
|
110
|
+
:param node_type:
|
|
111
|
+
:param subnames:
|
|
112
|
+
:param label:
|
|
113
|
+
:param search_weight:
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
@classmethod
|
|
117
|
+
def node_operator_with_searchable_enum(
|
|
118
|
+
cls, context, layout, node_idname, property_name, search_weight=0.0
|
|
119
|
+
) -> None:
|
|
120
|
+
"""Similar to node_operator, but with extra entries based on a enum property while in search.
|
|
121
|
+
|
|
122
|
+
:param context:
|
|
123
|
+
:param layout:
|
|
124
|
+
:param node_idname:
|
|
125
|
+
:param property_name:
|
|
126
|
+
:param search_weight:
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
@classmethod
|
|
130
|
+
def node_operator_with_searchable_enum_socket(
|
|
131
|
+
cls,
|
|
132
|
+
context,
|
|
133
|
+
layout,
|
|
134
|
+
node_idname,
|
|
135
|
+
socket_identifier,
|
|
136
|
+
enum_names,
|
|
137
|
+
search_weight=0.0,
|
|
138
|
+
) -> None:
|
|
139
|
+
"""Similar to node_operator, but with extra entries based on a enum socket while in search.
|
|
140
|
+
|
|
141
|
+
:param context:
|
|
142
|
+
:param layout:
|
|
143
|
+
:param node_idname:
|
|
144
|
+
:param socket_identifier:
|
|
145
|
+
:param enum_names:
|
|
146
|
+
:param search_weight:
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
@classmethod
|
|
150
|
+
def poll(cls, context) -> None:
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
:param context:
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
@classmethod
|
|
157
|
+
def repeat_zone(cls, layout, label) -> None:
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
:param layout:
|
|
161
|
+
:param label:
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
@classmethod
|
|
165
|
+
def simulation_zone(cls, layout, label) -> None:
|
|
166
|
+
"""
|
|
167
|
+
|
|
168
|
+
:param layout:
|
|
169
|
+
:param label:
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
class AddNodeMenu(NodeMenu):
|
|
173
|
+
"""A base-class defining the shared methods for AddNodeMenu and SwapNodeMenu."""
|
|
174
|
+
|
|
175
|
+
bl_rna: typing.Any
|
|
176
|
+
draw_assets: typing.Any
|
|
177
|
+
id_data: typing.Any
|
|
178
|
+
main_operator_id: typing.Any
|
|
179
|
+
new_empty_group_operator_id: typing.Any
|
|
180
|
+
root_asset_menu: typing.Any
|
|
181
|
+
use_transform: typing.Any
|
|
182
|
+
zone_operator_id: typing.Any
|
|
183
|
+
|
|
184
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
185
|
+
"""
|
|
186
|
+
|
|
187
|
+
:return: The RNA type or default when not found.
|
|
188
|
+
"""
|
|
189
|
+
|
|
190
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
:return: The class or default when not found.
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
@classmethod
|
|
197
|
+
def draw_assets_for_catalog(cls, layout, catalog_path) -> None:
|
|
198
|
+
"""
|
|
199
|
+
|
|
200
|
+
:param layout:
|
|
201
|
+
:param catalog_path:
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
class NODE_MT_group_base(NodeMenu):
|
|
205
|
+
"""A base-class defining the shared methods for AddNodeMenu and SwapNodeMenu."""
|
|
206
|
+
|
|
207
|
+
bl_label: typing.Any
|
|
208
|
+
bl_rna: typing.Any
|
|
209
|
+
id_data: typing.Any
|
|
210
|
+
|
|
211
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
:return: The RNA type or default when not found.
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
:return: The class or default when not found.
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
def draw(self, context) -> None:
|
|
224
|
+
"""
|
|
225
|
+
|
|
226
|
+
:param context:
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
class NODE_MT_layout_base(NodeMenu):
|
|
230
|
+
"""A base-class defining the shared methods for AddNodeMenu and SwapNodeMenu."""
|
|
231
|
+
|
|
10
232
|
bl_label: typing.Any
|
|
11
233
|
bl_rna: typing.Any
|
|
12
234
|
id_data: typing.Any
|
|
@@ -15,14 +237,12 @@ class NODE_MT_category_layout(_bpy_types.Menu):
|
|
|
15
237
|
"""
|
|
16
238
|
|
|
17
239
|
:return: The RNA type or default when not found.
|
|
18
|
-
:rtype: bpy.types.Struct
|
|
19
240
|
"""
|
|
20
241
|
|
|
21
242
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
22
243
|
"""
|
|
23
244
|
|
|
24
245
|
:return: The class or default when not found.
|
|
25
|
-
:rtype: typing.Any
|
|
26
246
|
"""
|
|
27
247
|
|
|
28
248
|
def draw(self, _context) -> None:
|
|
@@ -31,6 +251,37 @@ class NODE_MT_category_layout(_bpy_types.Menu):
|
|
|
31
251
|
:param _context:
|
|
32
252
|
"""
|
|
33
253
|
|
|
254
|
+
class SwapNodeMenu(NodeMenu):
|
|
255
|
+
"""A base-class 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
|
+
"""
|
|
270
|
+
|
|
271
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
272
|
+
"""
|
|
273
|
+
|
|
274
|
+
:return: The class or default when not found.
|
|
275
|
+
"""
|
|
276
|
+
|
|
277
|
+
@classmethod
|
|
278
|
+
def draw_assets_for_catalog(cls, layout, catalog_path) -> None:
|
|
279
|
+
"""
|
|
280
|
+
|
|
281
|
+
:param layout:
|
|
282
|
+
:param catalog_path:
|
|
283
|
+
"""
|
|
284
|
+
|
|
34
285
|
def add_closure_zone(layout, label) -> None: ...
|
|
35
286
|
def add_color_mix_node(context, layout) -> None: ...
|
|
36
287
|
def add_empty_group(layout) -> None: ...
|
|
@@ -46,12 +297,16 @@ def add_node_type_with_outputs(
|
|
|
46
297
|
def add_node_type_with_searchable_enum(
|
|
47
298
|
context, layout, node_idname, property_name, search_weight=0.0
|
|
48
299
|
) -> None: ...
|
|
300
|
+
def add_node_type_with_searchable_enum_socket(
|
|
301
|
+
context, layout, node_idname, socket_identifier, enum_names, search_weight=0.0
|
|
302
|
+
) -> None: ...
|
|
49
303
|
def add_repeat_zone(layout, label) -> None: ...
|
|
50
304
|
def add_simulation_zone(layout, label) -> None:
|
|
51
305
|
"""Add simulation zone to a menu."""
|
|
52
306
|
|
|
53
|
-
def draw_assets_for_catalog(layout, catalog_path) -> None: ...
|
|
54
307
|
def draw_node_group_add_menu(context, layout) -> None:
|
|
55
308
|
"""Add items to the layout used for interacting with node groups."""
|
|
56
309
|
|
|
57
|
-
def
|
|
310
|
+
def generate_menu(bl_idname, template, layout_base, pathing_dict=None) -> None: ...
|
|
311
|
+
def generate_menus(menus, template, base_dict) -> None: ...
|
|
312
|
+
def generate_pathing_dict(pathing_dict, menus) -> None: ...
|