fake-bpy-module 20250612__py3-none-any.whl → 20260118__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +3 -1
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +4 -4
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +4 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -1
- _bpy_internal/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -2
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +1592 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +2 -0
- {rna_info → _rna_info}/__init__.pyi +4 -2
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +122 -145
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +5 -0
- bl_app_templates_system/py.typed +0 -0
- bl_math/__init__.pyi +3 -13
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +2 -3
- bl_operators/anim/__init__.pyi +62 -38
- bl_operators/assets/__init__.pyi +4 -9
- bl_operators/bone_selection_sets/__init__.pyi +15 -42
- bl_operators/clip/__init__.pyi +12 -31
- bl_operators/connect_to_output/__init__.pyi +2 -3
- bl_operators/console/__init__.pyi +6 -15
- bl_operators/constraint/__init__.pyi +6 -13
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +6 -11
- bl_operators/freestyle/__init__.pyi +5 -12
- bl_operators/geometry_nodes/__init__.pyi +5 -12
- bl_operators/grease_pencil/__init__.pyi +2 -3
- bl_operators/image/__init__.pyi +6 -15
- bl_operators/image_as_planes/__init__.pyi +3 -10
- bl_operators/mesh/__init__.pyi +3 -49
- bl_operators/node/__init__.pyi +294 -73
- bl_operators/object/__init__.pyi +17 -53
- bl_operators/object_align/__init__.pyi +2 -3
- bl_operators/object_quick_effects/__init__.pyi +5 -12
- bl_operators/object_randomize_transform/__init__.pyi +2 -3
- bl_operators/presets/__init__.pyi +27 -76
- bl_operators/rigidbody/__init__.pyi +4 -9
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -3
- bl_operators/sequencer/__init__.pyi +12 -27
- bl_operators/spreadsheet/__init__.pyi +2 -3
- bl_operators/userpref/__init__.pyi +26 -75
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -4
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -4
- bl_operators/uvcalc_transform/__init__.pyi +26 -16
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -3
- bl_operators/view3d/__init__.pyi +9 -24
- bl_operators/wm/__init__.pyi +48 -139
- bl_operators/world/__init__.pyi +3 -4
- bl_ui/__init__.pyi +7 -7
- bl_ui/anim/__init__.pyi +2 -3
- bl_ui/asset_shelf/__init__.pyi +2 -3
- bl_ui/generic_ui_list/__init__.pyi +4 -19
- bl_ui/node_add_menu/__init__.pyi +263 -7
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -79
- bl_ui/node_add_menu_geometry/__init__.pyi +309 -270
- bl_ui/node_add_menu_shader/__init__.pyi +49 -49
- bl_ui/node_add_menu_texture/__init__.pyi +17 -62
- bl_ui/properties_collection/__init__.pyi +9 -22
- bl_ui/properties_constraint/__init__.pyi +129 -282
- bl_ui/properties_data_armature/__init__.pyi +22 -57
- bl_ui/properties_data_bone/__init__.pyi +12 -31
- bl_ui/properties_data_camera/__init__.pyi +18 -47
- bl_ui/properties_data_curve/__init__.pyi +18 -47
- bl_ui/properties_data_curves/__init__.pyi +11 -26
- bl_ui/properties_data_empty/__init__.pyi +3 -6
- bl_ui/properties_data_grease_pencil/__init__.pyi +23 -62
- bl_ui/properties_data_lattice/__init__.pyi +7 -14
- bl_ui/properties_data_light/__init__.pyi +13 -32
- bl_ui/properties_data_lightprobe/__init__.pyi +16 -43
- bl_ui/properties_data_mesh/__init__.pyi +47 -62
- bl_ui/properties_data_metaball/__init__.pyi +9 -20
- bl_ui/properties_data_modifier/__init__.pyi +22 -28
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -3
- bl_ui/properties_data_speaker/__init__.pyi +9 -20
- bl_ui/properties_data_volume/__init__.pyi +12 -29
- bl_ui/properties_freestyle/__init__.pyi +27 -76
- bl_ui/properties_grease_pencil_common/__init__.pyi +10 -168
- bl_ui/properties_mask_common/__init__.pyi +8 -21
- bl_ui/properties_material/__init__.pyi +26 -86
- bl_ui/properties_material_gpencil/__init__.pyi +36 -57
- bl_ui/properties_object/__init__.pyi +59 -65
- bl_ui/properties_output/__init__.pyi +21 -60
- bl_ui/properties_paint_common/__init__.pyi +30 -22
- bl_ui/properties_particle/__init__.pyi +58 -161
- bl_ui/properties_physics_cloth/__init__.pyi +15 -42
- bl_ui/properties_physics_common/__init__.pyi +2 -3
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +23 -66
- bl_ui/properties_physics_field/__init__.pyi +11 -30
- bl_ui/properties_physics_fluid/__init__.pyi +29 -84
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +9 -24
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +14 -39
- bl_ui/properties_physics_softbody/__init__.pyi +16 -45
- bl_ui/properties_render/__init__.pyi +139 -197
- bl_ui/properties_scene/__init__.pyi +46 -50
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +30 -83
- bl_ui/properties_view_layer/__init__.pyi +84 -39
- bl_ui/properties_workspace/__init__.pyi +6 -13
- bl_ui/properties_world/__init__.pyi +14 -35
- bl_ui/space_clip/__init__.pyi +150 -231
- bl_ui/space_console/__init__.pyi +7 -18
- bl_ui/space_dopesheet/__init__.pyi +143 -100
- bl_ui/space_filebrowser/__init__.pyi +33 -90
- bl_ui/space_graph/__init__.pyi +48 -85
- bl_ui/space_image/__init__.pyi +111 -229
- bl_ui/space_info/__init__.pyi +7 -18
- bl_ui/space_nla/__init__.pyi +44 -73
- bl_ui/space_node/__init__.pyi +161 -123
- bl_ui/space_outliner/__init__.pyi +16 -45
- bl_ui/space_properties/__init__.pyi +34 -10
- bl_ui/space_sequencer/__init__.pyi +164 -901
- bl_ui/space_spreadsheet/__init__.pyi +4 -9
- bl_ui/space_statusbar/__init__.pyi +2 -3
- bl_ui/space_text/__init__.pyi +17 -48
- bl_ui/space_time/__init__.pyi +25 -71
- bl_ui/space_toolsystem_common/__init__.pyi +2 -2
- bl_ui/space_toolsystem_toolbar/__init__.pyi +30 -7
- bl_ui/space_topbar/__init__.pyi +35 -79
- bl_ui/space_userpref/__init__.pyi +185 -321
- bl_ui/space_view3d/__init__.pyi +337 -817
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +110 -880
- bl_ui/utils/__init__.pyi +0 -17
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +8 -54
- bmesh/__init__.pyi +2 -9
- bmesh/geometry/__init__.pyi +1 -4
- bmesh/ops/__init__.pyi +125 -508
- bmesh/types/__init__.pyi +318 -664
- bmesh/utils/__init__.pyi +17 -43
- bpy/__init__.pyi +1 -1
- bpy/app/__init__.pyi +93 -88
- bpy/app/handlers/__init__.pyi +19 -19
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +2 -7
- bpy/app/translations/__init__.pyi +8 -23
- bpy/msgbus/__init__.pyi +4 -6
- bpy/ops/action/__init__.pyi +68 -199
- bpy/ops/anim/__init__.pyi +142 -299
- bpy/ops/armature/__init__.pyi +78 -209
- bpy/ops/asset/__init__.pyi +46 -108
- bpy/ops/boid/__init__.pyi +28 -45
- bpy/ops/brush/__init__.pyi +13 -108
- bpy/ops/buttons/__init__.pyi +16 -75
- bpy/ops/cachefile/__init__.pyi +8 -65
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +173 -471
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +23 -36
- bpy/ops/console/__init__.pyi +40 -98
- bpy/ops/constraint/__init__.pyi +14 -85
- bpy/ops/curve/__init__.pyi +94 -277
- bpy/ops/curves/__init__.pyi +119 -166
- bpy/ops/cycles/__init__.pyi +4 -15
- bpy/ops/dpaint/__init__.pyi +14 -24
- bpy/ops/ed/__init__.pyi +44 -92
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +16 -170
- bpy/ops/extensions/__init__.pyi +60 -165
- bpy/ops/file/__init__.pyi +110 -246
- bpy/ops/fluid/__init__.pyi +52 -83
- bpy/ops/font/__init__.pyi +40 -144
- bpy/ops/geometry/__init__.pyi +12 -127
- bpy/ops/gizmogroup/__init__.pyi +4 -13
- bpy/ops/gpencil/__init__.pyi +22 -54
- bpy/ops/graph/__init__.pyi +92 -343
- bpy/ops/grease_pencil/__init__.pyi +218 -550
- bpy/ops/image/__init__.pyi +85 -435
- bpy/ops/import_anim/__init__.pyi +3 -17
- bpy/ops/import_curve/__init__.pyi +2 -5
- bpy/ops/import_scene/__init__.pyi +15 -49
- bpy/ops/info/__init__.pyi +16 -39
- bpy/ops/lattice/__init__.pyi +12 -36
- bpy/ops/marker/__init__.pyi +12 -51
- bpy/ops/mask/__init__.pyi +68 -193
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +4 -31
- bpy/ops/mesh/__init__.pyi +140 -967
- bpy/ops/nla/__init__.pyi +87 -206
- bpy/ops/node/__init__.pyi +714 -744
- bpy/ops/object/__init__.pyi +461 -1341
- bpy/ops/outliner/__init__.pyi +192 -376
- bpy/ops/paint/__init__.pyi +94 -319
- bpy/ops/paintcurve/__init__.pyi +20 -40
- bpy/ops/palette/__init__.pyi +14 -30
- bpy/ops/particle/__init__.pyi +86 -184
- bpy/ops/pointcloud/__init__.pyi +12 -38
- bpy/ops/pose/__init__.pyi +108 -261
- bpy/ops/poselib/__init__.pyi +32 -67
- bpy/ops/preferences/__init__.pyi +37 -187
- bpy/ops/ptcache/__init__.pyi +22 -36
- bpy/ops/render/__init__.pyi +20 -72
- bpy/ops/rigidbody/__init__.pyi +25 -63
- bpy/ops/scene/__init__.pyi +122 -181
- bpy/ops/screen/__init__.pyi +93 -221
- bpy/ops/script/__init__.pyi +4 -13
- bpy/ops/sculpt/__init__.pyi +69 -324
- bpy/ops/sculpt_curves/__init__.pyi +10 -23
- bpy/ops/sequencer/__init__.pyi +410 -730
- bpy/ops/sound/__init__.pyi +16 -114
- bpy/ops/spreadsheet/__init__.pyi +20 -37
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +112 -250
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +14 -21
- bpy/ops/transform/__init__.pyi +18 -386
- bpy/ops/ui/__init__.pyi +117 -188
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +238 -305
- bpy/ops/view2d/__init__.pyi +16 -76
- bpy/ops/view3d/__init__.pyi +153 -377
- bpy/ops/wm/__init__.pyi +277 -1397
- bpy/ops/workspace/__init__.pyi +32 -39
- bpy/ops/world/__init__.pyi +10 -12
- bpy/path/__init__.pyi +1 -35
- bpy/props/__init__.pyi +347 -218
- bpy/stub_internal/rna_enums/__init__.pyi +142 -108
- bpy/types/__init__.pyi +77367 -101305
- bpy/utils/__init__.pyi +11 -82
- bpy/utils/previews/__init__.pyi +2 -11
- bpy/utils/units/__init__.pyi +5 -15
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +2 -11
- bpy_extras/io_utils/__init__.pyi +8 -27
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +1 -9
- bpy_extras/object_utils/__init__.pyi +1 -15
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -1
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +17 -16
- freestyle/chainingiterators/__init__.pyi +5 -27
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +2 -53
- freestyle/shaders/__init__.pyi +15 -81
- freestyle/types/__init__.pyi +159 -799
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +5 -11
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +2 -7
- gpu/shader/__init__.pyi +26 -9
- gpu/state/__init__.pyi +60 -39
- gpu/texture/__init__.pyi +3 -5
- gpu/types/__init__.pyi +116 -184
- gpu_extras/batch/__init__.pyi +1 -5
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +3 -10
- imbuf/types/__init__.pyi +7 -21
- keyingsets_builtins/__init__.pyi +24 -67
- mathutils/__init__.pyi +241 -2207
- mathutils/bvhtree/__init__.pyi +18 -26
- mathutils/geometry/__init__.pyi +82 -132
- mathutils/interpolate/__init__.pyi +6 -5
- mathutils/kdtree/__init__.pyi +1 -11
- mathutils/noise/__init__.pyi +61 -106
- rna_prop_ui/__init__.pyi +1 -1
- bgl/__init__.pyi +0 -4256
- bpy_types/__init__.pyi +0 -30
- fake_bpy_module-20250612.dist-info/RECORD +0 -367
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
_bpy_types/__init__.pyi
ADDED
|
@@ -0,0 +1,1592 @@
|
|
|
1
|
+
import typing
|
|
2
|
+
import collections.abc
|
|
3
|
+
import typing_extensions
|
|
4
|
+
import numpy.typing as npt
|
|
5
|
+
import bpy.types
|
|
6
|
+
import mathutils
|
|
7
|
+
|
|
8
|
+
class AddonPreferences:
|
|
9
|
+
bl_rna: typing.Any
|
|
10
|
+
id_data: typing.Any
|
|
11
|
+
|
|
12
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
:return: The RNA type or default when not found.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
:return: The class or default when not found.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
class AssetShelf:
|
|
25
|
+
bl_rna: typing.Any
|
|
26
|
+
id_data: typing.Any
|
|
27
|
+
|
|
28
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
:return: The RNA type or default when not found.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
:return: The class or default when not found.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
class _GenericBone:
|
|
41
|
+
"""functions for bones, common between Armature/Pose/Edit bones.
|
|
42
|
+
internal subclassing use only.
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
basename: typing.Any
|
|
46
|
+
center: typing.Any
|
|
47
|
+
children_recursive: typing.Any
|
|
48
|
+
children_recursive_basename: typing.Any
|
|
49
|
+
parent_recursive: typing.Any
|
|
50
|
+
vector: typing.Any
|
|
51
|
+
x_axis: typing.Any
|
|
52
|
+
y_axis: typing.Any
|
|
53
|
+
z_axis: typing.Any
|
|
54
|
+
|
|
55
|
+
def parent_index(self, parent_test) -> None:
|
|
56
|
+
"""The same as bone in other_bone.parent_recursive
|
|
57
|
+
but saved generating a list.
|
|
58
|
+
|
|
59
|
+
:param parent_test:
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
def translate(self, vec) -> None:
|
|
63
|
+
"""Utility function to add vec to the head and tail of this bone.
|
|
64
|
+
|
|
65
|
+
:param vec:
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
class BoneCollection:
|
|
69
|
+
bl_rna: typing.Any
|
|
70
|
+
bones_recursive: typing.Any
|
|
71
|
+
id_data: typing.Any
|
|
72
|
+
|
|
73
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
:return: The RNA type or default when not found.
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
:return: The class or default when not found.
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
class Collection(bpy.types.ID):
|
|
86
|
+
bl_rna: typing.Any
|
|
87
|
+
children_recursive: typing.Any
|
|
88
|
+
id_data: typing.Any
|
|
89
|
+
users_dupli_group: typing.Any
|
|
90
|
+
|
|
91
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
:return: The RNA type or default when not found.
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
:return: The class or default when not found.
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
class Context:
|
|
104
|
+
bl_rna: typing.Any
|
|
105
|
+
id_data: typing.Any
|
|
106
|
+
|
|
107
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
:return: The RNA type or default when not found.
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
:return: The class or default when not found.
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
def copy(self) -> dict[str, typing.Any]:
|
|
120
|
+
"""Get context members as a dictionary.
|
|
121
|
+
|
|
122
|
+
:return:
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
def path_resolve(self, path: str, coerce: bool = True) -> None:
|
|
126
|
+
"""Returns the property from the path, raise an exception when not found.
|
|
127
|
+
|
|
128
|
+
:param path: patch which this property resolves.
|
|
129
|
+
:param coerce: optional argument, when True, the property will be converted into its Python representation.
|
|
130
|
+
"""
|
|
131
|
+
|
|
132
|
+
def temp_override(self) -> bpy.types.ContextTempOverride:
|
|
133
|
+
"""Context manager to temporarily override members in the context.
|
|
134
|
+
|
|
135
|
+
:return: The context manager.
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
class FileHandler:
|
|
139
|
+
bl_rna: typing.Any
|
|
140
|
+
id_data: typing.Any
|
|
141
|
+
|
|
142
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
:return: The RNA type or default when not found.
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
:return: The class or default when not found.
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
class Gizmo:
|
|
155
|
+
bl_rna: typing.Any
|
|
156
|
+
id_data: typing.Any
|
|
157
|
+
|
|
158
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
159
|
+
"""
|
|
160
|
+
|
|
161
|
+
:return: The RNA type or default when not found.
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
:return: The class or default when not found.
|
|
168
|
+
"""
|
|
169
|
+
|
|
170
|
+
def draw_custom_shape(
|
|
171
|
+
self,
|
|
172
|
+
shape: typing.Any,
|
|
173
|
+
*,
|
|
174
|
+
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
175
|
+
| mathutils.Matrix
|
|
176
|
+
| None = None,
|
|
177
|
+
select_id: int | None = None,
|
|
178
|
+
) -> None:
|
|
179
|
+
"""Draw a shape created form `Gizmo.draw_custom_shape`.
|
|
180
|
+
|
|
181
|
+
:param shape: The cached shape to draw.
|
|
182
|
+
:param matrix: 4x4 matrix, when not given `Gizmo.matrix_world` is used.
|
|
183
|
+
:param select_id: The selection id.
|
|
184
|
+
Only use when drawing within `Gizmo.draw_select`.
|
|
185
|
+
"""
|
|
186
|
+
|
|
187
|
+
@staticmethod
|
|
188
|
+
def new_custom_shape(
|
|
189
|
+
type: str, verts: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
190
|
+
) -> typing.Any:
|
|
191
|
+
"""Create a new shape that can be passed to `Gizmo.draw_custom_shape`.
|
|
192
|
+
|
|
193
|
+
:param type: The type of shape to create in (POINTS, LINES, TRIS, LINE_STRIP).
|
|
194
|
+
:param verts: Sequence of 2D or 3D coordinates.
|
|
195
|
+
:return: The newly created shape (the return type make change).
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
class GizmoGroup:
|
|
199
|
+
bl_rna: typing.Any
|
|
200
|
+
id_data: typing.Any
|
|
201
|
+
|
|
202
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
203
|
+
"""
|
|
204
|
+
|
|
205
|
+
:return: The RNA type or default when not found.
|
|
206
|
+
"""
|
|
207
|
+
|
|
208
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
209
|
+
"""
|
|
210
|
+
|
|
211
|
+
:return: The class or default when not found.
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
class GreasePencilDrawing:
|
|
215
|
+
bl_rna: typing.Any
|
|
216
|
+
id_data: typing.Any
|
|
217
|
+
strokes: typing.Any
|
|
218
|
+
|
|
219
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
:return: The RNA type or default when not found.
|
|
223
|
+
"""
|
|
224
|
+
|
|
225
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
226
|
+
"""
|
|
227
|
+
|
|
228
|
+
:return: The class or default when not found.
|
|
229
|
+
"""
|
|
230
|
+
|
|
231
|
+
class _GenericUI:
|
|
232
|
+
@classmethod
|
|
233
|
+
def append(cls, draw_func) -> None:
|
|
234
|
+
"""Append a draw function to this menu,
|
|
235
|
+
takes the same arguments as the menus draw function
|
|
236
|
+
|
|
237
|
+
:param draw_func:
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
@classmethod
|
|
241
|
+
def is_extended(cls) -> None: ...
|
|
242
|
+
@classmethod
|
|
243
|
+
def prepend(cls, draw_func) -> None:
|
|
244
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
245
|
+
the menus draw function
|
|
246
|
+
|
|
247
|
+
:param draw_func:
|
|
248
|
+
"""
|
|
249
|
+
|
|
250
|
+
@classmethod
|
|
251
|
+
def remove(cls, draw_func) -> None:
|
|
252
|
+
"""Remove a draw function that has been added to this menu.
|
|
253
|
+
|
|
254
|
+
:param draw_func:
|
|
255
|
+
"""
|
|
256
|
+
|
|
257
|
+
class RenderEngine:
|
|
258
|
+
bl_rna: typing.Any
|
|
259
|
+
id_data: typing.Any
|
|
260
|
+
|
|
261
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
:return: The RNA type or default when not found.
|
|
265
|
+
"""
|
|
266
|
+
|
|
267
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
268
|
+
"""
|
|
269
|
+
|
|
270
|
+
:return: The class or default when not found.
|
|
271
|
+
"""
|
|
272
|
+
|
|
273
|
+
class KeyingSetInfo:
|
|
274
|
+
bl_rna: typing.Any
|
|
275
|
+
id_data: typing.Any
|
|
276
|
+
|
|
277
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
278
|
+
"""
|
|
279
|
+
|
|
280
|
+
:return: The RNA type or default when not found.
|
|
281
|
+
"""
|
|
282
|
+
|
|
283
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
284
|
+
"""
|
|
285
|
+
|
|
286
|
+
:return: The class or default when not found.
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
class Library(bpy.types.ID):
|
|
290
|
+
bl_rna: typing.Any
|
|
291
|
+
id_data: typing.Any
|
|
292
|
+
users_id: typing.Any
|
|
293
|
+
|
|
294
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
295
|
+
"""
|
|
296
|
+
|
|
297
|
+
:return: The RNA type or default when not found.
|
|
298
|
+
"""
|
|
299
|
+
|
|
300
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
301
|
+
"""
|
|
302
|
+
|
|
303
|
+
:return: The class or default when not found.
|
|
304
|
+
"""
|
|
305
|
+
|
|
306
|
+
class Light(bpy.types.ID):
|
|
307
|
+
bl_rna: typing.Any
|
|
308
|
+
id_data: typing.Any
|
|
309
|
+
|
|
310
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
311
|
+
"""
|
|
312
|
+
|
|
313
|
+
:return: The RNA type or default when not found.
|
|
314
|
+
"""
|
|
315
|
+
|
|
316
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
317
|
+
"""
|
|
318
|
+
|
|
319
|
+
:return: The class or default when not found.
|
|
320
|
+
"""
|
|
321
|
+
|
|
322
|
+
def cycles(self, *args, **kwargs) -> None:
|
|
323
|
+
"""Intermediate storage for properties before registration.
|
|
324
|
+
|
|
325
|
+
:param args:
|
|
326
|
+
:param kwargs:
|
|
327
|
+
"""
|
|
328
|
+
|
|
329
|
+
def inline_shader_nodes(self) -> None:
|
|
330
|
+
"""Get the inlined shader nodes of this light. This preprocesses the node tree
|
|
331
|
+
to remove nested groups, repeat zones and more.
|
|
332
|
+
|
|
333
|
+
:return: The inlined shader nodes.
|
|
334
|
+
"""
|
|
335
|
+
|
|
336
|
+
class Macro:
|
|
337
|
+
bl_rna: typing.Any
|
|
338
|
+
id_data: typing.Any
|
|
339
|
+
|
|
340
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
:return: The RNA type or default when not found.
|
|
344
|
+
"""
|
|
345
|
+
|
|
346
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
347
|
+
"""
|
|
348
|
+
|
|
349
|
+
:return: The class or default when not found.
|
|
350
|
+
"""
|
|
351
|
+
|
|
352
|
+
@classmethod
|
|
353
|
+
def define(cls, operator: str) -> bpy.types.OperatorMacro:
|
|
354
|
+
"""Append an operator to a registered macro class.
|
|
355
|
+
|
|
356
|
+
:param operator: Identifier of the operator. This does not have to be defined when this function is called.
|
|
357
|
+
:return: The operator macro for property access.
|
|
358
|
+
"""
|
|
359
|
+
|
|
360
|
+
class Material(bpy.types.ID):
|
|
361
|
+
bl_rna: typing.Any
|
|
362
|
+
id_data: typing.Any
|
|
363
|
+
|
|
364
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
365
|
+
"""
|
|
366
|
+
|
|
367
|
+
:return: The RNA type or default when not found.
|
|
368
|
+
"""
|
|
369
|
+
|
|
370
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
371
|
+
"""
|
|
372
|
+
|
|
373
|
+
:return: The class or default when not found.
|
|
374
|
+
"""
|
|
375
|
+
|
|
376
|
+
def cycles(self, *args, **kwargs) -> None:
|
|
377
|
+
"""Intermediate storage for properties before registration.
|
|
378
|
+
|
|
379
|
+
:param args:
|
|
380
|
+
:param kwargs:
|
|
381
|
+
"""
|
|
382
|
+
|
|
383
|
+
def inline_shader_nodes(self) -> None:
|
|
384
|
+
"""Get the inlined shader nodes of this material. This preprocesses the node tree
|
|
385
|
+
to remove nested groups, repeat zones and more.
|
|
386
|
+
|
|
387
|
+
:return: The inlined shader nodes.
|
|
388
|
+
"""
|
|
389
|
+
|
|
390
|
+
class Mesh(bpy.types.ID):
|
|
391
|
+
bl_rna: typing.Any
|
|
392
|
+
edge_creases: typing.Any
|
|
393
|
+
edge_keys: typing.Any
|
|
394
|
+
id_data: typing.Any
|
|
395
|
+
vertex_creases: typing.Any
|
|
396
|
+
vertex_paint_mask: typing.Any
|
|
397
|
+
|
|
398
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
399
|
+
"""
|
|
400
|
+
|
|
401
|
+
:return: The RNA type or default when not found.
|
|
402
|
+
"""
|
|
403
|
+
|
|
404
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
405
|
+
"""
|
|
406
|
+
|
|
407
|
+
:return: The class or default when not found.
|
|
408
|
+
"""
|
|
409
|
+
|
|
410
|
+
def cycles(self, *args, **kwargs) -> None:
|
|
411
|
+
"""Intermediate storage for properties before registration.
|
|
412
|
+
|
|
413
|
+
:param args:
|
|
414
|
+
:param kwargs:
|
|
415
|
+
"""
|
|
416
|
+
|
|
417
|
+
def edge_creases_ensure(self) -> None: ...
|
|
418
|
+
def edge_creases_remove(self) -> None: ...
|
|
419
|
+
def from_pydata(
|
|
420
|
+
self,
|
|
421
|
+
vertices: collections.abc.Iterable[collections.abc.Sequence[float]],
|
|
422
|
+
edges: collections.abc.Iterable[collections.abc.Sequence[int]],
|
|
423
|
+
faces: collections.abc.Iterable[collections.abc.Sequence[int]],
|
|
424
|
+
shade_flat=True,
|
|
425
|
+
) -> None:
|
|
426
|
+
"""Make a mesh from a list of vertices/edges/faces
|
|
427
|
+
Until we have a nicer way to make geometry, use this.
|
|
428
|
+
|
|
429
|
+
:param vertices: float triplets each representing (X, Y, Z)
|
|
430
|
+
eg: [(0.0, 1.0, 0.5), ...].
|
|
431
|
+
:param edges: int pairs, each pair contains two indices to the
|
|
432
|
+
vertices argument. eg: [(1, 2), ...]
|
|
433
|
+
|
|
434
|
+
When an empty iterable is passed in, the edges are inferred from the polygons.
|
|
435
|
+
:param faces: iterator of faces, each faces contains three or more indices to
|
|
436
|
+
the vertices argument. eg: [(5, 6, 8, 9), (1, 2, 3), ...]
|
|
437
|
+
:param shade_flat:
|
|
438
|
+
"""
|
|
439
|
+
|
|
440
|
+
def shade_flat(self) -> None:
|
|
441
|
+
"""Render and display faces uniform, using face normals,
|
|
442
|
+
setting the "sharp_face" attribute true for every face
|
|
443
|
+
|
|
444
|
+
"""
|
|
445
|
+
|
|
446
|
+
def shade_smooth(self) -> None:
|
|
447
|
+
"""Render and display faces smooth, using interpolated vertex normals,
|
|
448
|
+
removing the "sharp_face" attribute
|
|
449
|
+
|
|
450
|
+
"""
|
|
451
|
+
|
|
452
|
+
def vertex_creases_ensure(self) -> None: ...
|
|
453
|
+
def vertex_creases_remove(self) -> None: ...
|
|
454
|
+
def vertex_paint_mask_ensure(self) -> None: ...
|
|
455
|
+
def vertex_paint_mask_remove(self) -> None: ...
|
|
456
|
+
|
|
457
|
+
class MeshEdge:
|
|
458
|
+
bl_rna: typing.Any
|
|
459
|
+
id_data: typing.Any
|
|
460
|
+
key: typing.Any
|
|
461
|
+
|
|
462
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
463
|
+
"""
|
|
464
|
+
|
|
465
|
+
:return: The RNA type or default when not found.
|
|
466
|
+
"""
|
|
467
|
+
|
|
468
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
469
|
+
"""
|
|
470
|
+
|
|
471
|
+
:return: The class or default when not found.
|
|
472
|
+
"""
|
|
473
|
+
|
|
474
|
+
class MeshLoopTriangle:
|
|
475
|
+
bl_rna: typing.Any
|
|
476
|
+
center: typing.Any
|
|
477
|
+
edge_keys: typing.Any
|
|
478
|
+
id_data: typing.Any
|
|
479
|
+
|
|
480
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
481
|
+
"""
|
|
482
|
+
|
|
483
|
+
:return: The RNA type or default when not found.
|
|
484
|
+
"""
|
|
485
|
+
|
|
486
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
487
|
+
"""
|
|
488
|
+
|
|
489
|
+
:return: The class or default when not found.
|
|
490
|
+
"""
|
|
491
|
+
|
|
492
|
+
class MeshPolygon:
|
|
493
|
+
bl_rna: typing.Any
|
|
494
|
+
edge_keys: typing.Any
|
|
495
|
+
id_data: typing.Any
|
|
496
|
+
loop_indices: typing.Any
|
|
497
|
+
|
|
498
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
499
|
+
"""
|
|
500
|
+
|
|
501
|
+
:return: The RNA type or default when not found.
|
|
502
|
+
"""
|
|
503
|
+
|
|
504
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
505
|
+
"""
|
|
506
|
+
|
|
507
|
+
:return: The class or default when not found.
|
|
508
|
+
"""
|
|
509
|
+
|
|
510
|
+
class Node:
|
|
511
|
+
bl_rna: typing.Any
|
|
512
|
+
id_data: typing.Any
|
|
513
|
+
|
|
514
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
515
|
+
"""
|
|
516
|
+
|
|
517
|
+
:return: The RNA type or default when not found.
|
|
518
|
+
"""
|
|
519
|
+
|
|
520
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
521
|
+
"""
|
|
522
|
+
|
|
523
|
+
:return: The class or default when not found.
|
|
524
|
+
"""
|
|
525
|
+
|
|
526
|
+
def is_registered_node_type(self, *args, **kwargs) -> None:
|
|
527
|
+
"""Node.is_registered_node_type()
|
|
528
|
+
True if a registered node type
|
|
529
|
+
|
|
530
|
+
:param args:
|
|
531
|
+
:param kwargs:
|
|
532
|
+
"""
|
|
533
|
+
|
|
534
|
+
@classmethod
|
|
535
|
+
def poll(cls, _ntree) -> None:
|
|
536
|
+
"""
|
|
537
|
+
|
|
538
|
+
:param _ntree:
|
|
539
|
+
"""
|
|
540
|
+
|
|
541
|
+
class NodeSocket:
|
|
542
|
+
bl_rna: typing.Any
|
|
543
|
+
id_data: typing.Any
|
|
544
|
+
links: typing.Any
|
|
545
|
+
|
|
546
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
547
|
+
"""
|
|
548
|
+
|
|
549
|
+
:return: The RNA type or default when not found.
|
|
550
|
+
"""
|
|
551
|
+
|
|
552
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
553
|
+
"""
|
|
554
|
+
|
|
555
|
+
:return: The class or default when not found.
|
|
556
|
+
"""
|
|
557
|
+
|
|
558
|
+
class NodeTree(bpy.types.ID):
|
|
559
|
+
bl_rna: typing.Any
|
|
560
|
+
id_data: typing.Any
|
|
561
|
+
|
|
562
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
563
|
+
"""
|
|
564
|
+
|
|
565
|
+
:return: The RNA type or default when not found.
|
|
566
|
+
"""
|
|
567
|
+
|
|
568
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
569
|
+
"""
|
|
570
|
+
|
|
571
|
+
:return: The class or default when not found.
|
|
572
|
+
"""
|
|
573
|
+
|
|
574
|
+
class NodeTreeInterfaceItem:
|
|
575
|
+
bl_rna: typing.Any
|
|
576
|
+
id_data: typing.Any
|
|
577
|
+
|
|
578
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
579
|
+
"""
|
|
580
|
+
|
|
581
|
+
:return: The RNA type or default when not found.
|
|
582
|
+
"""
|
|
583
|
+
|
|
584
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
585
|
+
"""
|
|
586
|
+
|
|
587
|
+
:return: The class or default when not found.
|
|
588
|
+
"""
|
|
589
|
+
|
|
590
|
+
class Object(bpy.types.ID):
|
|
591
|
+
bl_rna: typing.Any
|
|
592
|
+
children: typing.Any
|
|
593
|
+
children_recursive: typing.Any
|
|
594
|
+
id_data: typing.Any
|
|
595
|
+
users_collection: typing.Any
|
|
596
|
+
users_scene: typing.Any
|
|
597
|
+
|
|
598
|
+
def active_selection_set(self, *args, **kwargs) -> None:
|
|
599
|
+
"""Intermediate storage for properties before registration.
|
|
600
|
+
|
|
601
|
+
:param args:
|
|
602
|
+
:param kwargs:
|
|
603
|
+
"""
|
|
604
|
+
|
|
605
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
606
|
+
"""
|
|
607
|
+
|
|
608
|
+
:return: The RNA type or default when not found.
|
|
609
|
+
"""
|
|
610
|
+
|
|
611
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
612
|
+
"""
|
|
613
|
+
|
|
614
|
+
:return: The class or default when not found.
|
|
615
|
+
"""
|
|
616
|
+
|
|
617
|
+
def cycles(self, *args, **kwargs) -> None:
|
|
618
|
+
"""Intermediate storage for properties before registration.
|
|
619
|
+
|
|
620
|
+
:param args:
|
|
621
|
+
:param kwargs:
|
|
622
|
+
"""
|
|
623
|
+
|
|
624
|
+
def evaluated_geometry(self) -> None:
|
|
625
|
+
"""Get the evaluated geometry set of this evaluated object. This only works for
|
|
626
|
+
objects that contain geometry data like meshes and curves but not e.g. cameras.
|
|
627
|
+
|
|
628
|
+
:return: The evaluated geometry.
|
|
629
|
+
"""
|
|
630
|
+
|
|
631
|
+
def selection_sets(self, *args, **kwargs) -> None:
|
|
632
|
+
"""Intermediate storage for properties before registration.
|
|
633
|
+
|
|
634
|
+
:param args:
|
|
635
|
+
:param kwargs:
|
|
636
|
+
"""
|
|
637
|
+
|
|
638
|
+
class Operator:
|
|
639
|
+
bl_rna: typing.Any
|
|
640
|
+
id_data: typing.Any
|
|
641
|
+
|
|
642
|
+
def as_keywords(self, *, ignore=()) -> None:
|
|
643
|
+
"""Return a copy of the properties as a dictionary.
|
|
644
|
+
|
|
645
|
+
:param ignore:
|
|
646
|
+
"""
|
|
647
|
+
|
|
648
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
649
|
+
"""
|
|
650
|
+
|
|
651
|
+
:return: The RNA type or default when not found.
|
|
652
|
+
"""
|
|
653
|
+
|
|
654
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
655
|
+
"""
|
|
656
|
+
|
|
657
|
+
:return: The class or default when not found.
|
|
658
|
+
"""
|
|
659
|
+
|
|
660
|
+
class PropertyGroup:
|
|
661
|
+
bl_rna: typing.Any
|
|
662
|
+
id_data: typing.Any
|
|
663
|
+
|
|
664
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
665
|
+
"""
|
|
666
|
+
|
|
667
|
+
:return: The RNA type or default when not found.
|
|
668
|
+
"""
|
|
669
|
+
|
|
670
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
671
|
+
"""
|
|
672
|
+
|
|
673
|
+
:return: The class or default when not found.
|
|
674
|
+
"""
|
|
675
|
+
|
|
676
|
+
class Sound(bpy.types.ID):
|
|
677
|
+
bl_rna: typing.Any
|
|
678
|
+
factory: typing.Any
|
|
679
|
+
id_data: typing.Any
|
|
680
|
+
|
|
681
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
682
|
+
"""
|
|
683
|
+
|
|
684
|
+
:return: The RNA type or default when not found.
|
|
685
|
+
"""
|
|
686
|
+
|
|
687
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
688
|
+
"""
|
|
689
|
+
|
|
690
|
+
:return: The class or default when not found.
|
|
691
|
+
"""
|
|
692
|
+
|
|
693
|
+
class Text(bpy.types.ID):
|
|
694
|
+
bl_rna: typing.Any
|
|
695
|
+
id_data: typing.Any
|
|
696
|
+
|
|
697
|
+
def as_module(self) -> None: ...
|
|
698
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
699
|
+
"""
|
|
700
|
+
|
|
701
|
+
:return: The RNA type or default when not found.
|
|
702
|
+
"""
|
|
703
|
+
|
|
704
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
705
|
+
"""
|
|
706
|
+
|
|
707
|
+
:return: The class or default when not found.
|
|
708
|
+
"""
|
|
709
|
+
|
|
710
|
+
def region_as_string(self) -> str:
|
|
711
|
+
"""
|
|
712
|
+
|
|
713
|
+
:return: The specified region as a string.
|
|
714
|
+
"""
|
|
715
|
+
|
|
716
|
+
def region_from_string(self) -> None: ...
|
|
717
|
+
|
|
718
|
+
class Texture(bpy.types.ID):
|
|
719
|
+
bl_rna: typing.Any
|
|
720
|
+
id_data: typing.Any
|
|
721
|
+
users_material: typing.Any
|
|
722
|
+
users_object_modifier: typing.Any
|
|
723
|
+
|
|
724
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
725
|
+
"""
|
|
726
|
+
|
|
727
|
+
:return: The RNA type or default when not found.
|
|
728
|
+
"""
|
|
729
|
+
|
|
730
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
731
|
+
"""
|
|
732
|
+
|
|
733
|
+
:return: The class or default when not found.
|
|
734
|
+
"""
|
|
735
|
+
|
|
736
|
+
class USDHook:
|
|
737
|
+
bl_rna: typing.Any
|
|
738
|
+
id_data: typing.Any
|
|
739
|
+
|
|
740
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
741
|
+
"""
|
|
742
|
+
|
|
743
|
+
:return: The RNA type or default when not found.
|
|
744
|
+
"""
|
|
745
|
+
|
|
746
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
747
|
+
"""
|
|
748
|
+
|
|
749
|
+
:return: The class or default when not found.
|
|
750
|
+
"""
|
|
751
|
+
|
|
752
|
+
class WindowManager(bpy.types.ID):
|
|
753
|
+
bl_rna: typing.Any
|
|
754
|
+
clipboard: typing.Any
|
|
755
|
+
id_data: typing.Any
|
|
756
|
+
|
|
757
|
+
def addon_filter(self, *args, **kwargs) -> None:
|
|
758
|
+
"""Intermediate storage for properties before registration.
|
|
759
|
+
|
|
760
|
+
:param args:
|
|
761
|
+
:param kwargs:
|
|
762
|
+
"""
|
|
763
|
+
|
|
764
|
+
def addon_search(self, *args, **kwargs) -> None:
|
|
765
|
+
"""Intermediate storage for properties before registration.
|
|
766
|
+
|
|
767
|
+
:param args:
|
|
768
|
+
:param kwargs:
|
|
769
|
+
"""
|
|
770
|
+
|
|
771
|
+
def addon_support(self, *args, **kwargs) -> None:
|
|
772
|
+
"""Intermediate storage for properties before registration.
|
|
773
|
+
|
|
774
|
+
:param args:
|
|
775
|
+
:param kwargs:
|
|
776
|
+
"""
|
|
777
|
+
|
|
778
|
+
def addon_tags(self, *args, **kwargs) -> None:
|
|
779
|
+
"""Intermediate storage for properties before registration.
|
|
780
|
+
|
|
781
|
+
:param args:
|
|
782
|
+
:param kwargs:
|
|
783
|
+
"""
|
|
784
|
+
|
|
785
|
+
def asset_path_dummy(self, *args, **kwargs) -> None:
|
|
786
|
+
"""Intermediate storage for properties before registration.
|
|
787
|
+
|
|
788
|
+
:param args:
|
|
789
|
+
:param kwargs:
|
|
790
|
+
"""
|
|
791
|
+
|
|
792
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
793
|
+
"""
|
|
794
|
+
|
|
795
|
+
:return: The RNA type or default when not found.
|
|
796
|
+
"""
|
|
797
|
+
|
|
798
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
799
|
+
"""
|
|
800
|
+
|
|
801
|
+
:return: The class or default when not found.
|
|
802
|
+
"""
|
|
803
|
+
|
|
804
|
+
@classmethod
|
|
805
|
+
def draw_cursor_add(cls) -> typing.Any:
|
|
806
|
+
"""Add a new draw cursor handler to this space type.
|
|
807
|
+
It will be called every time the cursor for the specified region in the space type will be drawn.
|
|
808
|
+
Note: All arguments are positional only for now.
|
|
809
|
+
|
|
810
|
+
:return: Handler that can be removed later on.
|
|
811
|
+
"""
|
|
812
|
+
|
|
813
|
+
@classmethod
|
|
814
|
+
def draw_cursor_remove(cls) -> None:
|
|
815
|
+
"""Remove a draw cursor handler that was added previously."""
|
|
816
|
+
|
|
817
|
+
def extension_repo_filter(self, *args, **kwargs) -> None:
|
|
818
|
+
"""Intermediate storage for properties before registration.
|
|
819
|
+
|
|
820
|
+
:param args:
|
|
821
|
+
:param kwargs:
|
|
822
|
+
"""
|
|
823
|
+
|
|
824
|
+
def extension_search(self, *args, **kwargs) -> None:
|
|
825
|
+
"""Intermediate storage for properties before registration.
|
|
826
|
+
|
|
827
|
+
:param args:
|
|
828
|
+
:param kwargs:
|
|
829
|
+
"""
|
|
830
|
+
|
|
831
|
+
def extension_show_panel_available(self, *args, **kwargs) -> None:
|
|
832
|
+
"""Intermediate storage for properties before registration.
|
|
833
|
+
|
|
834
|
+
:param args:
|
|
835
|
+
:param kwargs:
|
|
836
|
+
"""
|
|
837
|
+
|
|
838
|
+
def extension_show_panel_installed(self, *args, **kwargs) -> None:
|
|
839
|
+
"""Intermediate storage for properties before registration.
|
|
840
|
+
|
|
841
|
+
:param args:
|
|
842
|
+
:param kwargs:
|
|
843
|
+
"""
|
|
844
|
+
|
|
845
|
+
def extension_tags(self, *args, **kwargs) -> None:
|
|
846
|
+
"""Intermediate storage for properties before registration.
|
|
847
|
+
|
|
848
|
+
:param args:
|
|
849
|
+
:param kwargs:
|
|
850
|
+
"""
|
|
851
|
+
|
|
852
|
+
def extension_type(self, *args, **kwargs) -> None:
|
|
853
|
+
"""Intermediate storage for properties before registration.
|
|
854
|
+
|
|
855
|
+
:param args:
|
|
856
|
+
:param kwargs:
|
|
857
|
+
"""
|
|
858
|
+
|
|
859
|
+
def extension_use_filter(self, *args, **kwargs) -> None:
|
|
860
|
+
"""Intermediate storage for properties before registration.
|
|
861
|
+
|
|
862
|
+
:param args:
|
|
863
|
+
:param kwargs:
|
|
864
|
+
"""
|
|
865
|
+
|
|
866
|
+
def fileselect_add(self, *args, **kwargs) -> None:
|
|
867
|
+
"""WindowManager.fileselect_add(operator)
|
|
868
|
+
Opens a file selector with an operator.
|
|
869
|
+
|
|
870
|
+
:param args:
|
|
871
|
+
:param kwargs:
|
|
872
|
+
"""
|
|
873
|
+
|
|
874
|
+
def gizmo_group_type_ensure(self, *args, **kwargs) -> None:
|
|
875
|
+
"""WindowManager.gizmo_group_type_ensure(identifier)
|
|
876
|
+
Activate an existing widget group (when the persistent option isnt set)
|
|
877
|
+
|
|
878
|
+
:param args:
|
|
879
|
+
:param kwargs:
|
|
880
|
+
"""
|
|
881
|
+
|
|
882
|
+
def gizmo_group_type_unlink_delayed(self, *args, **kwargs) -> None:
|
|
883
|
+
"""WindowManager.gizmo_group_type_unlink_delayed(identifier)
|
|
884
|
+
Unlink a widget group (when the persistent option is set)
|
|
885
|
+
|
|
886
|
+
:param args:
|
|
887
|
+
:param kwargs:
|
|
888
|
+
"""
|
|
889
|
+
|
|
890
|
+
def invoke_confirm(self, *args, **kwargs) -> None:
|
|
891
|
+
"""WindowManager.invoke_confirm(operator, event, title="", message="", confirm_text="", icon=NONE, text_ctxt="", translate=True)
|
|
892
|
+
Operator confirmation popup (only to let user confirm the execution, no operator properties shown)
|
|
893
|
+
|
|
894
|
+
:param args:
|
|
895
|
+
:param kwargs:
|
|
896
|
+
"""
|
|
897
|
+
|
|
898
|
+
def invoke_popup(self, *args, **kwargs) -> None:
|
|
899
|
+
"""WindowManager.invoke_popup(operator, width=300)
|
|
900
|
+
Operator popup invoke (only shows operators properties, without executing it)
|
|
901
|
+
|
|
902
|
+
:param args:
|
|
903
|
+
:param kwargs:
|
|
904
|
+
"""
|
|
905
|
+
|
|
906
|
+
def invoke_props_dialog(self, *args, **kwargs) -> None:
|
|
907
|
+
"""WindowManager.invoke_props_dialog(operator, width=300, title="", confirm_text="", cancel_default=False, text_ctxt="", translate=True)
|
|
908
|
+
Operator dialog (non-autoexec popup) invoke (show operator properties and only execute it on click on OK button)
|
|
909
|
+
|
|
910
|
+
:param args:
|
|
911
|
+
:param kwargs:
|
|
912
|
+
"""
|
|
913
|
+
|
|
914
|
+
def invoke_props_popup(self, *args, **kwargs) -> None:
|
|
915
|
+
"""WindowManager.invoke_props_popup(operator, event)
|
|
916
|
+
Operator popup invoke (show operator properties and execute it automatically on changes)
|
|
917
|
+
|
|
918
|
+
:param args:
|
|
919
|
+
:param kwargs:
|
|
920
|
+
"""
|
|
921
|
+
|
|
922
|
+
def invoke_search_popup(self, *args, **kwargs) -> None:
|
|
923
|
+
"""WindowManager.invoke_search_popup(operator)
|
|
924
|
+
Operator search popup invoke which searches values of the operators `bpy.types.Operator.bl_property` (which must be an EnumProperty), executing it on confirmation
|
|
925
|
+
|
|
926
|
+
:param args:
|
|
927
|
+
:param kwargs:
|
|
928
|
+
"""
|
|
929
|
+
|
|
930
|
+
def modal_handler_add(self, *args, **kwargs) -> None:
|
|
931
|
+
"""WindowManager.modal_handler_add(operator)
|
|
932
|
+
Add a modal handler to the window manager, for the given modal operator (called by invoke() with self, just before returning {RUNNING_MODAL})
|
|
933
|
+
|
|
934
|
+
:param args:
|
|
935
|
+
:param kwargs:
|
|
936
|
+
"""
|
|
937
|
+
|
|
938
|
+
def operator_properties_last(self, *args, **kwargs) -> None:
|
|
939
|
+
"""WindowManager.operator_properties_last(operator)
|
|
940
|
+
operator_properties_last
|
|
941
|
+
|
|
942
|
+
:param args:
|
|
943
|
+
:param kwargs:
|
|
944
|
+
"""
|
|
945
|
+
|
|
946
|
+
def piemenu_begin__internal(self, *args, **kwargs) -> None:
|
|
947
|
+
"""WindowManager.piemenu_begin__internal(title, icon=NONE, event=event)
|
|
948
|
+
piemenu_begin__internal
|
|
949
|
+
|
|
950
|
+
:param args:
|
|
951
|
+
:param kwargs:
|
|
952
|
+
"""
|
|
953
|
+
|
|
954
|
+
def piemenu_end__internal(self, *args, **kwargs) -> None:
|
|
955
|
+
"""WindowManager.piemenu_end__internal(menu)
|
|
956
|
+
piemenu_end__internal
|
|
957
|
+
|
|
958
|
+
:param args:
|
|
959
|
+
:param kwargs:
|
|
960
|
+
"""
|
|
961
|
+
|
|
962
|
+
def popmenu_begin__internal(self, *args, **kwargs) -> None:
|
|
963
|
+
"""WindowManager.popmenu_begin__internal(title, icon=NONE)
|
|
964
|
+
popmenu_begin__internal
|
|
965
|
+
|
|
966
|
+
:param args:
|
|
967
|
+
:param kwargs:
|
|
968
|
+
"""
|
|
969
|
+
|
|
970
|
+
def popmenu_end__internal(self, *args, **kwargs) -> None:
|
|
971
|
+
"""WindowManager.popmenu_end__internal(menu)
|
|
972
|
+
popmenu_end__internal
|
|
973
|
+
|
|
974
|
+
:param args:
|
|
975
|
+
:param kwargs:
|
|
976
|
+
"""
|
|
977
|
+
|
|
978
|
+
def popover(
|
|
979
|
+
self, draw_func, *, ui_units_x=0, keymap=None, from_active_button=False
|
|
980
|
+
) -> None:
|
|
981
|
+
"""
|
|
982
|
+
|
|
983
|
+
:param draw_func:
|
|
984
|
+
:param ui_units_x:
|
|
985
|
+
:param keymap:
|
|
986
|
+
:param from_active_button:
|
|
987
|
+
"""
|
|
988
|
+
|
|
989
|
+
def popover_begin__internal(self, *args, **kwargs) -> None:
|
|
990
|
+
"""WindowManager.popover_begin__internal(ui_units_x=0, from_active_button=False)
|
|
991
|
+
popover_begin__internal
|
|
992
|
+
|
|
993
|
+
:param args:
|
|
994
|
+
:param kwargs:
|
|
995
|
+
"""
|
|
996
|
+
|
|
997
|
+
def popover_end__internal(self, *args, **kwargs) -> None:
|
|
998
|
+
"""WindowManager.popover_end__internal(menu, keymap=None)
|
|
999
|
+
popover_end__internal
|
|
1000
|
+
|
|
1001
|
+
:param args:
|
|
1002
|
+
:param kwargs:
|
|
1003
|
+
"""
|
|
1004
|
+
|
|
1005
|
+
def popup_menu(self, draw_func, *, title="", icon="NONE") -> None:
|
|
1006
|
+
"""
|
|
1007
|
+
|
|
1008
|
+
:param draw_func:
|
|
1009
|
+
:param title:
|
|
1010
|
+
:param icon:
|
|
1011
|
+
"""
|
|
1012
|
+
|
|
1013
|
+
def popup_menu_pie(self, event, draw_func, *, title="", icon="NONE") -> None:
|
|
1014
|
+
"""
|
|
1015
|
+
|
|
1016
|
+
:param event:
|
|
1017
|
+
:param draw_func:
|
|
1018
|
+
:param title:
|
|
1019
|
+
:param icon:
|
|
1020
|
+
"""
|
|
1021
|
+
|
|
1022
|
+
def poselib_previous_action(self, *args, **kwargs) -> None:
|
|
1023
|
+
"""Intermediate storage for properties before registration.
|
|
1024
|
+
|
|
1025
|
+
:param args:
|
|
1026
|
+
:param kwargs:
|
|
1027
|
+
"""
|
|
1028
|
+
|
|
1029
|
+
def preset_name(self, *args, **kwargs) -> None:
|
|
1030
|
+
"""Intermediate storage for properties before registration.
|
|
1031
|
+
|
|
1032
|
+
:param args:
|
|
1033
|
+
:param kwargs:
|
|
1034
|
+
"""
|
|
1035
|
+
|
|
1036
|
+
def tag_script_reload(self, *args, **kwargs) -> None:
|
|
1037
|
+
"""WindowManager.tag_script_reload()
|
|
1038
|
+
Tag for refreshing the interface after scripts have been reloaded
|
|
1039
|
+
|
|
1040
|
+
:param args:
|
|
1041
|
+
:param kwargs:
|
|
1042
|
+
"""
|
|
1043
|
+
|
|
1044
|
+
class WorkSpace(bpy.types.ID):
|
|
1045
|
+
bl_rna: typing.Any
|
|
1046
|
+
id_data: typing.Any
|
|
1047
|
+
|
|
1048
|
+
def active_addon(self, *args, **kwargs) -> None:
|
|
1049
|
+
"""Intermediate storage for properties before registration.
|
|
1050
|
+
|
|
1051
|
+
:param args:
|
|
1052
|
+
:param kwargs:
|
|
1053
|
+
"""
|
|
1054
|
+
|
|
1055
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1056
|
+
"""
|
|
1057
|
+
|
|
1058
|
+
:return: The RNA type or default when not found.
|
|
1059
|
+
"""
|
|
1060
|
+
|
|
1061
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1062
|
+
"""
|
|
1063
|
+
|
|
1064
|
+
:return: The class or default when not found.
|
|
1065
|
+
"""
|
|
1066
|
+
|
|
1067
|
+
def status_text_set(self, text) -> None:
|
|
1068
|
+
"""Set the status text or None to clear,
|
|
1069
|
+
When text is a function, this will be called with the (header, context) arguments.
|
|
1070
|
+
|
|
1071
|
+
:param text:
|
|
1072
|
+
"""
|
|
1073
|
+
|
|
1074
|
+
def status_text_set_internal(self, *args, **kwargs) -> None:
|
|
1075
|
+
"""WorkSpace.status_text_set_internal(text)
|
|
1076
|
+
Set the status bar text, typically key shortcuts for modal operators
|
|
1077
|
+
|
|
1078
|
+
:param args:
|
|
1079
|
+
:param kwargs:
|
|
1080
|
+
"""
|
|
1081
|
+
|
|
1082
|
+
class World(bpy.types.ID):
|
|
1083
|
+
bl_rna: typing.Any
|
|
1084
|
+
id_data: typing.Any
|
|
1085
|
+
|
|
1086
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1087
|
+
"""
|
|
1088
|
+
|
|
1089
|
+
:return: The RNA type or default when not found.
|
|
1090
|
+
"""
|
|
1091
|
+
|
|
1092
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1093
|
+
"""
|
|
1094
|
+
|
|
1095
|
+
:return: The class or default when not found.
|
|
1096
|
+
"""
|
|
1097
|
+
|
|
1098
|
+
def cycles(self, *args, **kwargs) -> None:
|
|
1099
|
+
"""Intermediate storage for properties before registration.
|
|
1100
|
+
|
|
1101
|
+
:param args:
|
|
1102
|
+
:param kwargs:
|
|
1103
|
+
"""
|
|
1104
|
+
|
|
1105
|
+
def cycles_visibility(self, *args, **kwargs) -> None:
|
|
1106
|
+
"""Intermediate storage for properties before registration.
|
|
1107
|
+
|
|
1108
|
+
:param args:
|
|
1109
|
+
:param kwargs:
|
|
1110
|
+
"""
|
|
1111
|
+
|
|
1112
|
+
def inline_shader_nodes(self) -> None:
|
|
1113
|
+
"""Get the inlined shader nodes of this world. This preprocesses the node tree
|
|
1114
|
+
to remove nested groups, repeat zones and more.
|
|
1115
|
+
|
|
1116
|
+
:return: The inlined shader nodes.
|
|
1117
|
+
"""
|
|
1118
|
+
|
|
1119
|
+
class _RNAMeta:
|
|
1120
|
+
is_registered: typing.Any
|
|
1121
|
+
|
|
1122
|
+
class Bone(_GenericBone):
|
|
1123
|
+
"""functions for bones, common between Armature/Pose/Edit bones.
|
|
1124
|
+
internal subclassing use only.
|
|
1125
|
+
"""
|
|
1126
|
+
|
|
1127
|
+
basename: typing.Any
|
|
1128
|
+
bl_rna: typing.Any
|
|
1129
|
+
center: typing.Any
|
|
1130
|
+
children_recursive: typing.Any
|
|
1131
|
+
children_recursive_basename: typing.Any
|
|
1132
|
+
id_data: typing.Any
|
|
1133
|
+
parent_recursive: typing.Any
|
|
1134
|
+
vector: typing.Any
|
|
1135
|
+
x_axis: typing.Any
|
|
1136
|
+
y_axis: typing.Any
|
|
1137
|
+
z_axis: typing.Any
|
|
1138
|
+
|
|
1139
|
+
def AxisRollFromMatrix(self, *args, **kwargs) -> None:
|
|
1140
|
+
"""Bone.AxisRollFromMatrix(matrix, axis=(0, 0, 0))
|
|
1141
|
+
Convert a rotational matrix to the axis + roll representation. Note that the resulting value of the roll may not be as expected if the matrix has shear or negative determinant.
|
|
1142
|
+
|
|
1143
|
+
:param args:
|
|
1144
|
+
:param kwargs:
|
|
1145
|
+
"""
|
|
1146
|
+
|
|
1147
|
+
def MatrixFromAxisRoll(self, *args, **kwargs) -> None:
|
|
1148
|
+
"""Bone.MatrixFromAxisRoll(axis, roll)
|
|
1149
|
+
Convert the axis + roll representation to a matrix
|
|
1150
|
+
|
|
1151
|
+
:param args:
|
|
1152
|
+
:param kwargs:
|
|
1153
|
+
"""
|
|
1154
|
+
|
|
1155
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1156
|
+
"""
|
|
1157
|
+
|
|
1158
|
+
:return: The RNA type or default when not found.
|
|
1159
|
+
"""
|
|
1160
|
+
|
|
1161
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1162
|
+
"""
|
|
1163
|
+
|
|
1164
|
+
:return: The class or default when not found.
|
|
1165
|
+
"""
|
|
1166
|
+
|
|
1167
|
+
class EditBone(_GenericBone):
|
|
1168
|
+
"""functions for bones, common between Armature/Pose/Edit bones.
|
|
1169
|
+
internal subclassing use only.
|
|
1170
|
+
"""
|
|
1171
|
+
|
|
1172
|
+
basename: typing.Any
|
|
1173
|
+
bl_rna: typing.Any
|
|
1174
|
+
center: typing.Any
|
|
1175
|
+
children: typing.Any
|
|
1176
|
+
children_recursive: typing.Any
|
|
1177
|
+
children_recursive_basename: typing.Any
|
|
1178
|
+
id_data: typing.Any
|
|
1179
|
+
parent_recursive: typing.Any
|
|
1180
|
+
vector: typing.Any
|
|
1181
|
+
x_axis: typing.Any
|
|
1182
|
+
y_axis: typing.Any
|
|
1183
|
+
z_axis: typing.Any
|
|
1184
|
+
|
|
1185
|
+
def align_orientation(self, other) -> None:
|
|
1186
|
+
"""Align this bone to another by moving its tail and settings its roll
|
|
1187
|
+
the length of the other bone is not used.
|
|
1188
|
+
|
|
1189
|
+
:param other:
|
|
1190
|
+
"""
|
|
1191
|
+
|
|
1192
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1193
|
+
"""
|
|
1194
|
+
|
|
1195
|
+
:return: The RNA type or default when not found.
|
|
1196
|
+
"""
|
|
1197
|
+
|
|
1198
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1199
|
+
"""
|
|
1200
|
+
|
|
1201
|
+
:return: The class or default when not found.
|
|
1202
|
+
"""
|
|
1203
|
+
|
|
1204
|
+
def transform(
|
|
1205
|
+
self,
|
|
1206
|
+
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
1207
|
+
| mathutils.Matrix,
|
|
1208
|
+
*,
|
|
1209
|
+
scale: bool = True,
|
|
1210
|
+
roll: bool = True,
|
|
1211
|
+
) -> None:
|
|
1212
|
+
"""Transform the bones head, tail, roll and envelope
|
|
1213
|
+
(when the matrix has a scale component).
|
|
1214
|
+
|
|
1215
|
+
:param matrix: 3x3 or 4x4 transformation matrix.
|
|
1216
|
+
:param scale: Scale the bone envelope by the matrix.
|
|
1217
|
+
:param roll: Correct the roll to point in the same relative
|
|
1218
|
+
direction to the head and tail.
|
|
1219
|
+
"""
|
|
1220
|
+
|
|
1221
|
+
class PoseBone(_GenericBone):
|
|
1222
|
+
"""functions for bones, common between Armature/Pose/Edit bones.
|
|
1223
|
+
internal subclassing use only.
|
|
1224
|
+
"""
|
|
1225
|
+
|
|
1226
|
+
basename: typing.Any
|
|
1227
|
+
bl_rna: typing.Any
|
|
1228
|
+
center: typing.Any
|
|
1229
|
+
children: typing.Any
|
|
1230
|
+
children_recursive: typing.Any
|
|
1231
|
+
children_recursive_basename: typing.Any
|
|
1232
|
+
id_data: typing.Any
|
|
1233
|
+
parent_recursive: typing.Any
|
|
1234
|
+
vector: typing.Any
|
|
1235
|
+
x_axis: typing.Any
|
|
1236
|
+
y_axis: typing.Any
|
|
1237
|
+
z_axis: typing.Any
|
|
1238
|
+
|
|
1239
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1240
|
+
"""
|
|
1241
|
+
|
|
1242
|
+
:return: The RNA type or default when not found.
|
|
1243
|
+
"""
|
|
1244
|
+
|
|
1245
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1246
|
+
"""
|
|
1247
|
+
|
|
1248
|
+
:return: The class or default when not found.
|
|
1249
|
+
"""
|
|
1250
|
+
|
|
1251
|
+
class Header(_GenericUI):
|
|
1252
|
+
bl_rna: typing.Any
|
|
1253
|
+
id_data: typing.Any
|
|
1254
|
+
|
|
1255
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1256
|
+
"""
|
|
1257
|
+
|
|
1258
|
+
:return: The RNA type or default when not found.
|
|
1259
|
+
"""
|
|
1260
|
+
|
|
1261
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1262
|
+
"""
|
|
1263
|
+
|
|
1264
|
+
:return: The class or default when not found.
|
|
1265
|
+
"""
|
|
1266
|
+
|
|
1267
|
+
class Menu(_GenericUI):
|
|
1268
|
+
bl_rna: typing.Any
|
|
1269
|
+
id_data: typing.Any
|
|
1270
|
+
|
|
1271
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1272
|
+
"""
|
|
1273
|
+
|
|
1274
|
+
:return: The RNA type or default when not found.
|
|
1275
|
+
"""
|
|
1276
|
+
|
|
1277
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1278
|
+
"""
|
|
1279
|
+
|
|
1280
|
+
:return: The class or default when not found.
|
|
1281
|
+
"""
|
|
1282
|
+
|
|
1283
|
+
@classmethod
|
|
1284
|
+
def draw_collapsible(cls, context, layout) -> None:
|
|
1285
|
+
"""
|
|
1286
|
+
|
|
1287
|
+
:param context:
|
|
1288
|
+
:param layout:
|
|
1289
|
+
"""
|
|
1290
|
+
|
|
1291
|
+
def draw_preset(self, _context) -> None:
|
|
1292
|
+
"""Define these on the subclass:
|
|
1293
|
+
- preset_operator (string)
|
|
1294
|
+
- preset_subdir (string)Optionally:
|
|
1295
|
+
- preset_add_operator (string)
|
|
1296
|
+
- preset_extensions (set of strings)
|
|
1297
|
+
- preset_operator_defaults (dict of keyword args)
|
|
1298
|
+
|
|
1299
|
+
:param _context:
|
|
1300
|
+
"""
|
|
1301
|
+
|
|
1302
|
+
def path_menu(
|
|
1303
|
+
self,
|
|
1304
|
+
searchpaths: collections.abc.Sequence[str],
|
|
1305
|
+
operator: str,
|
|
1306
|
+
*,
|
|
1307
|
+
props_default: dict[str, typing.Any] | None = None,
|
|
1308
|
+
prop_filepath: str = "filepath",
|
|
1309
|
+
filter_ext: None | collections.abc.Callable[str, bool] | None = None,
|
|
1310
|
+
filter_path=None,
|
|
1311
|
+
display_name: collections.abc.Callable[str, str] | None = None,
|
|
1312
|
+
add_operator=None,
|
|
1313
|
+
add_operator_props=None,
|
|
1314
|
+
translate=True,
|
|
1315
|
+
) -> None:
|
|
1316
|
+
"""Populate a menu from a list of paths.
|
|
1317
|
+
|
|
1318
|
+
:param searchpaths: Paths to scan.
|
|
1319
|
+
:param operator: The operator id to use with each file.
|
|
1320
|
+
:param props_default: Properties to assign to each operator.
|
|
1321
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
1322
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
1323
|
+
|
|
1324
|
+
Returning false excludes the file from the list.
|
|
1325
|
+
:param filter_path:
|
|
1326
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
1327
|
+
:param add_operator:
|
|
1328
|
+
:param add_operator_props:
|
|
1329
|
+
:param translate:
|
|
1330
|
+
"""
|
|
1331
|
+
|
|
1332
|
+
class Panel(_GenericUI):
|
|
1333
|
+
bl_rna: typing.Any
|
|
1334
|
+
id_data: typing.Any
|
|
1335
|
+
|
|
1336
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1337
|
+
"""
|
|
1338
|
+
|
|
1339
|
+
:return: The RNA type or default when not found.
|
|
1340
|
+
"""
|
|
1341
|
+
|
|
1342
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1343
|
+
"""
|
|
1344
|
+
|
|
1345
|
+
:return: The class or default when not found.
|
|
1346
|
+
"""
|
|
1347
|
+
|
|
1348
|
+
class UIList(_GenericUI):
|
|
1349
|
+
bl_rna: typing.Any
|
|
1350
|
+
id_data: typing.Any
|
|
1351
|
+
|
|
1352
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1353
|
+
"""
|
|
1354
|
+
|
|
1355
|
+
:return: The RNA type or default when not found.
|
|
1356
|
+
"""
|
|
1357
|
+
|
|
1358
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1359
|
+
"""
|
|
1360
|
+
|
|
1361
|
+
:return: The class or default when not found.
|
|
1362
|
+
"""
|
|
1363
|
+
|
|
1364
|
+
class HydraRenderEngine(RenderEngine):
|
|
1365
|
+
bl_delegate_id: typing.Any
|
|
1366
|
+
bl_rna: typing.Any
|
|
1367
|
+
bl_use_shading_nodes_custom: typing.Any
|
|
1368
|
+
id_data: typing.Any
|
|
1369
|
+
|
|
1370
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1371
|
+
"""
|
|
1372
|
+
|
|
1373
|
+
:return: The RNA type or default when not found.
|
|
1374
|
+
"""
|
|
1375
|
+
|
|
1376
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1377
|
+
"""
|
|
1378
|
+
|
|
1379
|
+
:return: The class or default when not found.
|
|
1380
|
+
"""
|
|
1381
|
+
|
|
1382
|
+
def get_render_settings(self, engine_type) -> None:
|
|
1383
|
+
"""Provide render settings for HdRenderDelegate.
|
|
1384
|
+
|
|
1385
|
+
:param engine_type:
|
|
1386
|
+
"""
|
|
1387
|
+
|
|
1388
|
+
def render(self, depsgraph) -> None:
|
|
1389
|
+
"""
|
|
1390
|
+
|
|
1391
|
+
:param depsgraph:
|
|
1392
|
+
"""
|
|
1393
|
+
|
|
1394
|
+
def update(self, data, depsgraph) -> None:
|
|
1395
|
+
"""
|
|
1396
|
+
|
|
1397
|
+
:param data:
|
|
1398
|
+
:param depsgraph:
|
|
1399
|
+
"""
|
|
1400
|
+
|
|
1401
|
+
def view_draw(self, context, depsgraph) -> None:
|
|
1402
|
+
"""
|
|
1403
|
+
|
|
1404
|
+
:param context:
|
|
1405
|
+
:param depsgraph:
|
|
1406
|
+
"""
|
|
1407
|
+
|
|
1408
|
+
def view_update(self, context, depsgraph) -> None:
|
|
1409
|
+
"""
|
|
1410
|
+
|
|
1411
|
+
:param context:
|
|
1412
|
+
:param depsgraph:
|
|
1413
|
+
"""
|
|
1414
|
+
|
|
1415
|
+
class NodeInternal(Node):
|
|
1416
|
+
bl_rna: typing.Any
|
|
1417
|
+
id_data: typing.Any
|
|
1418
|
+
|
|
1419
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1420
|
+
"""
|
|
1421
|
+
|
|
1422
|
+
:return: The RNA type or default when not found.
|
|
1423
|
+
"""
|
|
1424
|
+
|
|
1425
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1426
|
+
"""
|
|
1427
|
+
|
|
1428
|
+
:return: The class or default when not found.
|
|
1429
|
+
"""
|
|
1430
|
+
|
|
1431
|
+
def is_registered_node_type(self, *args, **kwargs) -> None:
|
|
1432
|
+
"""Node.is_registered_node_type()
|
|
1433
|
+
True if a registered node type
|
|
1434
|
+
|
|
1435
|
+
:param args:
|
|
1436
|
+
:param kwargs:
|
|
1437
|
+
"""
|
|
1438
|
+
|
|
1439
|
+
def poll(self, *args, **kwargs) -> None:
|
|
1440
|
+
"""NodeInternal.poll(node_tree)
|
|
1441
|
+
If non-null output is returned, the node type can be added to the tree
|
|
1442
|
+
|
|
1443
|
+
:param args:
|
|
1444
|
+
:param kwargs:
|
|
1445
|
+
"""
|
|
1446
|
+
|
|
1447
|
+
class NodeTreeInterfaceSocket(NodeTreeInterfaceItem):
|
|
1448
|
+
bl_rna: typing.Any
|
|
1449
|
+
id_data: typing.Any
|
|
1450
|
+
|
|
1451
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1452
|
+
"""
|
|
1453
|
+
|
|
1454
|
+
:return: The RNA type or default when not found.
|
|
1455
|
+
"""
|
|
1456
|
+
|
|
1457
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1458
|
+
"""
|
|
1459
|
+
|
|
1460
|
+
:return: The class or default when not found.
|
|
1461
|
+
"""
|
|
1462
|
+
|
|
1463
|
+
class _RNAMetaPropGroup(_RNAMeta):
|
|
1464
|
+
is_registered: typing.Any
|
|
1465
|
+
|
|
1466
|
+
class CompositorNode(NodeInternal):
|
|
1467
|
+
bl_rna: typing.Any
|
|
1468
|
+
id_data: typing.Any
|
|
1469
|
+
|
|
1470
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1471
|
+
"""
|
|
1472
|
+
|
|
1473
|
+
:return: The RNA type or default when not found.
|
|
1474
|
+
"""
|
|
1475
|
+
|
|
1476
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1477
|
+
"""
|
|
1478
|
+
|
|
1479
|
+
:return: The class or default when not found.
|
|
1480
|
+
"""
|
|
1481
|
+
|
|
1482
|
+
def is_registered_node_type(self, *args, **kwargs) -> None:
|
|
1483
|
+
"""Node.is_registered_node_type()
|
|
1484
|
+
True if a registered node type
|
|
1485
|
+
|
|
1486
|
+
:param args:
|
|
1487
|
+
:param kwargs:
|
|
1488
|
+
"""
|
|
1489
|
+
|
|
1490
|
+
@classmethod
|
|
1491
|
+
def poll(cls, ntree) -> None:
|
|
1492
|
+
"""NodeInternal.poll(node_tree)
|
|
1493
|
+
If non-null output is returned, the node type can be added to the tree
|
|
1494
|
+
|
|
1495
|
+
:param ntree:
|
|
1496
|
+
"""
|
|
1497
|
+
|
|
1498
|
+
class GeometryNode(NodeInternal):
|
|
1499
|
+
bl_rna: typing.Any
|
|
1500
|
+
id_data: typing.Any
|
|
1501
|
+
|
|
1502
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1503
|
+
"""
|
|
1504
|
+
|
|
1505
|
+
:return: The RNA type or default when not found.
|
|
1506
|
+
"""
|
|
1507
|
+
|
|
1508
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1509
|
+
"""
|
|
1510
|
+
|
|
1511
|
+
:return: The class or default when not found.
|
|
1512
|
+
"""
|
|
1513
|
+
|
|
1514
|
+
def is_registered_node_type(self, *args, **kwargs) -> None:
|
|
1515
|
+
"""Node.is_registered_node_type()
|
|
1516
|
+
True if a registered node type
|
|
1517
|
+
|
|
1518
|
+
:param args:
|
|
1519
|
+
:param kwargs:
|
|
1520
|
+
"""
|
|
1521
|
+
|
|
1522
|
+
@classmethod
|
|
1523
|
+
def poll(cls, ntree) -> None:
|
|
1524
|
+
"""NodeInternal.poll(node_tree)
|
|
1525
|
+
If non-null output is returned, the node type can be added to the tree
|
|
1526
|
+
|
|
1527
|
+
:param ntree:
|
|
1528
|
+
"""
|
|
1529
|
+
|
|
1530
|
+
class ShaderNode(NodeInternal):
|
|
1531
|
+
bl_rna: typing.Any
|
|
1532
|
+
id_data: typing.Any
|
|
1533
|
+
|
|
1534
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1535
|
+
"""
|
|
1536
|
+
|
|
1537
|
+
:return: The RNA type or default when not found.
|
|
1538
|
+
"""
|
|
1539
|
+
|
|
1540
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1541
|
+
"""
|
|
1542
|
+
|
|
1543
|
+
:return: The class or default when not found.
|
|
1544
|
+
"""
|
|
1545
|
+
|
|
1546
|
+
def is_registered_node_type(self, *args, **kwargs) -> None:
|
|
1547
|
+
"""Node.is_registered_node_type()
|
|
1548
|
+
True if a registered node type
|
|
1549
|
+
|
|
1550
|
+
:param args:
|
|
1551
|
+
:param kwargs:
|
|
1552
|
+
"""
|
|
1553
|
+
|
|
1554
|
+
@classmethod
|
|
1555
|
+
def poll(cls, ntree) -> None:
|
|
1556
|
+
"""NodeInternal.poll(node_tree)
|
|
1557
|
+
If non-null output is returned, the node type can be added to the tree
|
|
1558
|
+
|
|
1559
|
+
:param ntree:
|
|
1560
|
+
"""
|
|
1561
|
+
|
|
1562
|
+
class TextureNode(NodeInternal):
|
|
1563
|
+
bl_rna: typing.Any
|
|
1564
|
+
id_data: typing.Any
|
|
1565
|
+
|
|
1566
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1567
|
+
"""
|
|
1568
|
+
|
|
1569
|
+
:return: The RNA type or default when not found.
|
|
1570
|
+
"""
|
|
1571
|
+
|
|
1572
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1573
|
+
"""
|
|
1574
|
+
|
|
1575
|
+
:return: The class or default when not found.
|
|
1576
|
+
"""
|
|
1577
|
+
|
|
1578
|
+
def is_registered_node_type(self, *args, **kwargs) -> None:
|
|
1579
|
+
"""Node.is_registered_node_type()
|
|
1580
|
+
True if a registered node type
|
|
1581
|
+
|
|
1582
|
+
:param args:
|
|
1583
|
+
:param kwargs:
|
|
1584
|
+
"""
|
|
1585
|
+
|
|
1586
|
+
@classmethod
|
|
1587
|
+
def poll(cls, ntree) -> None:
|
|
1588
|
+
"""NodeInternal.poll(node_tree)
|
|
1589
|
+
If non-null output is returned, the node type can be added to the tree
|
|
1590
|
+
|
|
1591
|
+
:param ntree:
|
|
1592
|
+
"""
|