fake-bpy-module 20240705__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.
- _bpy_internal/__init__.pyi +1 -0
- _bpy_internal/extensions/__init__.pyi +1 -0
- _bpy_internal/extensions/junction_module/__init__.pyi +1 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -0
- _bpy_internal/freedesktop/__init__.pyi +1 -0
- addon_utils/__init__.pyi +1 -0
- animsys_refactor/__init__.pyi +1 -0
- aud/__init__.pyi +1 -0
- bgl/__init__.pyi +1 -0
- bl_app_override/__init__.pyi +1 -0
- bl_app_override/helpers/__init__.pyi +1 -0
- bl_app_template_utils/__init__.pyi +1 -0
- bl_console_utils/__init__.pyi +1 -0
- bl_console_utils/autocomplete/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_import/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -0
- bl_console_utils/autocomplete/intellisense/__init__.pyi +1 -0
- bl_i18n_utils/__init__.pyi +1 -0
- bl_i18n_utils/bl_extract_messages/__init__.pyi +1 -0
- bl_i18n_utils/merge_po/__init__.pyi +1 -0
- bl_i18n_utils/settings/__init__.pyi +1 -0
- bl_i18n_utils/utils/__init__.pyi +1 -0
- bl_i18n_utils/utils_cli/__init__.pyi +1 -0
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -0
- bl_i18n_utils/utils_rtl/__init__.pyi +1 -0
- bl_keymap_utils/__init__.pyi +1 -0
- bl_keymap_utils/io/__init__.pyi +1 -0
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -0
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -0
- bl_keymap_utils/platform_helpers/__init__.pyi +1 -0
- bl_keymap_utils/versioning/__init__.pyi +1 -0
- bl_math/__init__.pyi +1 -0
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +1 -0
- bl_operators/anim/__init__.pyi +1 -0
- bl_operators/assets/__init__.pyi +9 -8
- bl_operators/bmesh/__init__.pyi +1 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +1 -0
- bl_operators/clip/__init__.pyi +1 -0
- bl_operators/connect_to_output/__init__.pyi +1 -0
- bl_operators/console/__init__.pyi +1 -0
- bl_operators/constraint/__init__.pyi +1 -0
- bl_operators/file/__init__.pyi +1 -0
- bl_operators/freestyle/__init__.pyi +1 -0
- bl_operators/geometry_nodes/__init__.pyi +1 -0
- bl_operators/image/__init__.pyi +1 -0
- bl_operators/image_as_planes/__init__.pyi +44 -43
- bl_operators/mesh/__init__.pyi +1 -0
- bl_operators/node/__init__.pyi +235 -234
- bl_operators/node_editor/__init__.pyi +1 -0
- bl_operators/node_editor/node_functions/__init__.pyi +1 -0
- bl_operators/object/__init__.pyi +1 -0
- bl_operators/object_align/__init__.pyi +1 -0
- bl_operators/object_quick_effects/__init__.pyi +22 -21
- bl_operators/object_randomize_transform/__init__.pyi +1 -0
- bl_operators/presets/__init__.pyi +389 -388
- bl_operators/rigidbody/__init__.pyi +1 -0
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -0
- bl_operators/sequencer/__init__.pyi +1 -0
- bl_operators/spreadsheet/__init__.pyi +1 -0
- bl_operators/userpref/__init__.pyi +1 -0
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -0
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -0
- bl_operators/uvcalc_transform/__init__.pyi +1 -0
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -0
- bl_operators/view3d/__init__.pyi +1 -0
- bl_operators/wm/__init__.pyi +1 -0
- bl_operators/world/__init__.pyi +1 -0
- bl_previews_utils/__init__.pyi +1 -0
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -0
- bl_rna_utils/__init__.pyi +1 -0
- bl_rna_utils/data_path/__init__.pyi +1 -0
- bl_text_utils/__init__.pyi +1 -0
- bl_text_utils/external_editor/__init__.pyi +1 -0
- bl_ui/__init__.pyi +1 -0
- bl_ui/anim/__init__.pyi +1 -0
- bl_ui/asset_shelf/__init__.pyi +1 -0
- bl_ui/generic_ui_list/__init__.pyi +1 -0
- bl_ui/node_add_menu/__init__.pyi +1 -0
- bl_ui/node_add_menu_compositor/__init__.pyi +1 -0
- bl_ui/node_add_menu_geometry/__init__.pyi +1 -0
- bl_ui/node_add_menu_shader/__init__.pyi +1 -0
- bl_ui/node_add_menu_texture/__init__.pyi +1 -0
- bl_ui/properties_animviz/__init__.pyi +1 -0
- bl_ui/properties_collection/__init__.pyi +13 -12
- bl_ui/properties_constraint/__init__.pyi +955 -954
- bl_ui/properties_data_armature/__init__.pyi +86 -85
- bl_ui/properties_data_bone/__init__.pyi +13 -12
- bl_ui/properties_data_camera/__init__.pyi +1 -0
- bl_ui/properties_data_curve/__init__.pyi +93 -92
- bl_ui/properties_data_curves/__init__.pyi +13 -12
- bl_ui/properties_data_empty/__init__.pyi +13 -12
- bl_ui/properties_data_gpencil/__init__.pyi +266 -265
- bl_ui/properties_data_grease_pencil/__init__.pyi +313 -312
- bl_ui/properties_data_lattice/__init__.pyi +13 -12
- bl_ui/properties_data_light/__init__.pyi +13 -12
- bl_ui/properties_data_lightprobe/__init__.pyi +13 -12
- bl_ui/properties_data_mesh/__init__.pyi +528 -527
- bl_ui/properties_data_metaball/__init__.pyi +13 -12
- bl_ui/properties_data_modifier/__init__.pyi +20 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +141 -140
- bl_ui/properties_data_shaderfx/__init__.pyi +6 -5
- bl_ui/properties_data_speaker/__init__.pyi +13 -12
- bl_ui/properties_data_volume/__init__.pyi +66 -65
- bl_ui/properties_freestyle/__init__.pyi +249 -248
- bl_ui/properties_grease_pencil_common/__init__.pyi +1 -0
- bl_ui/properties_mask_common/__init__.pyi +1 -0
- bl_ui/properties_material/__init__.pyi +146 -145
- bl_ui/properties_material_gpencil/__init__.pyi +87 -86
- bl_ui/properties_object/__init__.pyi +76 -75
- bl_ui/properties_output/__init__.pyi +202 -201
- bl_ui/properties_paint_common/__init__.pyi +1 -0
- bl_ui/properties_particle/__init__.pyi +221 -220
- bl_ui/properties_physics_cloth/__init__.pyi +13 -12
- bl_ui/properties_physics_common/__init__.pyi +13 -12
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +188 -187
- bl_ui/properties_physics_field/__init__.pyi +20 -19
- bl_ui/properties_physics_fluid/__init__.pyi +62 -61
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -0
- bl_ui/properties_physics_rigidbody/__init__.pyi +6 -5
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +6 -5
- bl_ui/properties_physics_softbody/__init__.pyi +13 -12
- bl_ui/properties_render/__init__.pyi +218 -217
- bl_ui/properties_scene/__init__.pyi +144 -143
- bl_ui/properties_texture/__init__.pyi +157 -156
- bl_ui/properties_view_layer/__init__.pyi +79 -78
- bl_ui/properties_workspace/__init__.pyi +65 -64
- bl_ui/properties_world/__init__.pyi +13 -12
- bl_ui/space_clip/__init__.pyi +367 -366
- bl_ui/space_console/__init__.pyi +1 -0
- bl_ui/space_dopesheet/__init__.pyi +177 -176
- bl_ui/space_filebrowser/__init__.pyi +736 -735
- bl_ui/space_graph/__init__.pyi +1 -0
- bl_ui/space_image/__init__.pyi +647 -646
- bl_ui/space_info/__init__.pyi +1 -0
- bl_ui/space_nla/__init__.pyi +1 -0
- bl_ui/space_node/__init__.pyi +1 -0
- bl_ui/space_outliner/__init__.pyi +1 -0
- bl_ui/space_properties/__init__.pyi +1 -0
- bl_ui/space_sequencer/__init__.pyi +842 -389
- bl_ui/space_spreadsheet/__init__.pyi +1 -0
- bl_ui/space_statusbar/__init__.pyi +1 -0
- bl_ui/space_text/__init__.pyi +1 -0
- bl_ui/space_time/__init__.pyi +12 -11
- bl_ui/space_toolsystem_common/__init__.pyi +1 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -0
- bl_ui/space_topbar/__init__.pyi +1 -0
- bl_ui/space_userpref/__init__.pyi +685 -684
- bl_ui/space_view3d/__init__.pyi +1153 -1152
- bl_ui/space_view3d_toolbar/__init__.pyi +2832 -2831
- bl_ui/temp_anim_layers/__init__.pyi +1 -0
- bl_ui/utils/__init__.pyi +1 -0
- bl_ui_utils/__init__.pyi +1 -0
- bl_ui_utils/bug_report_url/__init__.pyi +1 -0
- bl_ui_utils/layout/__init__.pyi +1 -0
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +1 -0
- bmesh/__init__.pyi +1 -0
- bmesh/geometry/__init__.pyi +1 -0
- bmesh/ops/__init__.pyi +1 -0
- bmesh/types/__init__.pyi +1 -0
- bmesh/utils/__init__.pyi +1 -0
- bpy/__init__.pyi +1 -0
- bpy/app/__init__.pyi +1 -0
- bpy/app/handlers/__init__.pyi +1 -0
- bpy/app/icons/__init__.pyi +1 -0
- bpy/app/timers/__init__.pyi +1 -0
- bpy/app/translations/__init__.pyi +1 -0
- bpy/msgbus/__init__.pyi +1 -0
- bpy/ops/__init__.pyi +1 -0
- bpy/ops/action/__init__.pyi +1 -0
- bpy/ops/anim/__init__.pyi +15 -14
- bpy/ops/armature/__init__.pyi +1 -0
- bpy/ops/asset/__init__.pyi +1 -0
- bpy/ops/boid/__init__.pyi +1 -0
- bpy/ops/brush/__init__.pyi +1 -0
- bpy/ops/buttons/__init__.pyi +1 -0
- bpy/ops/cachefile/__init__.pyi +1 -0
- bpy/ops/camera/__init__.pyi +1 -0
- bpy/ops/clip/__init__.pyi +1 -0
- bpy/ops/cloth/__init__.pyi +1 -0
- bpy/ops/collection/__init__.pyi +1 -0
- bpy/ops/console/__init__.pyi +1 -0
- bpy/ops/constraint/__init__.pyi +1 -0
- bpy/ops/curve/__init__.pyi +1 -0
- bpy/ops/curves/__init__.pyi +1 -0
- bpy/ops/cycles/__init__.pyi +1 -0
- bpy/ops/dpaint/__init__.pyi +1 -0
- bpy/ops/ed/__init__.pyi +1 -0
- bpy/ops/export_anim/__init__.pyi +1 -0
- bpy/ops/export_scene/__init__.pyi +1 -0
- bpy/ops/extensions/__init__.pyi +1 -0
- bpy/ops/file/__init__.pyi +1 -0
- bpy/ops/fluid/__init__.pyi +1 -0
- bpy/ops/font/__init__.pyi +1 -0
- bpy/ops/geometry/__init__.pyi +1 -0
- bpy/ops/gizmogroup/__init__.pyi +1 -0
- bpy/ops/gpencil/__init__.pyi +1 -0
- bpy/ops/graph/__init__.pyi +1 -0
- bpy/ops/grease_pencil/__init__.pyi +19 -0
- bpy/ops/image/__init__.pyi +1 -0
- bpy/ops/import_anim/__init__.pyi +1 -0
- bpy/ops/import_curve/__init__.pyi +1 -0
- bpy/ops/import_scene/__init__.pyi +1 -0
- bpy/ops/info/__init__.pyi +1 -0
- bpy/ops/lattice/__init__.pyi +1 -0
- bpy/ops/marker/__init__.pyi +1 -0
- bpy/ops/mask/__init__.pyi +1 -0
- bpy/ops/material/__init__.pyi +1 -0
- bpy/ops/mball/__init__.pyi +1 -0
- bpy/ops/mesh/__init__.pyi +7 -2
- bpy/ops/nla/__init__.pyi +1 -0
- bpy/ops/node/__init__.pyi +1 -0
- bpy/ops/object/__init__.pyi +2 -1
- bpy/ops/outliner/__init__.pyi +1 -0
- bpy/ops/paint/__init__.pyi +1 -0
- bpy/ops/paintcurve/__init__.pyi +1 -0
- bpy/ops/palette/__init__.pyi +1 -0
- bpy/ops/particle/__init__.pyi +1 -0
- bpy/ops/pose/__init__.pyi +1 -0
- bpy/ops/poselib/__init__.pyi +1 -0
- bpy/ops/preferences/__init__.pyi +1 -0
- bpy/ops/ptcache/__init__.pyi +1 -0
- bpy/ops/render/__init__.pyi +1 -0
- bpy/ops/rigidbody/__init__.pyi +1 -0
- bpy/ops/scene/__init__.pyi +1 -0
- bpy/ops/screen/__init__.pyi +1 -0
- bpy/ops/script/__init__.pyi +1 -0
- bpy/ops/sculpt/__init__.pyi +1 -0
- bpy/ops/sculpt_curves/__init__.pyi +1 -0
- bpy/ops/sequencer/__init__.pyi +1 -0
- bpy/ops/sound/__init__.pyi +1 -0
- bpy/ops/spreadsheet/__init__.pyi +1 -0
- bpy/ops/surface/__init__.pyi +1 -0
- bpy/ops/text/__init__.pyi +1 -0
- bpy/ops/text_editor/__init__.pyi +1 -0
- bpy/ops/texture/__init__.pyi +1 -0
- bpy/ops/transform/__init__.pyi +17 -16
- bpy/ops/ui/__init__.pyi +1 -0
- bpy/ops/uilist/__init__.pyi +1 -0
- bpy/ops/uv/__init__.pyi +1 -0
- bpy/ops/view2d/__init__.pyi +1 -0
- bpy/ops/view3d/__init__.pyi +1 -0
- bpy/ops/wm/__init__.pyi +5 -4
- bpy/ops/workspace/__init__.pyi +1 -0
- bpy/ops/world/__init__.pyi +1 -0
- bpy/path/__init__.pyi +1 -0
- bpy/props/__init__.pyi +1 -0
- bpy/types/__init__.pyi +68824 -68756
- bpy/utils/__init__.pyi +1 -0
- bpy/utils/previews/__init__.pyi +1 -0
- bpy/utils/units/__init__.pyi +1 -0
- bpy_extras/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +1 -0
- bpy_extras/asset_utils/__init__.pyi +1 -0
- bpy_extras/bmesh_utils/__init__.pyi +1 -0
- bpy_extras/id_map_utils/__init__.pyi +1 -0
- bpy_extras/image_utils/__init__.pyi +1 -0
- bpy_extras/io_utils/__init__.pyi +1 -0
- bpy_extras/keyconfig_utils/__init__.pyi +1 -0
- bpy_extras/mesh_utils/__init__.pyi +1 -0
- bpy_extras/node_shader_utils/__init__.pyi +1 -0
- bpy_extras/node_utils/__init__.pyi +1 -0
- bpy_extras/object_utils/__init__.pyi +1 -0
- bpy_extras/view3d_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -0
- bpy_restrict_state/__init__.pyi +1 -0
- bpy_types/__init__.pyi +1 -0
- console_python/__init__.pyi +1 -0
- console_shell/__init__.pyi +1 -0
- {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/METADATA +1 -1
- fake_bpy_module-20240707.dist-info/RECORD +358 -0
- freestyle/__init__.pyi +1 -0
- freestyle/chainingiterators/__init__.pyi +1 -0
- freestyle/functions/__init__.pyi +1 -0
- freestyle/predicates/__init__.pyi +1 -0
- freestyle/shaders/__init__.pyi +1 -0
- freestyle/types/__init__.pyi +1 -0
- freestyle/utils/ContextFunctions/__init__.pyi +1 -0
- freestyle/utils/__init__.pyi +2 -1
- gpu/__init__.pyi +1 -0
- gpu/capabilities/__init__.pyi +1 -0
- gpu/matrix/__init__.pyi +1 -0
- gpu/platform/__init__.pyi +1 -0
- gpu/select/__init__.pyi +1 -0
- gpu/shader/__init__.pyi +1 -0
- gpu/state/__init__.pyi +1 -0
- gpu/texture/__init__.pyi +1 -0
- gpu/types/__init__.pyi +1 -0
- gpu_extras/__init__.pyi +1 -0
- gpu_extras/batch/__init__.pyi +1 -0
- gpu_extras/presets/__init__.pyi +1 -0
- graphviz_export/__init__.pyi +1 -0
- idprop/__init__.pyi +1 -0
- idprop/types/__init__.pyi +1 -0
- imbuf/__init__.pyi +1 -0
- imbuf/types/__init__.pyi +1 -0
- keyingsets_builtins/__init__.pyi +88 -87
- keyingsets_utils/__init__.pyi +1 -0
- mathutils/__init__.pyi +157 -6
- mathutils/bvhtree/__init__.pyi +1 -0
- mathutils/geometry/__init__.pyi +1 -0
- mathutils/interpolate/__init__.pyi +1 -0
- mathutils/kdtree/__init__.pyi +1 -0
- mathutils/noise/__init__.pyi +1 -0
- nodeitems_builtins/__init__.pyi +8 -7
- nodeitems_utils/__init__.pyi +1 -0
- rna_info/__init__.pyi +1 -0
- rna_keymap_ui/__init__.pyi +1 -0
- rna_prop_ui/__init__.pyi +1 -0
- rna_xml/__init__.pyi +1 -0
- sys_info/__init__.pyi +1 -0
- fake_bpy_module-20240705.dist-info/RECORD +0 -358
- {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
|
+
import typing_extensions
|
|
3
4
|
import bpy.types
|
|
4
5
|
import bpy_types
|
|
5
6
|
import rna_prop_ui
|
|
@@ -7,21 +8,14 @@ import rna_prop_ui
|
|
|
7
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
|
-
class MaterialButtonsPanel:
|
|
11
|
+
class EEVEE_MATERIAL_PT_context_material(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
12
|
+
COMPAT_ENGINES: typing.Any
|
|
11
13
|
bl_context: typing.Any
|
|
12
|
-
bl_region_type: typing.Any
|
|
13
|
-
bl_space_type: typing.Any
|
|
14
|
-
|
|
15
|
-
def poll(self, context):
|
|
16
|
-
"""
|
|
17
|
-
|
|
18
|
-
:param context:
|
|
19
|
-
"""
|
|
20
|
-
...
|
|
21
|
-
|
|
22
|
-
class MATERIAL_MT_context_menu(bpy_types._GenericUI):
|
|
23
14
|
bl_label: typing.Any
|
|
15
|
+
bl_options: typing.Any
|
|
16
|
+
bl_region_type: typing.Any
|
|
24
17
|
bl_rna: typing.Any
|
|
18
|
+
bl_space_type: typing.Any
|
|
25
19
|
id_data: typing.Any
|
|
26
20
|
|
|
27
21
|
def append(self, draw_func):
|
|
@@ -56,30 +50,10 @@ class MATERIAL_MT_context_menu(bpy_types._GenericUI):
|
|
|
56
50
|
"""
|
|
57
51
|
...
|
|
58
52
|
|
|
59
|
-
def draw(self,
|
|
60
|
-
"""
|
|
61
|
-
|
|
62
|
-
:param _context:
|
|
63
|
-
"""
|
|
64
|
-
...
|
|
65
|
-
|
|
66
|
-
def draw_collapsible(self, context, layout):
|
|
53
|
+
def draw(self, context):
|
|
67
54
|
"""
|
|
68
55
|
|
|
69
56
|
:param context:
|
|
70
|
-
:param layout:
|
|
71
|
-
"""
|
|
72
|
-
...
|
|
73
|
-
|
|
74
|
-
def draw_preset(self, _context):
|
|
75
|
-
"""Define these on the subclass:
|
|
76
|
-
- preset_operator (string)
|
|
77
|
-
- preset_subdir (string)Optionally:
|
|
78
|
-
- preset_add_operator (string)
|
|
79
|
-
- preset_extensions (set of strings)
|
|
80
|
-
- preset_operator_defaults (dict of keyword args)
|
|
81
|
-
|
|
82
|
-
:param _context:
|
|
83
57
|
"""
|
|
84
58
|
...
|
|
85
59
|
|
|
@@ -201,42 +175,15 @@ class MATERIAL_MT_context_menu(bpy_types._GenericUI):
|
|
|
201
175
|
"""
|
|
202
176
|
...
|
|
203
177
|
|
|
204
|
-
def
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
operator: str,
|
|
208
|
-
props_default: dict = None,
|
|
209
|
-
prop_filepath: str | None = "filepath",
|
|
210
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
211
|
-
filter_path=None,
|
|
212
|
-
display_name: collections.abc.Callable | None = None,
|
|
213
|
-
add_operator=None,
|
|
214
|
-
add_operator_props=None,
|
|
215
|
-
):
|
|
216
|
-
"""Populate a menu from a list of paths.
|
|
217
|
-
|
|
218
|
-
:param searchpaths: Paths to scan.
|
|
219
|
-
:type searchpaths: list[str]
|
|
220
|
-
:param operator: The operator id to use with each file.
|
|
221
|
-
:type operator: str
|
|
222
|
-
:param props_default: Properties to assign to each operator.
|
|
223
|
-
:type props_default: dict
|
|
224
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
225
|
-
:type prop_filepath: str | None
|
|
226
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
178
|
+
def path_resolve(self):
|
|
179
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
180
|
+
...
|
|
227
181
|
|
|
228
|
-
|
|
229
|
-
:type filter_ext: collections.abc.Callable | None
|
|
230
|
-
:param filter_path:
|
|
231
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
232
|
-
:type display_name: collections.abc.Callable | None
|
|
233
|
-
:param add_operator:
|
|
234
|
-
:param add_operator_props:
|
|
182
|
+
def poll(self, context):
|
|
235
183
|
"""
|
|
236
|
-
...
|
|
237
184
|
|
|
238
|
-
|
|
239
|
-
"""
|
|
185
|
+
:param context:
|
|
186
|
+
"""
|
|
240
187
|
...
|
|
241
188
|
|
|
242
189
|
def pop(self):
|
|
@@ -289,8 +236,14 @@ class MATERIAL_MT_context_menu(bpy_types._GenericUI):
|
|
|
289
236
|
"""
|
|
290
237
|
...
|
|
291
238
|
|
|
292
|
-
class
|
|
239
|
+
class EEVEE_MATERIAL_PT_displacement(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
240
|
+
COMPAT_ENGINES: typing.Any
|
|
241
|
+
bl_context: typing.Any
|
|
242
|
+
bl_label: typing.Any
|
|
243
|
+
bl_options: typing.Any
|
|
244
|
+
bl_region_type: typing.Any
|
|
293
245
|
bl_rna: typing.Any
|
|
246
|
+
bl_space_type: typing.Any
|
|
294
247
|
id_data: typing.Any
|
|
295
248
|
|
|
296
249
|
def append(self, draw_func):
|
|
@@ -325,27 +278,10 @@ class MATERIAL_UL_matslots(bpy_types._GenericUI):
|
|
|
325
278
|
"""
|
|
326
279
|
...
|
|
327
280
|
|
|
328
|
-
def
|
|
329
|
-
self,
|
|
330
|
-
_context,
|
|
331
|
-
layout,
|
|
332
|
-
_data,
|
|
333
|
-
item,
|
|
334
|
-
icon,
|
|
335
|
-
_active_data,
|
|
336
|
-
_active_propname,
|
|
337
|
-
_index,
|
|
338
|
-
):
|
|
281
|
+
def draw(self, context):
|
|
339
282
|
"""
|
|
340
283
|
|
|
341
|
-
:param
|
|
342
|
-
:param layout:
|
|
343
|
-
:param _data:
|
|
344
|
-
:param item:
|
|
345
|
-
:param icon:
|
|
346
|
-
:param _active_data:
|
|
347
|
-
:param _active_propname:
|
|
348
|
-
:param _index:
|
|
284
|
+
:param context:
|
|
349
285
|
"""
|
|
350
286
|
...
|
|
351
287
|
|
|
@@ -471,6 +407,13 @@ class MATERIAL_UL_matslots(bpy_types._GenericUI):
|
|
|
471
407
|
"""Returns the property from the path, raise an exception when not found."""
|
|
472
408
|
...
|
|
473
409
|
|
|
410
|
+
def poll(self, context):
|
|
411
|
+
"""
|
|
412
|
+
|
|
413
|
+
:param context:
|
|
414
|
+
"""
|
|
415
|
+
...
|
|
416
|
+
|
|
474
417
|
def pop(self):
|
|
475
418
|
"""Remove and return the value of the custom property assigned to key or default
|
|
476
419
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -521,11 +464,10 @@ class MATERIAL_UL_matslots(bpy_types._GenericUI):
|
|
|
521
464
|
"""
|
|
522
465
|
...
|
|
523
466
|
|
|
524
|
-
class
|
|
467
|
+
class EEVEE_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
525
468
|
COMPAT_ENGINES: typing.Any
|
|
526
469
|
bl_context: typing.Any
|
|
527
470
|
bl_label: typing.Any
|
|
528
|
-
bl_options: typing.Any
|
|
529
471
|
bl_region_type: typing.Any
|
|
530
472
|
bl_rna: typing.Any
|
|
531
473
|
bl_space_type: typing.Any
|
|
@@ -749,11 +691,10 @@ class EEVEE_MATERIAL_PT_context_material(MaterialButtonsPanel, bpy_types._Generi
|
|
|
749
691
|
"""
|
|
750
692
|
...
|
|
751
693
|
|
|
752
|
-
class
|
|
694
|
+
class EEVEE_MATERIAL_PT_surface(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
753
695
|
COMPAT_ENGINES: typing.Any
|
|
754
696
|
bl_context: typing.Any
|
|
755
697
|
bl_label: typing.Any
|
|
756
|
-
bl_options: typing.Any
|
|
757
698
|
bl_region_type: typing.Any
|
|
758
699
|
bl_rna: typing.Any
|
|
759
700
|
bl_space_type: typing.Any
|
|
@@ -977,13 +918,15 @@ class EEVEE_MATERIAL_PT_displacement(MaterialButtonsPanel, bpy_types._GenericUI)
|
|
|
977
918
|
"""
|
|
978
919
|
...
|
|
979
920
|
|
|
980
|
-
class
|
|
921
|
+
class EEVEE_MATERIAL_PT_thickness(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
981
922
|
COMPAT_ENGINES: typing.Any
|
|
982
923
|
bl_context: typing.Any
|
|
983
924
|
bl_label: typing.Any
|
|
925
|
+
bl_options: typing.Any
|
|
984
926
|
bl_region_type: typing.Any
|
|
985
927
|
bl_rna: typing.Any
|
|
986
928
|
bl_space_type: typing.Any
|
|
929
|
+
bl_translation_context: typing.Any
|
|
987
930
|
id_data: typing.Any
|
|
988
931
|
|
|
989
932
|
def append(self, draw_func):
|
|
@@ -1204,10 +1147,11 @@ class EEVEE_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
1204
1147
|
"""
|
|
1205
1148
|
...
|
|
1206
1149
|
|
|
1207
|
-
class
|
|
1150
|
+
class EEVEE_MATERIAL_PT_viewport_settings(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
1208
1151
|
COMPAT_ENGINES: typing.Any
|
|
1209
1152
|
bl_context: typing.Any
|
|
1210
1153
|
bl_label: typing.Any
|
|
1154
|
+
bl_parent_id: typing.Any
|
|
1211
1155
|
bl_region_type: typing.Any
|
|
1212
1156
|
bl_rna: typing.Any
|
|
1213
1157
|
bl_space_type: typing.Any
|
|
@@ -1431,7 +1375,7 @@ class EEVEE_MATERIAL_PT_surface(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
1431
1375
|
"""
|
|
1432
1376
|
...
|
|
1433
1377
|
|
|
1434
|
-
class
|
|
1378
|
+
class EEVEE_MATERIAL_PT_volume(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
1435
1379
|
COMPAT_ENGINES: typing.Any
|
|
1436
1380
|
bl_context: typing.Any
|
|
1437
1381
|
bl_label: typing.Any
|
|
@@ -1660,11 +1604,10 @@ class EEVEE_MATERIAL_PT_thickness(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
1660
1604
|
"""
|
|
1661
1605
|
...
|
|
1662
1606
|
|
|
1663
|
-
class
|
|
1607
|
+
class EEVEE_NEXT_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
1664
1608
|
COMPAT_ENGINES: typing.Any
|
|
1665
1609
|
bl_context: typing.Any
|
|
1666
1610
|
bl_label: typing.Any
|
|
1667
|
-
bl_parent_id: typing.Any
|
|
1668
1611
|
bl_region_type: typing.Any
|
|
1669
1612
|
bl_rna: typing.Any
|
|
1670
1613
|
bl_space_type: typing.Any
|
|
@@ -1888,15 +1831,16 @@ class EEVEE_MATERIAL_PT_viewport_settings(MaterialButtonsPanel, bpy_types._Gener
|
|
|
1888
1831
|
"""
|
|
1889
1832
|
...
|
|
1890
1833
|
|
|
1891
|
-
class
|
|
1834
|
+
class EEVEE_NEXT_MATERIAL_PT_settings_surface(
|
|
1835
|
+
MaterialButtonsPanel, bpy_types._GenericUI
|
|
1836
|
+
):
|
|
1892
1837
|
COMPAT_ENGINES: typing.Any
|
|
1893
1838
|
bl_context: typing.Any
|
|
1894
1839
|
bl_label: typing.Any
|
|
1895
|
-
|
|
1840
|
+
bl_parent_id: typing.Any
|
|
1896
1841
|
bl_region_type: typing.Any
|
|
1897
1842
|
bl_rna: typing.Any
|
|
1898
1843
|
bl_space_type: typing.Any
|
|
1899
|
-
bl_translation_context: typing.Any
|
|
1900
1844
|
id_data: typing.Any
|
|
1901
1845
|
|
|
1902
1846
|
def append(self, draw_func):
|
|
@@ -2117,10 +2061,13 @@ class EEVEE_MATERIAL_PT_volume(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
2117
2061
|
"""
|
|
2118
2062
|
...
|
|
2119
2063
|
|
|
2120
|
-
class
|
|
2064
|
+
class EEVEE_NEXT_MATERIAL_PT_settings_volume(
|
|
2065
|
+
MaterialButtonsPanel, bpy_types._GenericUI
|
|
2066
|
+
):
|
|
2121
2067
|
COMPAT_ENGINES: typing.Any
|
|
2122
2068
|
bl_context: typing.Any
|
|
2123
2069
|
bl_label: typing.Any
|
|
2070
|
+
bl_parent_id: typing.Any
|
|
2124
2071
|
bl_region_type: typing.Any
|
|
2125
2072
|
bl_rna: typing.Any
|
|
2126
2073
|
bl_space_type: typing.Any
|
|
@@ -2344,16 +2291,9 @@ class EEVEE_NEXT_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI
|
|
|
2344
2291
|
"""
|
|
2345
2292
|
...
|
|
2346
2293
|
|
|
2347
|
-
class
|
|
2348
|
-
MaterialButtonsPanel, bpy_types._GenericUI
|
|
2349
|
-
):
|
|
2350
|
-
COMPAT_ENGINES: typing.Any
|
|
2351
|
-
bl_context: typing.Any
|
|
2294
|
+
class MATERIAL_MT_context_menu(bpy_types._GenericUI):
|
|
2352
2295
|
bl_label: typing.Any
|
|
2353
|
-
bl_parent_id: typing.Any
|
|
2354
|
-
bl_region_type: typing.Any
|
|
2355
2296
|
bl_rna: typing.Any
|
|
2356
|
-
bl_space_type: typing.Any
|
|
2357
2297
|
id_data: typing.Any
|
|
2358
2298
|
|
|
2359
2299
|
def append(self, draw_func):
|
|
@@ -2388,10 +2328,30 @@ class EEVEE_NEXT_MATERIAL_PT_settings_surface(
|
|
|
2388
2328
|
"""
|
|
2389
2329
|
...
|
|
2390
2330
|
|
|
2391
|
-
def draw(self,
|
|
2331
|
+
def draw(self, _context):
|
|
2332
|
+
"""
|
|
2333
|
+
|
|
2334
|
+
:param _context:
|
|
2335
|
+
"""
|
|
2336
|
+
...
|
|
2337
|
+
|
|
2338
|
+
def draw_collapsible(self, context, layout):
|
|
2392
2339
|
"""
|
|
2393
2340
|
|
|
2394
2341
|
:param context:
|
|
2342
|
+
:param layout:
|
|
2343
|
+
"""
|
|
2344
|
+
...
|
|
2345
|
+
|
|
2346
|
+
def draw_preset(self, _context):
|
|
2347
|
+
"""Define these on the subclass:
|
|
2348
|
+
- preset_operator (string)
|
|
2349
|
+
- preset_subdir (string)Optionally:
|
|
2350
|
+
- preset_add_operator (string)
|
|
2351
|
+
- preset_extensions (set of strings)
|
|
2352
|
+
- preset_operator_defaults (dict of keyword args)
|
|
2353
|
+
|
|
2354
|
+
:param _context:
|
|
2395
2355
|
"""
|
|
2396
2356
|
...
|
|
2397
2357
|
|
|
@@ -2513,17 +2473,44 @@ class EEVEE_NEXT_MATERIAL_PT_settings_surface(
|
|
|
2513
2473
|
"""
|
|
2514
2474
|
...
|
|
2515
2475
|
|
|
2516
|
-
def
|
|
2517
|
-
|
|
2518
|
-
|
|
2476
|
+
def path_menu(
|
|
2477
|
+
self,
|
|
2478
|
+
searchpaths: list[str],
|
|
2479
|
+
operator: str,
|
|
2480
|
+
props_default: dict = None,
|
|
2481
|
+
prop_filepath: str | None = "filepath",
|
|
2482
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
2483
|
+
filter_path=None,
|
|
2484
|
+
display_name: collections.abc.Callable | None = None,
|
|
2485
|
+
add_operator=None,
|
|
2486
|
+
add_operator_props=None,
|
|
2487
|
+
):
|
|
2488
|
+
"""Populate a menu from a list of paths.
|
|
2519
2489
|
|
|
2520
|
-
|
|
2521
|
-
|
|
2490
|
+
:param searchpaths: Paths to scan.
|
|
2491
|
+
:type searchpaths: list[str]
|
|
2492
|
+
:param operator: The operator id to use with each file.
|
|
2493
|
+
:type operator: str
|
|
2494
|
+
:param props_default: Properties to assign to each operator.
|
|
2495
|
+
:type props_default: dict
|
|
2496
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
2497
|
+
:type prop_filepath: str | None
|
|
2498
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
2522
2499
|
|
|
2523
|
-
|
|
2500
|
+
Returning false excludes the file from the list.
|
|
2501
|
+
:type filter_ext: collections.abc.Callable | None
|
|
2502
|
+
:param filter_path:
|
|
2503
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
2504
|
+
:type display_name: collections.abc.Callable | None
|
|
2505
|
+
:param add_operator:
|
|
2506
|
+
:param add_operator_props:
|
|
2524
2507
|
"""
|
|
2525
2508
|
...
|
|
2526
2509
|
|
|
2510
|
+
def path_resolve(self):
|
|
2511
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
2512
|
+
...
|
|
2513
|
+
|
|
2527
2514
|
def pop(self):
|
|
2528
2515
|
"""Remove and return the value of the custom property assigned to key or default
|
|
2529
2516
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2574,13 +2561,18 @@ class EEVEE_NEXT_MATERIAL_PT_settings_surface(
|
|
|
2574
2561
|
"""
|
|
2575
2562
|
...
|
|
2576
2563
|
|
|
2577
|
-
class
|
|
2578
|
-
MaterialButtonsPanel, bpy_types._GenericUI
|
|
2564
|
+
class MATERIAL_PT_custom_props(
|
|
2565
|
+
MaterialButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
2579
2566
|
):
|
|
2567
|
+
"""The subclass should have its own poll function
|
|
2568
|
+
and the variable '_context_path' MUST be set.
|
|
2569
|
+
"""
|
|
2570
|
+
|
|
2580
2571
|
COMPAT_ENGINES: typing.Any
|
|
2581
2572
|
bl_context: typing.Any
|
|
2582
2573
|
bl_label: typing.Any
|
|
2583
|
-
|
|
2574
|
+
bl_options: typing.Any
|
|
2575
|
+
bl_order: typing.Any
|
|
2584
2576
|
bl_region_type: typing.Any
|
|
2585
2577
|
bl_rna: typing.Any
|
|
2586
2578
|
bl_space_type: typing.Any
|
|
@@ -2804,14 +2796,7 @@ class EEVEE_NEXT_MATERIAL_PT_settings_volume(
|
|
|
2804
2796
|
"""
|
|
2805
2797
|
...
|
|
2806
2798
|
|
|
2807
|
-
class
|
|
2808
|
-
MaterialButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
2809
|
-
):
|
|
2810
|
-
"""The subclass should have its own poll function
|
|
2811
|
-
and the variable '_context_path' MUST be set.
|
|
2812
|
-
"""
|
|
2813
|
-
|
|
2814
|
-
COMPAT_ENGINES: typing.Any
|
|
2799
|
+
class MATERIAL_PT_lineart(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
2815
2800
|
bl_context: typing.Any
|
|
2816
2801
|
bl_label: typing.Any
|
|
2817
2802
|
bl_options: typing.Any
|
|
@@ -3039,11 +3024,11 @@ class MATERIAL_PT_custom_props(
|
|
|
3039
3024
|
"""
|
|
3040
3025
|
...
|
|
3041
3026
|
|
|
3042
|
-
class
|
|
3027
|
+
class MATERIAL_PT_preview(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
3028
|
+
COMPAT_ENGINES: typing.Any
|
|
3043
3029
|
bl_context: typing.Any
|
|
3044
3030
|
bl_label: typing.Any
|
|
3045
3031
|
bl_options: typing.Any
|
|
3046
|
-
bl_order: typing.Any
|
|
3047
3032
|
bl_region_type: typing.Any
|
|
3048
3033
|
bl_rna: typing.Any
|
|
3049
3034
|
bl_space_type: typing.Any
|
|
@@ -3267,11 +3252,11 @@ class MATERIAL_PT_lineart(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
3267
3252
|
"""
|
|
3268
3253
|
...
|
|
3269
3254
|
|
|
3270
|
-
class
|
|
3271
|
-
COMPAT_ENGINES: typing.Any
|
|
3255
|
+
class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
3272
3256
|
bl_context: typing.Any
|
|
3273
3257
|
bl_label: typing.Any
|
|
3274
3258
|
bl_options: typing.Any
|
|
3259
|
+
bl_order: typing.Any
|
|
3275
3260
|
bl_region_type: typing.Any
|
|
3276
3261
|
bl_rna: typing.Any
|
|
3277
3262
|
bl_space_type: typing.Any
|
|
@@ -3495,14 +3480,8 @@ class MATERIAL_PT_preview(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
3495
3480
|
"""
|
|
3496
3481
|
...
|
|
3497
3482
|
|
|
3498
|
-
class
|
|
3499
|
-
bl_context: typing.Any
|
|
3500
|
-
bl_label: typing.Any
|
|
3501
|
-
bl_options: typing.Any
|
|
3502
|
-
bl_order: typing.Any
|
|
3503
|
-
bl_region_type: typing.Any
|
|
3483
|
+
class MATERIAL_UL_matslots(bpy_types._GenericUI):
|
|
3504
3484
|
bl_rna: typing.Any
|
|
3505
|
-
bl_space_type: typing.Any
|
|
3506
3485
|
id_data: typing.Any
|
|
3507
3486
|
|
|
3508
3487
|
def append(self, draw_func):
|
|
@@ -3537,10 +3516,27 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
3537
3516
|
"""
|
|
3538
3517
|
...
|
|
3539
3518
|
|
|
3540
|
-
def
|
|
3519
|
+
def draw_item(
|
|
3520
|
+
self,
|
|
3521
|
+
_context,
|
|
3522
|
+
layout,
|
|
3523
|
+
_data,
|
|
3524
|
+
item,
|
|
3525
|
+
icon,
|
|
3526
|
+
_active_data,
|
|
3527
|
+
_active_propname,
|
|
3528
|
+
_index,
|
|
3529
|
+
):
|
|
3541
3530
|
"""
|
|
3542
3531
|
|
|
3543
|
-
:param
|
|
3532
|
+
:param _context:
|
|
3533
|
+
:param layout:
|
|
3534
|
+
:param _data:
|
|
3535
|
+
:param item:
|
|
3536
|
+
:param icon:
|
|
3537
|
+
:param _active_data:
|
|
3538
|
+
:param _active_propname:
|
|
3539
|
+
:param _index:
|
|
3544
3540
|
"""
|
|
3545
3541
|
...
|
|
3546
3542
|
|
|
@@ -3666,13 +3662,6 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
3666
3662
|
"""Returns the property from the path, raise an exception when not found."""
|
|
3667
3663
|
...
|
|
3668
3664
|
|
|
3669
|
-
def poll(self, context):
|
|
3670
|
-
"""
|
|
3671
|
-
|
|
3672
|
-
:param context:
|
|
3673
|
-
"""
|
|
3674
|
-
...
|
|
3675
|
-
|
|
3676
3665
|
def pop(self):
|
|
3677
3666
|
"""Remove and return the value of the custom property assigned to key or default
|
|
3678
3667
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -3723,5 +3712,17 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
|
|
|
3723
3712
|
"""
|
|
3724
3713
|
...
|
|
3725
3714
|
|
|
3715
|
+
class MaterialButtonsPanel:
|
|
3716
|
+
bl_context: typing.Any
|
|
3717
|
+
bl_region_type: typing.Any
|
|
3718
|
+
bl_space_type: typing.Any
|
|
3719
|
+
|
|
3720
|
+
def poll(self, context):
|
|
3721
|
+
"""
|
|
3722
|
+
|
|
3723
|
+
:param context:
|
|
3724
|
+
"""
|
|
3725
|
+
...
|
|
3726
|
+
|
|
3726
3727
|
def draw_material_settings(context): ...
|
|
3727
3728
|
def panel_node_draw(layout, ntree, _output_type, input_name): ...
|