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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import typing
|
|
2
|
+
import collections.abc
|
|
3
|
+
import typing_extensions
|
|
4
|
+
import numpy.typing as npt
|
|
5
|
+
|
|
6
|
+
def load_handler(_) -> None: ...
|
|
7
|
+
def register() -> None: ...
|
|
8
|
+
def unregister() -> None: ...
|
|
9
|
+
def update_factory_startup_grease_pencils() -> None: ...
|
|
10
|
+
def update_factory_startup_scenes() -> None: ...
|
|
11
|
+
def update_factory_startup_screens() -> None: ...
|
|
File without changes
|
bl_math/__init__.pyi
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Miscellaneous math utilities module
|
|
2
|
+
Miscellaneous math utilities module.
|
|
3
3
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
@@ -13,36 +13,26 @@ def clamp(value: float, min: float = 0, max: float = 1) -> float:
|
|
|
13
13
|
confusion, any call must use either one or all three arguments.
|
|
14
14
|
|
|
15
15
|
:param value: The value to clamp.
|
|
16
|
-
:type value: float
|
|
17
16
|
:param min: The minimum value, defaults to 0.
|
|
18
|
-
:type min: float
|
|
19
17
|
:param max: The maximum value, defaults to 1.
|
|
20
|
-
:type max: float
|
|
21
18
|
:return: The clamped value.
|
|
22
|
-
:rtype: float
|
|
23
19
|
"""
|
|
24
20
|
|
|
25
21
|
def lerp(from_value: float, to_value: float, factor: float) -> float:
|
|
26
22
|
"""Linearly interpolate between two float values based on factor.
|
|
27
23
|
|
|
28
24
|
:param from_value: The value to return when factor is 0.
|
|
29
|
-
:type from_value: float
|
|
30
25
|
:param to_value: The value to return when factor is 1.
|
|
31
|
-
:type to_value: float
|
|
32
26
|
:param factor: The interpolation value, normally in [0.0, 1.0].
|
|
33
|
-
:type factor: float
|
|
34
27
|
:return: The interpolated value.
|
|
35
|
-
:rtype: float
|
|
36
28
|
"""
|
|
37
29
|
|
|
38
|
-
def smoothstep(from_value: float, to_value: float, value) -> float:
|
|
30
|
+
def smoothstep(from_value: float, to_value: float, value: float) -> float:
|
|
39
31
|
"""Performs smooth interpolation between 0 and 1 as value changes between from and to values.
|
|
40
32
|
Outside the range the function returns the same value as the nearest edge.
|
|
41
33
|
|
|
42
34
|
:param from_value: The edge value where the result is 0.
|
|
43
|
-
:type from_value: float
|
|
44
35
|
:param to_value: The edge value where the result is 1.
|
|
45
|
-
:
|
|
36
|
+
:param value: The interpolation value.
|
|
46
37
|
:return: The interpolated value in [0.0, 1.0].
|
|
47
|
-
:rtype: float
|
|
48
38
|
"""
|
bl_operators/__init__.pyi
CHANGED
|
@@ -11,6 +11,7 @@ from . import clip as clip
|
|
|
11
11
|
from . import connect_to_output as connect_to_output
|
|
12
12
|
from . import console as console
|
|
13
13
|
from . import constraint as constraint
|
|
14
|
+
from . import copy_global_transform as copy_global_transform
|
|
14
15
|
from . import file as file
|
|
15
16
|
from . import freestyle as freestyle
|
|
16
17
|
from . import geometry_nodes as geometry_nodes
|
|
@@ -2,10 +2,11 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
+
import _bpy_types
|
|
5
6
|
import bpy.types
|
|
6
7
|
import bpy_extras.object_utils
|
|
7
8
|
|
|
8
|
-
class AddTorus(
|
|
9
|
+
class AddTorus(_bpy_types.Operator, bpy_extras.object_utils.AddObjectHelper):
|
|
9
10
|
"""Construct a torus mesh"""
|
|
10
11
|
|
|
11
12
|
bl_idname: typing.Any
|
|
@@ -18,14 +19,12 @@ class AddTorus(bpy.types.Operator, bpy_extras.object_utils.AddObjectHelper):
|
|
|
18
19
|
"""
|
|
19
20
|
|
|
20
21
|
:return: The RNA type or default when not found.
|
|
21
|
-
:rtype: bpy.types.Struct
|
|
22
22
|
"""
|
|
23
23
|
|
|
24
24
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
:return: The class or default when not found.
|
|
28
|
-
:rtype: typing.Any
|
|
29
28
|
"""
|
|
30
29
|
|
|
31
30
|
def draw(self, _context) -> None:
|
bl_operators/anim/__init__.pyi
CHANGED
|
@@ -2,9 +2,10 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
+
import _bpy_types
|
|
5
6
|
import bpy.types
|
|
6
7
|
|
|
7
|
-
class ANIM_OT_keying_set_export(
|
|
8
|
+
class ANIM_OT_keying_set_export(_bpy_types.Operator):
|
|
8
9
|
"""Export Keying Set to a Python script"""
|
|
9
10
|
|
|
10
11
|
bl_idname: typing.Any
|
|
@@ -16,14 +17,12 @@ class ANIM_OT_keying_set_export(bpy.types.Operator):
|
|
|
16
17
|
"""
|
|
17
18
|
|
|
18
19
|
:return: The RNA type or default when not found.
|
|
19
|
-
:rtype: bpy.types.Struct
|
|
20
20
|
"""
|
|
21
21
|
|
|
22
22
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
25
|
:return: The class or default when not found.
|
|
26
|
-
:rtype: typing.Any
|
|
27
26
|
"""
|
|
28
27
|
|
|
29
28
|
def execute(self, context) -> None:
|
|
@@ -39,8 +38,8 @@ class ANIM_OT_keying_set_export(bpy.types.Operator):
|
|
|
39
38
|
:param _event:
|
|
40
39
|
"""
|
|
41
40
|
|
|
42
|
-
class ANIM_OT_slot_new_for_id(
|
|
43
|
-
"""Create a new Action Slot for an ID.Note that _which_ ID should get this slot must be set in the
|
|
41
|
+
class ANIM_OT_slot_new_for_id(_bpy_types.Operator):
|
|
42
|
+
"""Create a new Action Slot for an ID.Note that _which_ ID should get this slot must be set in the animated_id context pointer, using:When the ID already has a slot assigned, the newly-created slot will be
|
|
44
43
|
named after it (ensuring uniqueness with a numerical suffix) and any
|
|
45
44
|
animation data of the assigned slot will be duplicated for the new slot.
|
|
46
45
|
"""
|
|
@@ -56,14 +55,12 @@ class ANIM_OT_slot_new_for_id(bpy.types.Operator):
|
|
|
56
55
|
"""
|
|
57
56
|
|
|
58
57
|
:return: The RNA type or default when not found.
|
|
59
|
-
:rtype: bpy.types.Struct
|
|
60
58
|
"""
|
|
61
59
|
|
|
62
60
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
63
61
|
"""
|
|
64
62
|
|
|
65
63
|
:return: The class or default when not found.
|
|
66
|
-
:rtype: typing.Any
|
|
67
64
|
"""
|
|
68
65
|
|
|
69
66
|
def execute(self, context) -> None:
|
|
@@ -80,7 +77,7 @@ class ANIM_OT_slot_new_for_id(bpy.types.Operator):
|
|
|
80
77
|
"""
|
|
81
78
|
|
|
82
79
|
class ANIM_OT_slot_unassign_from_constraint(
|
|
83
|
-
generic_slot_unassign_mixin,
|
|
80
|
+
generic_slot_unassign_mixin, _bpy_types.Operator
|
|
84
81
|
):
|
|
85
82
|
"""Un-assign the assigned Action Slot from an Action constraint.Note that _which_ constraint should get this slot unassigned must be set in
|
|
86
83
|
the "constraint" context pointer, using:
|
|
@@ -98,17 +95,15 @@ class ANIM_OT_slot_unassign_from_constraint(
|
|
|
98
95
|
"""
|
|
99
96
|
|
|
100
97
|
:return: The RNA type or default when not found.
|
|
101
|
-
:rtype: bpy.types.Struct
|
|
102
98
|
"""
|
|
103
99
|
|
|
104
100
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
105
101
|
"""
|
|
106
102
|
|
|
107
103
|
:return: The class or default when not found.
|
|
108
|
-
:rtype: typing.Any
|
|
109
104
|
"""
|
|
110
105
|
|
|
111
|
-
class ANIM_OT_slot_unassign_from_id(
|
|
106
|
+
class ANIM_OT_slot_unassign_from_id(_bpy_types.Operator):
|
|
112
107
|
"""Un-assign the assigned Action Slot from an ID.Note that _which_ ID should get this slot unassigned must be set in the
|
|
113
108
|
"animated_id" context pointer, using:
|
|
114
109
|
"""
|
|
@@ -124,14 +119,12 @@ class ANIM_OT_slot_unassign_from_id(bpy.types.Operator):
|
|
|
124
119
|
"""
|
|
125
120
|
|
|
126
121
|
:return: The RNA type or default when not found.
|
|
127
|
-
:rtype: bpy.types.Struct
|
|
128
122
|
"""
|
|
129
123
|
|
|
130
124
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
131
125
|
"""
|
|
132
126
|
|
|
133
127
|
:return: The class or default when not found.
|
|
134
|
-
:rtype: typing.Any
|
|
135
128
|
"""
|
|
136
129
|
|
|
137
130
|
def execute(self, context) -> None:
|
|
@@ -148,7 +141,7 @@ class ANIM_OT_slot_unassign_from_id(bpy.types.Operator):
|
|
|
148
141
|
"""
|
|
149
142
|
|
|
150
143
|
class ANIM_OT_slot_unassign_from_nla_strip(
|
|
151
|
-
generic_slot_unassign_mixin,
|
|
144
|
+
generic_slot_unassign_mixin, _bpy_types.Operator
|
|
152
145
|
):
|
|
153
146
|
"""Un-assign the assigned Action Slot from an NLA strip.Note that _which_ NLA strip should get this slot unassigned must be set in
|
|
154
147
|
the "nla_strip" context pointer, using:
|
|
@@ -166,17 +159,55 @@ class ANIM_OT_slot_unassign_from_nla_strip(
|
|
|
166
159
|
"""
|
|
167
160
|
|
|
168
161
|
:return: The RNA type or default when not found.
|
|
169
|
-
:rtype: bpy.types.Struct
|
|
170
162
|
"""
|
|
171
163
|
|
|
172
164
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
173
165
|
"""
|
|
174
166
|
|
|
175
167
|
:return: The class or default when not found.
|
|
176
|
-
:rtype: typing.Any
|
|
177
168
|
"""
|
|
178
169
|
|
|
179
|
-
class
|
|
170
|
+
class ANIM_OT_version_bone_hide_property(_bpy_types.Operator):
|
|
171
|
+
bl_description: typing.Any
|
|
172
|
+
bl_idname: typing.Any
|
|
173
|
+
bl_label: typing.Any
|
|
174
|
+
bl_options: typing.Any
|
|
175
|
+
bl_rna: typing.Any
|
|
176
|
+
id_data: typing.Any
|
|
177
|
+
|
|
178
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
:return: The RNA type or default when not found.
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
185
|
+
"""
|
|
186
|
+
|
|
187
|
+
:return: The class or default when not found.
|
|
188
|
+
"""
|
|
189
|
+
|
|
190
|
+
def execute(self, context) -> None:
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
:param context:
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
@staticmethod
|
|
197
|
+
def find_property_fcurves(channelbag) -> None:
|
|
198
|
+
"""
|
|
199
|
+
|
|
200
|
+
:param channelbag:
|
|
201
|
+
"""
|
|
202
|
+
|
|
203
|
+
@classmethod
|
|
204
|
+
def poll(cls, context) -> None:
|
|
205
|
+
"""
|
|
206
|
+
|
|
207
|
+
:param context:
|
|
208
|
+
"""
|
|
209
|
+
|
|
210
|
+
class ARMATURE_OT_collection_remove_unused(_bpy_types.Operator):
|
|
180
211
|
"""Remove all bone collections that have neither bones nor children. This is done recursively, so bone collections that only have unused children are also removed"""
|
|
181
212
|
|
|
182
213
|
bl_idname: typing.Any
|
|
@@ -189,14 +220,12 @@ class ARMATURE_OT_collection_remove_unused(bpy.types.Operator):
|
|
|
189
220
|
"""
|
|
190
221
|
|
|
191
222
|
:return: The RNA type or default when not found.
|
|
192
|
-
:rtype: bpy.types.Struct
|
|
193
223
|
"""
|
|
194
224
|
|
|
195
225
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
196
226
|
"""
|
|
197
227
|
|
|
198
228
|
:return: The class or default when not found.
|
|
199
|
-
:rtype: typing.Any
|
|
200
229
|
"""
|
|
201
230
|
|
|
202
231
|
def execute(self, context) -> None:
|
|
@@ -233,7 +262,7 @@ class ARMATURE_OT_collection_remove_unused(bpy.types.Operator):
|
|
|
233
262
|
:param bcolls_to_remove:
|
|
234
263
|
"""
|
|
235
264
|
|
|
236
|
-
class ARMATURE_OT_collection_show_all(
|
|
265
|
+
class ARMATURE_OT_collection_show_all(_bpy_types.Operator):
|
|
237
266
|
"""Show all bone collections"""
|
|
238
267
|
|
|
239
268
|
bl_idname: typing.Any
|
|
@@ -246,14 +275,12 @@ class ARMATURE_OT_collection_show_all(bpy.types.Operator):
|
|
|
246
275
|
"""
|
|
247
276
|
|
|
248
277
|
:return: The RNA type or default when not found.
|
|
249
|
-
:rtype: bpy.types.Struct
|
|
250
278
|
"""
|
|
251
279
|
|
|
252
280
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
253
281
|
"""
|
|
254
282
|
|
|
255
283
|
:return: The class or default when not found.
|
|
256
|
-
:rtype: typing.Any
|
|
257
284
|
"""
|
|
258
285
|
|
|
259
286
|
def execute(self, context) -> None:
|
|
@@ -269,8 +296,8 @@ class ARMATURE_OT_collection_show_all(bpy.types.Operator):
|
|
|
269
296
|
:param context:
|
|
270
297
|
"""
|
|
271
298
|
|
|
272
|
-
class ARMATURE_OT_collection_unsolo_all(
|
|
273
|
-
"""Clear the
|
|
299
|
+
class ARMATURE_OT_collection_unsolo_all(_bpy_types.Operator):
|
|
300
|
+
"""Clear the solo setting on all bone collections"""
|
|
274
301
|
|
|
275
302
|
bl_idname: typing.Any
|
|
276
303
|
bl_label: typing.Any
|
|
@@ -282,14 +309,12 @@ class ARMATURE_OT_collection_unsolo_all(bpy.types.Operator):
|
|
|
282
309
|
"""
|
|
283
310
|
|
|
284
311
|
:return: The RNA type or default when not found.
|
|
285
|
-
:rtype: bpy.types.Struct
|
|
286
312
|
"""
|
|
287
313
|
|
|
288
314
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
289
315
|
"""
|
|
290
316
|
|
|
291
317
|
:return: The class or default when not found.
|
|
292
|
-
:rtype: typing.Any
|
|
293
318
|
"""
|
|
294
319
|
|
|
295
320
|
def execute(self, context) -> None:
|
|
@@ -305,7 +330,7 @@ class ARMATURE_OT_collection_unsolo_all(bpy.types.Operator):
|
|
|
305
330
|
:param context:
|
|
306
331
|
"""
|
|
307
332
|
|
|
308
|
-
class ARMATURE_OT_copy_bone_color_to_selected(
|
|
333
|
+
class ARMATURE_OT_copy_bone_color_to_selected(_bpy_types.Operator):
|
|
309
334
|
"""Copy the bone color of the active bone to all selected bones"""
|
|
310
335
|
|
|
311
336
|
bl_idname: typing.Any
|
|
@@ -318,14 +343,12 @@ class ARMATURE_OT_copy_bone_color_to_selected(bpy.types.Operator):
|
|
|
318
343
|
"""
|
|
319
344
|
|
|
320
345
|
:return: The RNA type or default when not found.
|
|
321
|
-
:rtype: bpy.types.Struct
|
|
322
346
|
"""
|
|
323
347
|
|
|
324
348
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
325
349
|
"""
|
|
326
350
|
|
|
327
351
|
:return: The class or default when not found.
|
|
328
|
-
:rtype: typing.Any
|
|
329
352
|
"""
|
|
330
353
|
|
|
331
354
|
def execute(self, context) -> None:
|
|
@@ -341,7 +364,7 @@ class ARMATURE_OT_copy_bone_color_to_selected(bpy.types.Operator):
|
|
|
341
364
|
:param context:
|
|
342
365
|
"""
|
|
343
366
|
|
|
344
|
-
class ClearUselessActions(
|
|
367
|
+
class ClearUselessActions(_bpy_types.Operator):
|
|
345
368
|
"""Mark actions with no F-Curves for deletion after save and reload of file preserving "action libraries" """
|
|
346
369
|
|
|
347
370
|
bl_idname: typing.Any
|
|
@@ -354,14 +377,12 @@ class ClearUselessActions(bpy.types.Operator):
|
|
|
354
377
|
"""
|
|
355
378
|
|
|
356
379
|
:return: The RNA type or default when not found.
|
|
357
|
-
:rtype: bpy.types.Struct
|
|
358
380
|
"""
|
|
359
381
|
|
|
360
382
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
361
383
|
"""
|
|
362
384
|
|
|
363
385
|
:return: The class or default when not found.
|
|
364
|
-
:rtype: typing.Any
|
|
365
386
|
"""
|
|
366
387
|
|
|
367
388
|
def execute(self, _context) -> None:
|
|
@@ -370,6 +391,13 @@ class ClearUselessActions(bpy.types.Operator):
|
|
|
370
391
|
:param _context:
|
|
371
392
|
"""
|
|
372
393
|
|
|
394
|
+
@staticmethod
|
|
395
|
+
def has_fcurves(action) -> None:
|
|
396
|
+
"""
|
|
397
|
+
|
|
398
|
+
:param action:
|
|
399
|
+
"""
|
|
400
|
+
|
|
373
401
|
@classmethod
|
|
374
402
|
def poll(cls, _context) -> None:
|
|
375
403
|
"""
|
|
@@ -377,7 +405,7 @@ class ClearUselessActions(bpy.types.Operator):
|
|
|
377
405
|
:param _context:
|
|
378
406
|
"""
|
|
379
407
|
|
|
380
|
-
class NLA_OT_bake(
|
|
408
|
+
class NLA_OT_bake(_bpy_types.Operator):
|
|
381
409
|
"""Bake all selected objects location/scale/rotation animation to an action"""
|
|
382
410
|
|
|
383
411
|
bl_idname: typing.Any
|
|
@@ -390,14 +418,12 @@ class NLA_OT_bake(bpy.types.Operator):
|
|
|
390
418
|
"""
|
|
391
419
|
|
|
392
420
|
:return: The RNA type or default when not found.
|
|
393
|
-
:rtype: bpy.types.Struct
|
|
394
421
|
"""
|
|
395
422
|
|
|
396
423
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
397
424
|
"""
|
|
398
425
|
|
|
399
426
|
:return: The class or default when not found.
|
|
400
|
-
:rtype: typing.Any
|
|
401
427
|
"""
|
|
402
428
|
|
|
403
429
|
def execute(self, context) -> None:
|
|
@@ -413,7 +439,7 @@ class NLA_OT_bake(bpy.types.Operator):
|
|
|
413
439
|
:param _event:
|
|
414
440
|
"""
|
|
415
441
|
|
|
416
|
-
class UpdateAnimatedTransformConstraint(
|
|
442
|
+
class UpdateAnimatedTransformConstraint(_bpy_types.Operator):
|
|
417
443
|
"""Update f-curves/drivers affecting Transform constraints (use it with files from 2.70 and earlier)"""
|
|
418
444
|
|
|
419
445
|
bl_idname: typing.Any
|
|
@@ -426,14 +452,12 @@ class UpdateAnimatedTransformConstraint(bpy.types.Operator):
|
|
|
426
452
|
"""
|
|
427
453
|
|
|
428
454
|
:return: The RNA type or default when not found.
|
|
429
|
-
:rtype: bpy.types.Struct
|
|
430
455
|
"""
|
|
431
456
|
|
|
432
457
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
433
458
|
"""
|
|
434
459
|
|
|
435
460
|
:return: The class or default when not found.
|
|
436
|
-
:rtype: typing.Any
|
|
437
461
|
"""
|
|
438
462
|
|
|
439
463
|
def execute(self, context) -> None:
|
bl_operators/assets/__init__.pyi
CHANGED
|
@@ -2,9 +2,10 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
+
import _bpy_types
|
|
5
6
|
import bpy.types
|
|
6
7
|
|
|
7
|
-
class ASSET_OT_open_containing_blend_file(
|
|
8
|
+
class ASSET_OT_open_containing_blend_file(_bpy_types.Operator):
|
|
8
9
|
"""Open the blend file that contains the active asset"""
|
|
9
10
|
|
|
10
11
|
bl_idname: typing.Any
|
|
@@ -17,14 +18,12 @@ class ASSET_OT_open_containing_blend_file(bpy.types.Operator):
|
|
|
17
18
|
"""
|
|
18
19
|
|
|
19
20
|
:return: The RNA type or default when not found.
|
|
20
|
-
:rtype: bpy.types.Struct
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
23
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
26
|
:return: The class or default when not found.
|
|
27
|
-
:rtype: typing.Any
|
|
28
27
|
"""
|
|
29
28
|
|
|
30
29
|
def cancel(self, context) -> None:
|
|
@@ -59,7 +58,7 @@ class ASSET_OT_open_containing_blend_file(bpy.types.Operator):
|
|
|
59
58
|
:param context:
|
|
60
59
|
"""
|
|
61
60
|
|
|
62
|
-
class ASSET_OT_tag_add(AssetBrowserMetadataOperator,
|
|
61
|
+
class ASSET_OT_tag_add(AssetBrowserMetadataOperator, _bpy_types.Operator):
|
|
63
62
|
"""Add a new keyword tag to the active asset"""
|
|
64
63
|
|
|
65
64
|
bl_idname: typing.Any
|
|
@@ -72,14 +71,12 @@ class ASSET_OT_tag_add(AssetBrowserMetadataOperator, bpy.types.Operator):
|
|
|
72
71
|
"""
|
|
73
72
|
|
|
74
73
|
:return: The RNA type or default when not found.
|
|
75
|
-
:rtype: bpy.types.Struct
|
|
76
74
|
"""
|
|
77
75
|
|
|
78
76
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
79
77
|
"""
|
|
80
78
|
|
|
81
79
|
:return: The class or default when not found.
|
|
82
|
-
:rtype: typing.Any
|
|
83
80
|
"""
|
|
84
81
|
|
|
85
82
|
def execute(self, context) -> None:
|
|
@@ -88,7 +85,7 @@ class ASSET_OT_tag_add(AssetBrowserMetadataOperator, bpy.types.Operator):
|
|
|
88
85
|
:param context:
|
|
89
86
|
"""
|
|
90
87
|
|
|
91
|
-
class ASSET_OT_tag_remove(AssetBrowserMetadataOperator,
|
|
88
|
+
class ASSET_OT_tag_remove(AssetBrowserMetadataOperator, _bpy_types.Operator):
|
|
92
89
|
"""Remove an existing keyword tag from the active asset"""
|
|
93
90
|
|
|
94
91
|
bl_idname: typing.Any
|
|
@@ -101,14 +98,12 @@ class ASSET_OT_tag_remove(AssetBrowserMetadataOperator, bpy.types.Operator):
|
|
|
101
98
|
"""
|
|
102
99
|
|
|
103
100
|
:return: The RNA type or default when not found.
|
|
104
|
-
:rtype: bpy.types.Struct
|
|
105
101
|
"""
|
|
106
102
|
|
|
107
103
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
108
104
|
"""
|
|
109
105
|
|
|
110
106
|
:return: The class or default when not found.
|
|
111
|
-
:rtype: typing.Any
|
|
112
107
|
"""
|
|
113
108
|
|
|
114
109
|
def execute(self, context) -> None:
|