fake-bpy-module 20240210__py3-none-any.whl → 20240326__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- addon_utils/__init__.pyi +54 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/anim/__init__.pyi
CHANGED
|
@@ -1,258 +1,233 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def change_frame(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*,
|
|
14
|
-
frame: typing.Optional[typing.Any] = 0.0,
|
|
15
|
-
snap: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
frame: typing.Any = 0.0,
|
|
11
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
16
12
|
):
|
|
17
13
|
"""Interactively change the current frame number
|
|
18
14
|
|
|
19
|
-
:type override_context: typing.
|
|
20
|
-
:type execution_context: typing.
|
|
21
|
-
:type undo:
|
|
15
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
16
|
+
:type execution_context: typing.Union[str, int]
|
|
17
|
+
:type undo: bool
|
|
22
18
|
:param frame: Frame
|
|
23
|
-
:type frame: typing.
|
|
19
|
+
:type frame: typing.Any
|
|
24
20
|
:param snap: Snap
|
|
25
|
-
:type snap: typing.
|
|
21
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
26
22
|
"""
|
|
27
23
|
|
|
28
24
|
...
|
|
29
25
|
|
|
30
26
|
def channel_select_keys(
|
|
31
|
-
override_context: typing.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
undo: typing.Optional[bool] = None,
|
|
36
|
-
*,
|
|
37
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
27
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
28
|
+
execution_context: typing.Union[str, int] = None,
|
|
29
|
+
undo: bool = None,
|
|
30
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
38
31
|
):
|
|
39
32
|
"""Select all keyframes of channel under mouse
|
|
40
33
|
|
|
41
|
-
:type override_context: typing.
|
|
42
|
-
:type execution_context: typing.
|
|
43
|
-
:type undo:
|
|
34
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
35
|
+
:type execution_context: typing.Union[str, int]
|
|
36
|
+
:type undo: bool
|
|
44
37
|
:param extend: Extend, Extend selection
|
|
45
|
-
:type extend: typing.
|
|
38
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
46
39
|
"""
|
|
47
40
|
|
|
48
41
|
...
|
|
49
42
|
|
|
50
43
|
def channel_view_pick(
|
|
51
|
-
override_context: typing.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
*,
|
|
57
|
-
include_handles: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
58
|
-
use_preview_range: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
44
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
45
|
+
execution_context: typing.Union[str, int] = None,
|
|
46
|
+
undo: bool = None,
|
|
47
|
+
include_handles: typing.Union[bool, typing.Any] = True,
|
|
48
|
+
use_preview_range: typing.Union[bool, typing.Any] = True,
|
|
59
49
|
):
|
|
60
50
|
"""Reset viewable area to show the channel under the cursor
|
|
61
51
|
|
|
62
|
-
:type override_context: typing.
|
|
63
|
-
:type execution_context: typing.
|
|
64
|
-
:type undo:
|
|
52
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
53
|
+
:type execution_context: typing.Union[str, int]
|
|
54
|
+
:type undo: bool
|
|
65
55
|
:param include_handles: Include Handles, Include handles of keyframes when calculating extents
|
|
66
|
-
:type include_handles: typing.
|
|
56
|
+
:type include_handles: typing.Union[bool, typing.Any]
|
|
67
57
|
:param use_preview_range: Use Preview Range, Ignore frames outside of the preview range
|
|
68
|
-
:type use_preview_range: typing.
|
|
58
|
+
:type use_preview_range: typing.Union[bool, typing.Any]
|
|
69
59
|
"""
|
|
70
60
|
|
|
71
61
|
...
|
|
72
62
|
|
|
73
63
|
def channels_bake(
|
|
74
|
-
override_context: typing.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
remove_outside_range: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
83
|
-
interpolation_type: typing.Optional[typing.Any] = "BEZIER",
|
|
84
|
-
bake_modifiers: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
64
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
65
|
+
execution_context: typing.Union[str, int] = None,
|
|
66
|
+
undo: bool = None,
|
|
67
|
+
range: typing.Any = (0, 0),
|
|
68
|
+
step: typing.Any = 1.0,
|
|
69
|
+
remove_outside_range: typing.Union[bool, typing.Any] = False,
|
|
70
|
+
interpolation_type: typing.Any = "BEZIER",
|
|
71
|
+
bake_modifiers: typing.Union[bool, typing.Any] = True,
|
|
85
72
|
):
|
|
86
73
|
"""Create keyframes following the current shape of F-Curves of selected channels
|
|
87
74
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
75
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
76
|
+
:type execution_context: typing.Union[str, int]
|
|
77
|
+
:type undo: bool
|
|
78
|
+
:param range: Frame Range, The range in which to create new keys
|
|
79
|
+
:type range: typing.Any
|
|
80
|
+
:param step: Frame Step, At which interval to add keys
|
|
81
|
+
:type step: typing.Any
|
|
82
|
+
:param remove_outside_range: Remove Outside Range, Removes keys outside the given range, leaving only the newly baked
|
|
83
|
+
:type remove_outside_range: typing.Union[bool, typing.Any]
|
|
84
|
+
:param interpolation_type: Interpolation Type, Choose the interpolation type with which new keys will be added
|
|
85
|
+
|
|
86
|
+
BEZIER
|
|
87
|
+
Bézier -- New keys will be Bézier.
|
|
88
|
+
|
|
89
|
+
LIN
|
|
90
|
+
Linear -- New keys will be linear.
|
|
91
|
+
|
|
92
|
+
CONST
|
|
93
|
+
Constant -- New keys will be constant.
|
|
94
|
+
:type interpolation_type: typing.Any
|
|
95
|
+
:param bake_modifiers: Bake Modifiers, Bake Modifiers into keyframes and delete them after
|
|
96
|
+
:type bake_modifiers: typing.Union[bool, typing.Any]
|
|
101
97
|
"""
|
|
102
98
|
|
|
103
99
|
...
|
|
104
100
|
|
|
105
101
|
def channels_clean_empty(
|
|
106
|
-
override_context: typing.
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
110
|
-
undo: typing.Optional[bool] = None,
|
|
102
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
103
|
+
execution_context: typing.Union[str, int] = None,
|
|
104
|
+
undo: bool = None,
|
|
111
105
|
):
|
|
112
106
|
"""Delete all empty animation data containers from visible data-blocks
|
|
113
107
|
|
|
114
|
-
:type override_context: typing.
|
|
115
|
-
:type execution_context: typing.
|
|
116
|
-
:type undo:
|
|
108
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
109
|
+
:type execution_context: typing.Union[str, int]
|
|
110
|
+
:type undo: bool
|
|
117
111
|
"""
|
|
118
112
|
|
|
119
113
|
...
|
|
120
114
|
|
|
121
115
|
def channels_click(
|
|
122
|
-
override_context: typing.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
129
|
-
extend_range: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
130
|
-
children_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
116
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
117
|
+
execution_context: typing.Union[str, int] = None,
|
|
118
|
+
undo: bool = None,
|
|
119
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
120
|
+
extend_range: typing.Union[bool, typing.Any] = False,
|
|
121
|
+
children_only: typing.Union[bool, typing.Any] = False,
|
|
131
122
|
):
|
|
132
123
|
"""Handle mouse clicks over animation channels
|
|
133
124
|
|
|
134
|
-
:type override_context: typing.
|
|
135
|
-
:type execution_context: typing.
|
|
136
|
-
:type undo:
|
|
125
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
126
|
+
:type execution_context: typing.Union[str, int]
|
|
127
|
+
:type undo: bool
|
|
137
128
|
:param extend: Extend Select
|
|
138
|
-
:type extend: typing.
|
|
129
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
139
130
|
:param extend_range: Extend Range, Selection of active channel to clicked channel
|
|
140
|
-
:type extend_range: typing.
|
|
131
|
+
:type extend_range: typing.Union[bool, typing.Any]
|
|
141
132
|
:param children_only: Select Children Only
|
|
142
|
-
:type children_only: typing.
|
|
133
|
+
:type children_only: typing.Union[bool, typing.Any]
|
|
143
134
|
"""
|
|
144
135
|
|
|
145
136
|
...
|
|
146
137
|
|
|
147
138
|
def channels_collapse(
|
|
148
|
-
override_context: typing.
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
undo: typing.Optional[bool] = None,
|
|
153
|
-
*,
|
|
154
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
139
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
140
|
+
execution_context: typing.Union[str, int] = None,
|
|
141
|
+
undo: bool = None,
|
|
142
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
155
143
|
):
|
|
156
144
|
"""Collapse (close) all selected expandable animation channels
|
|
157
145
|
|
|
158
|
-
:type override_context: typing.
|
|
159
|
-
:type execution_context: typing.
|
|
160
|
-
:type undo:
|
|
146
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
147
|
+
:type execution_context: typing.Union[str, int]
|
|
148
|
+
:type undo: bool
|
|
161
149
|
:param all: All, Collapse all channels (not just selected ones)
|
|
162
|
-
:type all: typing.
|
|
150
|
+
:type all: typing.Union[bool, typing.Any]
|
|
163
151
|
"""
|
|
164
152
|
|
|
165
153
|
...
|
|
166
154
|
|
|
167
155
|
def channels_delete(
|
|
168
|
-
override_context: typing.
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
172
|
-
undo: typing.Optional[bool] = None,
|
|
156
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
157
|
+
execution_context: typing.Union[str, int] = None,
|
|
158
|
+
undo: bool = None,
|
|
173
159
|
):
|
|
174
160
|
"""Delete all selected animation channels
|
|
175
161
|
|
|
176
|
-
:type override_context: typing.
|
|
177
|
-
:type execution_context: typing.
|
|
178
|
-
:type undo:
|
|
162
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
163
|
+
:type execution_context: typing.Union[str, int]
|
|
164
|
+
:type undo: bool
|
|
179
165
|
"""
|
|
180
166
|
|
|
181
167
|
...
|
|
182
168
|
|
|
183
169
|
def channels_editable_toggle(
|
|
184
|
-
override_context: typing.
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
*,
|
|
190
|
-
mode: typing.Optional[typing.Any] = "TOGGLE",
|
|
191
|
-
type: typing.Optional[typing.Any] = "PROTECT",
|
|
170
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
171
|
+
execution_context: typing.Union[str, int] = None,
|
|
172
|
+
undo: bool = None,
|
|
173
|
+
mode: typing.Any = "TOGGLE",
|
|
174
|
+
type: typing.Any = "PROTECT",
|
|
192
175
|
):
|
|
193
176
|
"""Toggle editability of selected channels
|
|
194
177
|
|
|
195
|
-
:type override_context: typing.
|
|
196
|
-
:type execution_context: typing.
|
|
197
|
-
:type undo:
|
|
178
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
179
|
+
:type execution_context: typing.Union[str, int]
|
|
180
|
+
:type undo: bool
|
|
198
181
|
:param mode: Mode
|
|
199
|
-
:type mode: typing.
|
|
182
|
+
:type mode: typing.Any
|
|
200
183
|
:param type: Type
|
|
201
|
-
:type type: typing.
|
|
184
|
+
:type type: typing.Any
|
|
202
185
|
"""
|
|
203
186
|
|
|
204
187
|
...
|
|
205
188
|
|
|
206
189
|
def channels_expand(
|
|
207
|
-
override_context: typing.
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
undo: typing.Optional[bool] = None,
|
|
212
|
-
*,
|
|
213
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
190
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
191
|
+
execution_context: typing.Union[str, int] = None,
|
|
192
|
+
undo: bool = None,
|
|
193
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
214
194
|
):
|
|
215
195
|
"""Expand (open) all selected expandable animation channels
|
|
216
196
|
|
|
217
|
-
:type override_context: typing.
|
|
218
|
-
:type execution_context: typing.
|
|
219
|
-
:type undo:
|
|
197
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
198
|
+
:type execution_context: typing.Union[str, int]
|
|
199
|
+
:type undo: bool
|
|
220
200
|
:param all: All, Expand all channels (not just selected ones)
|
|
221
|
-
:type all: typing.
|
|
201
|
+
:type all: typing.Union[bool, typing.Any]
|
|
222
202
|
"""
|
|
223
203
|
|
|
224
204
|
...
|
|
225
205
|
|
|
226
206
|
def channels_fcurves_enable(
|
|
227
|
-
override_context: typing.
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
231
|
-
undo: typing.Optional[bool] = None,
|
|
207
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
208
|
+
execution_context: typing.Union[str, int] = None,
|
|
209
|
+
undo: bool = None,
|
|
232
210
|
):
|
|
233
211
|
"""Clear 'disabled' tag from all F-Curves to get broken F-Curves working again
|
|
234
212
|
|
|
235
|
-
:type override_context: typing.
|
|
236
|
-
:type execution_context: typing.
|
|
237
|
-
:type undo:
|
|
213
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
214
|
+
:type execution_context: typing.Union[str, int]
|
|
215
|
+
:type undo: bool
|
|
238
216
|
"""
|
|
239
217
|
|
|
240
218
|
...
|
|
241
219
|
|
|
242
220
|
def channels_group(
|
|
243
|
-
override_context: typing.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
247
|
-
undo: typing.Optional[bool] = None,
|
|
248
|
-
*,
|
|
221
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
222
|
+
execution_context: typing.Union[str, int] = None,
|
|
223
|
+
undo: bool = None,
|
|
249
224
|
name: typing.Union[str, typing.Any] = "New Group",
|
|
250
225
|
):
|
|
251
226
|
"""Add selected F-Curves to a new group
|
|
252
227
|
|
|
253
|
-
:type override_context: typing.
|
|
254
|
-
:type execution_context: typing.
|
|
255
|
-
:type undo:
|
|
228
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
229
|
+
:type execution_context: typing.Union[str, int]
|
|
230
|
+
:type undo: bool
|
|
256
231
|
:param name: Name, Name of newly created group
|
|
257
232
|
:type name: typing.Union[str, typing.Any]
|
|
258
233
|
"""
|
|
@@ -260,421 +235,377 @@ def channels_group(
|
|
|
260
235
|
...
|
|
261
236
|
|
|
262
237
|
def channels_move(
|
|
263
|
-
override_context: typing.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
undo: typing.Optional[bool] = None,
|
|
268
|
-
*,
|
|
269
|
-
direction: typing.Optional[typing.Any] = "DOWN",
|
|
238
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
239
|
+
execution_context: typing.Union[str, int] = None,
|
|
240
|
+
undo: bool = None,
|
|
241
|
+
direction: typing.Any = "DOWN",
|
|
270
242
|
):
|
|
271
243
|
"""Rearrange selected animation channels
|
|
272
244
|
|
|
273
|
-
:type override_context: typing.
|
|
274
|
-
:type execution_context: typing.
|
|
275
|
-
:type undo:
|
|
245
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
246
|
+
:type execution_context: typing.Union[str, int]
|
|
247
|
+
:type undo: bool
|
|
276
248
|
:param direction: Direction
|
|
277
|
-
:type direction: typing.
|
|
249
|
+
:type direction: typing.Any
|
|
278
250
|
"""
|
|
279
251
|
|
|
280
252
|
...
|
|
281
253
|
|
|
282
254
|
def channels_rename(
|
|
283
|
-
override_context: typing.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
287
|
-
undo: typing.Optional[bool] = None,
|
|
255
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
256
|
+
execution_context: typing.Union[str, int] = None,
|
|
257
|
+
undo: bool = None,
|
|
288
258
|
):
|
|
289
259
|
"""Rename animation channel under mouse
|
|
290
260
|
|
|
291
|
-
:type override_context: typing.
|
|
292
|
-
:type execution_context: typing.
|
|
293
|
-
:type undo:
|
|
261
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
262
|
+
:type execution_context: typing.Union[str, int]
|
|
263
|
+
:type undo: bool
|
|
294
264
|
"""
|
|
295
265
|
|
|
296
266
|
...
|
|
297
267
|
|
|
298
268
|
def channels_select_all(
|
|
299
|
-
override_context: typing.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
undo: typing.Optional[bool] = None,
|
|
304
|
-
*,
|
|
305
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
269
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
270
|
+
execution_context: typing.Union[str, int] = None,
|
|
271
|
+
undo: bool = None,
|
|
272
|
+
action: typing.Any = "TOGGLE",
|
|
306
273
|
):
|
|
307
274
|
"""Toggle selection of all animation channels
|
|
308
275
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
276
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
277
|
+
:type execution_context: typing.Union[str, int]
|
|
278
|
+
:type undo: bool
|
|
279
|
+
:param action: Action, Selection action to execute
|
|
280
|
+
|
|
281
|
+
TOGGLE
|
|
282
|
+
Toggle -- Toggle selection for all elements.
|
|
283
|
+
|
|
284
|
+
SELECT
|
|
285
|
+
Select -- Select all elements.
|
|
286
|
+
|
|
287
|
+
DESELECT
|
|
288
|
+
Deselect -- Deselect all elements.
|
|
289
|
+
|
|
290
|
+
INVERT
|
|
291
|
+
Invert -- Invert selection of all elements.
|
|
292
|
+
:type action: typing.Any
|
|
314
293
|
"""
|
|
315
294
|
|
|
316
295
|
...
|
|
317
296
|
|
|
318
297
|
def channels_select_box(
|
|
319
|
-
override_context: typing.
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
330
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
331
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
298
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
299
|
+
execution_context: typing.Union[str, int] = None,
|
|
300
|
+
undo: bool = None,
|
|
301
|
+
xmin: typing.Any = 0,
|
|
302
|
+
xmax: typing.Any = 0,
|
|
303
|
+
ymin: typing.Any = 0,
|
|
304
|
+
ymax: typing.Any = 0,
|
|
305
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
306
|
+
deselect: typing.Union[bool, typing.Any] = False,
|
|
307
|
+
extend: typing.Union[bool, typing.Any] = True,
|
|
332
308
|
):
|
|
333
309
|
"""Select all animation channels within the specified region
|
|
334
310
|
|
|
335
|
-
:type override_context: typing.
|
|
336
|
-
:type execution_context: typing.
|
|
337
|
-
:type undo:
|
|
311
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
312
|
+
:type execution_context: typing.Union[str, int]
|
|
313
|
+
:type undo: bool
|
|
338
314
|
:param xmin: X Min
|
|
339
|
-
:type xmin: typing.
|
|
315
|
+
:type xmin: typing.Any
|
|
340
316
|
:param xmax: X Max
|
|
341
|
-
:type xmax: typing.
|
|
317
|
+
:type xmax: typing.Any
|
|
342
318
|
:param ymin: Y Min
|
|
343
|
-
:type ymin: typing.
|
|
319
|
+
:type ymin: typing.Any
|
|
344
320
|
:param ymax: Y Max
|
|
345
|
-
:type ymax: typing.
|
|
321
|
+
:type ymax: typing.Any
|
|
346
322
|
:param wait_for_input: Wait for Input
|
|
347
|
-
:type wait_for_input: typing.
|
|
323
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
348
324
|
:param deselect: Deselect, Deselect rather than select items
|
|
349
|
-
:type deselect: typing.
|
|
325
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
350
326
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
351
|
-
:type extend: typing.
|
|
327
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
352
328
|
"""
|
|
353
329
|
|
|
354
330
|
...
|
|
355
331
|
|
|
356
332
|
def channels_select_filter(
|
|
357
|
-
override_context: typing.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
361
|
-
undo: typing.Optional[bool] = None,
|
|
333
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
334
|
+
execution_context: typing.Union[str, int] = None,
|
|
335
|
+
undo: bool = None,
|
|
362
336
|
):
|
|
363
337
|
"""Start entering text which filters the set of channels shown to only include those with matching names
|
|
364
338
|
|
|
365
|
-
:type override_context: typing.
|
|
366
|
-
:type execution_context: typing.
|
|
367
|
-
:type undo:
|
|
339
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
340
|
+
:type execution_context: typing.Union[str, int]
|
|
341
|
+
:type undo: bool
|
|
368
342
|
"""
|
|
369
343
|
|
|
370
344
|
...
|
|
371
345
|
|
|
372
346
|
def channels_setting_disable(
|
|
373
|
-
override_context: typing.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
*,
|
|
379
|
-
mode: typing.Optional[typing.Any] = "DISABLE",
|
|
380
|
-
type: typing.Optional[typing.Any] = "PROTECT",
|
|
347
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
348
|
+
execution_context: typing.Union[str, int] = None,
|
|
349
|
+
undo: bool = None,
|
|
350
|
+
mode: typing.Any = "DISABLE",
|
|
351
|
+
type: typing.Any = "PROTECT",
|
|
381
352
|
):
|
|
382
353
|
"""Disable specified setting on all selected animation channels
|
|
383
354
|
|
|
384
|
-
:type override_context: typing.
|
|
385
|
-
:type execution_context: typing.
|
|
386
|
-
:type undo:
|
|
355
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
356
|
+
:type execution_context: typing.Union[str, int]
|
|
357
|
+
:type undo: bool
|
|
387
358
|
:param mode: Mode
|
|
388
|
-
:type mode: typing.
|
|
359
|
+
:type mode: typing.Any
|
|
389
360
|
:param type: Type
|
|
390
|
-
:type type: typing.
|
|
361
|
+
:type type: typing.Any
|
|
391
362
|
"""
|
|
392
363
|
|
|
393
364
|
...
|
|
394
365
|
|
|
395
366
|
def channels_setting_enable(
|
|
396
|
-
override_context: typing.
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
*,
|
|
402
|
-
mode: typing.Optional[typing.Any] = "ENABLE",
|
|
403
|
-
type: typing.Optional[typing.Any] = "PROTECT",
|
|
367
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
368
|
+
execution_context: typing.Union[str, int] = None,
|
|
369
|
+
undo: bool = None,
|
|
370
|
+
mode: typing.Any = "ENABLE",
|
|
371
|
+
type: typing.Any = "PROTECT",
|
|
404
372
|
):
|
|
405
373
|
"""Enable specified setting on all selected animation channels
|
|
406
374
|
|
|
407
|
-
:type override_context: typing.
|
|
408
|
-
:type execution_context: typing.
|
|
409
|
-
:type undo:
|
|
375
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
376
|
+
:type execution_context: typing.Union[str, int]
|
|
377
|
+
:type undo: bool
|
|
410
378
|
:param mode: Mode
|
|
411
|
-
:type mode: typing.
|
|
379
|
+
:type mode: typing.Any
|
|
412
380
|
:param type: Type
|
|
413
|
-
:type type: typing.
|
|
381
|
+
:type type: typing.Any
|
|
414
382
|
"""
|
|
415
383
|
|
|
416
384
|
...
|
|
417
385
|
|
|
418
386
|
def channels_setting_toggle(
|
|
419
|
-
override_context: typing.
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
*,
|
|
425
|
-
mode: typing.Optional[typing.Any] = "TOGGLE",
|
|
426
|
-
type: typing.Optional[typing.Any] = "PROTECT",
|
|
387
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
388
|
+
execution_context: typing.Union[str, int] = None,
|
|
389
|
+
undo: bool = None,
|
|
390
|
+
mode: typing.Any = "TOGGLE",
|
|
391
|
+
type: typing.Any = "PROTECT",
|
|
427
392
|
):
|
|
428
393
|
"""Toggle specified setting on all selected animation channels
|
|
429
394
|
|
|
430
|
-
:type override_context: typing.
|
|
431
|
-
:type execution_context: typing.
|
|
432
|
-
:type undo:
|
|
395
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
396
|
+
:type execution_context: typing.Union[str, int]
|
|
397
|
+
:type undo: bool
|
|
433
398
|
:param mode: Mode
|
|
434
|
-
:type mode: typing.
|
|
399
|
+
:type mode: typing.Any
|
|
435
400
|
:param type: Type
|
|
436
|
-
:type type: typing.
|
|
401
|
+
:type type: typing.Any
|
|
437
402
|
"""
|
|
438
403
|
|
|
439
404
|
...
|
|
440
405
|
|
|
441
406
|
def channels_ungroup(
|
|
442
|
-
override_context: typing.
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
446
|
-
undo: typing.Optional[bool] = None,
|
|
407
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
408
|
+
execution_context: typing.Union[str, int] = None,
|
|
409
|
+
undo: bool = None,
|
|
447
410
|
):
|
|
448
411
|
"""Remove selected F-Curves from their current groups
|
|
449
412
|
|
|
450
|
-
:type override_context: typing.
|
|
451
|
-
:type execution_context: typing.
|
|
452
|
-
:type undo:
|
|
413
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
414
|
+
:type execution_context: typing.Union[str, int]
|
|
415
|
+
:type undo: bool
|
|
453
416
|
"""
|
|
454
417
|
|
|
455
418
|
...
|
|
456
419
|
|
|
457
420
|
def channels_view_selected(
|
|
458
|
-
override_context: typing.
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
*,
|
|
464
|
-
include_handles: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
465
|
-
use_preview_range: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
421
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
422
|
+
execution_context: typing.Union[str, int] = None,
|
|
423
|
+
undo: bool = None,
|
|
424
|
+
include_handles: typing.Union[bool, typing.Any] = True,
|
|
425
|
+
use_preview_range: typing.Union[bool, typing.Any] = True,
|
|
466
426
|
):
|
|
467
427
|
"""Reset viewable area to show the selected channels
|
|
468
428
|
|
|
469
|
-
:type override_context: typing.
|
|
470
|
-
:type execution_context: typing.
|
|
471
|
-
:type undo:
|
|
429
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
430
|
+
:type execution_context: typing.Union[str, int]
|
|
431
|
+
:type undo: bool
|
|
472
432
|
:param include_handles: Include Handles, Include handles of keyframes when calculating extents
|
|
473
|
-
:type include_handles: typing.
|
|
433
|
+
:type include_handles: typing.Union[bool, typing.Any]
|
|
474
434
|
:param use_preview_range: Use Preview Range, Ignore frames outside of the preview range
|
|
475
|
-
:type use_preview_range: typing.
|
|
435
|
+
:type use_preview_range: typing.Union[bool, typing.Any]
|
|
476
436
|
"""
|
|
477
437
|
|
|
478
438
|
...
|
|
479
439
|
|
|
480
440
|
def clear_useless_actions(
|
|
481
|
-
override_context: typing.
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
undo: typing.Optional[bool] = None,
|
|
486
|
-
*,
|
|
487
|
-
only_unused: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
441
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
442
|
+
execution_context: typing.Union[str, int] = None,
|
|
443
|
+
undo: bool = None,
|
|
444
|
+
only_unused: typing.Union[bool, typing.Any] = True,
|
|
488
445
|
):
|
|
489
|
-
"""Mark actions with no F-Curves for deletion after save and reload of file preserving "action libraries"
|
|
446
|
+
"""Mark actions with no F-Curves for deletion after save and reload of file preserving "action libraries"
|
|
490
447
|
|
|
491
|
-
:type override_context: typing.
|
|
492
|
-
:type execution_context: typing.
|
|
493
|
-
:type undo:
|
|
448
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
449
|
+
:type execution_context: typing.Union[str, int]
|
|
450
|
+
:type undo: bool
|
|
494
451
|
:param only_unused: Only Unused, Only unused (Fake User only) actions get considered
|
|
495
|
-
:type only_unused: typing.
|
|
452
|
+
:type only_unused: typing.Union[bool, typing.Any]
|
|
496
453
|
"""
|
|
497
454
|
|
|
498
455
|
...
|
|
499
456
|
|
|
500
457
|
def copy_driver_button(
|
|
501
|
-
override_context: typing.
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
505
|
-
undo: typing.Optional[bool] = None,
|
|
458
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
459
|
+
execution_context: typing.Union[str, int] = None,
|
|
460
|
+
undo: bool = None,
|
|
506
461
|
):
|
|
507
462
|
"""Copy the driver for the highlighted button
|
|
508
463
|
|
|
509
|
-
:type override_context: typing.
|
|
510
|
-
:type execution_context: typing.
|
|
511
|
-
:type undo:
|
|
464
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
465
|
+
:type execution_context: typing.Union[str, int]
|
|
466
|
+
:type undo: bool
|
|
512
467
|
"""
|
|
513
468
|
|
|
514
469
|
...
|
|
515
470
|
|
|
516
471
|
def driver_button_add(
|
|
517
|
-
override_context: typing.
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
521
|
-
undo: typing.Optional[bool] = None,
|
|
472
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
473
|
+
execution_context: typing.Union[str, int] = None,
|
|
474
|
+
undo: bool = None,
|
|
522
475
|
):
|
|
523
476
|
"""Add driver for the property under the cursor
|
|
524
477
|
|
|
525
|
-
:type override_context: typing.
|
|
526
|
-
:type execution_context: typing.
|
|
527
|
-
:type undo:
|
|
478
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
479
|
+
:type execution_context: typing.Union[str, int]
|
|
480
|
+
:type undo: bool
|
|
528
481
|
"""
|
|
529
482
|
|
|
530
483
|
...
|
|
531
484
|
|
|
532
485
|
def driver_button_edit(
|
|
533
|
-
override_context: typing.
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
537
|
-
undo: typing.Optional[bool] = None,
|
|
486
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
487
|
+
execution_context: typing.Union[str, int] = None,
|
|
488
|
+
undo: bool = None,
|
|
538
489
|
):
|
|
539
490
|
"""Edit the drivers for the connected property represented by the highlighted button
|
|
540
491
|
|
|
541
|
-
:type override_context: typing.
|
|
542
|
-
:type execution_context: typing.
|
|
543
|
-
:type undo:
|
|
492
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
493
|
+
:type execution_context: typing.Union[str, int]
|
|
494
|
+
:type undo: bool
|
|
544
495
|
"""
|
|
545
496
|
|
|
546
497
|
...
|
|
547
498
|
|
|
548
499
|
def driver_button_remove(
|
|
549
|
-
override_context: typing.
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
undo: typing.Optional[bool] = None,
|
|
554
|
-
*,
|
|
555
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
500
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
501
|
+
execution_context: typing.Union[str, int] = None,
|
|
502
|
+
undo: bool = None,
|
|
503
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
556
504
|
):
|
|
557
505
|
"""Remove the driver(s) for the connected property(s) represented by the highlighted button
|
|
558
506
|
|
|
559
|
-
:type override_context: typing.
|
|
560
|
-
:type execution_context: typing.
|
|
561
|
-
:type undo:
|
|
507
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
508
|
+
:type execution_context: typing.Union[str, int]
|
|
509
|
+
:type undo: bool
|
|
562
510
|
:param all: All, Delete drivers for all elements of the array
|
|
563
|
-
:type all: typing.
|
|
511
|
+
:type all: typing.Union[bool, typing.Any]
|
|
564
512
|
"""
|
|
565
513
|
|
|
566
514
|
...
|
|
567
515
|
|
|
568
516
|
def end_frame_set(
|
|
569
|
-
override_context: typing.
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
573
|
-
undo: typing.Optional[bool] = None,
|
|
517
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
518
|
+
execution_context: typing.Union[str, int] = None,
|
|
519
|
+
undo: bool = None,
|
|
574
520
|
):
|
|
575
521
|
"""Set the current frame as the preview or scene end frame
|
|
576
522
|
|
|
577
|
-
:type override_context: typing.
|
|
578
|
-
:type execution_context: typing.
|
|
579
|
-
:type undo:
|
|
523
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
524
|
+
:type execution_context: typing.Union[str, int]
|
|
525
|
+
:type undo: bool
|
|
580
526
|
"""
|
|
581
527
|
|
|
582
528
|
...
|
|
583
529
|
|
|
584
530
|
def keyframe_clear_button(
|
|
585
|
-
override_context: typing.
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
undo: typing.Optional[bool] = None,
|
|
590
|
-
*,
|
|
591
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
531
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
532
|
+
execution_context: typing.Union[str, int] = None,
|
|
533
|
+
undo: bool = None,
|
|
534
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
592
535
|
):
|
|
593
536
|
"""Clear all keyframes on the currently active property
|
|
594
537
|
|
|
595
|
-
:type override_context: typing.
|
|
596
|
-
:type execution_context: typing.
|
|
597
|
-
:type undo:
|
|
538
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
539
|
+
:type execution_context: typing.Union[str, int]
|
|
540
|
+
:type undo: bool
|
|
598
541
|
:param all: All, Clear keyframes from all elements of the array
|
|
599
|
-
:type all: typing.
|
|
542
|
+
:type all: typing.Union[bool, typing.Any]
|
|
600
543
|
"""
|
|
601
544
|
|
|
602
545
|
...
|
|
603
546
|
|
|
604
547
|
def keyframe_clear_v3d(
|
|
605
|
-
override_context: typing.
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
undo: typing.Optional[bool] = None,
|
|
610
|
-
*,
|
|
611
|
-
confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
548
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
549
|
+
execution_context: typing.Union[str, int] = None,
|
|
550
|
+
undo: bool = None,
|
|
551
|
+
confirm: typing.Union[bool, typing.Any] = True,
|
|
612
552
|
):
|
|
613
553
|
"""Remove all keyframe animation for selected objects
|
|
614
554
|
|
|
615
|
-
:type override_context: typing.
|
|
616
|
-
:type execution_context: typing.
|
|
617
|
-
:type undo:
|
|
555
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
556
|
+
:type execution_context: typing.Union[str, int]
|
|
557
|
+
:type undo: bool
|
|
618
558
|
:param confirm: Confirm, Prompt for confirmation
|
|
619
|
-
:type confirm: typing.
|
|
559
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
620
560
|
"""
|
|
621
561
|
|
|
622
562
|
...
|
|
623
563
|
|
|
624
564
|
def keyframe_delete(
|
|
625
|
-
override_context: typing.
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
undo: typing.Optional[bool] = None,
|
|
630
|
-
*,
|
|
631
|
-
type: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
|
|
565
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
566
|
+
execution_context: typing.Union[str, int] = None,
|
|
567
|
+
undo: bool = None,
|
|
568
|
+
type: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
632
569
|
):
|
|
633
570
|
"""Delete keyframes on the current frame for all properties in the specified Keying Set
|
|
634
571
|
|
|
635
|
-
:type override_context: typing.
|
|
636
|
-
:type execution_context: typing.
|
|
637
|
-
:type undo:
|
|
572
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
573
|
+
:type execution_context: typing.Union[str, int]
|
|
574
|
+
:type undo: bool
|
|
638
575
|
:param type: Keying Set, The Keying Set to use
|
|
639
|
-
:type type: typing.
|
|
576
|
+
:type type: typing.Union[str, int, typing.Any]
|
|
640
577
|
"""
|
|
641
578
|
|
|
642
579
|
...
|
|
643
580
|
|
|
644
581
|
def keyframe_delete_button(
|
|
645
|
-
override_context: typing.
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
undo: typing.Optional[bool] = None,
|
|
650
|
-
*,
|
|
651
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
582
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
583
|
+
execution_context: typing.Union[str, int] = None,
|
|
584
|
+
undo: bool = None,
|
|
585
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
652
586
|
):
|
|
653
587
|
"""Delete current keyframe of current UI-active property
|
|
654
588
|
|
|
655
|
-
:type override_context: typing.
|
|
656
|
-
:type execution_context: typing.
|
|
657
|
-
:type undo:
|
|
589
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
590
|
+
:type execution_context: typing.Union[str, int]
|
|
591
|
+
:type undo: bool
|
|
658
592
|
:param all: All, Delete keyframes from all elements of the array
|
|
659
|
-
:type all: typing.
|
|
593
|
+
:type all: typing.Union[bool, typing.Any]
|
|
660
594
|
"""
|
|
661
595
|
|
|
662
596
|
...
|
|
663
597
|
|
|
664
598
|
def keyframe_delete_by_name(
|
|
665
|
-
override_context: typing.
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
669
|
-
undo: typing.Optional[bool] = None,
|
|
670
|
-
*,
|
|
599
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
600
|
+
execution_context: typing.Union[str, int] = None,
|
|
601
|
+
undo: bool = None,
|
|
671
602
|
type: typing.Union[str, typing.Any] = "",
|
|
672
603
|
):
|
|
673
604
|
"""Alternate access to 'Delete Keyframe' for keymaps to use
|
|
674
605
|
|
|
675
|
-
:type override_context: typing.
|
|
676
|
-
:type execution_context: typing.
|
|
677
|
-
:type undo:
|
|
606
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
607
|
+
:type execution_context: typing.Union[str, int]
|
|
608
|
+
:type undo: bool
|
|
678
609
|
:param type: Keying Set, The Keying Set to use
|
|
679
610
|
:type type: typing.Union[str, typing.Any]
|
|
680
611
|
"""
|
|
@@ -682,79 +613,67 @@ def keyframe_delete_by_name(
|
|
|
682
613
|
...
|
|
683
614
|
|
|
684
615
|
def keyframe_delete_v3d(
|
|
685
|
-
override_context: typing.
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
undo: typing.Optional[bool] = None,
|
|
690
|
-
*,
|
|
691
|
-
confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
616
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
617
|
+
execution_context: typing.Union[str, int] = None,
|
|
618
|
+
undo: bool = None,
|
|
619
|
+
confirm: typing.Union[bool, typing.Any] = True,
|
|
692
620
|
):
|
|
693
621
|
"""Remove keyframes on current frame for selected objects and bones
|
|
694
622
|
|
|
695
|
-
:type override_context: typing.
|
|
696
|
-
:type execution_context: typing.
|
|
697
|
-
:type undo:
|
|
623
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
624
|
+
:type execution_context: typing.Union[str, int]
|
|
625
|
+
:type undo: bool
|
|
698
626
|
:param confirm: Confirm, Prompt for confirmation
|
|
699
|
-
:type confirm: typing.
|
|
627
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
700
628
|
"""
|
|
701
629
|
|
|
702
630
|
...
|
|
703
631
|
|
|
704
632
|
def keyframe_insert(
|
|
705
|
-
override_context: typing.
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
undo: typing.Optional[bool] = None,
|
|
710
|
-
*,
|
|
711
|
-
type: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
|
|
633
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
634
|
+
execution_context: typing.Union[str, int] = None,
|
|
635
|
+
undo: bool = None,
|
|
636
|
+
type: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
712
637
|
):
|
|
713
638
|
"""Insert keyframes on the current frame using either the active keying set, or the user preferences if no keying set is active
|
|
714
639
|
|
|
715
|
-
:type override_context: typing.
|
|
716
|
-
:type execution_context: typing.
|
|
717
|
-
:type undo:
|
|
640
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
641
|
+
:type execution_context: typing.Union[str, int]
|
|
642
|
+
:type undo: bool
|
|
718
643
|
:param type: Keying Set, The Keying Set to use
|
|
719
|
-
:type type: typing.
|
|
644
|
+
:type type: typing.Union[str, int, typing.Any]
|
|
720
645
|
"""
|
|
721
646
|
|
|
722
647
|
...
|
|
723
648
|
|
|
724
649
|
def keyframe_insert_button(
|
|
725
|
-
override_context: typing.
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
undo: typing.Optional[bool] = None,
|
|
730
|
-
*,
|
|
731
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
650
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
651
|
+
execution_context: typing.Union[str, int] = None,
|
|
652
|
+
undo: bool = None,
|
|
653
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
732
654
|
):
|
|
733
655
|
"""Insert a keyframe for current UI-active property
|
|
734
656
|
|
|
735
|
-
:type override_context: typing.
|
|
736
|
-
:type execution_context: typing.
|
|
737
|
-
:type undo:
|
|
657
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
658
|
+
:type execution_context: typing.Union[str, int]
|
|
659
|
+
:type undo: bool
|
|
738
660
|
:param all: All, Insert a keyframe for all element of the array
|
|
739
|
-
:type all: typing.
|
|
661
|
+
:type all: typing.Union[bool, typing.Any]
|
|
740
662
|
"""
|
|
741
663
|
|
|
742
664
|
...
|
|
743
665
|
|
|
744
666
|
def keyframe_insert_by_name(
|
|
745
|
-
override_context: typing.
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
749
|
-
undo: typing.Optional[bool] = None,
|
|
750
|
-
*,
|
|
667
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
668
|
+
execution_context: typing.Union[str, int] = None,
|
|
669
|
+
undo: bool = None,
|
|
751
670
|
type: typing.Union[str, typing.Any] = "",
|
|
752
671
|
):
|
|
753
672
|
"""Alternate access to 'Insert Keyframe' for keymaps to use
|
|
754
673
|
|
|
755
|
-
:type override_context: typing.
|
|
756
|
-
:type execution_context: typing.
|
|
757
|
-
:type undo:
|
|
674
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
675
|
+
:type execution_context: typing.Union[str, int]
|
|
676
|
+
:type undo: bool
|
|
758
677
|
:param type: Keying Set, The Keying Set to use
|
|
759
678
|
:type type: typing.Union[str, typing.Any]
|
|
760
679
|
"""
|
|
@@ -762,296 +681,259 @@ def keyframe_insert_by_name(
|
|
|
762
681
|
...
|
|
763
682
|
|
|
764
683
|
def keyframe_insert_menu(
|
|
765
|
-
override_context: typing.
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
*,
|
|
771
|
-
type: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
|
|
772
|
-
always_prompt: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
684
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
685
|
+
execution_context: typing.Union[str, int] = None,
|
|
686
|
+
undo: bool = None,
|
|
687
|
+
type: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
688
|
+
always_prompt: typing.Union[bool, typing.Any] = False,
|
|
773
689
|
):
|
|
774
690
|
"""Insert Keyframes for specified Keying Set, with menu of available Keying Sets if undefined
|
|
775
691
|
|
|
776
|
-
:type override_context: typing.
|
|
777
|
-
:type execution_context: typing.
|
|
778
|
-
:type undo:
|
|
692
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
693
|
+
:type execution_context: typing.Union[str, int]
|
|
694
|
+
:type undo: bool
|
|
779
695
|
:param type: Keying Set, The Keying Set to use
|
|
780
|
-
:type type: typing.
|
|
696
|
+
:type type: typing.Union[str, int, typing.Any]
|
|
781
697
|
:param always_prompt: Always Show Menu
|
|
782
|
-
:type always_prompt: typing.
|
|
698
|
+
:type always_prompt: typing.Union[bool, typing.Any]
|
|
783
699
|
"""
|
|
784
700
|
|
|
785
701
|
...
|
|
786
702
|
|
|
787
703
|
def keying_set_active_set(
|
|
788
|
-
override_context: typing.
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
undo: typing.Optional[bool] = None,
|
|
793
|
-
*,
|
|
794
|
-
type: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
|
|
704
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
705
|
+
execution_context: typing.Union[str, int] = None,
|
|
706
|
+
undo: bool = None,
|
|
707
|
+
type: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
795
708
|
):
|
|
796
709
|
"""Set a new active keying set
|
|
797
710
|
|
|
798
|
-
:type override_context: typing.
|
|
799
|
-
:type execution_context: typing.
|
|
800
|
-
:type undo:
|
|
711
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
712
|
+
:type execution_context: typing.Union[str, int]
|
|
713
|
+
:type undo: bool
|
|
801
714
|
:param type: Keying Set, The Keying Set to use
|
|
802
|
-
:type type: typing.
|
|
715
|
+
:type type: typing.Union[str, int, typing.Any]
|
|
803
716
|
"""
|
|
804
717
|
|
|
805
718
|
...
|
|
806
719
|
|
|
807
720
|
def keying_set_add(
|
|
808
|
-
override_context: typing.
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
812
|
-
undo: typing.Optional[bool] = None,
|
|
721
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
722
|
+
execution_context: typing.Union[str, int] = None,
|
|
723
|
+
undo: bool = None,
|
|
813
724
|
):
|
|
814
725
|
"""Add a new (empty) keying set to the active Scene
|
|
815
726
|
|
|
816
|
-
:type override_context: typing.
|
|
817
|
-
:type execution_context: typing.
|
|
818
|
-
:type undo:
|
|
727
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
728
|
+
:type execution_context: typing.Union[str, int]
|
|
729
|
+
:type undo: bool
|
|
819
730
|
"""
|
|
820
731
|
|
|
821
732
|
...
|
|
822
733
|
|
|
823
734
|
def keying_set_export(
|
|
824
|
-
override_context: typing.
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
828
|
-
undo: typing.Optional[bool] = None,
|
|
829
|
-
*,
|
|
735
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
736
|
+
execution_context: typing.Union[str, int] = None,
|
|
737
|
+
undo: bool = None,
|
|
830
738
|
filepath: typing.Union[str, typing.Any] = "",
|
|
831
|
-
filter_folder: typing.
|
|
832
|
-
filter_text: typing.
|
|
833
|
-
filter_python: typing.
|
|
739
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
740
|
+
filter_text: typing.Union[bool, typing.Any] = True,
|
|
741
|
+
filter_python: typing.Union[bool, typing.Any] = True,
|
|
834
742
|
):
|
|
835
|
-
"""Export Keying Set to a Python script
|
|
743
|
+
"""Export Keying Set to a Python script
|
|
836
744
|
|
|
837
|
-
:type override_context: typing.
|
|
838
|
-
:type execution_context: typing.
|
|
839
|
-
:type undo:
|
|
745
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
746
|
+
:type execution_context: typing.Union[str, int]
|
|
747
|
+
:type undo: bool
|
|
840
748
|
:param filepath: filepath
|
|
841
749
|
:type filepath: typing.Union[str, typing.Any]
|
|
842
750
|
:param filter_folder: Filter folders
|
|
843
|
-
:type filter_folder: typing.
|
|
751
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
844
752
|
:param filter_text: Filter text
|
|
845
|
-
:type filter_text: typing.
|
|
753
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
846
754
|
:param filter_python: Filter Python
|
|
847
|
-
:type filter_python: typing.
|
|
755
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
848
756
|
"""
|
|
849
757
|
|
|
850
758
|
...
|
|
851
759
|
|
|
852
760
|
def keying_set_path_add(
|
|
853
|
-
override_context: typing.
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
857
|
-
undo: typing.Optional[bool] = None,
|
|
761
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
762
|
+
execution_context: typing.Union[str, int] = None,
|
|
763
|
+
undo: bool = None,
|
|
858
764
|
):
|
|
859
765
|
"""Add empty path to active keying set
|
|
860
766
|
|
|
861
|
-
:type override_context: typing.
|
|
862
|
-
:type execution_context: typing.
|
|
863
|
-
:type undo:
|
|
767
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
768
|
+
:type execution_context: typing.Union[str, int]
|
|
769
|
+
:type undo: bool
|
|
864
770
|
"""
|
|
865
771
|
|
|
866
772
|
...
|
|
867
773
|
|
|
868
774
|
def keying_set_path_remove(
|
|
869
|
-
override_context: typing.
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
873
|
-
undo: typing.Optional[bool] = None,
|
|
775
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
776
|
+
execution_context: typing.Union[str, int] = None,
|
|
777
|
+
undo: bool = None,
|
|
874
778
|
):
|
|
875
779
|
"""Remove active Path from active keying set
|
|
876
780
|
|
|
877
|
-
:type override_context: typing.
|
|
878
|
-
:type execution_context: typing.
|
|
879
|
-
:type undo:
|
|
781
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
782
|
+
:type execution_context: typing.Union[str, int]
|
|
783
|
+
:type undo: bool
|
|
880
784
|
"""
|
|
881
785
|
|
|
882
786
|
...
|
|
883
787
|
|
|
884
788
|
def keying_set_remove(
|
|
885
|
-
override_context: typing.
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
889
|
-
undo: typing.Optional[bool] = None,
|
|
789
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
790
|
+
execution_context: typing.Union[str, int] = None,
|
|
791
|
+
undo: bool = None,
|
|
890
792
|
):
|
|
891
793
|
"""Remove the active keying set
|
|
892
794
|
|
|
893
|
-
:type override_context: typing.
|
|
894
|
-
:type execution_context: typing.
|
|
895
|
-
:type undo:
|
|
795
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
796
|
+
:type execution_context: typing.Union[str, int]
|
|
797
|
+
:type undo: bool
|
|
896
798
|
"""
|
|
897
799
|
|
|
898
800
|
...
|
|
899
801
|
|
|
900
802
|
def keyingset_button_add(
|
|
901
|
-
override_context: typing.
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
undo: typing.Optional[bool] = None,
|
|
906
|
-
*,
|
|
907
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
803
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
804
|
+
execution_context: typing.Union[str, int] = None,
|
|
805
|
+
undo: bool = None,
|
|
806
|
+
all: typing.Union[bool, typing.Any] = True,
|
|
908
807
|
):
|
|
909
808
|
"""Add current UI-active property to current keying set
|
|
910
809
|
|
|
911
|
-
:type override_context: typing.
|
|
912
|
-
:type execution_context: typing.
|
|
913
|
-
:type undo:
|
|
810
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
811
|
+
:type execution_context: typing.Union[str, int]
|
|
812
|
+
:type undo: bool
|
|
914
813
|
:param all: All, Add all elements of the array to a Keying Set
|
|
915
|
-
:type all: typing.
|
|
814
|
+
:type all: typing.Union[bool, typing.Any]
|
|
916
815
|
"""
|
|
917
816
|
|
|
918
817
|
...
|
|
919
818
|
|
|
920
819
|
def keyingset_button_remove(
|
|
921
|
-
override_context: typing.
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
925
|
-
undo: typing.Optional[bool] = None,
|
|
820
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
821
|
+
execution_context: typing.Union[str, int] = None,
|
|
822
|
+
undo: bool = None,
|
|
926
823
|
):
|
|
927
824
|
"""Remove current UI-active property from current keying set
|
|
928
825
|
|
|
929
|
-
:type override_context: typing.
|
|
930
|
-
:type execution_context: typing.
|
|
931
|
-
:type undo:
|
|
826
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
827
|
+
:type execution_context: typing.Union[str, int]
|
|
828
|
+
:type undo: bool
|
|
932
829
|
"""
|
|
933
830
|
|
|
934
831
|
...
|
|
935
832
|
|
|
936
833
|
def paste_driver_button(
|
|
937
|
-
override_context: typing.
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
941
|
-
undo: typing.Optional[bool] = None,
|
|
834
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
835
|
+
execution_context: typing.Union[str, int] = None,
|
|
836
|
+
undo: bool = None,
|
|
942
837
|
):
|
|
943
838
|
"""Paste the driver in the internal clipboard to the highlighted button
|
|
944
839
|
|
|
945
|
-
:type override_context: typing.
|
|
946
|
-
:type execution_context: typing.
|
|
947
|
-
:type undo:
|
|
840
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
841
|
+
:type execution_context: typing.Union[str, int]
|
|
842
|
+
:type undo: bool
|
|
948
843
|
"""
|
|
949
844
|
|
|
950
845
|
...
|
|
951
846
|
|
|
952
847
|
def previewrange_clear(
|
|
953
|
-
override_context: typing.
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
957
|
-
undo: typing.Optional[bool] = None,
|
|
848
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
849
|
+
execution_context: typing.Union[str, int] = None,
|
|
850
|
+
undo: bool = None,
|
|
958
851
|
):
|
|
959
852
|
"""Clear preview range
|
|
960
853
|
|
|
961
|
-
:type override_context: typing.
|
|
962
|
-
:type execution_context: typing.
|
|
963
|
-
:type undo:
|
|
854
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
855
|
+
:type execution_context: typing.Union[str, int]
|
|
856
|
+
:type undo: bool
|
|
964
857
|
"""
|
|
965
858
|
|
|
966
859
|
...
|
|
967
860
|
|
|
968
861
|
def previewrange_set(
|
|
969
|
-
override_context: typing.
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
ymin: typing.Optional[typing.Any] = 0,
|
|
978
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
979
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
862
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
863
|
+
execution_context: typing.Union[str, int] = None,
|
|
864
|
+
undo: bool = None,
|
|
865
|
+
xmin: typing.Any = 0,
|
|
866
|
+
xmax: typing.Any = 0,
|
|
867
|
+
ymin: typing.Any = 0,
|
|
868
|
+
ymax: typing.Any = 0,
|
|
869
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
980
870
|
):
|
|
981
871
|
"""Interactively define frame range used for playback
|
|
982
872
|
|
|
983
|
-
:type override_context: typing.
|
|
984
|
-
:type execution_context: typing.
|
|
985
|
-
:type undo:
|
|
873
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
874
|
+
:type execution_context: typing.Union[str, int]
|
|
875
|
+
:type undo: bool
|
|
986
876
|
:param xmin: X Min
|
|
987
|
-
:type xmin: typing.
|
|
877
|
+
:type xmin: typing.Any
|
|
988
878
|
:param xmax: X Max
|
|
989
|
-
:type xmax: typing.
|
|
879
|
+
:type xmax: typing.Any
|
|
990
880
|
:param ymin: Y Min
|
|
991
|
-
:type ymin: typing.
|
|
881
|
+
:type ymin: typing.Any
|
|
992
882
|
:param ymax: Y Max
|
|
993
|
-
:type ymax: typing.
|
|
883
|
+
:type ymax: typing.Any
|
|
994
884
|
:param wait_for_input: Wait for Input
|
|
995
|
-
:type wait_for_input: typing.
|
|
885
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
996
886
|
"""
|
|
997
887
|
|
|
998
888
|
...
|
|
999
889
|
|
|
1000
890
|
def start_frame_set(
|
|
1001
|
-
override_context: typing.
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1005
|
-
undo: typing.Optional[bool] = None,
|
|
891
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
892
|
+
execution_context: typing.Union[str, int] = None,
|
|
893
|
+
undo: bool = None,
|
|
1006
894
|
):
|
|
1007
895
|
"""Set the current frame as the preview or scene start frame
|
|
1008
896
|
|
|
1009
|
-
:type override_context: typing.
|
|
1010
|
-
:type execution_context: typing.
|
|
1011
|
-
:type undo:
|
|
897
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
898
|
+
:type execution_context: typing.Union[str, int]
|
|
899
|
+
:type undo: bool
|
|
1012
900
|
"""
|
|
1013
901
|
|
|
1014
902
|
...
|
|
1015
903
|
|
|
1016
904
|
def update_animated_transform_constraints(
|
|
1017
|
-
override_context: typing.
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
undo: typing.Optional[bool] = None,
|
|
1022
|
-
*,
|
|
1023
|
-
use_convert_to_radians: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
905
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
906
|
+
execution_context: typing.Union[str, int] = None,
|
|
907
|
+
undo: bool = None,
|
|
908
|
+
use_convert_to_radians: typing.Union[bool, typing.Any] = True,
|
|
1024
909
|
):
|
|
1025
|
-
"""Update f-curves/drivers affecting Transform constraints (use it with files from 2.70 and earlier)
|
|
910
|
+
"""Update f-curves/drivers affecting Transform constraints (use it with files from 2.70 and earlier)
|
|
1026
911
|
|
|
1027
|
-
:type override_context: typing.
|
|
1028
|
-
:type execution_context: typing.
|
|
1029
|
-
:type undo:
|
|
1030
|
-
:param use_convert_to_radians: Use this only once
|
|
1031
|
-
:type use_convert_to_radians: typing.
|
|
912
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
913
|
+
:type execution_context: typing.Union[str, int]
|
|
914
|
+
:type undo: bool
|
|
915
|
+
:param use_convert_to_radians: Convert to Radians, Convert f-curves/drivers affecting rotations to radians.Warning: Use this only once
|
|
916
|
+
:type use_convert_to_radians: typing.Union[bool, typing.Any]
|
|
1032
917
|
"""
|
|
1033
918
|
|
|
1034
919
|
...
|
|
1035
920
|
|
|
1036
921
|
def view_curve_in_graph_editor(
|
|
1037
|
-
override_context: typing.
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
*,
|
|
1043
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1044
|
-
isolate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
922
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
923
|
+
execution_context: typing.Union[str, int] = None,
|
|
924
|
+
undo: bool = None,
|
|
925
|
+
all: typing.Union[bool, typing.Any] = False,
|
|
926
|
+
isolate: typing.Union[bool, typing.Any] = False,
|
|
1045
927
|
):
|
|
1046
928
|
"""Frame the property under the cursor in the Graph Editor
|
|
1047
929
|
|
|
1048
|
-
:type override_context: typing.
|
|
1049
|
-
:type execution_context: typing.
|
|
1050
|
-
:type undo:
|
|
930
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
931
|
+
:type execution_context: typing.Union[str, int]
|
|
932
|
+
:type undo: bool
|
|
1051
933
|
:param all: Show All, Frame the whole array property instead of only the index under the cursor
|
|
1052
|
-
:type all: typing.
|
|
934
|
+
:type all: typing.Union[bool, typing.Any]
|
|
1053
935
|
:param isolate: Isolate, Hides all F-Curves other than the ones being framed
|
|
1054
|
-
:type isolate: typing.
|
|
936
|
+
:type isolate: typing.Union[bool, typing.Any]
|
|
1055
937
|
"""
|
|
1056
938
|
|
|
1057
939
|
...
|