fake-bpy-module 20240320__py3-none-any.whl → 20240322__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- 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 +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- 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 +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- 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 +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- 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 +253 -247
- bmesh/utils/__init__.pyi +54 -54
- 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 +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +642 -822
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +331 -429
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86358 -87091
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- 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 -1
- 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 +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.dist-info/RECORD +343 -0
- 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 +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- 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 +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- 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 +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240320.dist-info/RECORD +0 -343
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
bpy/ops/pose/__init__.pyi
CHANGED
|
@@ -4,39 +4,33 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def armature_apply(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
12
|
-
*,
|
|
13
|
-
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,
|
|
14
11
|
):
|
|
15
12
|
"""Apply the current pose as the new rest pose
|
|
16
13
|
|
|
17
|
-
:type override_context: typing.
|
|
18
|
-
:type execution_context: typing.
|
|
19
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
20
17
|
:param selected: Selected Only, Only apply the selected bones (with propagation to children)
|
|
21
|
-
:type selected: typing.
|
|
18
|
+
:type selected: typing.Union[bool, typing.Any]
|
|
22
19
|
"""
|
|
23
20
|
|
|
24
21
|
...
|
|
25
22
|
|
|
26
23
|
def autoside_names(
|
|
27
|
-
override_context: typing.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
undo: typing.Optional[bool] = None,
|
|
32
|
-
*,
|
|
33
|
-
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",
|
|
34
28
|
):
|
|
35
29
|
"""Automatically renames the selected bones according to which side of the target axis they fall on
|
|
36
30
|
|
|
37
|
-
:type override_context: typing.
|
|
38
|
-
:type execution_context: typing.
|
|
39
|
-
:type undo:
|
|
31
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
32
|
+
:type execution_context: typing.Union[str, int]
|
|
33
|
+
:type undo: bool
|
|
40
34
|
:param axis: Axis, Axis to tag names with
|
|
41
35
|
|
|
42
36
|
XAXIS
|
|
@@ -47,35 +41,32 @@ def autoside_names(
|
|
|
47
41
|
|
|
48
42
|
ZAXIS
|
|
49
43
|
Z-Axis -- Top/Bottom.
|
|
50
|
-
:type axis: typing.
|
|
44
|
+
:type axis: typing.Any
|
|
51
45
|
"""
|
|
52
46
|
|
|
53
47
|
...
|
|
54
48
|
|
|
55
49
|
def blend_to_neighbor(
|
|
56
|
-
override_context: typing.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
65
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
66
|
-
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",
|
|
67
58
|
):
|
|
68
59
|
"""Blend from current position to previous or next keyframe
|
|
69
60
|
|
|
70
|
-
:type override_context: typing.
|
|
71
|
-
:type execution_context: typing.
|
|
72
|
-
:type undo:
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
73
64
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
74
|
-
:type factor: typing.
|
|
65
|
+
:type factor: typing.Any
|
|
75
66
|
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
76
|
-
:type prev_frame: typing.
|
|
67
|
+
:type prev_frame: typing.Any
|
|
77
68
|
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
78
|
-
:type next_frame: typing.
|
|
69
|
+
:type next_frame: typing.Any
|
|
79
70
|
:param channels: Channels, Set of properties that are affected
|
|
80
71
|
|
|
81
72
|
ALL
|
|
@@ -95,7 +86,7 @@ def blend_to_neighbor(
|
|
|
95
86
|
|
|
96
87
|
CUSTOM
|
|
97
88
|
Custom Properties -- Custom properties.
|
|
98
|
-
:type channels: typing.
|
|
89
|
+
:type channels: typing.Any
|
|
99
90
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
100
91
|
|
|
101
92
|
FREE
|
|
@@ -109,35 +100,32 @@ def blend_to_neighbor(
|
|
|
109
100
|
|
|
110
101
|
Z
|
|
111
102
|
Z -- Only Z-axis transforms are affected.
|
|
112
|
-
:type axis_lock: typing.
|
|
103
|
+
:type axis_lock: typing.Any
|
|
113
104
|
"""
|
|
114
105
|
|
|
115
106
|
...
|
|
116
107
|
|
|
117
108
|
def blend_with_rest(
|
|
118
|
-
override_context: typing.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
127
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
128
|
-
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",
|
|
129
117
|
):
|
|
130
118
|
"""Make the current pose more similar to, or further away from, the rest pose
|
|
131
119
|
|
|
132
|
-
:type override_context: typing.
|
|
133
|
-
:type execution_context: typing.
|
|
134
|
-
:type undo:
|
|
120
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
121
|
+
:type execution_context: typing.Union[str, int]
|
|
122
|
+
:type undo: bool
|
|
135
123
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
136
|
-
:type factor: typing.
|
|
124
|
+
:type factor: typing.Any
|
|
137
125
|
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
138
|
-
:type prev_frame: typing.
|
|
126
|
+
:type prev_frame: typing.Any
|
|
139
127
|
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
140
|
-
:type next_frame: typing.
|
|
128
|
+
:type next_frame: typing.Any
|
|
141
129
|
:param channels: Channels, Set of properties that are affected
|
|
142
130
|
|
|
143
131
|
ALL
|
|
@@ -157,7 +145,7 @@ def blend_with_rest(
|
|
|
157
145
|
|
|
158
146
|
CUSTOM
|
|
159
147
|
Custom Properties -- Custom properties.
|
|
160
|
-
:type channels: typing.
|
|
148
|
+
:type channels: typing.Any
|
|
161
149
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
162
150
|
|
|
163
151
|
FREE
|
|
@@ -171,35 +159,32 @@ def blend_with_rest(
|
|
|
171
159
|
|
|
172
160
|
Z
|
|
173
161
|
Z -- Only Z-axis transforms are affected.
|
|
174
|
-
:type axis_lock: typing.
|
|
162
|
+
:type axis_lock: typing.Any
|
|
175
163
|
"""
|
|
176
164
|
|
|
177
165
|
...
|
|
178
166
|
|
|
179
167
|
def breakdown(
|
|
180
|
-
override_context: typing.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
189
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
190
|
-
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",
|
|
191
176
|
):
|
|
192
177
|
"""Create a suitable breakdown pose on the current frame
|
|
193
178
|
|
|
194
|
-
:type override_context: typing.
|
|
195
|
-
:type execution_context: typing.
|
|
196
|
-
:type undo:
|
|
179
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
180
|
+
:type execution_context: typing.Union[str, int]
|
|
181
|
+
:type undo: bool
|
|
197
182
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
198
|
-
:type factor: typing.
|
|
183
|
+
:type factor: typing.Any
|
|
199
184
|
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
200
|
-
:type prev_frame: typing.
|
|
185
|
+
:type prev_frame: typing.Any
|
|
201
186
|
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
202
|
-
:type next_frame: typing.
|
|
187
|
+
:type next_frame: typing.Any
|
|
203
188
|
:param channels: Channels, Set of properties that are affected
|
|
204
189
|
|
|
205
190
|
ALL
|
|
@@ -219,7 +204,7 @@ def breakdown(
|
|
|
219
204
|
|
|
220
205
|
CUSTOM
|
|
221
206
|
Custom Properties -- Custom properties.
|
|
222
|
-
:type channels: typing.
|
|
207
|
+
:type channels: typing.Any
|
|
223
208
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
224
209
|
|
|
225
210
|
FREE
|
|
@@ -233,307 +218,266 @@ def breakdown(
|
|
|
233
218
|
|
|
234
219
|
Z
|
|
235
220
|
Z -- Only Z-axis transforms are affected.
|
|
236
|
-
:type axis_lock: typing.
|
|
221
|
+
:type axis_lock: typing.Any
|
|
237
222
|
"""
|
|
238
223
|
|
|
239
224
|
...
|
|
240
225
|
|
|
241
226
|
def constraint_add(
|
|
242
|
-
override_context: typing.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
undo: typing.Optional[bool] = None,
|
|
247
|
-
*,
|
|
248
|
-
type: typing.Optional[typing.Any] = "",
|
|
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 = "",
|
|
249
231
|
):
|
|
250
232
|
"""Add a constraint to the active bone
|
|
251
233
|
|
|
252
|
-
:type override_context: typing.
|
|
253
|
-
:type execution_context: typing.
|
|
254
|
-
:type undo:
|
|
234
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
235
|
+
:type execution_context: typing.Union[str, int]
|
|
236
|
+
:type undo: bool
|
|
255
237
|
:param type: Type
|
|
256
|
-
:type type: typing.
|
|
238
|
+
:type type: typing.Any
|
|
257
239
|
"""
|
|
258
240
|
|
|
259
241
|
...
|
|
260
242
|
|
|
261
243
|
def constraint_add_with_targets(
|
|
262
|
-
override_context: typing.
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
undo: typing.Optional[bool] = None,
|
|
267
|
-
*,
|
|
268
|
-
type: typing.Optional[typing.Any] = "",
|
|
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 = "",
|
|
269
248
|
):
|
|
270
249
|
"""Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
|
|
271
250
|
|
|
272
|
-
:type override_context: typing.
|
|
273
|
-
:type execution_context: typing.
|
|
274
|
-
:type undo:
|
|
251
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
252
|
+
:type execution_context: typing.Union[str, int]
|
|
253
|
+
:type undo: bool
|
|
275
254
|
:param type: Type
|
|
276
|
-
:type type: typing.
|
|
255
|
+
:type type: typing.Any
|
|
277
256
|
"""
|
|
278
257
|
|
|
279
258
|
...
|
|
280
259
|
|
|
281
260
|
def constraints_clear(
|
|
282
|
-
override_context: typing.
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
286
|
-
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,
|
|
287
264
|
):
|
|
288
265
|
"""Clear all constraints from the selected bones
|
|
289
266
|
|
|
290
|
-
:type override_context: typing.
|
|
291
|
-
:type execution_context: typing.
|
|
292
|
-
:type undo:
|
|
267
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
+
:type execution_context: typing.Union[str, int]
|
|
269
|
+
:type undo: bool
|
|
293
270
|
"""
|
|
294
271
|
|
|
295
272
|
...
|
|
296
273
|
|
|
297
274
|
def constraints_copy(
|
|
298
|
-
override_context: typing.
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
302
|
-
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,
|
|
303
278
|
):
|
|
304
279
|
"""Copy constraints to other selected bones
|
|
305
280
|
|
|
306
|
-
:type override_context: typing.
|
|
307
|
-
:type execution_context: typing.
|
|
308
|
-
:type undo:
|
|
281
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
282
|
+
:type execution_context: typing.Union[str, int]
|
|
283
|
+
:type undo: bool
|
|
309
284
|
"""
|
|
310
285
|
|
|
311
286
|
...
|
|
312
287
|
|
|
313
288
|
def copy(
|
|
314
|
-
override_context: typing.
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
318
|
-
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,
|
|
319
292
|
):
|
|
320
293
|
"""Copy the current pose of the selected bones to the internal clipboard
|
|
321
294
|
|
|
322
|
-
:type override_context: typing.
|
|
323
|
-
:type execution_context: typing.
|
|
324
|
-
:type undo:
|
|
295
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
296
|
+
:type execution_context: typing.Union[str, int]
|
|
297
|
+
:type undo: bool
|
|
325
298
|
"""
|
|
326
299
|
|
|
327
300
|
...
|
|
328
301
|
|
|
329
302
|
def flip_names(
|
|
330
|
-
override_context: typing.
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
undo: typing.Optional[bool] = None,
|
|
335
|
-
*,
|
|
336
|
-
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,
|
|
337
307
|
):
|
|
338
308
|
"""Flips (and corrects) the axis suffixes of the names of selected bones
|
|
339
309
|
|
|
340
|
-
:type override_context: typing.
|
|
341
|
-
:type execution_context: typing.
|
|
342
|
-
:type undo:
|
|
310
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
311
|
+
:type execution_context: typing.Union[str, int]
|
|
312
|
+
:type undo: bool
|
|
343
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
|
|
344
|
-
:type do_strip_numbers: typing.
|
|
314
|
+
:type do_strip_numbers: typing.Union[bool, typing.Any]
|
|
345
315
|
"""
|
|
346
316
|
|
|
347
317
|
...
|
|
348
318
|
|
|
349
319
|
def hide(
|
|
350
|
-
override_context: typing.
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
undo: typing.Optional[bool] = None,
|
|
355
|
-
*,
|
|
356
|
-
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,
|
|
357
324
|
):
|
|
358
325
|
"""Tag selected bones to not be visible in Pose Mode
|
|
359
326
|
|
|
360
|
-
:type override_context: typing.
|
|
361
|
-
:type execution_context: typing.
|
|
362
|
-
:type undo:
|
|
327
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
328
|
+
:type execution_context: typing.Union[str, int]
|
|
329
|
+
:type undo: bool
|
|
363
330
|
:param unselected: Unselected
|
|
364
|
-
:type unselected: typing.
|
|
331
|
+
:type unselected: typing.Union[bool, typing.Any]
|
|
365
332
|
"""
|
|
366
333
|
|
|
367
334
|
...
|
|
368
335
|
|
|
369
336
|
def ik_add(
|
|
370
|
-
override_context: typing.
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
undo: typing.Optional[bool] = None,
|
|
375
|
-
*,
|
|
376
|
-
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,
|
|
377
341
|
):
|
|
378
342
|
"""Add IK Constraint to the active Bone
|
|
379
343
|
|
|
380
|
-
:type override_context: typing.
|
|
381
|
-
:type execution_context: typing.
|
|
382
|
-
:type undo:
|
|
344
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
345
|
+
:type execution_context: typing.Union[str, int]
|
|
346
|
+
:type undo: bool
|
|
383
347
|
:param with_targets: With Targets, Assign IK Constraint with targets derived from the select bones/objects
|
|
384
|
-
:type with_targets: typing.
|
|
348
|
+
:type with_targets: typing.Union[bool, typing.Any]
|
|
385
349
|
"""
|
|
386
350
|
|
|
387
351
|
...
|
|
388
352
|
|
|
389
353
|
def ik_clear(
|
|
390
|
-
override_context: typing.
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
394
|
-
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,
|
|
395
357
|
):
|
|
396
358
|
"""Remove all IK Constraints from selected bones
|
|
397
359
|
|
|
398
|
-
:type override_context: typing.
|
|
399
|
-
:type execution_context: typing.
|
|
400
|
-
:type undo:
|
|
360
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
361
|
+
:type execution_context: typing.Union[str, int]
|
|
362
|
+
:type undo: bool
|
|
401
363
|
"""
|
|
402
364
|
|
|
403
365
|
...
|
|
404
366
|
|
|
405
367
|
def loc_clear(
|
|
406
|
-
override_context: typing.
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
410
|
-
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,
|
|
411
371
|
):
|
|
412
372
|
"""Reset locations of selected bones to their default values
|
|
413
373
|
|
|
414
|
-
:type override_context: typing.
|
|
415
|
-
:type execution_context: typing.
|
|
416
|
-
:type undo:
|
|
374
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
375
|
+
:type execution_context: typing.Union[str, int]
|
|
376
|
+
:type undo: bool
|
|
417
377
|
"""
|
|
418
378
|
|
|
419
379
|
...
|
|
420
380
|
|
|
421
381
|
def paste(
|
|
422
|
-
override_context: typing.
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
*,
|
|
428
|
-
flipped: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
429
|
-
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,
|
|
430
387
|
):
|
|
431
388
|
"""Paste the stored pose on to the current pose
|
|
432
389
|
|
|
433
|
-
:type override_context: typing.
|
|
434
|
-
:type execution_context: typing.
|
|
435
|
-
:type undo:
|
|
390
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
391
|
+
:type execution_context: typing.Union[str, int]
|
|
392
|
+
:type undo: bool
|
|
436
393
|
:param flipped: Flipped on X-Axis, Paste the stored pose flipped on to current pose
|
|
437
|
-
:type flipped: typing.
|
|
394
|
+
:type flipped: typing.Union[bool, typing.Any]
|
|
438
395
|
:param selected_mask: On Selected Only, Only paste the stored pose on to selected bones in the current pose
|
|
439
|
-
:type selected_mask: typing.
|
|
396
|
+
:type selected_mask: typing.Union[bool, typing.Any]
|
|
440
397
|
"""
|
|
441
398
|
|
|
442
399
|
...
|
|
443
400
|
|
|
444
401
|
def paths_calculate(
|
|
445
|
-
override_context: typing.
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
display_type: typing.Optional[typing.Any] = "RANGE",
|
|
452
|
-
range: typing.Optional[typing.Any] = "SCENE",
|
|
453
|
-
bake_location: typing.Optional[typing.Any] = "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",
|
|
454
408
|
):
|
|
455
409
|
"""Calculate paths for the selected bones
|
|
456
410
|
|
|
457
|
-
:type override_context: typing.
|
|
458
|
-
:type execution_context: typing.
|
|
459
|
-
:type undo:
|
|
411
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
412
|
+
:type execution_context: typing.Union[str, int]
|
|
413
|
+
:type undo: bool
|
|
460
414
|
:param display_type: Display type
|
|
461
|
-
:type display_type: typing.
|
|
415
|
+
:type display_type: typing.Any
|
|
462
416
|
:param range: Computation Range
|
|
463
|
-
:type range: typing.
|
|
417
|
+
:type range: typing.Any
|
|
464
418
|
:param bake_location: Bake Location, Which point on the bones is used when calculating paths
|
|
465
|
-
:type bake_location: typing.
|
|
419
|
+
:type bake_location: typing.Any
|
|
466
420
|
"""
|
|
467
421
|
|
|
468
422
|
...
|
|
469
423
|
|
|
470
424
|
def paths_clear(
|
|
471
|
-
override_context: typing.
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
undo: typing.Optional[bool] = None,
|
|
476
|
-
*,
|
|
477
|
-
only_selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
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,
|
|
478
429
|
):
|
|
479
430
|
"""Undocumented, consider contributing.
|
|
480
431
|
|
|
481
|
-
:type override_context: typing.
|
|
482
|
-
:type execution_context: typing.
|
|
483
|
-
:type undo:
|
|
432
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
433
|
+
:type execution_context: typing.Union[str, int]
|
|
434
|
+
:type undo: bool
|
|
484
435
|
:param only_selected: Only Selected, Only clear motion paths of selected bones
|
|
485
|
-
:type only_selected: typing.
|
|
436
|
+
:type only_selected: typing.Union[bool, typing.Any]
|
|
486
437
|
"""
|
|
487
438
|
|
|
488
439
|
...
|
|
489
440
|
|
|
490
441
|
def paths_range_update(
|
|
491
|
-
override_context: typing.
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
495
|
-
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,
|
|
496
445
|
):
|
|
497
446
|
"""Update frame range for motion paths from the Scene's current frame range
|
|
498
447
|
|
|
499
|
-
:type override_context: typing.
|
|
500
|
-
:type execution_context: typing.
|
|
501
|
-
:type undo:
|
|
448
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
449
|
+
:type execution_context: typing.Union[str, int]
|
|
450
|
+
:type undo: bool
|
|
502
451
|
"""
|
|
503
452
|
|
|
504
453
|
...
|
|
505
454
|
|
|
506
455
|
def paths_update(
|
|
507
|
-
override_context: typing.
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
511
|
-
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,
|
|
512
459
|
):
|
|
513
460
|
"""Recalculate paths for bones that already have them
|
|
514
461
|
|
|
515
|
-
:type override_context: typing.
|
|
516
|
-
:type execution_context: typing.
|
|
517
|
-
:type undo:
|
|
462
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
463
|
+
:type execution_context: typing.Union[str, int]
|
|
464
|
+
:type undo: bool
|
|
518
465
|
"""
|
|
519
466
|
|
|
520
467
|
...
|
|
521
468
|
|
|
522
469
|
def propagate(
|
|
523
|
-
override_context: typing.
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
*,
|
|
529
|
-
mode: typing.Optional[typing.Any] = "NEXT_KEY",
|
|
530
|
-
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,
|
|
531
475
|
):
|
|
532
476
|
"""Copy selected aspects of the current pose to subsequent poses already keyframed
|
|
533
477
|
|
|
534
|
-
:type override_context: typing.
|
|
535
|
-
:type execution_context: typing.
|
|
536
|
-
:type undo:
|
|
478
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
479
|
+
:type execution_context: typing.Union[str, int]
|
|
480
|
+
:type undo: bool
|
|
537
481
|
:param mode: Terminate Mode, Method used to determine when to stop propagating pose to keyframes
|
|
538
482
|
|
|
539
483
|
NEXT_KEY
|
|
@@ -553,37 +497,34 @@ def propagate(
|
|
|
553
497
|
|
|
554
498
|
SELECTED_MARKERS
|
|
555
499
|
On Selected Markers -- Propagate pose to all keyframes occurring on frames with Scene Markers after the current frame.
|
|
556
|
-
:type mode: typing.
|
|
500
|
+
:type mode: typing.Any
|
|
557
501
|
:param end_frame: End Frame, Frame to stop propagating frames to (for 'Before Frame' mode)
|
|
558
|
-
:type end_frame: typing.
|
|
502
|
+
:type end_frame: typing.Any
|
|
559
503
|
"""
|
|
560
504
|
|
|
561
505
|
...
|
|
562
506
|
|
|
563
507
|
def push(
|
|
564
|
-
override_context: typing.
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
573
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
574
|
-
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",
|
|
575
516
|
):
|
|
576
517
|
"""Exaggerate the current pose in regards to the breakdown pose
|
|
577
518
|
|
|
578
|
-
:type override_context: typing.
|
|
579
|
-
:type execution_context: typing.
|
|
580
|
-
:type undo:
|
|
519
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
520
|
+
:type execution_context: typing.Union[str, int]
|
|
521
|
+
:type undo: bool
|
|
581
522
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
582
|
-
:type factor: typing.
|
|
523
|
+
:type factor: typing.Any
|
|
583
524
|
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
584
|
-
:type prev_frame: typing.
|
|
525
|
+
:type prev_frame: typing.Any
|
|
585
526
|
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
586
|
-
:type next_frame: typing.
|
|
527
|
+
:type next_frame: typing.Any
|
|
587
528
|
:param channels: Channels, Set of properties that are affected
|
|
588
529
|
|
|
589
530
|
ALL
|
|
@@ -603,7 +544,7 @@ def push(
|
|
|
603
544
|
|
|
604
545
|
CUSTOM
|
|
605
546
|
Custom Properties -- Custom properties.
|
|
606
|
-
:type channels: typing.
|
|
547
|
+
:type channels: typing.Any
|
|
607
548
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
608
549
|
|
|
609
550
|
FREE
|
|
@@ -617,51 +558,46 @@ def push(
|
|
|
617
558
|
|
|
618
559
|
Z
|
|
619
560
|
Z -- Only Z-axis transforms are affected.
|
|
620
|
-
:type axis_lock: typing.
|
|
561
|
+
:type axis_lock: typing.Any
|
|
621
562
|
"""
|
|
622
563
|
|
|
623
564
|
...
|
|
624
565
|
|
|
625
566
|
def quaternions_flip(
|
|
626
|
-
override_context: typing.
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
630
|
-
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,
|
|
631
570
|
):
|
|
632
571
|
"""Flip quaternion values to achieve desired rotations, while maintaining the same orientations
|
|
633
572
|
|
|
634
|
-
:type override_context: typing.
|
|
635
|
-
:type execution_context: typing.
|
|
636
|
-
:type undo:
|
|
573
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
574
|
+
:type execution_context: typing.Union[str, int]
|
|
575
|
+
:type undo: bool
|
|
637
576
|
"""
|
|
638
577
|
|
|
639
578
|
...
|
|
640
579
|
|
|
641
580
|
def relax(
|
|
642
|
-
override_context: typing.
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
next_frame: typing.Optional[typing.Any] = 0,
|
|
651
|
-
channels: typing.Optional[typing.Any] = "ALL",
|
|
652
|
-
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",
|
|
653
589
|
):
|
|
654
590
|
"""Make the current pose more similar to its breakdown pose
|
|
655
591
|
|
|
656
|
-
:type override_context: typing.
|
|
657
|
-
:type execution_context: typing.
|
|
658
|
-
:type undo:
|
|
592
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
593
|
+
:type execution_context: typing.Union[str, int]
|
|
594
|
+
:type undo: bool
|
|
659
595
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
660
|
-
:type factor: typing.
|
|
596
|
+
:type factor: typing.Any
|
|
661
597
|
:param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
|
|
662
|
-
:type prev_frame: typing.
|
|
598
|
+
:type prev_frame: typing.Any
|
|
663
599
|
:param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
|
|
664
|
-
:type next_frame: typing.
|
|
600
|
+
:type next_frame: typing.Any
|
|
665
601
|
:param channels: Channels, Set of properties that are affected
|
|
666
602
|
|
|
667
603
|
ALL
|
|
@@ -681,7 +617,7 @@ def relax(
|
|
|
681
617
|
|
|
682
618
|
CUSTOM
|
|
683
619
|
Custom Properties -- Custom properties.
|
|
684
|
-
:type channels: typing.
|
|
620
|
+
:type channels: typing.Any
|
|
685
621
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
686
622
|
|
|
687
623
|
FREE
|
|
@@ -695,97 +631,84 @@ def relax(
|
|
|
695
631
|
|
|
696
632
|
Z
|
|
697
633
|
Z -- Only Z-axis transforms are affected.
|
|
698
|
-
:type axis_lock: typing.
|
|
634
|
+
:type axis_lock: typing.Any
|
|
699
635
|
"""
|
|
700
636
|
|
|
701
637
|
...
|
|
702
638
|
|
|
703
639
|
def reveal(
|
|
704
|
-
override_context: typing.
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
undo: typing.Optional[bool] = None,
|
|
709
|
-
*,
|
|
710
|
-
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,
|
|
711
644
|
):
|
|
712
645
|
"""Reveal all bones hidden in Pose Mode
|
|
713
646
|
|
|
714
|
-
:type override_context: typing.
|
|
715
|
-
:type execution_context: typing.
|
|
716
|
-
:type undo:
|
|
647
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
648
|
+
:type execution_context: typing.Union[str, int]
|
|
649
|
+
:type undo: bool
|
|
717
650
|
:param select: Select
|
|
718
|
-
:type select: typing.
|
|
651
|
+
:type select: typing.Union[bool, typing.Any]
|
|
719
652
|
"""
|
|
720
653
|
|
|
721
654
|
...
|
|
722
655
|
|
|
723
656
|
def rot_clear(
|
|
724
|
-
override_context: typing.
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
728
|
-
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,
|
|
729
660
|
):
|
|
730
661
|
"""Reset rotations of selected bones to their default values
|
|
731
662
|
|
|
732
|
-
:type override_context: typing.
|
|
733
|
-
:type execution_context: typing.
|
|
734
|
-
:type undo:
|
|
663
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
664
|
+
:type execution_context: typing.Union[str, int]
|
|
665
|
+
:type undo: bool
|
|
735
666
|
"""
|
|
736
667
|
|
|
737
668
|
...
|
|
738
669
|
|
|
739
670
|
def rotation_mode_set(
|
|
740
|
-
override_context: typing.
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
undo: typing.Optional[bool] = None,
|
|
745
|
-
*,
|
|
746
|
-
type: typing.Optional[typing.Any] = "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",
|
|
747
675
|
):
|
|
748
676
|
"""Set the rotation representation used by selected bones
|
|
749
677
|
|
|
750
|
-
:type override_context: typing.
|
|
751
|
-
:type execution_context: typing.
|
|
752
|
-
:type undo:
|
|
678
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
679
|
+
:type execution_context: typing.Union[str, int]
|
|
680
|
+
:type undo: bool
|
|
753
681
|
:param type: Rotation Mode
|
|
754
|
-
:type type: typing.
|
|
682
|
+
:type type: typing.Any
|
|
755
683
|
"""
|
|
756
684
|
|
|
757
685
|
...
|
|
758
686
|
|
|
759
687
|
def scale_clear(
|
|
760
|
-
override_context: typing.
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
764
|
-
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,
|
|
765
691
|
):
|
|
766
692
|
"""Reset scaling of selected bones to their default values
|
|
767
693
|
|
|
768
|
-
:type override_context: typing.
|
|
769
|
-
:type execution_context: typing.
|
|
770
|
-
:type undo:
|
|
694
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
695
|
+
:type execution_context: typing.Union[str, int]
|
|
696
|
+
:type undo: bool
|
|
771
697
|
"""
|
|
772
698
|
|
|
773
699
|
...
|
|
774
700
|
|
|
775
701
|
def select_all(
|
|
776
|
-
override_context: typing.
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
undo: typing.Optional[bool] = None,
|
|
781
|
-
*,
|
|
782
|
-
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",
|
|
783
706
|
):
|
|
784
707
|
"""Toggle selection status of all bones
|
|
785
708
|
|
|
786
|
-
:type override_context: typing.
|
|
787
|
-
:type execution_context: typing.
|
|
788
|
-
:type undo:
|
|
709
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
710
|
+
:type execution_context: typing.Union[str, int]
|
|
711
|
+
:type undo: bool
|
|
789
712
|
:param action: Action, Selection action to execute
|
|
790
713
|
|
|
791
714
|
TOGGLE
|
|
@@ -799,44 +722,39 @@ def select_all(
|
|
|
799
722
|
|
|
800
723
|
INVERT
|
|
801
724
|
Invert -- Invert selection of all elements.
|
|
802
|
-
:type action: typing.
|
|
725
|
+
:type action: typing.Any
|
|
803
726
|
"""
|
|
804
727
|
|
|
805
728
|
...
|
|
806
729
|
|
|
807
730
|
def select_constraint_target(
|
|
808
|
-
override_context: typing.
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
812
|
-
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,
|
|
813
734
|
):
|
|
814
735
|
"""Select bones used as targets for the currently selected bones
|
|
815
736
|
|
|
816
|
-
:type override_context: typing.
|
|
817
|
-
:type execution_context: typing.
|
|
818
|
-
:type undo:
|
|
737
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
738
|
+
:type execution_context: typing.Union[str, int]
|
|
739
|
+
:type undo: bool
|
|
819
740
|
"""
|
|
820
741
|
|
|
821
742
|
...
|
|
822
743
|
|
|
823
744
|
def select_grouped(
|
|
824
|
-
override_context: typing.
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
*,
|
|
830
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
831
|
-
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",
|
|
832
750
|
):
|
|
833
751
|
"""Select all visible bones grouped by similar properties
|
|
834
752
|
|
|
835
|
-
:type override_context: typing.
|
|
836
|
-
:type execution_context: typing.
|
|
837
|
-
:type undo:
|
|
753
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
754
|
+
:type execution_context: typing.Union[str, int]
|
|
755
|
+
:type undo: bool
|
|
838
756
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
839
|
-
:type extend: typing.
|
|
757
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
840
758
|
:param type: Type
|
|
841
759
|
|
|
842
760
|
COLLECTION
|
|
@@ -847,157 +765,137 @@ def select_grouped(
|
|
|
847
765
|
|
|
848
766
|
KEYINGSET
|
|
849
767
|
Keying Set -- All bones affected by active Keying Set.
|
|
850
|
-
:type type: typing.
|
|
768
|
+
:type type: typing.Any
|
|
851
769
|
"""
|
|
852
770
|
|
|
853
771
|
...
|
|
854
772
|
|
|
855
773
|
def select_hierarchy(
|
|
856
|
-
override_context: typing.
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
*,
|
|
862
|
-
direction: typing.Optional[typing.Any] = "PARENT",
|
|
863
|
-
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,
|
|
864
779
|
):
|
|
865
780
|
"""Select immediate parent/children of selected bones
|
|
866
781
|
|
|
867
|
-
:type override_context: typing.
|
|
868
|
-
:type execution_context: typing.
|
|
869
|
-
:type undo:
|
|
782
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
783
|
+
:type execution_context: typing.Union[str, int]
|
|
784
|
+
:type undo: bool
|
|
870
785
|
:param direction: Direction
|
|
871
|
-
:type direction: typing.
|
|
786
|
+
:type direction: typing.Any
|
|
872
787
|
:param extend: Extend, Extend the selection
|
|
873
|
-
:type extend: typing.
|
|
788
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
874
789
|
"""
|
|
875
790
|
|
|
876
791
|
...
|
|
877
792
|
|
|
878
793
|
def select_linked(
|
|
879
|
-
override_context: typing.
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
883
|
-
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,
|
|
884
797
|
):
|
|
885
798
|
"""Select all bones linked by parent/child connections to the current selection
|
|
886
799
|
|
|
887
|
-
:type override_context: typing.
|
|
888
|
-
:type execution_context: typing.
|
|
889
|
-
:type undo:
|
|
800
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
801
|
+
:type execution_context: typing.Union[str, int]
|
|
802
|
+
:type undo: bool
|
|
890
803
|
"""
|
|
891
804
|
|
|
892
805
|
...
|
|
893
806
|
|
|
894
807
|
def select_linked_pick(
|
|
895
|
-
override_context: typing.
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
undo: typing.Optional[bool] = None,
|
|
900
|
-
*,
|
|
901
|
-
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,
|
|
902
812
|
):
|
|
903
813
|
"""Select bones linked by parent/child connections under the mouse cursor
|
|
904
814
|
|
|
905
|
-
:type override_context: typing.
|
|
906
|
-
:type execution_context: typing.
|
|
907
|
-
:type undo:
|
|
815
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
816
|
+
:type execution_context: typing.Union[str, int]
|
|
817
|
+
:type undo: bool
|
|
908
818
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
909
|
-
:type extend: typing.
|
|
819
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
910
820
|
"""
|
|
911
821
|
|
|
912
822
|
...
|
|
913
823
|
|
|
914
824
|
def select_mirror(
|
|
915
|
-
override_context: typing.
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
*,
|
|
921
|
-
only_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
922
|
-
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,
|
|
923
830
|
):
|
|
924
831
|
"""Mirror the bone selection
|
|
925
832
|
|
|
926
|
-
:type override_context: typing.
|
|
927
|
-
:type execution_context: typing.
|
|
928
|
-
:type undo:
|
|
833
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
834
|
+
:type execution_context: typing.Union[str, int]
|
|
835
|
+
:type undo: bool
|
|
929
836
|
:param only_active: Active Only, Only operate on the active bone
|
|
930
|
-
:type only_active: typing.
|
|
837
|
+
:type only_active: typing.Union[bool, typing.Any]
|
|
931
838
|
:param extend: Extend, Extend the selection
|
|
932
|
-
:type extend: typing.
|
|
839
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
933
840
|
"""
|
|
934
841
|
|
|
935
842
|
...
|
|
936
843
|
|
|
937
844
|
def select_parent(
|
|
938
|
-
override_context: typing.
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
942
|
-
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,
|
|
943
848
|
):
|
|
944
849
|
"""Select bones that are parents of the currently selected bones
|
|
945
850
|
|
|
946
|
-
:type override_context: typing.
|
|
947
|
-
:type execution_context: typing.
|
|
948
|
-
:type undo:
|
|
851
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
852
|
+
:type execution_context: typing.Union[str, int]
|
|
853
|
+
:type undo: bool
|
|
949
854
|
"""
|
|
950
855
|
|
|
951
856
|
...
|
|
952
857
|
|
|
953
858
|
def transforms_clear(
|
|
954
|
-
override_context: typing.
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
958
|
-
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,
|
|
959
862
|
):
|
|
960
863
|
"""Reset location, rotation, and scaling of selected bones to their default values
|
|
961
864
|
|
|
962
|
-
:type override_context: typing.
|
|
963
|
-
:type execution_context: typing.
|
|
964
|
-
:type undo:
|
|
865
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
866
|
+
:type execution_context: typing.Union[str, int]
|
|
867
|
+
:type undo: bool
|
|
965
868
|
"""
|
|
966
869
|
|
|
967
870
|
...
|
|
968
871
|
|
|
969
872
|
def user_transforms_clear(
|
|
970
|
-
override_context: typing.
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
undo: typing.Optional[bool] = None,
|
|
975
|
-
*,
|
|
976
|
-
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,
|
|
977
877
|
):
|
|
978
878
|
"""Reset pose bone transforms to keyframed state
|
|
979
879
|
|
|
980
|
-
:type override_context: typing.
|
|
981
|
-
:type execution_context: typing.
|
|
982
|
-
:type undo:
|
|
880
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
881
|
+
:type execution_context: typing.Union[str, int]
|
|
882
|
+
:type undo: bool
|
|
983
883
|
:param only_selected: Only Selected, Only visible/selected bones
|
|
984
|
-
:type only_selected: typing.
|
|
884
|
+
:type only_selected: typing.Union[bool, typing.Any]
|
|
985
885
|
"""
|
|
986
886
|
|
|
987
887
|
...
|
|
988
888
|
|
|
989
889
|
def visual_transform_apply(
|
|
990
|
-
override_context: typing.
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
994
|
-
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,
|
|
995
893
|
):
|
|
996
894
|
"""Apply final constrained position of pose bones to their transform
|
|
997
895
|
|
|
998
|
-
:type override_context: typing.
|
|
999
|
-
:type execution_context: typing.
|
|
1000
|
-
:type undo:
|
|
896
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
897
|
+
:type execution_context: typing.Union[str, int]
|
|
898
|
+
:type undo: bool
|
|
1001
899
|
"""
|
|
1002
900
|
|
|
1003
901
|
...
|