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/action/__init__.pyi
CHANGED
|
@@ -1,769 +1,741 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
|
-
import bpy.types
|
|
4
2
|
import bpy.ops.transform
|
|
3
|
+
import bpy.types
|
|
5
4
|
|
|
6
5
|
GenericType = typing.TypeVar("GenericType")
|
|
7
6
|
|
|
8
7
|
def bake_keys(
|
|
9
|
-
override_context: typing.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
13
|
-
undo: typing.Optional[bool] = None,
|
|
8
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
9
|
+
execution_context: typing.Union[str, int] = None,
|
|
10
|
+
undo: bool = None,
|
|
14
11
|
):
|
|
15
12
|
"""Add keyframes on every frame between the selected keyframes
|
|
16
13
|
|
|
17
|
-
:type override_context: typing.
|
|
18
|
-
:type execution_context: typing.
|
|
19
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
20
17
|
"""
|
|
21
18
|
|
|
22
19
|
...
|
|
23
20
|
|
|
24
21
|
def clean(
|
|
25
|
-
override_context: typing.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
*,
|
|
31
|
-
threshold: typing.Optional[typing.Any] = 0.001,
|
|
32
|
-
channels: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
22
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
23
|
+
execution_context: typing.Union[str, int] = None,
|
|
24
|
+
undo: bool = None,
|
|
25
|
+
threshold: typing.Any = 0.001,
|
|
26
|
+
channels: typing.Union[bool, typing.Any] = False,
|
|
33
27
|
):
|
|
34
28
|
"""Simplify F-Curves by removing closely spaced keyframes
|
|
35
29
|
|
|
36
|
-
:type override_context: typing.
|
|
37
|
-
:type execution_context: typing.
|
|
38
|
-
:type undo:
|
|
30
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
31
|
+
:type execution_context: typing.Union[str, int]
|
|
32
|
+
:type undo: bool
|
|
39
33
|
:param threshold: Threshold
|
|
40
|
-
:type threshold: typing.
|
|
34
|
+
:type threshold: typing.Any
|
|
41
35
|
:param channels: Channels
|
|
42
|
-
:type channels: typing.
|
|
36
|
+
:type channels: typing.Union[bool, typing.Any]
|
|
43
37
|
"""
|
|
44
38
|
|
|
45
39
|
...
|
|
46
40
|
|
|
47
41
|
def clickselect(
|
|
48
|
-
override_context: typing.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
59
|
-
column: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
60
|
-
channel: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
42
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
43
|
+
execution_context: typing.Union[str, int] = None,
|
|
44
|
+
undo: bool = None,
|
|
45
|
+
wait_to_deselect_others: typing.Union[bool, typing.Any] = False,
|
|
46
|
+
mouse_x: typing.Any = 0,
|
|
47
|
+
mouse_y: typing.Any = 0,
|
|
48
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
49
|
+
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
50
|
+
column: typing.Union[bool, typing.Any] = False,
|
|
51
|
+
channel: typing.Union[bool, typing.Any] = False,
|
|
61
52
|
):
|
|
62
53
|
"""Select keyframes by clicking on them
|
|
63
54
|
|
|
64
|
-
:type override_context: typing.
|
|
65
|
-
:type execution_context: typing.
|
|
66
|
-
:type undo:
|
|
55
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
56
|
+
:type execution_context: typing.Union[str, int]
|
|
57
|
+
:type undo: bool
|
|
67
58
|
:param wait_to_deselect_others: Wait to Deselect Others
|
|
68
|
-
:type wait_to_deselect_others: typing.
|
|
59
|
+
:type wait_to_deselect_others: typing.Union[bool, typing.Any]
|
|
69
60
|
:param mouse_x: Mouse X
|
|
70
|
-
:type mouse_x: typing.
|
|
61
|
+
:type mouse_x: typing.Any
|
|
71
62
|
:param mouse_y: Mouse Y
|
|
72
|
-
:type mouse_y: typing.
|
|
63
|
+
:type mouse_y: typing.Any
|
|
73
64
|
:param extend: Extend Select, Toggle keyframe selection instead of leaving newly selected keyframes only
|
|
74
|
-
:type extend: typing.
|
|
65
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
75
66
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
76
|
-
:type deselect_all: typing.
|
|
67
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
77
68
|
:param column: Column Select, Select all keyframes that occur on the same frame as the one under the mouse
|
|
78
|
-
:type column: typing.
|
|
69
|
+
:type column: typing.Union[bool, typing.Any]
|
|
79
70
|
:param channel: Only Channel, Select all the keyframes in the channel under the mouse
|
|
80
|
-
:type channel: typing.
|
|
71
|
+
:type channel: typing.Union[bool, typing.Any]
|
|
81
72
|
"""
|
|
82
73
|
|
|
83
74
|
...
|
|
84
75
|
|
|
85
76
|
def copy(
|
|
86
|
-
override_context: typing.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
90
|
-
undo: typing.Optional[bool] = None,
|
|
77
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
78
|
+
execution_context: typing.Union[str, int] = None,
|
|
79
|
+
undo: bool = None,
|
|
91
80
|
):
|
|
92
81
|
"""Copy selected keyframes to the internal clipboard
|
|
93
82
|
|
|
94
|
-
:type override_context: typing.
|
|
95
|
-
:type execution_context: typing.
|
|
96
|
-
:type undo:
|
|
83
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
84
|
+
:type execution_context: typing.Union[str, int]
|
|
85
|
+
:type undo: bool
|
|
97
86
|
"""
|
|
98
87
|
|
|
99
88
|
...
|
|
100
89
|
|
|
101
90
|
def delete(
|
|
102
|
-
override_context: typing.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
undo: typing.Optional[bool] = None,
|
|
107
|
-
*,
|
|
108
|
-
confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
91
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
92
|
+
execution_context: typing.Union[str, int] = None,
|
|
93
|
+
undo: bool = None,
|
|
94
|
+
confirm: typing.Union[bool, typing.Any] = True,
|
|
109
95
|
):
|
|
110
96
|
"""Remove all selected keyframes
|
|
111
97
|
|
|
112
|
-
:type override_context: typing.
|
|
113
|
-
:type execution_context: typing.
|
|
114
|
-
:type undo:
|
|
98
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
99
|
+
:type execution_context: typing.Union[str, int]
|
|
100
|
+
:type undo: bool
|
|
115
101
|
:param confirm: Confirm, Prompt for confirmation
|
|
116
|
-
:type confirm: typing.
|
|
102
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
117
103
|
"""
|
|
118
104
|
|
|
119
105
|
...
|
|
120
106
|
|
|
121
107
|
def duplicate(
|
|
122
|
-
override_context: typing.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
126
|
-
undo: typing.Optional[bool] = None,
|
|
108
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
109
|
+
execution_context: typing.Union[str, int] = None,
|
|
110
|
+
undo: bool = None,
|
|
127
111
|
):
|
|
128
112
|
"""Make a copy of all selected keyframes
|
|
129
113
|
|
|
130
|
-
:type override_context: typing.
|
|
131
|
-
:type execution_context: typing.
|
|
132
|
-
:type undo:
|
|
114
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
115
|
+
:type execution_context: typing.Union[str, int]
|
|
116
|
+
:type undo: bool
|
|
133
117
|
"""
|
|
134
118
|
|
|
135
119
|
...
|
|
136
120
|
|
|
137
121
|
def duplicate_move(
|
|
138
|
-
override_context: typing.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
*,
|
|
144
|
-
ACTION_OT_duplicate: typing.Optional["duplicate"] = None,
|
|
145
|
-
TRANSFORM_OT_transform: typing.Optional["bpy.ops.transform.transform"] = None,
|
|
122
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
123
|
+
execution_context: typing.Union[str, int] = None,
|
|
124
|
+
undo: bool = None,
|
|
125
|
+
ACTION_OT_duplicate: duplicate = None,
|
|
126
|
+
TRANSFORM_OT_transform: bpy.ops.transform.transform = None,
|
|
146
127
|
):
|
|
147
128
|
"""Make a copy of all selected keyframes and move them
|
|
148
129
|
|
|
149
|
-
:type override_context: typing.
|
|
150
|
-
:type execution_context: typing.
|
|
151
|
-
:type undo:
|
|
130
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
131
|
+
:type execution_context: typing.Union[str, int]
|
|
132
|
+
:type undo: bool
|
|
152
133
|
:param ACTION_OT_duplicate: Duplicate Keyframes, Make a copy of all selected keyframes
|
|
153
|
-
:type ACTION_OT_duplicate:
|
|
134
|
+
:type ACTION_OT_duplicate: duplicate
|
|
154
135
|
:param TRANSFORM_OT_transform: Transform, Transform selected items by mode type
|
|
155
|
-
:type TRANSFORM_OT_transform:
|
|
136
|
+
:type TRANSFORM_OT_transform: bpy.ops.transform.transform
|
|
156
137
|
"""
|
|
157
138
|
|
|
158
139
|
...
|
|
159
140
|
|
|
160
141
|
def easing_type(
|
|
161
|
-
override_context: typing.
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
undo: typing.Optional[bool] = None,
|
|
166
|
-
*,
|
|
167
|
-
type: typing.Optional[typing.Union[str, int]] = "AUTO",
|
|
142
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
143
|
+
execution_context: typing.Union[str, int] = None,
|
|
144
|
+
undo: bool = None,
|
|
145
|
+
type: typing.Any = "AUTO",
|
|
168
146
|
):
|
|
169
147
|
"""Set easing type for the F-Curve segments starting from the selected keyframes
|
|
170
148
|
|
|
171
|
-
:type override_context: typing.
|
|
172
|
-
:type execution_context: typing.
|
|
173
|
-
:type undo:
|
|
149
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
150
|
+
:type execution_context: typing.Union[str, int]
|
|
151
|
+
:type undo: bool
|
|
174
152
|
:param type: Type
|
|
175
|
-
:type type: typing.
|
|
153
|
+
:type type: typing.Any
|
|
176
154
|
"""
|
|
177
155
|
|
|
178
156
|
...
|
|
179
157
|
|
|
180
158
|
def extrapolation_type(
|
|
181
|
-
override_context: typing.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
undo: typing.Optional[bool] = None,
|
|
186
|
-
*,
|
|
187
|
-
type: typing.Optional[typing.Any] = "CONSTANT",
|
|
159
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
160
|
+
execution_context: typing.Union[str, int] = None,
|
|
161
|
+
undo: bool = None,
|
|
162
|
+
type: typing.Any = "CONSTANT",
|
|
188
163
|
):
|
|
189
164
|
"""Set extrapolation mode for selected F-Curves
|
|
190
165
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
166
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
167
|
+
:type execution_context: typing.Union[str, int]
|
|
168
|
+
:type undo: bool
|
|
169
|
+
:param type: Type
|
|
170
|
+
|
|
171
|
+
CONSTANT
|
|
172
|
+
Constant Extrapolation -- Values on endpoint keyframes are held.
|
|
173
|
+
|
|
174
|
+
LINEAR
|
|
175
|
+
Linear Extrapolation -- Straight-line slope of end segments are extended past the endpoint keyframes.
|
|
176
|
+
|
|
177
|
+
MAKE_CYCLIC
|
|
178
|
+
Make Cyclic (F-Modifier) -- Add Cycles F-Modifier if one doesn't exist already.
|
|
179
|
+
|
|
180
|
+
CLEAR_CYCLIC
|
|
181
|
+
Clear Cyclic (F-Modifier) -- Remove Cycles F-Modifier if not needed anymore.
|
|
182
|
+
:type type: typing.Any
|
|
196
183
|
"""
|
|
197
184
|
|
|
198
185
|
...
|
|
199
186
|
|
|
200
187
|
def frame_jump(
|
|
201
|
-
override_context: typing.
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
205
|
-
undo: typing.Optional[bool] = None,
|
|
188
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
+
execution_context: typing.Union[str, int] = None,
|
|
190
|
+
undo: bool = None,
|
|
206
191
|
):
|
|
207
192
|
"""Set the current frame to the average frame value of selected keyframes
|
|
208
193
|
|
|
209
|
-
:type override_context: typing.
|
|
210
|
-
:type execution_context: typing.
|
|
211
|
-
:type undo:
|
|
194
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
+
:type execution_context: typing.Union[str, int]
|
|
196
|
+
:type undo: bool
|
|
212
197
|
"""
|
|
213
198
|
|
|
214
199
|
...
|
|
215
200
|
|
|
216
201
|
def handle_type(
|
|
217
|
-
override_context: typing.
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
undo: typing.Optional[bool] = None,
|
|
222
|
-
*,
|
|
223
|
-
type: typing.Optional[typing.Union[str, int]] = "FREE",
|
|
202
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
203
|
+
execution_context: typing.Union[str, int] = None,
|
|
204
|
+
undo: bool = None,
|
|
205
|
+
type: typing.Any = "FREE",
|
|
224
206
|
):
|
|
225
207
|
"""Set type of handle for selected keyframes
|
|
226
208
|
|
|
227
|
-
:type override_context: typing.
|
|
228
|
-
:type execution_context: typing.
|
|
229
|
-
:type undo:
|
|
209
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
210
|
+
:type execution_context: typing.Union[str, int]
|
|
211
|
+
:type undo: bool
|
|
230
212
|
:param type: Type
|
|
231
|
-
:type type: typing.
|
|
213
|
+
:type type: typing.Any
|
|
232
214
|
"""
|
|
233
215
|
|
|
234
216
|
...
|
|
235
217
|
|
|
236
218
|
def interpolation_type(
|
|
237
|
-
override_context: typing.
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
undo: typing.Optional[bool] = None,
|
|
242
|
-
*,
|
|
243
|
-
type: typing.Optional[typing.Union[str, int]] = "CONSTANT",
|
|
219
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
+
execution_context: typing.Union[str, int] = None,
|
|
221
|
+
undo: bool = None,
|
|
222
|
+
type: typing.Any = "CONSTANT",
|
|
244
223
|
):
|
|
245
224
|
"""Set interpolation mode for the F-Curve segments starting from the selected keyframes
|
|
246
225
|
|
|
247
|
-
:type override_context: typing.
|
|
248
|
-
:type execution_context: typing.
|
|
249
|
-
:type undo:
|
|
226
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
227
|
+
:type execution_context: typing.Union[str, int]
|
|
228
|
+
:type undo: bool
|
|
250
229
|
:param type: Type
|
|
251
|
-
:type type: typing.
|
|
230
|
+
:type type: typing.Any
|
|
252
231
|
"""
|
|
253
232
|
|
|
254
233
|
...
|
|
255
234
|
|
|
256
235
|
def keyframe_insert(
|
|
257
|
-
override_context: typing.
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
undo: typing.Optional[bool] = None,
|
|
262
|
-
*,
|
|
263
|
-
type: typing.Optional[typing.Any] = "ALL",
|
|
236
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
237
|
+
execution_context: typing.Union[str, int] = None,
|
|
238
|
+
undo: bool = None,
|
|
239
|
+
type: typing.Any = "ALL",
|
|
264
240
|
):
|
|
265
241
|
"""Insert keyframes for the specified channels
|
|
266
242
|
|
|
267
|
-
:type override_context: typing.
|
|
268
|
-
:type execution_context: typing.
|
|
269
|
-
:type undo:
|
|
243
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
244
|
+
:type execution_context: typing.Union[str, int]
|
|
245
|
+
:type undo: bool
|
|
270
246
|
:param type: Type
|
|
271
|
-
:type type: typing.
|
|
247
|
+
:type type: typing.Any
|
|
272
248
|
"""
|
|
273
249
|
|
|
274
250
|
...
|
|
275
251
|
|
|
276
252
|
def keyframe_type(
|
|
277
|
-
override_context: typing.
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
undo: typing.Optional[bool] = None,
|
|
282
|
-
*,
|
|
283
|
-
type: typing.Optional[typing.Union[str, int]] = "KEYFRAME",
|
|
253
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
254
|
+
execution_context: typing.Union[str, int] = None,
|
|
255
|
+
undo: bool = None,
|
|
256
|
+
type: typing.Any = "KEYFRAME",
|
|
284
257
|
):
|
|
285
258
|
"""Set type of keyframe for the selected keyframes
|
|
286
259
|
|
|
287
|
-
:type override_context: typing.
|
|
288
|
-
:type execution_context: typing.
|
|
289
|
-
:type undo:
|
|
260
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
261
|
+
:type execution_context: typing.Union[str, int]
|
|
262
|
+
:type undo: bool
|
|
290
263
|
:param type: Type
|
|
291
|
-
:type type: typing.
|
|
264
|
+
:type type: typing.Any
|
|
292
265
|
"""
|
|
293
266
|
|
|
294
267
|
...
|
|
295
268
|
|
|
296
269
|
def layer_next(
|
|
297
|
-
override_context: typing.
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
301
|
-
undo: typing.Optional[bool] = None,
|
|
270
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
271
|
+
execution_context: typing.Union[str, int] = None,
|
|
272
|
+
undo: bool = None,
|
|
302
273
|
):
|
|
303
274
|
"""Switch to editing action in animation layer above the current action in the NLA Stack
|
|
304
275
|
|
|
305
|
-
:type override_context: typing.
|
|
306
|
-
:type execution_context: typing.
|
|
307
|
-
:type undo:
|
|
276
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
277
|
+
:type execution_context: typing.Union[str, int]
|
|
278
|
+
:type undo: bool
|
|
308
279
|
"""
|
|
309
280
|
|
|
310
281
|
...
|
|
311
282
|
|
|
312
283
|
def layer_prev(
|
|
313
|
-
override_context: typing.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
317
|
-
undo: typing.Optional[bool] = None,
|
|
284
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
285
|
+
execution_context: typing.Union[str, int] = None,
|
|
286
|
+
undo: bool = None,
|
|
318
287
|
):
|
|
319
288
|
"""Switch to editing action in animation layer below the current action in the NLA Stack
|
|
320
289
|
|
|
321
|
-
:type override_context: typing.
|
|
322
|
-
:type execution_context: typing.
|
|
323
|
-
:type undo:
|
|
290
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
291
|
+
:type execution_context: typing.Union[str, int]
|
|
292
|
+
:type undo: bool
|
|
324
293
|
"""
|
|
325
294
|
|
|
326
295
|
...
|
|
327
296
|
|
|
328
297
|
def markers_make_local(
|
|
329
|
-
override_context: typing.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
333
|
-
undo: typing.Optional[bool] = None,
|
|
298
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
299
|
+
execution_context: typing.Union[str, int] = None,
|
|
300
|
+
undo: bool = None,
|
|
334
301
|
):
|
|
335
302
|
"""Move selected scene markers to the active Action as local 'pose' markers
|
|
336
303
|
|
|
337
|
-
:type override_context: typing.
|
|
338
|
-
:type execution_context: typing.
|
|
339
|
-
:type undo:
|
|
304
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
305
|
+
:type execution_context: typing.Union[str, int]
|
|
306
|
+
:type undo: bool
|
|
340
307
|
"""
|
|
341
308
|
|
|
342
309
|
...
|
|
343
310
|
|
|
344
311
|
def mirror(
|
|
345
|
-
override_context: typing.
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
undo: typing.Optional[bool] = None,
|
|
350
|
-
*,
|
|
351
|
-
type: typing.Optional[typing.Any] = "CFRA",
|
|
312
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
313
|
+
execution_context: typing.Union[str, int] = None,
|
|
314
|
+
undo: bool = None,
|
|
315
|
+
type: typing.Any = "CFRA",
|
|
352
316
|
):
|
|
353
317
|
"""Flip selected keyframes over the selected mirror line
|
|
354
318
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
319
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
320
|
+
:type execution_context: typing.Union[str, int]
|
|
321
|
+
:type undo: bool
|
|
322
|
+
:param type: Type
|
|
323
|
+
|
|
324
|
+
CFRA
|
|
325
|
+
By Times Over Current Frame -- Flip times of selected keyframes using the current frame as the mirror line.
|
|
326
|
+
|
|
327
|
+
XAXIS
|
|
328
|
+
By Values Over Zero Value -- Flip values of selected keyframes (i.e. negative values become positive, and vice versa).
|
|
329
|
+
|
|
330
|
+
MARKER
|
|
331
|
+
By Times Over First Selected Marker -- Flip times of selected keyframes using the first selected marker as the reference point.
|
|
332
|
+
:type type: typing.Any
|
|
360
333
|
"""
|
|
361
334
|
|
|
362
335
|
...
|
|
363
336
|
|
|
364
337
|
def new(
|
|
365
|
-
override_context: typing.
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
369
|
-
undo: typing.Optional[bool] = None,
|
|
338
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
339
|
+
execution_context: typing.Union[str, int] = None,
|
|
340
|
+
undo: bool = None,
|
|
370
341
|
):
|
|
371
342
|
"""Create new action
|
|
372
343
|
|
|
373
|
-
:type override_context: typing.
|
|
374
|
-
:type execution_context: typing.
|
|
375
|
-
:type undo:
|
|
344
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
345
|
+
:type execution_context: typing.Union[str, int]
|
|
346
|
+
:type undo: bool
|
|
376
347
|
"""
|
|
377
348
|
|
|
378
349
|
...
|
|
379
350
|
|
|
380
351
|
def paste(
|
|
381
|
-
override_context: typing.
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
offset: typing.Optional[typing.Union[str, int]] = "START",
|
|
388
|
-
merge: typing.Optional[typing.Union[str, int]] = "MIX",
|
|
389
|
-
flipped: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
352
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
353
|
+
execution_context: typing.Union[str, int] = None,
|
|
354
|
+
undo: bool = None,
|
|
355
|
+
offset: typing.Any = "START",
|
|
356
|
+
merge: typing.Any = "MIX",
|
|
357
|
+
flipped: typing.Union[bool, typing.Any] = False,
|
|
390
358
|
):
|
|
391
359
|
"""Paste keyframes from the internal clipboard for the selected channels, starting on the current frame
|
|
392
360
|
|
|
393
|
-
:type override_context: typing.
|
|
394
|
-
:type execution_context: typing.
|
|
395
|
-
:type undo:
|
|
361
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
362
|
+
:type execution_context: typing.Union[str, int]
|
|
363
|
+
:type undo: bool
|
|
396
364
|
:param offset: Offset, Paste time offset of keys
|
|
397
|
-
:type offset: typing.
|
|
365
|
+
:type offset: typing.Any
|
|
398
366
|
:param merge: Type, Method of merging pasted keys and existing
|
|
399
|
-
:type merge: typing.
|
|
367
|
+
:type merge: typing.Any
|
|
400
368
|
:param flipped: Flipped, Paste keyframes from mirrored bones if they exist
|
|
401
|
-
:type flipped: typing.
|
|
369
|
+
:type flipped: typing.Union[bool, typing.Any]
|
|
402
370
|
"""
|
|
403
371
|
|
|
404
372
|
...
|
|
405
373
|
|
|
406
374
|
def previewrange_set(
|
|
407
|
-
override_context: typing.
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
411
|
-
undo: typing.Optional[bool] = None,
|
|
375
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
376
|
+
execution_context: typing.Union[str, int] = None,
|
|
377
|
+
undo: bool = None,
|
|
412
378
|
):
|
|
413
379
|
"""Set Preview Range based on extents of selected Keyframes
|
|
414
380
|
|
|
415
|
-
:type override_context: typing.
|
|
416
|
-
:type execution_context: typing.
|
|
417
|
-
:type undo:
|
|
381
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
382
|
+
:type execution_context: typing.Union[str, int]
|
|
383
|
+
:type undo: bool
|
|
418
384
|
"""
|
|
419
385
|
|
|
420
386
|
...
|
|
421
387
|
|
|
422
388
|
def push_down(
|
|
423
|
-
override_context: typing.
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
427
|
-
undo: typing.Optional[bool] = None,
|
|
389
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
390
|
+
execution_context: typing.Union[str, int] = None,
|
|
391
|
+
undo: bool = None,
|
|
428
392
|
):
|
|
429
393
|
"""Push action down on to the NLA stack as a new strip
|
|
430
394
|
|
|
431
|
-
:type override_context: typing.
|
|
432
|
-
:type execution_context: typing.
|
|
433
|
-
:type undo:
|
|
395
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
396
|
+
:type execution_context: typing.Union[str, int]
|
|
397
|
+
:type undo: bool
|
|
434
398
|
"""
|
|
435
399
|
|
|
436
400
|
...
|
|
437
401
|
|
|
438
402
|
def select_all(
|
|
439
|
-
override_context: typing.
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
undo: typing.Optional[bool] = None,
|
|
444
|
-
*,
|
|
445
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
403
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
404
|
+
execution_context: typing.Union[str, int] = None,
|
|
405
|
+
undo: bool = None,
|
|
406
|
+
action: typing.Any = "TOGGLE",
|
|
446
407
|
):
|
|
447
408
|
"""Toggle selection of all keyframes
|
|
448
409
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
410
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
411
|
+
:type execution_context: typing.Union[str, int]
|
|
412
|
+
:type undo: bool
|
|
413
|
+
:param action: Action, Selection action to execute
|
|
414
|
+
|
|
415
|
+
TOGGLE
|
|
416
|
+
Toggle -- Toggle selection for all elements.
|
|
417
|
+
|
|
418
|
+
SELECT
|
|
419
|
+
Select -- Select all elements.
|
|
420
|
+
|
|
421
|
+
DESELECT
|
|
422
|
+
Deselect -- Deselect all elements.
|
|
423
|
+
|
|
424
|
+
INVERT
|
|
425
|
+
Invert -- Invert selection of all elements.
|
|
426
|
+
:type action: typing.Any
|
|
454
427
|
"""
|
|
455
428
|
|
|
456
429
|
...
|
|
457
430
|
|
|
458
431
|
def select_box(
|
|
459
|
-
override_context: typing.
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
471
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
472
|
-
tweak: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
432
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
433
|
+
execution_context: typing.Union[str, int] = None,
|
|
434
|
+
undo: bool = None,
|
|
435
|
+
axis_range: typing.Union[bool, typing.Any] = False,
|
|
436
|
+
xmin: typing.Any = 0,
|
|
437
|
+
xmax: typing.Any = 0,
|
|
438
|
+
ymin: typing.Any = 0,
|
|
439
|
+
ymax: typing.Any = 0,
|
|
440
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
441
|
+
mode: typing.Any = "SET",
|
|
442
|
+
tweak: typing.Union[bool, typing.Any] = False,
|
|
473
443
|
):
|
|
474
444
|
"""Select all keyframes within the specified region
|
|
475
445
|
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
446
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
447
|
+
:type execution_context: typing.Union[str, int]
|
|
448
|
+
:type undo: bool
|
|
449
|
+
:param axis_range: Axis Range
|
|
450
|
+
:type axis_range: typing.Union[bool, typing.Any]
|
|
451
|
+
:param xmin: X Min
|
|
452
|
+
:type xmin: typing.Any
|
|
453
|
+
:param xmax: X Max
|
|
454
|
+
:type xmax: typing.Any
|
|
455
|
+
:param ymin: Y Min
|
|
456
|
+
:type ymin: typing.Any
|
|
457
|
+
:param ymax: Y Max
|
|
458
|
+
:type ymax: typing.Any
|
|
459
|
+
:param wait_for_input: Wait for Input
|
|
460
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
461
|
+
:param mode: Mode
|
|
462
|
+
|
|
463
|
+
SET
|
|
464
|
+
Set -- Set a new selection.
|
|
465
|
+
|
|
466
|
+
ADD
|
|
467
|
+
Extend -- Extend existing selection.
|
|
468
|
+
|
|
469
|
+
SUB
|
|
470
|
+
Subtract -- Subtract existing selection.
|
|
471
|
+
:type mode: typing.Any
|
|
472
|
+
:param tweak: Tweak, Operator has been activated using a click-drag event
|
|
473
|
+
:type tweak: typing.Union[bool, typing.Any]
|
|
495
474
|
"""
|
|
496
475
|
|
|
497
476
|
...
|
|
498
477
|
|
|
499
478
|
def select_circle(
|
|
500
|
-
override_context: typing.
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
radius: typing.Optional[typing.Any] = 25,
|
|
509
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
510
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
479
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
480
|
+
execution_context: typing.Union[str, int] = None,
|
|
481
|
+
undo: bool = None,
|
|
482
|
+
x: typing.Any = 0,
|
|
483
|
+
y: typing.Any = 0,
|
|
484
|
+
radius: typing.Any = 25,
|
|
485
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
486
|
+
mode: typing.Any = "SET",
|
|
511
487
|
):
|
|
512
488
|
"""Select keyframe points using circle selection
|
|
513
489
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
490
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
491
|
+
:type execution_context: typing.Union[str, int]
|
|
492
|
+
:type undo: bool
|
|
493
|
+
:param x: X
|
|
494
|
+
:type x: typing.Any
|
|
495
|
+
:param y: Y
|
|
496
|
+
:type y: typing.Any
|
|
497
|
+
:param radius: Radius
|
|
498
|
+
:type radius: typing.Any
|
|
499
|
+
:param wait_for_input: Wait for Input
|
|
500
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
501
|
+
:param mode: Mode
|
|
502
|
+
|
|
503
|
+
SET
|
|
504
|
+
Set -- Set a new selection.
|
|
505
|
+
|
|
506
|
+
ADD
|
|
507
|
+
Extend -- Extend existing selection.
|
|
508
|
+
|
|
509
|
+
SUB
|
|
510
|
+
Subtract -- Subtract existing selection.
|
|
511
|
+
:type mode: typing.Any
|
|
527
512
|
"""
|
|
528
513
|
|
|
529
514
|
...
|
|
530
515
|
|
|
531
516
|
def select_column(
|
|
532
|
-
override_context: typing.
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
undo: typing.Optional[bool] = None,
|
|
537
|
-
*,
|
|
538
|
-
mode: typing.Optional[typing.Any] = "KEYS",
|
|
517
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
518
|
+
execution_context: typing.Union[str, int] = None,
|
|
519
|
+
undo: bool = None,
|
|
520
|
+
mode: typing.Any = "KEYS",
|
|
539
521
|
):
|
|
540
522
|
"""Select all keyframes on the specified frame(s)
|
|
541
523
|
|
|
542
|
-
:type override_context: typing.
|
|
543
|
-
:type execution_context: typing.
|
|
544
|
-
:type undo:
|
|
524
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
525
|
+
:type execution_context: typing.Union[str, int]
|
|
526
|
+
:type undo: bool
|
|
545
527
|
:param mode: Mode
|
|
546
|
-
:type mode: typing.
|
|
528
|
+
:type mode: typing.Any
|
|
547
529
|
"""
|
|
548
530
|
|
|
549
531
|
...
|
|
550
532
|
|
|
551
533
|
def select_lasso(
|
|
552
|
-
override_context: typing.
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
*,
|
|
558
|
-
path: typing.Optional[
|
|
559
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
|
|
560
|
-
] = None,
|
|
561
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
534
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
535
|
+
execution_context: typing.Union[str, int] = None,
|
|
536
|
+
undo: bool = None,
|
|
537
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
538
|
+
mode: typing.Any = "SET",
|
|
562
539
|
):
|
|
563
540
|
"""Select keyframe points using lasso selection
|
|
564
541
|
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
542
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
543
|
+
:type execution_context: typing.Union[str, int]
|
|
544
|
+
:type undo: bool
|
|
545
|
+
:param path: Path
|
|
546
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
547
|
+
:param mode: Mode
|
|
548
|
+
|
|
549
|
+
SET
|
|
550
|
+
Set -- Set a new selection.
|
|
551
|
+
|
|
552
|
+
ADD
|
|
553
|
+
Extend -- Extend existing selection.
|
|
554
|
+
|
|
555
|
+
SUB
|
|
556
|
+
Subtract -- Subtract existing selection.
|
|
557
|
+
:type mode: typing.Any
|
|
572
558
|
"""
|
|
573
559
|
|
|
574
560
|
...
|
|
575
561
|
|
|
576
562
|
def select_leftright(
|
|
577
|
-
override_context: typing.
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
*,
|
|
583
|
-
mode: typing.Optional[typing.Any] = "CHECK",
|
|
584
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
563
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
564
|
+
execution_context: typing.Union[str, int] = None,
|
|
565
|
+
undo: bool = None,
|
|
566
|
+
mode: typing.Any = "CHECK",
|
|
567
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
585
568
|
):
|
|
586
569
|
"""Select keyframes to the left or the right of the current frame
|
|
587
570
|
|
|
588
|
-
:type override_context: typing.
|
|
589
|
-
:type execution_context: typing.
|
|
590
|
-
:type undo:
|
|
571
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
572
|
+
:type execution_context: typing.Union[str, int]
|
|
573
|
+
:type undo: bool
|
|
591
574
|
:param mode: Mode
|
|
592
|
-
:type mode: typing.
|
|
575
|
+
:type mode: typing.Any
|
|
593
576
|
:param extend: Extend Select
|
|
594
|
-
:type extend: typing.
|
|
577
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
595
578
|
"""
|
|
596
579
|
|
|
597
580
|
...
|
|
598
581
|
|
|
599
582
|
def select_less(
|
|
600
|
-
override_context: typing.
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
604
|
-
undo: typing.Optional[bool] = None,
|
|
583
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
584
|
+
execution_context: typing.Union[str, int] = None,
|
|
585
|
+
undo: bool = None,
|
|
605
586
|
):
|
|
606
587
|
"""Deselect keyframes on ends of selection islands
|
|
607
588
|
|
|
608
|
-
:type override_context: typing.
|
|
609
|
-
:type execution_context: typing.
|
|
610
|
-
:type undo:
|
|
589
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
590
|
+
:type execution_context: typing.Union[str, int]
|
|
591
|
+
:type undo: bool
|
|
611
592
|
"""
|
|
612
593
|
|
|
613
594
|
...
|
|
614
595
|
|
|
615
596
|
def select_linked(
|
|
616
|
-
override_context: typing.
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
620
|
-
undo: typing.Optional[bool] = None,
|
|
597
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
598
|
+
execution_context: typing.Union[str, int] = None,
|
|
599
|
+
undo: bool = None,
|
|
621
600
|
):
|
|
622
601
|
"""Select keyframes occurring in the same F-Curves as selected ones
|
|
623
602
|
|
|
624
|
-
:type override_context: typing.
|
|
625
|
-
:type execution_context: typing.
|
|
626
|
-
:type undo:
|
|
603
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
604
|
+
:type execution_context: typing.Union[str, int]
|
|
605
|
+
:type undo: bool
|
|
627
606
|
"""
|
|
628
607
|
|
|
629
608
|
...
|
|
630
609
|
|
|
631
610
|
def select_more(
|
|
632
|
-
override_context: typing.
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
636
|
-
undo: typing.Optional[bool] = None,
|
|
611
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
612
|
+
execution_context: typing.Union[str, int] = None,
|
|
613
|
+
undo: bool = None,
|
|
637
614
|
):
|
|
638
615
|
"""Select keyframes beside already selected ones
|
|
639
616
|
|
|
640
|
-
:type override_context: typing.
|
|
641
|
-
:type execution_context: typing.
|
|
642
|
-
:type undo:
|
|
617
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
618
|
+
:type execution_context: typing.Union[str, int]
|
|
619
|
+
:type undo: bool
|
|
643
620
|
"""
|
|
644
621
|
|
|
645
622
|
...
|
|
646
623
|
|
|
647
624
|
def snap(
|
|
648
|
-
override_context: typing.
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
undo: typing.Optional[bool] = None,
|
|
653
|
-
*,
|
|
654
|
-
type: typing.Optional[typing.Any] = "CFRA",
|
|
625
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
626
|
+
execution_context: typing.Union[str, int] = None,
|
|
627
|
+
undo: bool = None,
|
|
628
|
+
type: typing.Any = "CFRA",
|
|
655
629
|
):
|
|
656
630
|
"""Snap selected keyframes to the times specified
|
|
657
631
|
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
632
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
633
|
+
:type execution_context: typing.Union[str, int]
|
|
634
|
+
:type undo: bool
|
|
635
|
+
:param type: Type
|
|
636
|
+
|
|
637
|
+
CFRA
|
|
638
|
+
Selection to Current Frame -- Snap selected keyframes to the current frame.
|
|
639
|
+
|
|
640
|
+
NEAREST_FRAME
|
|
641
|
+
Selection to Nearest Frame -- Snap selected keyframes to the nearest (whole) frame (use to fix accidental subframe offsets).
|
|
642
|
+
|
|
643
|
+
NEAREST_SECOND
|
|
644
|
+
Selection to Nearest Second -- Snap selected keyframes to the nearest second.
|
|
645
|
+
|
|
646
|
+
NEAREST_MARKER
|
|
647
|
+
Selection to Nearest Marker -- Snap selected keyframes to the nearest marker.
|
|
648
|
+
:type type: typing.Any
|
|
663
649
|
"""
|
|
664
650
|
|
|
665
651
|
...
|
|
666
652
|
|
|
667
653
|
def stash(
|
|
668
|
-
override_context: typing.
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
undo: typing.Optional[bool] = None,
|
|
673
|
-
*,
|
|
674
|
-
create_new: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
654
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
655
|
+
execution_context: typing.Union[str, int] = None,
|
|
656
|
+
undo: bool = None,
|
|
657
|
+
create_new: typing.Union[bool, typing.Any] = True,
|
|
675
658
|
):
|
|
676
659
|
"""Store this action in the NLA stack as a non-contributing strip for later use
|
|
677
660
|
|
|
678
|
-
:type override_context: typing.
|
|
679
|
-
:type execution_context: typing.
|
|
680
|
-
:type undo:
|
|
661
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
662
|
+
:type execution_context: typing.Union[str, int]
|
|
663
|
+
:type undo: bool
|
|
681
664
|
:param create_new: Create New Action, Create a new action once the existing one has been safely stored
|
|
682
|
-
:type create_new: typing.
|
|
665
|
+
:type create_new: typing.Union[bool, typing.Any]
|
|
683
666
|
"""
|
|
684
667
|
|
|
685
668
|
...
|
|
686
669
|
|
|
687
670
|
def stash_and_create(
|
|
688
|
-
override_context: typing.
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
692
|
-
undo: typing.Optional[bool] = None,
|
|
671
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
672
|
+
execution_context: typing.Union[str, int] = None,
|
|
673
|
+
undo: bool = None,
|
|
693
674
|
):
|
|
694
675
|
"""Store this action in the NLA stack as a non-contributing strip for later use, and create a new action
|
|
695
676
|
|
|
696
|
-
:type override_context: typing.
|
|
697
|
-
:type execution_context: typing.
|
|
698
|
-
:type undo:
|
|
677
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
678
|
+
:type execution_context: typing.Union[str, int]
|
|
679
|
+
:type undo: bool
|
|
699
680
|
"""
|
|
700
681
|
|
|
701
682
|
...
|
|
702
683
|
|
|
703
684
|
def unlink(
|
|
704
|
-
override_context: typing.
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
undo: typing.Optional[bool] = None,
|
|
709
|
-
*,
|
|
710
|
-
force_delete: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
685
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
686
|
+
execution_context: typing.Union[str, int] = None,
|
|
687
|
+
undo: bool = None,
|
|
688
|
+
force_delete: typing.Union[bool, typing.Any] = False,
|
|
711
689
|
):
|
|
712
690
|
"""Unlink this action from the active action slot (and/or exit Tweak Mode)
|
|
713
691
|
|
|
714
|
-
:type override_context: typing.
|
|
715
|
-
:type execution_context: typing.
|
|
716
|
-
:type undo:
|
|
692
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
693
|
+
:type execution_context: typing.Union[str, int]
|
|
694
|
+
:type undo: bool
|
|
717
695
|
:param force_delete: Force Delete, Clear Fake User and remove copy stashed in this data-block's NLA stack
|
|
718
|
-
:type force_delete: typing.
|
|
696
|
+
:type force_delete: typing.Union[bool, typing.Any]
|
|
719
697
|
"""
|
|
720
698
|
|
|
721
699
|
...
|
|
722
700
|
|
|
723
701
|
def view_all(
|
|
724
|
-
override_context: typing.
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
728
|
-
undo: typing.Optional[bool] = None,
|
|
702
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
703
|
+
execution_context: typing.Union[str, int] = None,
|
|
704
|
+
undo: bool = None,
|
|
729
705
|
):
|
|
730
706
|
"""Reset viewable area to show full keyframe range
|
|
731
707
|
|
|
732
|
-
:type override_context: typing.
|
|
733
|
-
:type execution_context: typing.
|
|
734
|
-
:type undo:
|
|
708
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
709
|
+
:type execution_context: typing.Union[str, int]
|
|
710
|
+
:type undo: bool
|
|
735
711
|
"""
|
|
736
712
|
|
|
737
713
|
...
|
|
738
714
|
|
|
739
715
|
def view_frame(
|
|
740
|
-
override_context: typing.
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
744
|
-
undo: typing.Optional[bool] = None,
|
|
716
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
717
|
+
execution_context: typing.Union[str, int] = None,
|
|
718
|
+
undo: bool = None,
|
|
745
719
|
):
|
|
746
720
|
"""Move the view to the current frame
|
|
747
721
|
|
|
748
|
-
:type override_context: typing.
|
|
749
|
-
:type execution_context: typing.
|
|
750
|
-
:type undo:
|
|
722
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
723
|
+
:type execution_context: typing.Union[str, int]
|
|
724
|
+
:type undo: bool
|
|
751
725
|
"""
|
|
752
726
|
|
|
753
727
|
...
|
|
754
728
|
|
|
755
729
|
def view_selected(
|
|
756
|
-
override_context: typing.
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
760
|
-
undo: typing.Optional[bool] = None,
|
|
730
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
731
|
+
execution_context: typing.Union[str, int] = None,
|
|
732
|
+
undo: bool = None,
|
|
761
733
|
):
|
|
762
734
|
"""Reset viewable area to show selected keyframes range
|
|
763
735
|
|
|
764
|
-
:type override_context: typing.
|
|
765
|
-
:type execution_context: typing.
|
|
766
|
-
:type undo:
|
|
736
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
737
|
+
:type execution_context: typing.Union[str, int]
|
|
738
|
+
:type undo: bool
|
|
767
739
|
"""
|
|
768
740
|
|
|
769
741
|
...
|