fake-bpy-module 20240224__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +268 -262
- bmesh/utils/__init__.pyi +55 -55
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/nla/__init__.pyi
CHANGED
|
@@ -5,133 +5,132 @@ import bpy.types
|
|
|
5
5
|
GenericType = typing.TypeVar("GenericType")
|
|
6
6
|
|
|
7
7
|
def action_pushdown(
|
|
8
|
-
override_context=None,
|
|
9
|
-
execution_context=None,
|
|
10
|
-
undo=None,
|
|
11
|
-
|
|
12
|
-
track_index: typing.Optional[typing.Any] = -1,
|
|
8
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
9
|
+
execution_context: typing.Union[str, int] = None,
|
|
10
|
+
undo: bool = None,
|
|
11
|
+
track_index: typing.Any = -1,
|
|
13
12
|
):
|
|
14
13
|
"""Push action down onto the top of the NLA stack as a new strip
|
|
15
14
|
|
|
16
|
-
:type override_context: typing.
|
|
17
|
-
:type execution_context: typing.
|
|
18
|
-
:type undo:
|
|
15
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
16
|
+
:type execution_context: typing.Union[str, int]
|
|
17
|
+
:type undo: bool
|
|
19
18
|
:param track_index: Track Index, Index of NLA action track to perform pushdown operation on
|
|
20
|
-
:type track_index: typing.
|
|
19
|
+
:type track_index: typing.Any
|
|
21
20
|
"""
|
|
22
21
|
|
|
23
22
|
...
|
|
24
23
|
|
|
25
24
|
def action_sync_length(
|
|
26
|
-
override_context=None,
|
|
27
|
-
execution_context=None,
|
|
28
|
-
undo=None,
|
|
29
|
-
|
|
30
|
-
active: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
25
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
26
|
+
execution_context: typing.Union[str, int] = None,
|
|
27
|
+
undo: bool = None,
|
|
28
|
+
active: typing.Union[bool, typing.Any] = True,
|
|
31
29
|
):
|
|
32
30
|
"""Synchronize the length of the referenced Action with the length used in the strip
|
|
33
31
|
|
|
34
|
-
:type override_context: typing.
|
|
35
|
-
:type execution_context: typing.
|
|
36
|
-
:type undo:
|
|
32
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
33
|
+
:type execution_context: typing.Union[str, int]
|
|
34
|
+
:type undo: bool
|
|
37
35
|
:param active: Active Strip Only, Only sync the active length for the active strip
|
|
38
|
-
:type active: typing.
|
|
36
|
+
:type active: typing.Union[bool, typing.Any]
|
|
39
37
|
"""
|
|
40
38
|
|
|
41
39
|
...
|
|
42
40
|
|
|
43
41
|
def action_unlink(
|
|
44
|
-
override_context=None,
|
|
45
|
-
execution_context=None,
|
|
46
|
-
undo=None,
|
|
47
|
-
|
|
48
|
-
force_delete: 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
|
+
force_delete: typing.Union[bool, typing.Any] = False,
|
|
49
46
|
):
|
|
50
47
|
"""Unlink this action from the active action slot (and/or exit Tweak Mode)
|
|
51
48
|
|
|
52
|
-
:type override_context: typing.
|
|
53
|
-
:type execution_context: typing.
|
|
54
|
-
:type undo:
|
|
49
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
50
|
+
:type execution_context: typing.Union[str, int]
|
|
51
|
+
:type undo: bool
|
|
55
52
|
:param force_delete: Force Delete, Clear Fake User and remove copy stashed in this data-block's NLA stack
|
|
56
|
-
:type force_delete: typing.
|
|
53
|
+
:type force_delete: typing.Union[bool, typing.Any]
|
|
57
54
|
"""
|
|
58
55
|
|
|
59
56
|
...
|
|
60
57
|
|
|
61
58
|
def actionclip_add(
|
|
62
|
-
override_context=None,
|
|
63
|
-
execution_context=None,
|
|
64
|
-
undo=None,
|
|
65
|
-
|
|
66
|
-
action: typing.Optional[typing.Union[int, str, typing.Any]] = "",
|
|
59
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
60
|
+
execution_context: typing.Union[str, int] = None,
|
|
61
|
+
undo: bool = None,
|
|
62
|
+
action: typing.Union[str, int, typing.Any] = "",
|
|
67
63
|
):
|
|
68
64
|
"""Add an Action-Clip strip (i.e. an NLA Strip referencing an Action) to the active track
|
|
69
65
|
|
|
70
|
-
:type override_context: typing.
|
|
71
|
-
:type execution_context: typing.
|
|
72
|
-
:type undo:
|
|
66
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
67
|
+
:type execution_context: typing.Union[str, int]
|
|
68
|
+
:type undo: bool
|
|
73
69
|
:param action: Action
|
|
74
|
-
:type action: typing.
|
|
70
|
+
:type action: typing.Union[str, int, typing.Any]
|
|
75
71
|
"""
|
|
76
72
|
|
|
77
73
|
...
|
|
78
74
|
|
|
79
|
-
def apply_scale(
|
|
75
|
+
def apply_scale(
|
|
76
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
77
|
+
execution_context: typing.Union[str, int] = None,
|
|
78
|
+
undo: bool = None,
|
|
79
|
+
):
|
|
80
80
|
"""Apply scaling of selected strips to their referenced Actions
|
|
81
81
|
|
|
82
|
-
:type override_context: typing.
|
|
83
|
-
:type execution_context: typing.
|
|
84
|
-
:type undo:
|
|
82
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
83
|
+
:type execution_context: typing.Union[str, int]
|
|
84
|
+
:type undo: bool
|
|
85
85
|
"""
|
|
86
86
|
|
|
87
87
|
...
|
|
88
88
|
|
|
89
89
|
def bake(
|
|
90
|
-
override_context=None,
|
|
91
|
-
execution_context=None,
|
|
92
|
-
undo=None,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
'"ROTATION"',
|
|
106
|
-
'"SCALE"',
|
|
90
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
91
|
+
execution_context: typing.Union[str, int] = None,
|
|
92
|
+
undo: bool = None,
|
|
93
|
+
frame_start: typing.Any = 1,
|
|
94
|
+
frame_end: typing.Any = 250,
|
|
95
|
+
step: typing.Any = 1,
|
|
96
|
+
only_selected: typing.Union[bool, typing.Any] = True,
|
|
97
|
+
visual_keying: typing.Union[bool, typing.Any] = False,
|
|
98
|
+
clear_constraints: typing.Union[bool, typing.Any] = False,
|
|
99
|
+
clear_parents: typing.Union[bool, typing.Any] = False,
|
|
100
|
+
use_current_action: typing.Union[bool, typing.Any] = False,
|
|
101
|
+
clean_curves: typing.Union[bool, typing.Any] = False,
|
|
102
|
+
bake_types: typing.Any = {'"POSE"'},
|
|
103
|
+
channel_types: typing.Any = {
|
|
104
|
+
'"PROPS"',
|
|
107
105
|
'"LOCATION"',
|
|
106
|
+
'"ROTATION"',
|
|
108
107
|
'"BBONE"',
|
|
109
|
-
'"
|
|
108
|
+
'"SCALE"',
|
|
110
109
|
},
|
|
111
110
|
):
|
|
112
111
|
"""Bake all selected objects location/scale/rotation animation to an action
|
|
113
112
|
|
|
114
|
-
:type override_context: typing.
|
|
115
|
-
:type execution_context: typing.
|
|
116
|
-
:type undo:
|
|
113
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
114
|
+
:type execution_context: typing.Union[str, int]
|
|
115
|
+
:type undo: bool
|
|
117
116
|
:param frame_start: Start Frame, Start frame for baking
|
|
118
|
-
:type frame_start: typing.
|
|
117
|
+
:type frame_start: typing.Any
|
|
119
118
|
:param frame_end: End Frame, End frame for baking
|
|
120
|
-
:type frame_end: typing.
|
|
119
|
+
:type frame_end: typing.Any
|
|
121
120
|
:param step: Frame Step, Number of frames to skip forward while baking each frame
|
|
122
|
-
:type step: typing.
|
|
121
|
+
:type step: typing.Any
|
|
123
122
|
:param only_selected: Only Selected Bones, Only key selected bones (Pose baking only)
|
|
124
|
-
:type only_selected: typing.
|
|
123
|
+
:type only_selected: typing.Union[bool, typing.Any]
|
|
125
124
|
:param visual_keying: Visual Keying, Keyframe from the final transformations (with constraints applied)
|
|
126
|
-
:type visual_keying: typing.
|
|
125
|
+
:type visual_keying: typing.Union[bool, typing.Any]
|
|
127
126
|
:param clear_constraints: Clear Constraints, Remove all constraints from keyed object/bones, and do 'visual' keying
|
|
128
|
-
:type clear_constraints: typing.
|
|
127
|
+
:type clear_constraints: typing.Union[bool, typing.Any]
|
|
129
128
|
:param clear_parents: Clear Parents, Bake animation onto the object then clear parents (objects only)
|
|
130
|
-
:type clear_parents: typing.
|
|
129
|
+
:type clear_parents: typing.Union[bool, typing.Any]
|
|
131
130
|
:param use_current_action: Overwrite Current Action, Bake animation into current action, instead of creating a new one (useful for baking only part of bones in an armature)
|
|
132
|
-
:type use_current_action: typing.
|
|
131
|
+
:type use_current_action: typing.Union[bool, typing.Any]
|
|
133
132
|
:param clean_curves: Clean Curves, After baking curves, remove redundant keys
|
|
134
|
-
:type clean_curves: typing.
|
|
133
|
+
:type clean_curves: typing.Union[bool, typing.Any]
|
|
135
134
|
:param bake_types: Bake Data, Which data's transformations to bake
|
|
136
135
|
|
|
137
136
|
POSE
|
|
@@ -139,7 +138,7 @@ def bake(
|
|
|
139
138
|
|
|
140
139
|
OBJECT
|
|
141
140
|
Object -- Bake object transformations.
|
|
142
|
-
:type bake_types: typing.
|
|
141
|
+
:type bake_types: typing.Any
|
|
143
142
|
:param channel_types: Channels, Which channels to bake
|
|
144
143
|
|
|
145
144
|
LOCATION
|
|
@@ -156,281 +155,308 @@ def bake(
|
|
|
156
155
|
|
|
157
156
|
PROPS
|
|
158
157
|
Custom Properties -- Bake custom properties.
|
|
159
|
-
:type channel_types: typing.
|
|
158
|
+
:type channel_types: typing.Any
|
|
160
159
|
"""
|
|
161
160
|
|
|
162
161
|
...
|
|
163
162
|
|
|
164
163
|
def channels_click(
|
|
165
|
-
override_context=None,
|
|
166
|
-
execution_context=None,
|
|
167
|
-
undo=None,
|
|
168
|
-
|
|
169
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
164
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
165
|
+
execution_context: typing.Union[str, int] = None,
|
|
166
|
+
undo: bool = None,
|
|
167
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
170
168
|
):
|
|
171
169
|
"""Handle clicks to select NLA tracks
|
|
172
170
|
|
|
173
|
-
:type override_context: typing.
|
|
174
|
-
:type execution_context: typing.
|
|
175
|
-
:type undo:
|
|
171
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
172
|
+
:type execution_context: typing.Union[str, int]
|
|
173
|
+
:type undo: bool
|
|
176
174
|
:param extend: Extend Select
|
|
177
|
-
:type extend: typing.
|
|
175
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
178
176
|
"""
|
|
179
177
|
|
|
180
178
|
...
|
|
181
179
|
|
|
182
|
-
def clear_scale(
|
|
180
|
+
def clear_scale(
|
|
181
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
182
|
+
execution_context: typing.Union[str, int] = None,
|
|
183
|
+
undo: bool = None,
|
|
184
|
+
):
|
|
183
185
|
"""Reset scaling of selected strips
|
|
184
186
|
|
|
185
|
-
:type override_context: typing.
|
|
186
|
-
:type execution_context: typing.
|
|
187
|
-
:type undo:
|
|
187
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
188
|
+
:type execution_context: typing.Union[str, int]
|
|
189
|
+
:type undo: bool
|
|
188
190
|
"""
|
|
189
191
|
|
|
190
192
|
...
|
|
191
193
|
|
|
192
194
|
def click_select(
|
|
193
|
-
override_context=None,
|
|
194
|
-
execution_context=None,
|
|
195
|
-
undo=None,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
195
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
196
|
+
execution_context: typing.Union[str, int] = None,
|
|
197
|
+
undo: bool = None,
|
|
198
|
+
wait_to_deselect_others: typing.Union[bool, typing.Any] = False,
|
|
199
|
+
mouse_x: typing.Any = 0,
|
|
200
|
+
mouse_y: typing.Any = 0,
|
|
201
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
202
|
+
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
202
203
|
):
|
|
203
204
|
"""Handle clicks to select NLA Strips
|
|
204
205
|
|
|
205
|
-
:type override_context: typing.
|
|
206
|
-
:type execution_context: typing.
|
|
207
|
-
:type undo:
|
|
206
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
207
|
+
:type execution_context: typing.Union[str, int]
|
|
208
|
+
:type undo: bool
|
|
208
209
|
:param wait_to_deselect_others: Wait to Deselect Others
|
|
209
|
-
:type wait_to_deselect_others: typing.
|
|
210
|
+
:type wait_to_deselect_others: typing.Union[bool, typing.Any]
|
|
210
211
|
:param mouse_x: Mouse X
|
|
211
|
-
:type mouse_x: typing.
|
|
212
|
+
:type mouse_x: typing.Any
|
|
212
213
|
:param mouse_y: Mouse Y
|
|
213
|
-
:type mouse_y: typing.
|
|
214
|
+
:type mouse_y: typing.Any
|
|
214
215
|
:param extend: Extend Select
|
|
215
|
-
:type extend: typing.
|
|
216
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
216
217
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
217
|
-
:type deselect_all: typing.
|
|
218
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
218
219
|
"""
|
|
219
220
|
|
|
220
221
|
...
|
|
221
222
|
|
|
222
|
-
def delete(
|
|
223
|
+
def delete(
|
|
224
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
225
|
+
execution_context: typing.Union[str, int] = None,
|
|
226
|
+
undo: bool = None,
|
|
227
|
+
):
|
|
223
228
|
"""Delete selected strips
|
|
224
229
|
|
|
225
|
-
:type override_context: typing.
|
|
226
|
-
:type execution_context: typing.
|
|
227
|
-
:type undo:
|
|
230
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
231
|
+
:type execution_context: typing.Union[str, int]
|
|
232
|
+
:type undo: bool
|
|
228
233
|
"""
|
|
229
234
|
|
|
230
235
|
...
|
|
231
236
|
|
|
232
237
|
def duplicate(
|
|
233
|
-
override_context=None,
|
|
234
|
-
execution_context=None,
|
|
235
|
-
undo=None,
|
|
236
|
-
|
|
237
|
-
linked: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
238
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
239
|
+
execution_context: typing.Union[str, int] = None,
|
|
240
|
+
undo: bool = None,
|
|
241
|
+
linked: typing.Union[bool, typing.Any] = False,
|
|
238
242
|
):
|
|
239
243
|
"""Duplicate selected NLA-Strips, adding the new strips to new track(s)
|
|
240
244
|
|
|
241
|
-
:type override_context: typing.
|
|
242
|
-
:type execution_context: typing.
|
|
243
|
-
:type undo:
|
|
245
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
246
|
+
:type execution_context: typing.Union[str, int]
|
|
247
|
+
:type undo: bool
|
|
244
248
|
:param linked: Linked, When duplicating strips, assign new copies of the actions they use
|
|
245
|
-
:type linked: typing.
|
|
249
|
+
:type linked: typing.Union[bool, typing.Any]
|
|
246
250
|
"""
|
|
247
251
|
|
|
248
252
|
...
|
|
249
253
|
|
|
250
254
|
def duplicate_linked_move(
|
|
251
|
-
override_context=None,
|
|
252
|
-
execution_context=None,
|
|
253
|
-
undo=None,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
255
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
256
|
+
execution_context: typing.Union[str, int] = None,
|
|
257
|
+
undo: bool = None,
|
|
258
|
+
NLA_OT_duplicate: duplicate = None,
|
|
259
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
257
260
|
):
|
|
258
261
|
"""Duplicate Linked selected NLA-Strips, adding the new strips to new track(s)
|
|
259
262
|
|
|
260
|
-
:type override_context: typing.
|
|
261
|
-
:type execution_context: typing.
|
|
262
|
-
:type undo:
|
|
263
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
264
|
+
:type execution_context: typing.Union[str, int]
|
|
265
|
+
:type undo: bool
|
|
263
266
|
:param NLA_OT_duplicate: Duplicate Strips, Duplicate selected NLA-Strips, adding the new strips to new track(s)
|
|
264
|
-
:type NLA_OT_duplicate:
|
|
267
|
+
:type NLA_OT_duplicate: duplicate
|
|
265
268
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
266
|
-
:type TRANSFORM_OT_translate:
|
|
269
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
267
270
|
"""
|
|
268
271
|
|
|
269
272
|
...
|
|
270
273
|
|
|
271
274
|
def duplicate_move(
|
|
272
|
-
override_context=None,
|
|
273
|
-
execution_context=None,
|
|
274
|
-
undo=None,
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
275
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
276
|
+
execution_context: typing.Union[str, int] = None,
|
|
277
|
+
undo: bool = None,
|
|
278
|
+
NLA_OT_duplicate: duplicate = None,
|
|
279
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
278
280
|
):
|
|
279
281
|
"""Duplicate selected NLA-Strips, adding the new strips to new track(s)
|
|
280
282
|
|
|
281
|
-
:type override_context: typing.
|
|
282
|
-
:type execution_context: typing.
|
|
283
|
-
:type undo:
|
|
283
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
284
|
+
:type execution_context: typing.Union[str, int]
|
|
285
|
+
:type undo: bool
|
|
284
286
|
:param NLA_OT_duplicate: Duplicate Strips, Duplicate selected NLA-Strips, adding the new strips to new track(s)
|
|
285
|
-
:type NLA_OT_duplicate:
|
|
287
|
+
:type NLA_OT_duplicate: duplicate
|
|
286
288
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
287
|
-
:type TRANSFORM_OT_translate:
|
|
289
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
288
290
|
"""
|
|
289
291
|
|
|
290
292
|
...
|
|
291
293
|
|
|
292
294
|
def fmodifier_add(
|
|
293
|
-
override_context=None,
|
|
294
|
-
execution_context=None,
|
|
295
|
-
undo=None,
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
only_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
295
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
296
|
+
execution_context: typing.Union[str, int] = None,
|
|
297
|
+
undo: bool = None,
|
|
298
|
+
type: typing.Any = "NULL",
|
|
299
|
+
only_active: typing.Union[bool, typing.Any] = True,
|
|
299
300
|
):
|
|
300
301
|
"""Add F-Modifier to the active/selected NLA-Strips
|
|
301
302
|
|
|
302
|
-
:type override_context: typing.
|
|
303
|
-
:type execution_context: typing.
|
|
304
|
-
:type undo:
|
|
303
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
304
|
+
:type execution_context: typing.Union[str, int]
|
|
305
|
+
:type undo: bool
|
|
305
306
|
:param type: Type
|
|
306
|
-
:type type: typing.
|
|
307
|
+
:type type: typing.Any
|
|
307
308
|
:param only_active: Only Active, Only add a F-Modifier of the specified type to the active strip
|
|
308
|
-
:type only_active: typing.
|
|
309
|
+
:type only_active: typing.Union[bool, typing.Any]
|
|
309
310
|
"""
|
|
310
311
|
|
|
311
312
|
...
|
|
312
313
|
|
|
313
|
-
def fmodifier_copy(
|
|
314
|
+
def fmodifier_copy(
|
|
315
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
316
|
+
execution_context: typing.Union[str, int] = None,
|
|
317
|
+
undo: bool = None,
|
|
318
|
+
):
|
|
314
319
|
"""Copy the F-Modifier(s) of the active NLA-Strip
|
|
315
320
|
|
|
316
|
-
:type override_context: typing.
|
|
317
|
-
:type execution_context: typing.
|
|
318
|
-
:type undo:
|
|
321
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
322
|
+
:type execution_context: typing.Union[str, int]
|
|
323
|
+
:type undo: bool
|
|
319
324
|
"""
|
|
320
325
|
|
|
321
326
|
...
|
|
322
327
|
|
|
323
328
|
def fmodifier_paste(
|
|
324
|
-
override_context=None,
|
|
325
|
-
execution_context=None,
|
|
326
|
-
undo=None,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
replace: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
329
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
330
|
+
execution_context: typing.Union[str, int] = None,
|
|
331
|
+
undo: bool = None,
|
|
332
|
+
only_active: typing.Union[bool, typing.Any] = True,
|
|
333
|
+
replace: typing.Union[bool, typing.Any] = False,
|
|
330
334
|
):
|
|
331
335
|
"""Add copied F-Modifiers to the selected NLA-Strips
|
|
332
336
|
|
|
333
|
-
:type override_context: typing.
|
|
334
|
-
:type execution_context: typing.
|
|
335
|
-
:type undo:
|
|
337
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
338
|
+
:type execution_context: typing.Union[str, int]
|
|
339
|
+
:type undo: bool
|
|
336
340
|
:param only_active: Only Active, Only paste F-Modifiers on active strip
|
|
337
|
-
:type only_active: typing.
|
|
341
|
+
:type only_active: typing.Union[bool, typing.Any]
|
|
338
342
|
:param replace: Replace Existing, Replace existing F-Modifiers, instead of just appending to the end of the existing list
|
|
339
|
-
:type replace: typing.
|
|
343
|
+
:type replace: typing.Union[bool, typing.Any]
|
|
340
344
|
"""
|
|
341
345
|
|
|
342
346
|
...
|
|
343
347
|
|
|
344
348
|
def make_single_user(
|
|
345
|
-
override_context=None,
|
|
346
|
-
execution_context=None,
|
|
347
|
-
undo=None,
|
|
348
|
-
|
|
349
|
-
confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
349
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
350
|
+
execution_context: typing.Union[str, int] = None,
|
|
351
|
+
undo: bool = None,
|
|
352
|
+
confirm: typing.Union[bool, typing.Any] = True,
|
|
350
353
|
):
|
|
351
354
|
"""Ensure that each action is only used once in the set of strips selected
|
|
352
355
|
|
|
353
|
-
:type override_context: typing.
|
|
354
|
-
:type execution_context: typing.
|
|
355
|
-
:type undo:
|
|
356
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
357
|
+
:type execution_context: typing.Union[str, int]
|
|
358
|
+
:type undo: bool
|
|
356
359
|
:param confirm: Confirm, Prompt for confirmation
|
|
357
|
-
:type confirm: typing.
|
|
360
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
358
361
|
"""
|
|
359
362
|
|
|
360
363
|
...
|
|
361
364
|
|
|
362
|
-
def meta_add(
|
|
365
|
+
def meta_add(
|
|
366
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
367
|
+
execution_context: typing.Union[str, int] = None,
|
|
368
|
+
undo: bool = None,
|
|
369
|
+
):
|
|
363
370
|
"""Add new meta-strips incorporating the selected strips
|
|
364
371
|
|
|
365
|
-
:type override_context: typing.
|
|
366
|
-
:type execution_context: typing.
|
|
367
|
-
:type undo:
|
|
372
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
373
|
+
:type execution_context: typing.Union[str, int]
|
|
374
|
+
:type undo: bool
|
|
368
375
|
"""
|
|
369
376
|
|
|
370
377
|
...
|
|
371
378
|
|
|
372
|
-
def meta_remove(
|
|
379
|
+
def meta_remove(
|
|
380
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
381
|
+
execution_context: typing.Union[str, int] = None,
|
|
382
|
+
undo: bool = None,
|
|
383
|
+
):
|
|
373
384
|
"""Separate out the strips held by the selected meta-strips
|
|
374
385
|
|
|
375
|
-
:type override_context: typing.
|
|
376
|
-
:type execution_context: typing.
|
|
377
|
-
:type undo:
|
|
386
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
387
|
+
:type execution_context: typing.Union[str, int]
|
|
388
|
+
:type undo: bool
|
|
378
389
|
"""
|
|
379
390
|
|
|
380
391
|
...
|
|
381
392
|
|
|
382
|
-
def move_down(
|
|
393
|
+
def move_down(
|
|
394
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
395
|
+
execution_context: typing.Union[str, int] = None,
|
|
396
|
+
undo: bool = None,
|
|
397
|
+
):
|
|
383
398
|
"""Move selected strips down a track if there's room
|
|
384
399
|
|
|
385
|
-
:type override_context: typing.
|
|
386
|
-
:type execution_context: typing.
|
|
387
|
-
:type undo:
|
|
400
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
401
|
+
:type execution_context: typing.Union[str, int]
|
|
402
|
+
:type undo: bool
|
|
388
403
|
"""
|
|
389
404
|
|
|
390
405
|
...
|
|
391
406
|
|
|
392
|
-
def move_up(
|
|
407
|
+
def move_up(
|
|
408
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
409
|
+
execution_context: typing.Union[str, int] = None,
|
|
410
|
+
undo: bool = None,
|
|
411
|
+
):
|
|
393
412
|
"""Move selected strips up a track if there's room
|
|
394
413
|
|
|
395
|
-
:type override_context: typing.
|
|
396
|
-
:type execution_context: typing.
|
|
397
|
-
:type undo:
|
|
414
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
415
|
+
:type execution_context: typing.Union[str, int]
|
|
416
|
+
:type undo: bool
|
|
398
417
|
"""
|
|
399
418
|
|
|
400
419
|
...
|
|
401
420
|
|
|
402
|
-
def mute_toggle(
|
|
421
|
+
def mute_toggle(
|
|
422
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
423
|
+
execution_context: typing.Union[str, int] = None,
|
|
424
|
+
undo: bool = None,
|
|
425
|
+
):
|
|
403
426
|
"""Mute or un-mute selected strips
|
|
404
427
|
|
|
405
|
-
:type override_context: typing.
|
|
406
|
-
:type execution_context: typing.
|
|
407
|
-
:type undo:
|
|
428
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
429
|
+
:type execution_context: typing.Union[str, int]
|
|
430
|
+
:type undo: bool
|
|
408
431
|
"""
|
|
409
432
|
|
|
410
433
|
...
|
|
411
434
|
|
|
412
|
-
def previewrange_set(
|
|
435
|
+
def previewrange_set(
|
|
436
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
437
|
+
execution_context: typing.Union[str, int] = None,
|
|
438
|
+
undo: bool = None,
|
|
439
|
+
):
|
|
413
440
|
"""Set Preview Range based on extends of selected strips
|
|
414
441
|
|
|
415
|
-
:type override_context: typing.
|
|
416
|
-
:type execution_context: typing.
|
|
417
|
-
:type undo:
|
|
442
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
443
|
+
:type execution_context: typing.Union[str, int]
|
|
444
|
+
:type undo: bool
|
|
418
445
|
"""
|
|
419
446
|
|
|
420
447
|
...
|
|
421
448
|
|
|
422
449
|
def select_all(
|
|
423
|
-
override_context=None,
|
|
424
|
-
execution_context=None,
|
|
425
|
-
undo=None,
|
|
426
|
-
|
|
427
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
450
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
451
|
+
execution_context: typing.Union[str, int] = None,
|
|
452
|
+
undo: bool = None,
|
|
453
|
+
action: typing.Any = "TOGGLE",
|
|
428
454
|
):
|
|
429
455
|
"""Select or deselect all NLA-Strips
|
|
430
456
|
|
|
431
|
-
:type override_context: typing.
|
|
432
|
-
:type execution_context: typing.
|
|
433
|
-
:type undo:
|
|
457
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
458
|
+
:type execution_context: typing.Union[str, int]
|
|
459
|
+
:type undo: bool
|
|
434
460
|
:param action: Action, Selection action to execute
|
|
435
461
|
|
|
436
462
|
TOGGLE
|
|
@@ -444,44 +470,43 @@ def select_all(
|
|
|
444
470
|
|
|
445
471
|
INVERT
|
|
446
472
|
Invert -- Invert selection of all elements.
|
|
447
|
-
:type action: typing.
|
|
473
|
+
:type action: typing.Any
|
|
448
474
|
"""
|
|
449
475
|
|
|
450
476
|
...
|
|
451
477
|
|
|
452
478
|
def select_box(
|
|
453
|
-
override_context=None,
|
|
454
|
-
execution_context=None,
|
|
455
|
-
undo=None,
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
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
|
+
axis_range: typing.Union[bool, typing.Any] = False,
|
|
483
|
+
tweak: typing.Union[bool, typing.Any] = False,
|
|
484
|
+
xmin: typing.Any = 0,
|
|
485
|
+
xmax: typing.Any = 0,
|
|
486
|
+
ymin: typing.Any = 0,
|
|
487
|
+
ymax: typing.Any = 0,
|
|
488
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
489
|
+
mode: typing.Any = "SET",
|
|
465
490
|
):
|
|
466
491
|
"""Use box selection to grab NLA-Strips
|
|
467
492
|
|
|
468
|
-
:type override_context: typing.
|
|
469
|
-
:type execution_context: typing.
|
|
470
|
-
:type undo:
|
|
493
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
494
|
+
:type execution_context: typing.Union[str, int]
|
|
495
|
+
:type undo: bool
|
|
471
496
|
:param axis_range: Axis Range
|
|
472
|
-
:type axis_range: typing.
|
|
497
|
+
:type axis_range: typing.Union[bool, typing.Any]
|
|
473
498
|
:param tweak: Tweak, Operator has been activated using a click-drag event
|
|
474
|
-
:type tweak: typing.
|
|
499
|
+
:type tweak: typing.Union[bool, typing.Any]
|
|
475
500
|
:param xmin: X Min
|
|
476
|
-
:type xmin: typing.
|
|
501
|
+
:type xmin: typing.Any
|
|
477
502
|
:param xmax: X Max
|
|
478
|
-
:type xmax: typing.
|
|
503
|
+
:type xmax: typing.Any
|
|
479
504
|
:param ymin: Y Min
|
|
480
|
-
:type ymin: typing.
|
|
505
|
+
:type ymin: typing.Any
|
|
481
506
|
:param ymax: Y Max
|
|
482
|
-
:type ymax: typing.
|
|
507
|
+
:type ymax: typing.Any
|
|
483
508
|
:param wait_for_input: Wait for Input
|
|
484
|
-
:type wait_for_input: typing.
|
|
509
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
485
510
|
:param mode: Mode
|
|
486
511
|
|
|
487
512
|
SET
|
|
@@ -492,193 +517,224 @@ def select_box(
|
|
|
492
517
|
|
|
493
518
|
SUB
|
|
494
519
|
Subtract -- Subtract existing selection.
|
|
495
|
-
:type mode: typing.
|
|
520
|
+
:type mode: typing.Any
|
|
496
521
|
"""
|
|
497
522
|
|
|
498
523
|
...
|
|
499
524
|
|
|
500
525
|
def select_leftright(
|
|
501
|
-
override_context=None,
|
|
502
|
-
execution_context=None,
|
|
503
|
-
undo=None,
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
526
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
527
|
+
execution_context: typing.Union[str, int] = None,
|
|
528
|
+
undo: bool = None,
|
|
529
|
+
mode: typing.Any = "CHECK",
|
|
530
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
507
531
|
):
|
|
508
532
|
"""Select strips to the left or the right of the current frame
|
|
509
533
|
|
|
510
|
-
:type override_context: typing.
|
|
511
|
-
:type execution_context: typing.
|
|
512
|
-
:type undo:
|
|
534
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
535
|
+
:type execution_context: typing.Union[str, int]
|
|
536
|
+
:type undo: bool
|
|
513
537
|
:param mode: Mode
|
|
514
|
-
:type mode: typing.
|
|
538
|
+
:type mode: typing.Any
|
|
515
539
|
:param extend: Extend Select
|
|
516
|
-
:type extend: typing.
|
|
540
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
517
541
|
"""
|
|
518
542
|
|
|
519
543
|
...
|
|
520
544
|
|
|
521
|
-
def selected_objects_add(
|
|
545
|
+
def selected_objects_add(
|
|
546
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
547
|
+
execution_context: typing.Union[str, int] = None,
|
|
548
|
+
undo: bool = None,
|
|
549
|
+
):
|
|
522
550
|
"""Make selected objects appear in NLA Editor by adding Animation Data
|
|
523
551
|
|
|
524
|
-
:type override_context: typing.
|
|
525
|
-
:type execution_context: typing.
|
|
526
|
-
:type undo:
|
|
552
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
553
|
+
:type execution_context: typing.Union[str, int]
|
|
554
|
+
:type undo: bool
|
|
527
555
|
"""
|
|
528
556
|
|
|
529
557
|
...
|
|
530
558
|
|
|
531
559
|
def snap(
|
|
532
|
-
override_context=None,
|
|
533
|
-
execution_context=None,
|
|
534
|
-
undo=None,
|
|
535
|
-
|
|
536
|
-
type: typing.Optional[typing.Any] = "CFRA",
|
|
560
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
561
|
+
execution_context: typing.Union[str, int] = None,
|
|
562
|
+
undo: bool = None,
|
|
563
|
+
type: typing.Any = "CFRA",
|
|
537
564
|
):
|
|
538
565
|
"""Move start of strips to specified time
|
|
539
566
|
|
|
540
|
-
:type override_context: typing.
|
|
541
|
-
:type execution_context: typing.
|
|
542
|
-
:type undo:
|
|
567
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
568
|
+
:type execution_context: typing.Union[str, int]
|
|
569
|
+
:type undo: bool
|
|
543
570
|
:param type: Type
|
|
544
|
-
:type type: typing.
|
|
571
|
+
:type type: typing.Any
|
|
545
572
|
"""
|
|
546
573
|
|
|
547
574
|
...
|
|
548
575
|
|
|
549
|
-
def soundclip_add(
|
|
576
|
+
def soundclip_add(
|
|
577
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
578
|
+
execution_context: typing.Union[str, int] = None,
|
|
579
|
+
undo: bool = None,
|
|
580
|
+
):
|
|
550
581
|
"""Add a strip for controlling when speaker plays its sound clip
|
|
551
582
|
|
|
552
|
-
:type override_context: typing.
|
|
553
|
-
:type execution_context: typing.
|
|
554
|
-
:type undo:
|
|
583
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
584
|
+
:type execution_context: typing.Union[str, int]
|
|
585
|
+
:type undo: bool
|
|
555
586
|
"""
|
|
556
587
|
|
|
557
588
|
...
|
|
558
589
|
|
|
559
|
-
def split(
|
|
590
|
+
def split(
|
|
591
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
592
|
+
execution_context: typing.Union[str, int] = None,
|
|
593
|
+
undo: bool = None,
|
|
594
|
+
):
|
|
560
595
|
"""Split selected strips at their midpoints
|
|
561
596
|
|
|
562
|
-
:type override_context: typing.
|
|
563
|
-
:type execution_context: typing.
|
|
564
|
-
:type undo:
|
|
597
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
598
|
+
:type execution_context: typing.Union[str, int]
|
|
599
|
+
:type undo: bool
|
|
565
600
|
"""
|
|
566
601
|
|
|
567
602
|
...
|
|
568
603
|
|
|
569
|
-
def swap(
|
|
604
|
+
def swap(
|
|
605
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
606
|
+
execution_context: typing.Union[str, int] = None,
|
|
607
|
+
undo: bool = None,
|
|
608
|
+
):
|
|
570
609
|
"""Swap order of selected strips within tracks
|
|
571
610
|
|
|
572
|
-
:type override_context: typing.
|
|
573
|
-
:type execution_context: typing.
|
|
574
|
-
:type undo:
|
|
611
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
612
|
+
:type execution_context: typing.Union[str, int]
|
|
613
|
+
:type undo: bool
|
|
575
614
|
"""
|
|
576
615
|
|
|
577
616
|
...
|
|
578
617
|
|
|
579
618
|
def tracks_add(
|
|
580
|
-
override_context=None,
|
|
581
|
-
execution_context=None,
|
|
582
|
-
undo=None,
|
|
583
|
-
|
|
584
|
-
above_selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
619
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
620
|
+
execution_context: typing.Union[str, int] = None,
|
|
621
|
+
undo: bool = None,
|
|
622
|
+
above_selected: typing.Union[bool, typing.Any] = False,
|
|
585
623
|
):
|
|
586
624
|
"""Add NLA-Tracks above/after the selected tracks
|
|
587
625
|
|
|
588
|
-
:type override_context: typing.
|
|
589
|
-
:type execution_context: typing.
|
|
590
|
-
:type undo:
|
|
626
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
627
|
+
:type execution_context: typing.Union[str, int]
|
|
628
|
+
:type undo: bool
|
|
591
629
|
:param above_selected: Above Selected, Add a new NLA Track above every existing selected one
|
|
592
|
-
:type above_selected: typing.
|
|
630
|
+
:type above_selected: typing.Union[bool, typing.Any]
|
|
593
631
|
"""
|
|
594
632
|
|
|
595
633
|
...
|
|
596
634
|
|
|
597
|
-
def tracks_delete(
|
|
635
|
+
def tracks_delete(
|
|
636
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
637
|
+
execution_context: typing.Union[str, int] = None,
|
|
638
|
+
undo: bool = None,
|
|
639
|
+
):
|
|
598
640
|
"""Delete selected NLA-Tracks and the strips they contain
|
|
599
641
|
|
|
600
|
-
:type override_context: typing.
|
|
601
|
-
:type execution_context: typing.
|
|
602
|
-
:type undo:
|
|
642
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
643
|
+
:type execution_context: typing.Union[str, int]
|
|
644
|
+
:type undo: bool
|
|
603
645
|
"""
|
|
604
646
|
|
|
605
647
|
...
|
|
606
648
|
|
|
607
|
-
def transition_add(
|
|
649
|
+
def transition_add(
|
|
650
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
651
|
+
execution_context: typing.Union[str, int] = None,
|
|
652
|
+
undo: bool = None,
|
|
653
|
+
):
|
|
608
654
|
"""Add a transition strip between two adjacent selected strips
|
|
609
655
|
|
|
610
|
-
:type override_context: typing.
|
|
611
|
-
:type execution_context: typing.
|
|
612
|
-
:type undo:
|
|
656
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
657
|
+
:type execution_context: typing.Union[str, int]
|
|
658
|
+
:type undo: bool
|
|
613
659
|
"""
|
|
614
660
|
|
|
615
661
|
...
|
|
616
662
|
|
|
617
663
|
def tweakmode_enter(
|
|
618
|
-
override_context=None,
|
|
619
|
-
execution_context=None,
|
|
620
|
-
undo=None,
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
use_upper_stack_evaluation: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
664
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
665
|
+
execution_context: typing.Union[str, int] = None,
|
|
666
|
+
undo: bool = None,
|
|
667
|
+
isolate_action: typing.Union[bool, typing.Any] = False,
|
|
668
|
+
use_upper_stack_evaluation: typing.Union[bool, typing.Any] = False,
|
|
624
669
|
):
|
|
625
670
|
"""Enter tweaking mode for the action referenced by the active strip to edit its keyframes
|
|
626
671
|
|
|
627
|
-
:type override_context: typing.
|
|
628
|
-
:type execution_context: typing.
|
|
629
|
-
:type undo:
|
|
672
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
673
|
+
:type execution_context: typing.Union[str, int]
|
|
674
|
+
:type undo: bool
|
|
630
675
|
:param isolate_action: Isolate Action, Enable 'solo' on the NLA Track containing the active strip, to edit it without seeing the effects of the NLA stack
|
|
631
|
-
:type isolate_action: typing.
|
|
676
|
+
:type isolate_action: typing.Union[bool, typing.Any]
|
|
632
677
|
:param use_upper_stack_evaluation: Evaluate Upper Stack, In tweak mode, display the effects of the tracks above the tweak strip
|
|
633
|
-
:type use_upper_stack_evaluation: typing.
|
|
678
|
+
:type use_upper_stack_evaluation: typing.Union[bool, typing.Any]
|
|
634
679
|
"""
|
|
635
680
|
|
|
636
681
|
...
|
|
637
682
|
|
|
638
683
|
def tweakmode_exit(
|
|
639
|
-
override_context=None,
|
|
640
|
-
execution_context=None,
|
|
641
|
-
undo=None,
|
|
642
|
-
|
|
643
|
-
isolate_action: 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
|
+
isolate_action: typing.Union[bool, typing.Any] = False,
|
|
644
688
|
):
|
|
645
689
|
"""Exit tweaking mode for the action referenced by the active strip
|
|
646
690
|
|
|
647
|
-
:type override_context: typing.
|
|
648
|
-
:type execution_context: typing.
|
|
649
|
-
:type undo:
|
|
691
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
692
|
+
:type execution_context: typing.Union[str, int]
|
|
693
|
+
:type undo: bool
|
|
650
694
|
:param isolate_action: Isolate Action, Disable 'solo' on any of the NLA Tracks after exiting tweak mode to get things back to normal
|
|
651
|
-
:type isolate_action: typing.
|
|
695
|
+
:type isolate_action: typing.Union[bool, typing.Any]
|
|
652
696
|
"""
|
|
653
697
|
|
|
654
698
|
...
|
|
655
699
|
|
|
656
|
-
def view_all(
|
|
700
|
+
def view_all(
|
|
701
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
702
|
+
execution_context: typing.Union[str, int] = None,
|
|
703
|
+
undo: bool = None,
|
|
704
|
+
):
|
|
657
705
|
"""Reset viewable area to show full strips range
|
|
658
706
|
|
|
659
|
-
:type override_context: typing.
|
|
660
|
-
:type execution_context: typing.
|
|
661
|
-
:type undo:
|
|
707
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
708
|
+
:type execution_context: typing.Union[str, int]
|
|
709
|
+
:type undo: bool
|
|
662
710
|
"""
|
|
663
711
|
|
|
664
712
|
...
|
|
665
713
|
|
|
666
|
-
def view_frame(
|
|
714
|
+
def view_frame(
|
|
715
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
716
|
+
execution_context: typing.Union[str, int] = None,
|
|
717
|
+
undo: bool = None,
|
|
718
|
+
):
|
|
667
719
|
"""Move the view to the current frame
|
|
668
720
|
|
|
669
|
-
:type override_context: typing.
|
|
670
|
-
:type execution_context: typing.
|
|
671
|
-
:type undo:
|
|
721
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
722
|
+
:type execution_context: typing.Union[str, int]
|
|
723
|
+
:type undo: bool
|
|
672
724
|
"""
|
|
673
725
|
|
|
674
726
|
...
|
|
675
727
|
|
|
676
|
-
def view_selected(
|
|
728
|
+
def view_selected(
|
|
729
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
730
|
+
execution_context: typing.Union[str, int] = None,
|
|
731
|
+
undo: bool = None,
|
|
732
|
+
):
|
|
677
733
|
"""Reset viewable area to show selected strips range
|
|
678
734
|
|
|
679
|
-
:type override_context: typing.
|
|
680
|
-
:type execution_context: typing.
|
|
681
|
-
:type undo:
|
|
735
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
736
|
+
:type execution_context: typing.Union[str, int]
|
|
737
|
+
:type undo: bool
|
|
682
738
|
"""
|
|
683
739
|
|
|
684
740
|
...
|