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.
- 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/pose/__init__.pyi
CHANGED
|
@@ -1,806 +1,901 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def armature_apply(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
13
|
-
*,
|
|
14
|
-
selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
selected: typing.Union[bool, typing.Any] = False,
|
|
15
11
|
):
|
|
16
12
|
"""Apply the current pose as the new rest pose
|
|
17
13
|
|
|
18
|
-
:type override_context: typing.
|
|
19
|
-
:type execution_context: typing.
|
|
20
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
21
17
|
:param selected: Selected Only, Only apply the selected bones (with propagation to children)
|
|
22
|
-
:type selected: typing.
|
|
18
|
+
:type selected: typing.Union[bool, typing.Any]
|
|
23
19
|
"""
|
|
24
20
|
|
|
25
21
|
...
|
|
26
22
|
|
|
27
23
|
def autoside_names(
|
|
28
|
-
override_context: typing.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
undo: typing.Optional[bool] = None,
|
|
33
|
-
*,
|
|
34
|
-
axis: typing.Optional[typing.Any] = "XAXIS",
|
|
24
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
25
|
+
execution_context: typing.Union[str, int] = None,
|
|
26
|
+
undo: bool = None,
|
|
27
|
+
axis: typing.Any = "XAXIS",
|
|
35
28
|
):
|
|
36
29
|
"""Automatically renames the selected bones according to which side of the target axis they fall on
|
|
37
30
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
32
|
+
:type execution_context: typing.Union[str, int]
|
|
33
|
+
:type undo: bool
|
|
34
|
+
:param axis: Axis, Axis to tag names with
|
|
35
|
+
|
|
36
|
+
XAXIS
|
|
37
|
+
X-Axis -- Left/Right.
|
|
38
|
+
|
|
39
|
+
YAXIS
|
|
40
|
+
Y-Axis -- Front/Back.
|
|
41
|
+
|
|
42
|
+
ZAXIS
|
|
43
|
+
Z-Axis -- Top/Bottom.
|
|
44
|
+
:type axis: typing.Any
|
|
43
45
|
"""
|
|
44
46
|
|
|
45
47
|
...
|
|
46
48
|
|
|
47
49
|
def blend_to_neighbor(
|
|
48
|
-
override_context: typing.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
57
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
58
|
-
axis_lock: typing.Optional[typing.Any] = "FREE",
|
|
50
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
51
|
+
execution_context: typing.Union[str, int] = None,
|
|
52
|
+
undo: bool = None,
|
|
53
|
+
factor: typing.Any = 0.5,
|
|
54
|
+
prev_frame: typing.Any = 0,
|
|
55
|
+
next_frame: typing.Any = 0,
|
|
56
|
+
channels: typing.Any = "ALL",
|
|
57
|
+
axis_lock: typing.Any = "FREE",
|
|
59
58
|
):
|
|
60
59
|
"""Blend from current position to previous or next keyframe
|
|
61
60
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
64
|
+
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
65
|
+
:type factor: typing.Any
|
|
66
|
+
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
67
|
+
:type prev_frame: typing.Any
|
|
68
|
+
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
69
|
+
:type next_frame: typing.Any
|
|
70
|
+
:param channels: Channels, Set of properties that are affected
|
|
71
|
+
|
|
72
|
+
ALL
|
|
73
|
+
All Properties -- All properties, including transforms, bendy bone shape, and custom properties.
|
|
74
|
+
|
|
75
|
+
LOC
|
|
76
|
+
Location -- Location only.
|
|
77
|
+
|
|
78
|
+
ROT
|
|
79
|
+
Rotation -- Rotation only.
|
|
80
|
+
|
|
81
|
+
SIZE
|
|
82
|
+
Scale -- Scale only.
|
|
83
|
+
|
|
84
|
+
BBONE
|
|
85
|
+
Bendy Bone -- Bendy Bone shape properties.
|
|
86
|
+
|
|
87
|
+
CUSTOM
|
|
88
|
+
Custom Properties -- Custom properties.
|
|
89
|
+
:type channels: typing.Any
|
|
90
|
+
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
91
|
+
|
|
92
|
+
FREE
|
|
93
|
+
Free -- All axes are affected.
|
|
94
|
+
|
|
95
|
+
X
|
|
96
|
+
X -- Only X-axis transforms are affected.
|
|
97
|
+
|
|
98
|
+
Y
|
|
99
|
+
Y -- Only Y-axis transforms are affected.
|
|
100
|
+
|
|
101
|
+
Z
|
|
102
|
+
Z -- Only Z-axis transforms are affected.
|
|
103
|
+
:type axis_lock: typing.Any
|
|
75
104
|
"""
|
|
76
105
|
|
|
77
106
|
...
|
|
78
107
|
|
|
79
108
|
def blend_with_rest(
|
|
80
|
-
override_context: typing.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
89
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
90
|
-
axis_lock: typing.Optional[typing.Any] = "FREE",
|
|
109
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
110
|
+
execution_context: typing.Union[str, int] = None,
|
|
111
|
+
undo: bool = None,
|
|
112
|
+
factor: typing.Any = 0.5,
|
|
113
|
+
prev_frame: typing.Any = 0,
|
|
114
|
+
next_frame: typing.Any = 0,
|
|
115
|
+
channels: typing.Any = "ALL",
|
|
116
|
+
axis_lock: typing.Any = "FREE",
|
|
91
117
|
):
|
|
92
118
|
"""Make the current pose more similar to, or further away from, the rest pose
|
|
93
119
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
120
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
121
|
+
:type execution_context: typing.Union[str, int]
|
|
122
|
+
:type undo: bool
|
|
123
|
+
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
124
|
+
:type factor: typing.Any
|
|
125
|
+
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
126
|
+
:type prev_frame: typing.Any
|
|
127
|
+
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
128
|
+
:type next_frame: typing.Any
|
|
129
|
+
:param channels: Channels, Set of properties that are affected
|
|
130
|
+
|
|
131
|
+
ALL
|
|
132
|
+
All Properties -- All properties, including transforms, bendy bone shape, and custom properties.
|
|
133
|
+
|
|
134
|
+
LOC
|
|
135
|
+
Location -- Location only.
|
|
136
|
+
|
|
137
|
+
ROT
|
|
138
|
+
Rotation -- Rotation only.
|
|
139
|
+
|
|
140
|
+
SIZE
|
|
141
|
+
Scale -- Scale only.
|
|
142
|
+
|
|
143
|
+
BBONE
|
|
144
|
+
Bendy Bone -- Bendy Bone shape properties.
|
|
145
|
+
|
|
146
|
+
CUSTOM
|
|
147
|
+
Custom Properties -- Custom properties.
|
|
148
|
+
:type channels: typing.Any
|
|
149
|
+
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
150
|
+
|
|
151
|
+
FREE
|
|
152
|
+
Free -- All axes are affected.
|
|
153
|
+
|
|
154
|
+
X
|
|
155
|
+
X -- Only X-axis transforms are affected.
|
|
156
|
+
|
|
157
|
+
Y
|
|
158
|
+
Y -- Only Y-axis transforms are affected.
|
|
159
|
+
|
|
160
|
+
Z
|
|
161
|
+
Z -- Only Z-axis transforms are affected.
|
|
162
|
+
:type axis_lock: typing.Any
|
|
107
163
|
"""
|
|
108
164
|
|
|
109
165
|
...
|
|
110
166
|
|
|
111
167
|
def breakdown(
|
|
112
|
-
override_context: typing.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
121
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
122
|
-
axis_lock: typing.Optional[typing.Any] = "FREE",
|
|
168
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
169
|
+
execution_context: typing.Union[str, int] = None,
|
|
170
|
+
undo: bool = None,
|
|
171
|
+
factor: typing.Any = 0.5,
|
|
172
|
+
prev_frame: typing.Any = 0,
|
|
173
|
+
next_frame: typing.Any = 0,
|
|
174
|
+
channels: typing.Any = "ALL",
|
|
175
|
+
axis_lock: typing.Any = "FREE",
|
|
123
176
|
):
|
|
124
177
|
"""Create a suitable breakdown pose on the current frame
|
|
125
178
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
179
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
180
|
+
:type execution_context: typing.Union[str, int]
|
|
181
|
+
:type undo: bool
|
|
182
|
+
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
183
|
+
:type factor: typing.Any
|
|
184
|
+
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
185
|
+
:type prev_frame: typing.Any
|
|
186
|
+
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
187
|
+
:type next_frame: typing.Any
|
|
188
|
+
:param channels: Channels, Set of properties that are affected
|
|
189
|
+
|
|
190
|
+
ALL
|
|
191
|
+
All Properties -- All properties, including transforms, bendy bone shape, and custom properties.
|
|
192
|
+
|
|
193
|
+
LOC
|
|
194
|
+
Location -- Location only.
|
|
195
|
+
|
|
196
|
+
ROT
|
|
197
|
+
Rotation -- Rotation only.
|
|
198
|
+
|
|
199
|
+
SIZE
|
|
200
|
+
Scale -- Scale only.
|
|
201
|
+
|
|
202
|
+
BBONE
|
|
203
|
+
Bendy Bone -- Bendy Bone shape properties.
|
|
204
|
+
|
|
205
|
+
CUSTOM
|
|
206
|
+
Custom Properties -- Custom properties.
|
|
207
|
+
:type channels: typing.Any
|
|
208
|
+
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
209
|
+
|
|
210
|
+
FREE
|
|
211
|
+
Free -- All axes are affected.
|
|
212
|
+
|
|
213
|
+
X
|
|
214
|
+
X -- Only X-axis transforms are affected.
|
|
215
|
+
|
|
216
|
+
Y
|
|
217
|
+
Y -- Only Y-axis transforms are affected.
|
|
218
|
+
|
|
219
|
+
Z
|
|
220
|
+
Z -- Only Z-axis transforms are affected.
|
|
221
|
+
:type axis_lock: typing.Any
|
|
139
222
|
"""
|
|
140
223
|
|
|
141
224
|
...
|
|
142
225
|
|
|
143
226
|
def constraint_add(
|
|
144
|
-
override_context: typing.
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
undo: typing.Optional[bool] = None,
|
|
149
|
-
*,
|
|
150
|
-
type: typing.Optional[typing.Union[str, int]] = "",
|
|
227
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
228
|
+
execution_context: typing.Union[str, int] = None,
|
|
229
|
+
undo: bool = None,
|
|
230
|
+
type: typing.Any = "",
|
|
151
231
|
):
|
|
152
232
|
"""Add a constraint to the active bone
|
|
153
233
|
|
|
154
|
-
:type override_context: typing.
|
|
155
|
-
:type execution_context: typing.
|
|
156
|
-
:type undo:
|
|
234
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
235
|
+
:type execution_context: typing.Union[str, int]
|
|
236
|
+
:type undo: bool
|
|
157
237
|
:param type: Type
|
|
158
|
-
:type type: typing.
|
|
238
|
+
:type type: typing.Any
|
|
159
239
|
"""
|
|
160
240
|
|
|
161
241
|
...
|
|
162
242
|
|
|
163
243
|
def constraint_add_with_targets(
|
|
164
|
-
override_context: typing.
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
undo: typing.Optional[bool] = None,
|
|
169
|
-
*,
|
|
170
|
-
type: typing.Optional[typing.Union[str, int]] = "",
|
|
244
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
245
|
+
execution_context: typing.Union[str, int] = None,
|
|
246
|
+
undo: bool = None,
|
|
247
|
+
type: typing.Any = "",
|
|
171
248
|
):
|
|
172
249
|
"""Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
|
|
173
250
|
|
|
174
|
-
:type override_context: typing.
|
|
175
|
-
:type execution_context: typing.
|
|
176
|
-
:type undo:
|
|
251
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
252
|
+
:type execution_context: typing.Union[str, int]
|
|
253
|
+
:type undo: bool
|
|
177
254
|
:param type: Type
|
|
178
|
-
:type type: typing.
|
|
255
|
+
:type type: typing.Any
|
|
179
256
|
"""
|
|
180
257
|
|
|
181
258
|
...
|
|
182
259
|
|
|
183
260
|
def constraints_clear(
|
|
184
|
-
override_context: typing.
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
188
|
-
undo: typing.Optional[bool] = None,
|
|
261
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
262
|
+
execution_context: typing.Union[str, int] = None,
|
|
263
|
+
undo: bool = None,
|
|
189
264
|
):
|
|
190
265
|
"""Clear all constraints from the selected bones
|
|
191
266
|
|
|
192
|
-
:type override_context: typing.
|
|
193
|
-
:type execution_context: typing.
|
|
194
|
-
:type undo:
|
|
267
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
+
:type execution_context: typing.Union[str, int]
|
|
269
|
+
:type undo: bool
|
|
195
270
|
"""
|
|
196
271
|
|
|
197
272
|
...
|
|
198
273
|
|
|
199
274
|
def constraints_copy(
|
|
200
|
-
override_context: typing.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
204
|
-
undo: typing.Optional[bool] = None,
|
|
275
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
276
|
+
execution_context: typing.Union[str, int] = None,
|
|
277
|
+
undo: bool = None,
|
|
205
278
|
):
|
|
206
279
|
"""Copy constraints to other selected bones
|
|
207
280
|
|
|
208
|
-
:type override_context: typing.
|
|
209
|
-
:type execution_context: typing.
|
|
210
|
-
:type undo:
|
|
281
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
282
|
+
:type execution_context: typing.Union[str, int]
|
|
283
|
+
:type undo: bool
|
|
211
284
|
"""
|
|
212
285
|
|
|
213
286
|
...
|
|
214
287
|
|
|
215
288
|
def copy(
|
|
216
|
-
override_context: typing.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
220
|
-
undo: typing.Optional[bool] = None,
|
|
289
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
290
|
+
execution_context: typing.Union[str, int] = None,
|
|
291
|
+
undo: bool = None,
|
|
221
292
|
):
|
|
222
293
|
"""Copy the current pose of the selected bones to the internal clipboard
|
|
223
294
|
|
|
224
|
-
:type override_context: typing.
|
|
225
|
-
:type execution_context: typing.
|
|
226
|
-
:type undo:
|
|
295
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
296
|
+
:type execution_context: typing.Union[str, int]
|
|
297
|
+
:type undo: bool
|
|
227
298
|
"""
|
|
228
299
|
|
|
229
300
|
...
|
|
230
301
|
|
|
231
302
|
def flip_names(
|
|
232
|
-
override_context: typing.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
undo: typing.Optional[bool] = None,
|
|
237
|
-
*,
|
|
238
|
-
do_strip_numbers: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
303
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
304
|
+
execution_context: typing.Union[str, int] = None,
|
|
305
|
+
undo: bool = None,
|
|
306
|
+
do_strip_numbers: typing.Union[bool, typing.Any] = False,
|
|
239
307
|
):
|
|
240
308
|
"""Flips (and corrects) the axis suffixes of the names of selected bones
|
|
241
309
|
|
|
242
|
-
:type override_context: typing.
|
|
243
|
-
:type execution_context: typing.
|
|
244
|
-
:type undo:
|
|
245
|
-
:param do_strip_numbers: May result in incoherent naming in some cases
|
|
246
|
-
:type do_strip_numbers: typing.
|
|
310
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
311
|
+
:type execution_context: typing.Union[str, int]
|
|
312
|
+
:type undo: bool
|
|
313
|
+
:param do_strip_numbers: Strip Numbers, Try to remove right-most dot-number from flipped names.Warning: May result in incoherent naming in some cases
|
|
314
|
+
:type do_strip_numbers: typing.Union[bool, typing.Any]
|
|
247
315
|
"""
|
|
248
316
|
|
|
249
317
|
...
|
|
250
318
|
|
|
251
319
|
def hide(
|
|
252
|
-
override_context: typing.
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
undo: typing.Optional[bool] = None,
|
|
257
|
-
*,
|
|
258
|
-
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
320
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
321
|
+
execution_context: typing.Union[str, int] = None,
|
|
322
|
+
undo: bool = None,
|
|
323
|
+
unselected: typing.Union[bool, typing.Any] = False,
|
|
259
324
|
):
|
|
260
325
|
"""Tag selected bones to not be visible in Pose Mode
|
|
261
326
|
|
|
262
|
-
:type override_context: typing.
|
|
263
|
-
:type execution_context: typing.
|
|
264
|
-
:type undo:
|
|
327
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
328
|
+
:type execution_context: typing.Union[str, int]
|
|
329
|
+
:type undo: bool
|
|
265
330
|
:param unselected: Unselected
|
|
266
|
-
:type unselected: typing.
|
|
331
|
+
:type unselected: typing.Union[bool, typing.Any]
|
|
267
332
|
"""
|
|
268
333
|
|
|
269
334
|
...
|
|
270
335
|
|
|
271
336
|
def ik_add(
|
|
272
|
-
override_context: typing.
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
undo: typing.Optional[bool] = None,
|
|
277
|
-
*,
|
|
278
|
-
with_targets: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
337
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
338
|
+
execution_context: typing.Union[str, int] = None,
|
|
339
|
+
undo: bool = None,
|
|
340
|
+
with_targets: typing.Union[bool, typing.Any] = True,
|
|
279
341
|
):
|
|
280
342
|
"""Add IK Constraint to the active Bone
|
|
281
343
|
|
|
282
|
-
:type override_context: typing.
|
|
283
|
-
:type execution_context: typing.
|
|
284
|
-
:type undo:
|
|
344
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
345
|
+
:type execution_context: typing.Union[str, int]
|
|
346
|
+
:type undo: bool
|
|
285
347
|
:param with_targets: With Targets, Assign IK Constraint with targets derived from the select bones/objects
|
|
286
|
-
:type with_targets: typing.
|
|
348
|
+
:type with_targets: typing.Union[bool, typing.Any]
|
|
287
349
|
"""
|
|
288
350
|
|
|
289
351
|
...
|
|
290
352
|
|
|
291
353
|
def ik_clear(
|
|
292
|
-
override_context: typing.
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
296
|
-
undo: typing.Optional[bool] = None,
|
|
354
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
355
|
+
execution_context: typing.Union[str, int] = None,
|
|
356
|
+
undo: bool = None,
|
|
297
357
|
):
|
|
298
358
|
"""Remove all IK Constraints from selected bones
|
|
299
359
|
|
|
300
|
-
:type override_context: typing.
|
|
301
|
-
:type execution_context: typing.
|
|
302
|
-
:type undo:
|
|
360
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
361
|
+
:type execution_context: typing.Union[str, int]
|
|
362
|
+
:type undo: bool
|
|
303
363
|
"""
|
|
304
364
|
|
|
305
365
|
...
|
|
306
366
|
|
|
307
367
|
def loc_clear(
|
|
308
|
-
override_context: typing.
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
312
|
-
undo: typing.Optional[bool] = None,
|
|
368
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
369
|
+
execution_context: typing.Union[str, int] = None,
|
|
370
|
+
undo: bool = None,
|
|
313
371
|
):
|
|
314
372
|
"""Reset locations of selected bones to their default values
|
|
315
373
|
|
|
316
|
-
:type override_context: typing.
|
|
317
|
-
:type execution_context: typing.
|
|
318
|
-
:type undo:
|
|
374
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
375
|
+
:type execution_context: typing.Union[str, int]
|
|
376
|
+
:type undo: bool
|
|
319
377
|
"""
|
|
320
378
|
|
|
321
379
|
...
|
|
322
380
|
|
|
323
381
|
def paste(
|
|
324
|
-
override_context: typing.
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
*,
|
|
330
|
-
flipped: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
331
|
-
selected_mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
382
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
383
|
+
execution_context: typing.Union[str, int] = None,
|
|
384
|
+
undo: bool = None,
|
|
385
|
+
flipped: typing.Union[bool, typing.Any] = False,
|
|
386
|
+
selected_mask: typing.Union[bool, typing.Any] = False,
|
|
332
387
|
):
|
|
333
388
|
"""Paste the stored pose on to the current pose
|
|
334
389
|
|
|
335
|
-
:type override_context: typing.
|
|
336
|
-
:type execution_context: typing.
|
|
337
|
-
:type undo:
|
|
390
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
391
|
+
:type execution_context: typing.Union[str, int]
|
|
392
|
+
:type undo: bool
|
|
338
393
|
:param flipped: Flipped on X-Axis, Paste the stored pose flipped on to current pose
|
|
339
|
-
:type flipped: typing.
|
|
394
|
+
:type flipped: typing.Union[bool, typing.Any]
|
|
340
395
|
:param selected_mask: On Selected Only, Only paste the stored pose on to selected bones in the current pose
|
|
341
|
-
:type selected_mask: typing.
|
|
396
|
+
:type selected_mask: typing.Union[bool, typing.Any]
|
|
342
397
|
"""
|
|
343
398
|
|
|
344
399
|
...
|
|
345
400
|
|
|
346
401
|
def paths_calculate(
|
|
347
|
-
override_context: typing.
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
display_type: typing.Optional[typing.Union[str, int]] = "RANGE",
|
|
354
|
-
range: typing.Optional[typing.Union[str, int]] = "SCENE",
|
|
355
|
-
bake_location: typing.Optional[typing.Union[str, int]] = "HEADS",
|
|
402
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
403
|
+
execution_context: typing.Union[str, int] = None,
|
|
404
|
+
undo: bool = None,
|
|
405
|
+
display_type: typing.Any = "RANGE",
|
|
406
|
+
range: typing.Any = "SCENE",
|
|
407
|
+
bake_location: typing.Any = "HEADS",
|
|
356
408
|
):
|
|
357
409
|
"""Calculate paths for the selected bones
|
|
358
410
|
|
|
359
|
-
:type override_context: typing.
|
|
360
|
-
:type execution_context: typing.
|
|
361
|
-
:type undo:
|
|
411
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
412
|
+
:type execution_context: typing.Union[str, int]
|
|
413
|
+
:type undo: bool
|
|
362
414
|
:param display_type: Display type
|
|
363
|
-
:type display_type: typing.
|
|
415
|
+
:type display_type: typing.Any
|
|
364
416
|
:param range: Computation Range
|
|
365
|
-
:type range: typing.
|
|
417
|
+
:type range: typing.Any
|
|
366
418
|
:param bake_location: Bake Location, Which point on the bones is used when calculating paths
|
|
367
|
-
:type bake_location: typing.
|
|
419
|
+
:type bake_location: typing.Any
|
|
368
420
|
"""
|
|
369
421
|
|
|
370
422
|
...
|
|
371
423
|
|
|
372
424
|
def paths_clear(
|
|
373
|
-
override_context: typing.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
384
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
385
|
-
:type undo: typing.Optional[bool]
|
|
425
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
426
|
+
execution_context: typing.Union[str, int] = None,
|
|
427
|
+
undo: bool = None,
|
|
428
|
+
only_selected: typing.Union[bool, typing.Any] = False,
|
|
429
|
+
):
|
|
430
|
+
"""Undocumented, consider contributing.
|
|
431
|
+
|
|
432
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
433
|
+
:type execution_context: typing.Union[str, int]
|
|
434
|
+
:type undo: bool
|
|
386
435
|
:param only_selected: Only Selected, Only clear motion paths of selected bones
|
|
387
|
-
:type only_selected: typing.
|
|
436
|
+
:type only_selected: typing.Union[bool, typing.Any]
|
|
388
437
|
"""
|
|
389
438
|
|
|
390
439
|
...
|
|
391
440
|
|
|
392
441
|
def paths_range_update(
|
|
393
|
-
override_context: typing.
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
397
|
-
undo: typing.Optional[bool] = None,
|
|
442
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
443
|
+
execution_context: typing.Union[str, int] = None,
|
|
444
|
+
undo: bool = None,
|
|
398
445
|
):
|
|
399
446
|
"""Update frame range for motion paths from the Scene's current frame range
|
|
400
447
|
|
|
401
|
-
:type override_context: typing.
|
|
402
|
-
:type execution_context: typing.
|
|
403
|
-
:type undo:
|
|
448
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
449
|
+
:type execution_context: typing.Union[str, int]
|
|
450
|
+
:type undo: bool
|
|
404
451
|
"""
|
|
405
452
|
|
|
406
453
|
...
|
|
407
454
|
|
|
408
455
|
def paths_update(
|
|
409
|
-
override_context: typing.
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
413
|
-
undo: typing.Optional[bool] = None,
|
|
456
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
457
|
+
execution_context: typing.Union[str, int] = None,
|
|
458
|
+
undo: bool = None,
|
|
414
459
|
):
|
|
415
460
|
"""Recalculate paths for bones that already have them
|
|
416
461
|
|
|
417
|
-
:type override_context: typing.
|
|
418
|
-
:type execution_context: typing.
|
|
419
|
-
:type undo:
|
|
462
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
463
|
+
:type execution_context: typing.Union[str, int]
|
|
464
|
+
:type undo: bool
|
|
420
465
|
"""
|
|
421
466
|
|
|
422
467
|
...
|
|
423
468
|
|
|
424
469
|
def propagate(
|
|
425
|
-
override_context: typing.
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
*,
|
|
431
|
-
mode: typing.Optional[typing.Any] = "NEXT_KEY",
|
|
432
|
-
end_frame: typing.Optional[typing.Any] = 250.0,
|
|
470
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
471
|
+
execution_context: typing.Union[str, int] = None,
|
|
472
|
+
undo: bool = None,
|
|
473
|
+
mode: typing.Any = "NEXT_KEY",
|
|
474
|
+
end_frame: typing.Any = 250.0,
|
|
433
475
|
):
|
|
434
476
|
"""Copy selected aspects of the current pose to subsequent poses already keyframed
|
|
435
477
|
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
478
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
479
|
+
:type execution_context: typing.Union[str, int]
|
|
480
|
+
:type undo: bool
|
|
481
|
+
:param mode: Terminate Mode, Method used to determine when to stop propagating pose to keyframes
|
|
482
|
+
|
|
483
|
+
NEXT_KEY
|
|
484
|
+
To Next Keyframe -- Propagate pose to first keyframe following the current frame only.
|
|
485
|
+
|
|
486
|
+
LAST_KEY
|
|
487
|
+
To Last Keyframe -- Propagate pose to the last keyframe only (i.e. making action cyclic).
|
|
488
|
+
|
|
489
|
+
BEFORE_FRAME
|
|
490
|
+
Before Frame -- Propagate pose to all keyframes between current frame and 'Frame' property.
|
|
491
|
+
|
|
492
|
+
BEFORE_END
|
|
493
|
+
Before Last Keyframe -- Propagate pose to all keyframes from current frame until no more are found.
|
|
494
|
+
|
|
495
|
+
SELECTED_KEYS
|
|
496
|
+
On Selected Keyframes -- Propagate pose to all selected keyframes.
|
|
497
|
+
|
|
498
|
+
SELECTED_MARKERS
|
|
499
|
+
On Selected Markers -- Propagate pose to all keyframes occurring on frames with Scene Markers after the current frame.
|
|
500
|
+
:type mode: typing.Any
|
|
501
|
+
:param end_frame: End Frame, Frame to stop propagating frames to (for 'Before Frame' mode)
|
|
502
|
+
:type end_frame: typing.Any
|
|
443
503
|
"""
|
|
444
504
|
|
|
445
505
|
...
|
|
446
506
|
|
|
447
507
|
def push(
|
|
448
|
-
override_context: typing.
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
457
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
458
|
-
axis_lock: typing.Optional[typing.Any] = "FREE",
|
|
508
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
509
|
+
execution_context: typing.Union[str, int] = None,
|
|
510
|
+
undo: bool = None,
|
|
511
|
+
factor: typing.Any = 0.5,
|
|
512
|
+
prev_frame: typing.Any = 0,
|
|
513
|
+
next_frame: typing.Any = 0,
|
|
514
|
+
channels: typing.Any = "ALL",
|
|
515
|
+
axis_lock: typing.Any = "FREE",
|
|
459
516
|
):
|
|
460
517
|
"""Exaggerate the current pose in regards to the breakdown pose
|
|
461
518
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
519
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
520
|
+
:type execution_context: typing.Union[str, int]
|
|
521
|
+
:type undo: bool
|
|
522
|
+
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
523
|
+
:type factor: typing.Any
|
|
524
|
+
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
525
|
+
:type prev_frame: typing.Any
|
|
526
|
+
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
527
|
+
:type next_frame: typing.Any
|
|
528
|
+
:param channels: Channels, Set of properties that are affected
|
|
529
|
+
|
|
530
|
+
ALL
|
|
531
|
+
All Properties -- All properties, including transforms, bendy bone shape, and custom properties.
|
|
532
|
+
|
|
533
|
+
LOC
|
|
534
|
+
Location -- Location only.
|
|
535
|
+
|
|
536
|
+
ROT
|
|
537
|
+
Rotation -- Rotation only.
|
|
538
|
+
|
|
539
|
+
SIZE
|
|
540
|
+
Scale -- Scale only.
|
|
541
|
+
|
|
542
|
+
BBONE
|
|
543
|
+
Bendy Bone -- Bendy Bone shape properties.
|
|
544
|
+
|
|
545
|
+
CUSTOM
|
|
546
|
+
Custom Properties -- Custom properties.
|
|
547
|
+
:type channels: typing.Any
|
|
548
|
+
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
549
|
+
|
|
550
|
+
FREE
|
|
551
|
+
Free -- All axes are affected.
|
|
552
|
+
|
|
553
|
+
X
|
|
554
|
+
X -- Only X-axis transforms are affected.
|
|
555
|
+
|
|
556
|
+
Y
|
|
557
|
+
Y -- Only Y-axis transforms are affected.
|
|
558
|
+
|
|
559
|
+
Z
|
|
560
|
+
Z -- Only Z-axis transforms are affected.
|
|
561
|
+
:type axis_lock: typing.Any
|
|
475
562
|
"""
|
|
476
563
|
|
|
477
564
|
...
|
|
478
565
|
|
|
479
566
|
def quaternions_flip(
|
|
480
|
-
override_context: typing.
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
484
|
-
undo: typing.Optional[bool] = None,
|
|
567
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
568
|
+
execution_context: typing.Union[str, int] = None,
|
|
569
|
+
undo: bool = None,
|
|
485
570
|
):
|
|
486
571
|
"""Flip quaternion values to achieve desired rotations, while maintaining the same orientations
|
|
487
572
|
|
|
488
|
-
:type override_context: typing.
|
|
489
|
-
:type execution_context: typing.
|
|
490
|
-
:type undo:
|
|
573
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
574
|
+
:type execution_context: typing.Union[str, int]
|
|
575
|
+
:type undo: bool
|
|
491
576
|
"""
|
|
492
577
|
|
|
493
578
|
...
|
|
494
579
|
|
|
495
580
|
def relax(
|
|
496
|
-
override_context: typing.
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
505
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
506
|
-
axis_lock: typing.Optional[typing.Any] = "FREE",
|
|
581
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
582
|
+
execution_context: typing.Union[str, int] = None,
|
|
583
|
+
undo: bool = None,
|
|
584
|
+
factor: typing.Any = 0.5,
|
|
585
|
+
prev_frame: typing.Any = 0,
|
|
586
|
+
next_frame: typing.Any = 0,
|
|
587
|
+
channels: typing.Any = "ALL",
|
|
588
|
+
axis_lock: typing.Any = "FREE",
|
|
507
589
|
):
|
|
508
590
|
"""Make the current pose more similar to its breakdown pose
|
|
509
591
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
592
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
593
|
+
:type execution_context: typing.Union[str, int]
|
|
594
|
+
:type undo: bool
|
|
595
|
+
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
596
|
+
:type factor: typing.Any
|
|
597
|
+
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
598
|
+
:type prev_frame: typing.Any
|
|
599
|
+
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
600
|
+
:type next_frame: typing.Any
|
|
601
|
+
:param channels: Channels, Set of properties that are affected
|
|
602
|
+
|
|
603
|
+
ALL
|
|
604
|
+
All Properties -- All properties, including transforms, bendy bone shape, and custom properties.
|
|
605
|
+
|
|
606
|
+
LOC
|
|
607
|
+
Location -- Location only.
|
|
608
|
+
|
|
609
|
+
ROT
|
|
610
|
+
Rotation -- Rotation only.
|
|
611
|
+
|
|
612
|
+
SIZE
|
|
613
|
+
Scale -- Scale only.
|
|
614
|
+
|
|
615
|
+
BBONE
|
|
616
|
+
Bendy Bone -- Bendy Bone shape properties.
|
|
617
|
+
|
|
618
|
+
CUSTOM
|
|
619
|
+
Custom Properties -- Custom properties.
|
|
620
|
+
:type channels: typing.Any
|
|
621
|
+
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
622
|
+
|
|
623
|
+
FREE
|
|
624
|
+
Free -- All axes are affected.
|
|
625
|
+
|
|
626
|
+
X
|
|
627
|
+
X -- Only X-axis transforms are affected.
|
|
628
|
+
|
|
629
|
+
Y
|
|
630
|
+
Y -- Only Y-axis transforms are affected.
|
|
631
|
+
|
|
632
|
+
Z
|
|
633
|
+
Z -- Only Z-axis transforms are affected.
|
|
634
|
+
:type axis_lock: typing.Any
|
|
523
635
|
"""
|
|
524
636
|
|
|
525
637
|
...
|
|
526
638
|
|
|
527
639
|
def reveal(
|
|
528
|
-
override_context: typing.
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
undo: typing.Optional[bool] = None,
|
|
533
|
-
*,
|
|
534
|
-
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
640
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
641
|
+
execution_context: typing.Union[str, int] = None,
|
|
642
|
+
undo: bool = None,
|
|
643
|
+
select: typing.Union[bool, typing.Any] = True,
|
|
535
644
|
):
|
|
536
645
|
"""Reveal all bones hidden in Pose Mode
|
|
537
646
|
|
|
538
|
-
:type override_context: typing.
|
|
539
|
-
:type execution_context: typing.
|
|
540
|
-
:type undo:
|
|
647
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
648
|
+
:type execution_context: typing.Union[str, int]
|
|
649
|
+
:type undo: bool
|
|
541
650
|
:param select: Select
|
|
542
|
-
:type select: typing.
|
|
651
|
+
:type select: typing.Union[bool, typing.Any]
|
|
543
652
|
"""
|
|
544
653
|
|
|
545
654
|
...
|
|
546
655
|
|
|
547
656
|
def rot_clear(
|
|
548
|
-
override_context: typing.
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
552
|
-
undo: typing.Optional[bool] = None,
|
|
657
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
658
|
+
execution_context: typing.Union[str, int] = None,
|
|
659
|
+
undo: bool = None,
|
|
553
660
|
):
|
|
554
661
|
"""Reset rotations of selected bones to their default values
|
|
555
662
|
|
|
556
|
-
:type override_context: typing.
|
|
557
|
-
:type execution_context: typing.
|
|
558
|
-
:type undo:
|
|
663
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
664
|
+
:type execution_context: typing.Union[str, int]
|
|
665
|
+
:type undo: bool
|
|
559
666
|
"""
|
|
560
667
|
|
|
561
668
|
...
|
|
562
669
|
|
|
563
670
|
def rotation_mode_set(
|
|
564
|
-
override_context: typing.
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
undo: typing.Optional[bool] = None,
|
|
569
|
-
*,
|
|
570
|
-
type: typing.Optional[typing.Union[str, int]] = "QUATERNION",
|
|
671
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
672
|
+
execution_context: typing.Union[str, int] = None,
|
|
673
|
+
undo: bool = None,
|
|
674
|
+
type: typing.Any = "QUATERNION",
|
|
571
675
|
):
|
|
572
676
|
"""Set the rotation representation used by selected bones
|
|
573
677
|
|
|
574
|
-
:type override_context: typing.
|
|
575
|
-
:type execution_context: typing.
|
|
576
|
-
:type undo:
|
|
678
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
679
|
+
:type execution_context: typing.Union[str, int]
|
|
680
|
+
:type undo: bool
|
|
577
681
|
:param type: Rotation Mode
|
|
578
|
-
:type type: typing.
|
|
682
|
+
:type type: typing.Any
|
|
579
683
|
"""
|
|
580
684
|
|
|
581
685
|
...
|
|
582
686
|
|
|
583
687
|
def scale_clear(
|
|
584
|
-
override_context: typing.
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
588
|
-
undo: typing.Optional[bool] = None,
|
|
688
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
689
|
+
execution_context: typing.Union[str, int] = None,
|
|
690
|
+
undo: bool = None,
|
|
589
691
|
):
|
|
590
692
|
"""Reset scaling of selected bones to their default values
|
|
591
693
|
|
|
592
|
-
:type override_context: typing.
|
|
593
|
-
:type execution_context: typing.
|
|
594
|
-
:type undo:
|
|
694
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
695
|
+
:type execution_context: typing.Union[str, int]
|
|
696
|
+
:type undo: bool
|
|
595
697
|
"""
|
|
596
698
|
|
|
597
699
|
...
|
|
598
700
|
|
|
599
701
|
def select_all(
|
|
600
|
-
override_context: typing.
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
undo: typing.Optional[bool] = None,
|
|
605
|
-
*,
|
|
606
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
702
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
703
|
+
execution_context: typing.Union[str, int] = None,
|
|
704
|
+
undo: bool = None,
|
|
705
|
+
action: typing.Any = "TOGGLE",
|
|
607
706
|
):
|
|
608
707
|
"""Toggle selection status of all bones
|
|
609
708
|
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
709
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
710
|
+
:type execution_context: typing.Union[str, int]
|
|
711
|
+
:type undo: bool
|
|
712
|
+
:param action: Action, Selection action to execute
|
|
713
|
+
|
|
714
|
+
TOGGLE
|
|
715
|
+
Toggle -- Toggle selection for all elements.
|
|
716
|
+
|
|
717
|
+
SELECT
|
|
718
|
+
Select -- Select all elements.
|
|
719
|
+
|
|
720
|
+
DESELECT
|
|
721
|
+
Deselect -- Deselect all elements.
|
|
722
|
+
|
|
723
|
+
INVERT
|
|
724
|
+
Invert -- Invert selection of all elements.
|
|
725
|
+
:type action: typing.Any
|
|
615
726
|
"""
|
|
616
727
|
|
|
617
728
|
...
|
|
618
729
|
|
|
619
730
|
def select_constraint_target(
|
|
620
|
-
override_context: typing.
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
624
|
-
undo: typing.Optional[bool] = None,
|
|
731
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
732
|
+
execution_context: typing.Union[str, int] = None,
|
|
733
|
+
undo: bool = None,
|
|
625
734
|
):
|
|
626
735
|
"""Select bones used as targets for the currently selected bones
|
|
627
736
|
|
|
628
|
-
:type override_context: typing.
|
|
629
|
-
:type execution_context: typing.
|
|
630
|
-
:type undo:
|
|
737
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
738
|
+
:type execution_context: typing.Union[str, int]
|
|
739
|
+
:type undo: bool
|
|
631
740
|
"""
|
|
632
741
|
|
|
633
742
|
...
|
|
634
743
|
|
|
635
744
|
def select_grouped(
|
|
636
|
-
override_context: typing.
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
*,
|
|
642
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
643
|
-
type: typing.Optional[typing.Any] = "COLLECTION",
|
|
745
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
746
|
+
execution_context: typing.Union[str, int] = None,
|
|
747
|
+
undo: bool = None,
|
|
748
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
749
|
+
type: typing.Any = "COLLECTION",
|
|
644
750
|
):
|
|
645
751
|
"""Select all visible bones grouped by similar properties
|
|
646
752
|
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
753
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
754
|
+
:type execution_context: typing.Union[str, int]
|
|
755
|
+
:type undo: bool
|
|
756
|
+
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
757
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
758
|
+
:param type: Type
|
|
759
|
+
|
|
760
|
+
COLLECTION
|
|
761
|
+
Collection -- Same collections as the active bone.
|
|
762
|
+
|
|
763
|
+
COLOR
|
|
764
|
+
Color -- Same color as the active bone.
|
|
765
|
+
|
|
766
|
+
KEYINGSET
|
|
767
|
+
Keying Set -- All bones affected by active Keying Set.
|
|
768
|
+
:type type: typing.Any
|
|
654
769
|
"""
|
|
655
770
|
|
|
656
771
|
...
|
|
657
772
|
|
|
658
773
|
def select_hierarchy(
|
|
659
|
-
override_context: typing.
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
*,
|
|
665
|
-
direction: typing.Optional[typing.Any] = "PARENT",
|
|
666
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
774
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
775
|
+
execution_context: typing.Union[str, int] = None,
|
|
776
|
+
undo: bool = None,
|
|
777
|
+
direction: typing.Any = "PARENT",
|
|
778
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
667
779
|
):
|
|
668
780
|
"""Select immediate parent/children of selected bones
|
|
669
781
|
|
|
670
|
-
:type override_context: typing.
|
|
671
|
-
:type execution_context: typing.
|
|
672
|
-
:type undo:
|
|
782
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
783
|
+
:type execution_context: typing.Union[str, int]
|
|
784
|
+
:type undo: bool
|
|
673
785
|
:param direction: Direction
|
|
674
|
-
:type direction: typing.
|
|
786
|
+
:type direction: typing.Any
|
|
675
787
|
:param extend: Extend, Extend the selection
|
|
676
|
-
:type extend: typing.
|
|
788
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
677
789
|
"""
|
|
678
790
|
|
|
679
791
|
...
|
|
680
792
|
|
|
681
793
|
def select_linked(
|
|
682
|
-
override_context: typing.
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
686
|
-
undo: typing.Optional[bool] = None,
|
|
794
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
795
|
+
execution_context: typing.Union[str, int] = None,
|
|
796
|
+
undo: bool = None,
|
|
687
797
|
):
|
|
688
798
|
"""Select all bones linked by parent/child connections to the current selection
|
|
689
799
|
|
|
690
|
-
:type override_context: typing.
|
|
691
|
-
:type execution_context: typing.
|
|
692
|
-
:type undo:
|
|
800
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
801
|
+
:type execution_context: typing.Union[str, int]
|
|
802
|
+
:type undo: bool
|
|
693
803
|
"""
|
|
694
804
|
|
|
695
805
|
...
|
|
696
806
|
|
|
697
807
|
def select_linked_pick(
|
|
698
|
-
override_context: typing.
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
undo: typing.Optional[bool] = None,
|
|
703
|
-
*,
|
|
704
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
808
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
809
|
+
execution_context: typing.Union[str, int] = None,
|
|
810
|
+
undo: bool = None,
|
|
811
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
705
812
|
):
|
|
706
813
|
"""Select bones linked by parent/child connections under the mouse cursor
|
|
707
814
|
|
|
708
|
-
:type override_context: typing.
|
|
709
|
-
:type execution_context: typing.
|
|
710
|
-
:type undo:
|
|
815
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
816
|
+
:type execution_context: typing.Union[str, int]
|
|
817
|
+
:type undo: bool
|
|
711
818
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
712
|
-
:type extend: typing.
|
|
819
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
713
820
|
"""
|
|
714
821
|
|
|
715
822
|
...
|
|
716
823
|
|
|
717
824
|
def select_mirror(
|
|
718
|
-
override_context: typing.
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
*,
|
|
724
|
-
only_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
725
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
825
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
826
|
+
execution_context: typing.Union[str, int] = None,
|
|
827
|
+
undo: bool = None,
|
|
828
|
+
only_active: typing.Union[bool, typing.Any] = False,
|
|
829
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
726
830
|
):
|
|
727
831
|
"""Mirror the bone selection
|
|
728
832
|
|
|
729
|
-
:type override_context: typing.
|
|
730
|
-
:type execution_context: typing.
|
|
731
|
-
:type undo:
|
|
833
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
834
|
+
:type execution_context: typing.Union[str, int]
|
|
835
|
+
:type undo: bool
|
|
732
836
|
:param only_active: Active Only, Only operate on the active bone
|
|
733
|
-
:type only_active: typing.
|
|
837
|
+
:type only_active: typing.Union[bool, typing.Any]
|
|
734
838
|
:param extend: Extend, Extend the selection
|
|
735
|
-
:type extend: typing.
|
|
839
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
736
840
|
"""
|
|
737
841
|
|
|
738
842
|
...
|
|
739
843
|
|
|
740
844
|
def select_parent(
|
|
741
|
-
override_context: typing.
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
745
|
-
undo: typing.Optional[bool] = None,
|
|
845
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
846
|
+
execution_context: typing.Union[str, int] = None,
|
|
847
|
+
undo: bool = None,
|
|
746
848
|
):
|
|
747
849
|
"""Select bones that are parents of the currently selected bones
|
|
748
850
|
|
|
749
|
-
:type override_context: typing.
|
|
750
|
-
:type execution_context: typing.
|
|
751
|
-
:type undo:
|
|
851
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
852
|
+
:type execution_context: typing.Union[str, int]
|
|
853
|
+
:type undo: bool
|
|
752
854
|
"""
|
|
753
855
|
|
|
754
856
|
...
|
|
755
857
|
|
|
756
858
|
def transforms_clear(
|
|
757
|
-
override_context: typing.
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
761
|
-
undo: typing.Optional[bool] = None,
|
|
859
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
860
|
+
execution_context: typing.Union[str, int] = None,
|
|
861
|
+
undo: bool = None,
|
|
762
862
|
):
|
|
763
863
|
"""Reset location, rotation, and scaling of selected bones to their default values
|
|
764
864
|
|
|
765
|
-
:type override_context: typing.
|
|
766
|
-
:type execution_context: typing.
|
|
767
|
-
:type undo:
|
|
865
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
866
|
+
:type execution_context: typing.Union[str, int]
|
|
867
|
+
:type undo: bool
|
|
768
868
|
"""
|
|
769
869
|
|
|
770
870
|
...
|
|
771
871
|
|
|
772
872
|
def user_transforms_clear(
|
|
773
|
-
override_context: typing.
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
undo: typing.Optional[bool] = None,
|
|
778
|
-
*,
|
|
779
|
-
only_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
873
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
874
|
+
execution_context: typing.Union[str, int] = None,
|
|
875
|
+
undo: bool = None,
|
|
876
|
+
only_selected: typing.Union[bool, typing.Any] = True,
|
|
780
877
|
):
|
|
781
878
|
"""Reset pose bone transforms to keyframed state
|
|
782
879
|
|
|
783
|
-
:type override_context: typing.
|
|
784
|
-
:type execution_context: typing.
|
|
785
|
-
:type undo:
|
|
880
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
881
|
+
:type execution_context: typing.Union[str, int]
|
|
882
|
+
:type undo: bool
|
|
786
883
|
:param only_selected: Only Selected, Only visible/selected bones
|
|
787
|
-
:type only_selected: typing.
|
|
884
|
+
:type only_selected: typing.Union[bool, typing.Any]
|
|
788
885
|
"""
|
|
789
886
|
|
|
790
887
|
...
|
|
791
888
|
|
|
792
889
|
def visual_transform_apply(
|
|
793
|
-
override_context: typing.
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
797
|
-
undo: typing.Optional[bool] = None,
|
|
890
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
891
|
+
execution_context: typing.Union[str, int] = None,
|
|
892
|
+
undo: bool = None,
|
|
798
893
|
):
|
|
799
894
|
"""Apply final constrained position of pose bones to their transform
|
|
800
895
|
|
|
801
|
-
:type override_context: typing.
|
|
802
|
-
:type execution_context: typing.
|
|
803
|
-
:type undo:
|
|
896
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
897
|
+
:type execution_context: typing.Union[str, int]
|
|
898
|
+
:type undo: bool
|
|
804
899
|
"""
|
|
805
900
|
|
|
806
901
|
...
|