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,18 +8,6 @@ import rna_prop_ui
|
|
|
7
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
|
-
class DataButtonsPanel:
|
|
11
|
-
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
11
|
class DATA_PT_context_metaball(DataButtonsPanel, bpy_types._GenericUI):
|
|
23
12
|
bl_context: typing.Any
|
|
24
13
|
bl_label: typing.Any
|
|
@@ -1160,3 +1149,15 @@ class DATA_PT_metaball_element(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1160
1149
|
:return: custom property values.
|
|
1161
1150
|
"""
|
|
1162
1151
|
...
|
|
1152
|
+
|
|
1153
|
+
class DataButtonsPanel:
|
|
1154
|
+
bl_context: typing.Any
|
|
1155
|
+
bl_region_type: typing.Any
|
|
1156
|
+
bl_space_type: typing.Any
|
|
1157
|
+
|
|
1158
|
+
def poll(self, context):
|
|
1159
|
+
"""
|
|
1160
|
+
|
|
1161
|
+
:param context:
|
|
1162
|
+
"""
|
|
1163
|
+
...
|
|
@@ -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
|
|
|
@@ -218,25 +219,6 @@ class AddModifierMenu:
|
|
|
218
219
|
"""
|
|
219
220
|
...
|
|
220
221
|
|
|
221
|
-
class ModifierButtonsPanel:
|
|
222
|
-
bl_context: typing.Any
|
|
223
|
-
bl_options: typing.Any
|
|
224
|
-
bl_region_type: typing.Any
|
|
225
|
-
bl_space_type: typing.Any
|
|
226
|
-
|
|
227
|
-
class ModifierAddMenu:
|
|
228
|
-
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
229
|
-
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
230
|
-
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
231
|
-
|
|
232
|
-
def operator_modifier_add(self, layout, mod_type):
|
|
233
|
-
"""
|
|
234
|
-
|
|
235
|
-
:param layout:
|
|
236
|
-
:param mod_type:
|
|
237
|
-
"""
|
|
238
|
-
...
|
|
239
|
-
|
|
240
222
|
class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, bpy_types._GenericUI):
|
|
241
223
|
bl_context: typing.Any
|
|
242
224
|
bl_label: typing.Any
|
|
@@ -691,6 +673,25 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy_types._GenericUI):
|
|
|
691
673
|
"""
|
|
692
674
|
...
|
|
693
675
|
|
|
676
|
+
class ModifierAddMenu:
|
|
677
|
+
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
678
|
+
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
679
|
+
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
680
|
+
|
|
681
|
+
def operator_modifier_add(self, layout, mod_type):
|
|
682
|
+
"""
|
|
683
|
+
|
|
684
|
+
:param layout:
|
|
685
|
+
:param mod_type:
|
|
686
|
+
"""
|
|
687
|
+
...
|
|
688
|
+
|
|
689
|
+
class ModifierButtonsPanel:
|
|
690
|
+
bl_context: typing.Any
|
|
691
|
+
bl_options: typing.Any
|
|
692
|
+
bl_region_type: typing.Any
|
|
693
|
+
bl_space_type: typing.Any
|
|
694
|
+
|
|
694
695
|
class OBJECT_MT_modifier_add(ModifierAddMenu, bpy_types._GenericUI):
|
|
695
696
|
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
696
697
|
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
@@ -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,34 +8,16 @@ import rna_prop_ui
|
|
|
7
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
|
-
class DataButtonsPanel:
|
|
11
|
+
class DATA_PT_context_pointcloud(DataButtonsPanel, 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 POINTCLOUD_MT_add_attribute(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
|
-
def add_standard_attribute(self, layout, pointcloud, name, data_type, domain):
|
|
28
|
-
"""
|
|
29
|
-
|
|
30
|
-
:param layout:
|
|
31
|
-
:param pointcloud:
|
|
32
|
-
:param name:
|
|
33
|
-
:param data_type:
|
|
34
|
-
:param domain:
|
|
35
|
-
"""
|
|
36
|
-
...
|
|
37
|
-
|
|
38
21
|
def append(self, draw_func):
|
|
39
22
|
"""Append a draw function to this menu,
|
|
40
23
|
takes the same arguments as the menus draw function
|
|
@@ -74,26 +57,6 @@ class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
|
74
57
|
"""
|
|
75
58
|
...
|
|
76
59
|
|
|
77
|
-
def draw_collapsible(self, context, layout):
|
|
78
|
-
"""
|
|
79
|
-
|
|
80
|
-
:param context:
|
|
81
|
-
:param layout:
|
|
82
|
-
"""
|
|
83
|
-
...
|
|
84
|
-
|
|
85
|
-
def draw_preset(self, _context):
|
|
86
|
-
"""Define these on the subclass:
|
|
87
|
-
- preset_operator (string)
|
|
88
|
-
- preset_subdir (string)Optionally:
|
|
89
|
-
- preset_add_operator (string)
|
|
90
|
-
- preset_extensions (set of strings)
|
|
91
|
-
- preset_operator_defaults (dict of keyword args)
|
|
92
|
-
|
|
93
|
-
:param _context:
|
|
94
|
-
"""
|
|
95
|
-
...
|
|
96
|
-
|
|
97
60
|
def driver_add(self) -> bpy.types.FCurve:
|
|
98
61
|
"""Adds driver(s) to the given property
|
|
99
62
|
|
|
@@ -212,42 +175,15 @@ class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
|
212
175
|
"""
|
|
213
176
|
...
|
|
214
177
|
|
|
215
|
-
def
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
operator: str,
|
|
219
|
-
props_default: dict = None,
|
|
220
|
-
prop_filepath: str | None = "filepath",
|
|
221
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
222
|
-
filter_path=None,
|
|
223
|
-
display_name: collections.abc.Callable | None = None,
|
|
224
|
-
add_operator=None,
|
|
225
|
-
add_operator_props=None,
|
|
226
|
-
):
|
|
227
|
-
"""Populate a menu from a list of paths.
|
|
228
|
-
|
|
229
|
-
:param searchpaths: Paths to scan.
|
|
230
|
-
:type searchpaths: list[str]
|
|
231
|
-
:param operator: The operator id to use with each file.
|
|
232
|
-
:type operator: str
|
|
233
|
-
:param props_default: Properties to assign to each operator.
|
|
234
|
-
:type props_default: dict
|
|
235
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
236
|
-
:type prop_filepath: str | None
|
|
237
|
-
: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
|
+
...
|
|
238
181
|
|
|
239
|
-
|
|
240
|
-
:type filter_ext: collections.abc.Callable | None
|
|
241
|
-
:param filter_path:
|
|
242
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
243
|
-
:type display_name: collections.abc.Callable | None
|
|
244
|
-
:param add_operator:
|
|
245
|
-
:param add_operator_props:
|
|
182
|
+
def poll(self, context):
|
|
246
183
|
"""
|
|
247
|
-
...
|
|
248
184
|
|
|
249
|
-
|
|
250
|
-
"""
|
|
185
|
+
:param context:
|
|
186
|
+
"""
|
|
251
187
|
...
|
|
252
188
|
|
|
253
189
|
def pop(self):
|
|
@@ -300,8 +236,21 @@ class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
|
300
236
|
"""
|
|
301
237
|
...
|
|
302
238
|
|
|
303
|
-
class
|
|
239
|
+
class DATA_PT_custom_props_pointcloud(
|
|
240
|
+
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
241
|
+
):
|
|
242
|
+
"""The subclass should have its own poll function
|
|
243
|
+
and the variable '_context_path' MUST be set.
|
|
244
|
+
"""
|
|
245
|
+
|
|
246
|
+
COMPAT_ENGINES: typing.Any
|
|
247
|
+
bl_context: typing.Any
|
|
248
|
+
bl_label: typing.Any
|
|
249
|
+
bl_options: typing.Any
|
|
250
|
+
bl_order: typing.Any
|
|
251
|
+
bl_region_type: typing.Any
|
|
304
252
|
bl_rna: typing.Any
|
|
253
|
+
bl_space_type: typing.Any
|
|
305
254
|
id_data: typing.Any
|
|
306
255
|
|
|
307
256
|
def append(self, draw_func):
|
|
@@ -336,27 +285,10 @@ class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
|
336
285
|
"""
|
|
337
286
|
...
|
|
338
287
|
|
|
339
|
-
def
|
|
340
|
-
self,
|
|
341
|
-
_context,
|
|
342
|
-
layout,
|
|
343
|
-
_data,
|
|
344
|
-
attribute,
|
|
345
|
-
_icon,
|
|
346
|
-
_active_data,
|
|
347
|
-
_active_propname,
|
|
348
|
-
_index,
|
|
349
|
-
):
|
|
288
|
+
def draw(self, context):
|
|
350
289
|
"""
|
|
351
290
|
|
|
352
|
-
:param
|
|
353
|
-
:param layout:
|
|
354
|
-
:param _data:
|
|
355
|
-
:param attribute:
|
|
356
|
-
:param _icon:
|
|
357
|
-
:param _active_data:
|
|
358
|
-
:param _active_propname:
|
|
359
|
-
:param _index:
|
|
291
|
+
:param context:
|
|
360
292
|
"""
|
|
361
293
|
...
|
|
362
294
|
|
|
@@ -376,15 +308,6 @@ class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
|
376
308
|
"""
|
|
377
309
|
...
|
|
378
310
|
|
|
379
|
-
def filter_items(self, _context, data, property):
|
|
380
|
-
"""
|
|
381
|
-
|
|
382
|
-
:param _context:
|
|
383
|
-
:param data:
|
|
384
|
-
:param property:
|
|
385
|
-
"""
|
|
386
|
-
...
|
|
387
|
-
|
|
388
311
|
def get(self):
|
|
389
312
|
"""Returns the value of the custom property assigned to key or default
|
|
390
313
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -491,6 +414,13 @@ class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
|
491
414
|
"""Returns the property from the path, raise an exception when not found."""
|
|
492
415
|
...
|
|
493
416
|
|
|
417
|
+
def poll(self, context):
|
|
418
|
+
"""
|
|
419
|
+
|
|
420
|
+
:param context:
|
|
421
|
+
"""
|
|
422
|
+
...
|
|
423
|
+
|
|
494
424
|
def pop(self):
|
|
495
425
|
"""Remove and return the value of the custom property assigned to key or default
|
|
496
426
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -541,11 +471,10 @@ class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
|
541
471
|
"""
|
|
542
472
|
...
|
|
543
473
|
|
|
544
|
-
class
|
|
474
|
+
class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
545
475
|
COMPAT_ENGINES: typing.Any
|
|
546
476
|
bl_context: typing.Any
|
|
547
477
|
bl_label: typing.Any
|
|
548
|
-
bl_options: typing.Any
|
|
549
478
|
bl_region_type: typing.Any
|
|
550
479
|
bl_rna: typing.Any
|
|
551
480
|
bl_space_type: typing.Any
|
|
@@ -769,23 +698,34 @@ class DATA_PT_context_pointcloud(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
769
698
|
"""
|
|
770
699
|
...
|
|
771
700
|
|
|
772
|
-
class
|
|
773
|
-
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
774
|
-
):
|
|
775
|
-
"""The subclass should have its own poll function
|
|
776
|
-
and the variable '_context_path' MUST be set.
|
|
777
|
-
"""
|
|
778
|
-
|
|
779
|
-
COMPAT_ENGINES: typing.Any
|
|
701
|
+
class DataButtonsPanel:
|
|
780
702
|
bl_context: typing.Any
|
|
781
|
-
bl_label: typing.Any
|
|
782
|
-
bl_options: typing.Any
|
|
783
|
-
bl_order: typing.Any
|
|
784
703
|
bl_region_type: typing.Any
|
|
785
|
-
bl_rna: typing.Any
|
|
786
704
|
bl_space_type: typing.Any
|
|
705
|
+
|
|
706
|
+
def poll(self, context):
|
|
707
|
+
"""
|
|
708
|
+
|
|
709
|
+
:param context:
|
|
710
|
+
"""
|
|
711
|
+
...
|
|
712
|
+
|
|
713
|
+
class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
714
|
+
bl_label: typing.Any
|
|
715
|
+
bl_rna: typing.Any
|
|
787
716
|
id_data: typing.Any
|
|
788
717
|
|
|
718
|
+
def add_standard_attribute(self, layout, pointcloud, name, data_type, domain):
|
|
719
|
+
"""
|
|
720
|
+
|
|
721
|
+
:param layout:
|
|
722
|
+
:param pointcloud:
|
|
723
|
+
:param name:
|
|
724
|
+
:param data_type:
|
|
725
|
+
:param domain:
|
|
726
|
+
"""
|
|
727
|
+
...
|
|
728
|
+
|
|
789
729
|
def append(self, draw_func):
|
|
790
730
|
"""Append a draw function to this menu,
|
|
791
731
|
takes the same arguments as the menus draw function
|
|
@@ -825,6 +765,26 @@ class DATA_PT_custom_props_pointcloud(
|
|
|
825
765
|
"""
|
|
826
766
|
...
|
|
827
767
|
|
|
768
|
+
def draw_collapsible(self, context, layout):
|
|
769
|
+
"""
|
|
770
|
+
|
|
771
|
+
:param context:
|
|
772
|
+
:param layout:
|
|
773
|
+
"""
|
|
774
|
+
...
|
|
775
|
+
|
|
776
|
+
def draw_preset(self, _context):
|
|
777
|
+
"""Define these on the subclass:
|
|
778
|
+
- preset_operator (string)
|
|
779
|
+
- preset_subdir (string)Optionally:
|
|
780
|
+
- preset_add_operator (string)
|
|
781
|
+
- preset_extensions (set of strings)
|
|
782
|
+
- preset_operator_defaults (dict of keyword args)
|
|
783
|
+
|
|
784
|
+
:param _context:
|
|
785
|
+
"""
|
|
786
|
+
...
|
|
787
|
+
|
|
828
788
|
def driver_add(self) -> bpy.types.FCurve:
|
|
829
789
|
"""Adds driver(s) to the given property
|
|
830
790
|
|
|
@@ -943,17 +903,44 @@ class DATA_PT_custom_props_pointcloud(
|
|
|
943
903
|
"""
|
|
944
904
|
...
|
|
945
905
|
|
|
946
|
-
def
|
|
947
|
-
|
|
948
|
-
|
|
906
|
+
def path_menu(
|
|
907
|
+
self,
|
|
908
|
+
searchpaths: list[str],
|
|
909
|
+
operator: str,
|
|
910
|
+
props_default: dict = None,
|
|
911
|
+
prop_filepath: str | None = "filepath",
|
|
912
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
913
|
+
filter_path=None,
|
|
914
|
+
display_name: collections.abc.Callable | None = None,
|
|
915
|
+
add_operator=None,
|
|
916
|
+
add_operator_props=None,
|
|
917
|
+
):
|
|
918
|
+
"""Populate a menu from a list of paths.
|
|
949
919
|
|
|
950
|
-
|
|
951
|
-
|
|
920
|
+
:param searchpaths: Paths to scan.
|
|
921
|
+
:type searchpaths: list[str]
|
|
922
|
+
:param operator: The operator id to use with each file.
|
|
923
|
+
:type operator: str
|
|
924
|
+
:param props_default: Properties to assign to each operator.
|
|
925
|
+
:type props_default: dict
|
|
926
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
927
|
+
:type prop_filepath: str | None
|
|
928
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
952
929
|
|
|
953
|
-
|
|
930
|
+
Returning false excludes the file from the list.
|
|
931
|
+
:type filter_ext: collections.abc.Callable | None
|
|
932
|
+
:param filter_path:
|
|
933
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
934
|
+
:type display_name: collections.abc.Callable | None
|
|
935
|
+
:param add_operator:
|
|
936
|
+
:param add_operator_props:
|
|
954
937
|
"""
|
|
955
938
|
...
|
|
956
939
|
|
|
940
|
+
def path_resolve(self):
|
|
941
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
942
|
+
...
|
|
943
|
+
|
|
957
944
|
def pop(self):
|
|
958
945
|
"""Remove and return the value of the custom property assigned to key or default
|
|
959
946
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -1004,13 +991,8 @@ class DATA_PT_custom_props_pointcloud(
|
|
|
1004
991
|
"""
|
|
1005
992
|
...
|
|
1006
993
|
|
|
1007
|
-
class
|
|
1008
|
-
COMPAT_ENGINES: typing.Any
|
|
1009
|
-
bl_context: typing.Any
|
|
1010
|
-
bl_label: typing.Any
|
|
1011
|
-
bl_region_type: typing.Any
|
|
994
|
+
class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
1012
995
|
bl_rna: typing.Any
|
|
1013
|
-
bl_space_type: typing.Any
|
|
1014
996
|
id_data: typing.Any
|
|
1015
997
|
|
|
1016
998
|
def append(self, draw_func):
|
|
@@ -1045,10 +1027,27 @@ class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1045
1027
|
"""
|
|
1046
1028
|
...
|
|
1047
1029
|
|
|
1048
|
-
def
|
|
1030
|
+
def draw_item(
|
|
1031
|
+
self,
|
|
1032
|
+
_context,
|
|
1033
|
+
layout,
|
|
1034
|
+
_data,
|
|
1035
|
+
attribute,
|
|
1036
|
+
_icon,
|
|
1037
|
+
_active_data,
|
|
1038
|
+
_active_propname,
|
|
1039
|
+
_index,
|
|
1040
|
+
):
|
|
1049
1041
|
"""
|
|
1050
1042
|
|
|
1051
|
-
:param
|
|
1043
|
+
:param _context:
|
|
1044
|
+
:param layout:
|
|
1045
|
+
:param _data:
|
|
1046
|
+
:param attribute:
|
|
1047
|
+
:param _icon:
|
|
1048
|
+
:param _active_data:
|
|
1049
|
+
:param _active_propname:
|
|
1050
|
+
:param _index:
|
|
1052
1051
|
"""
|
|
1053
1052
|
...
|
|
1054
1053
|
|
|
@@ -1068,6 +1067,15 @@ class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1068
1067
|
"""
|
|
1069
1068
|
...
|
|
1070
1069
|
|
|
1070
|
+
def filter_items(self, _context, data, property):
|
|
1071
|
+
"""
|
|
1072
|
+
|
|
1073
|
+
:param _context:
|
|
1074
|
+
:param data:
|
|
1075
|
+
:param property:
|
|
1076
|
+
"""
|
|
1077
|
+
...
|
|
1078
|
+
|
|
1071
1079
|
def get(self):
|
|
1072
1080
|
"""Returns the value of the custom property assigned to key or default
|
|
1073
1081
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -1174,13 +1182,6 @@ class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1174
1182
|
"""Returns the property from the path, raise an exception when not found."""
|
|
1175
1183
|
...
|
|
1176
1184
|
|
|
1177
|
-
def poll(self, context):
|
|
1178
|
-
"""
|
|
1179
|
-
|
|
1180
|
-
:param context:
|
|
1181
|
-
"""
|
|
1182
|
-
...
|
|
1183
|
-
|
|
1184
1185
|
def pop(self):
|
|
1185
1186
|
"""Remove and return the value of the custom property assigned to key or default
|
|
1186
1187
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -1,16 +1,12 @@
|
|
|
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
|
|
|
6
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
9
|
|
|
9
|
-
class ShaderFxButtonsPanel:
|
|
10
|
-
bl_context: typing.Any
|
|
11
|
-
bl_region_type: typing.Any
|
|
12
|
-
bl_space_type: typing.Any
|
|
13
|
-
|
|
14
10
|
class DATA_PT_shader_fx(ShaderFxButtonsPanel, bpy_types._GenericUI):
|
|
15
11
|
bl_context: typing.Any
|
|
16
12
|
bl_label: typing.Any
|
|
@@ -230,3 +226,8 @@ class DATA_PT_shader_fx(ShaderFxButtonsPanel, bpy_types._GenericUI):
|
|
|
230
226
|
:return: custom property values.
|
|
231
227
|
"""
|
|
232
228
|
...
|
|
229
|
+
|
|
230
|
+
class ShaderFxButtonsPanel:
|
|
231
|
+
bl_context: typing.Any
|
|
232
|
+
bl_region_type: typing.Any
|
|
233
|
+
bl_space_type: typing.Any
|
|
@@ -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,18 +8,6 @@ import rna_prop_ui
|
|
|
7
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
|
-
class DataButtonsPanel:
|
|
11
|
-
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
11
|
class DATA_PT_cone(DataButtonsPanel, bpy_types._GenericUI):
|
|
23
12
|
COMPAT_ENGINES: typing.Any
|
|
24
13
|
bl_context: typing.Any
|
|
@@ -1164,3 +1153,15 @@ class DATA_PT_speaker(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1164
1153
|
:return: custom property values.
|
|
1165
1154
|
"""
|
|
1166
1155
|
...
|
|
1156
|
+
|
|
1157
|
+
class DataButtonsPanel:
|
|
1158
|
+
bl_context: typing.Any
|
|
1159
|
+
bl_region_type: typing.Any
|
|
1160
|
+
bl_space_type: typing.Any
|
|
1161
|
+
|
|
1162
|
+
def poll(self, context):
|
|
1163
|
+
"""
|
|
1164
|
+
|
|
1165
|
+
:param context:
|
|
1166
|
+
"""
|
|
1167
|
+
...
|