fake-bpy-module 20240210__py3-none-any.whl → 20240326__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- addon_utils/__init__.pyi +54 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/armature/__init__.pyi
CHANGED
|
@@ -1,43 +1,37 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
|
-
import bpy.types
|
|
4
2
|
import bpy.ops.transform
|
|
3
|
+
import bpy.types
|
|
5
4
|
|
|
6
5
|
GenericType = typing.TypeVar("GenericType")
|
|
7
6
|
|
|
8
7
|
def align(
|
|
9
|
-
override_context: typing.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
13
|
-
undo: typing.Optional[bool] = None,
|
|
8
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
9
|
+
execution_context: typing.Union[str, int] = None,
|
|
10
|
+
undo: bool = None,
|
|
14
11
|
):
|
|
15
12
|
"""Align selected bones to the active bone (or to their parent)
|
|
16
13
|
|
|
17
|
-
:type override_context: typing.
|
|
18
|
-
:type execution_context: typing.
|
|
19
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
20
17
|
"""
|
|
21
18
|
|
|
22
19
|
...
|
|
23
20
|
|
|
24
21
|
def assign_to_collection(
|
|
25
|
-
override_context: typing.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
undo: typing.Optional[bool] = None,
|
|
30
|
-
*,
|
|
31
|
-
collection_index: typing.Optional[typing.Any] = -1,
|
|
22
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
23
|
+
execution_context: typing.Union[str, int] = None,
|
|
24
|
+
undo: bool = None,
|
|
25
|
+
collection_index: typing.Any = -1,
|
|
32
26
|
new_collection_name: typing.Union[str, typing.Any] = "",
|
|
33
27
|
):
|
|
34
28
|
"""Assign all selected bones to a collection, or unassign them, depending on whether the active bone is already assigned or not
|
|
35
29
|
|
|
36
|
-
:type override_context: typing.
|
|
37
|
-
:type execution_context: typing.
|
|
38
|
-
:type undo:
|
|
30
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
31
|
+
:type execution_context: typing.Union[str, int]
|
|
32
|
+
:type undo: bool
|
|
39
33
|
:param collection_index: Collection Index, Index of the collection to assign selected bones to. When the operator should create a new bone collection, use new_collection_name to define the collection name, and set this parameter to the parent index of the new bone collection
|
|
40
|
-
:type collection_index: typing.
|
|
34
|
+
:type collection_index: typing.Any
|
|
41
35
|
:param new_collection_name: Name, Name of a to-be-added bone collection. Only pass this if you want to create a new bone collection and assign the selected bones to it. To assign to an existing collection, do not include this parameter and use collection_index
|
|
42
36
|
:type new_collection_name: typing.Union[str, typing.Any]
|
|
43
37
|
"""
|
|
@@ -45,39 +39,42 @@ def assign_to_collection(
|
|
|
45
39
|
...
|
|
46
40
|
|
|
47
41
|
def autoside_names(
|
|
48
|
-
override_context: typing.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
undo: typing.Optional[bool] = None,
|
|
53
|
-
*,
|
|
54
|
-
type: typing.Optional[typing.Any] = "XAXIS",
|
|
42
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
43
|
+
execution_context: typing.Union[str, int] = None,
|
|
44
|
+
undo: bool = None,
|
|
45
|
+
type: typing.Any = "XAXIS",
|
|
55
46
|
):
|
|
56
47
|
"""Automatically renames the selected bones according to which side of the target axis they fall on
|
|
57
48
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
49
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
50
|
+
:type execution_context: typing.Union[str, int]
|
|
51
|
+
:type undo: bool
|
|
52
|
+
:param type: Axis, Axis to tag names with
|
|
53
|
+
|
|
54
|
+
XAXIS
|
|
55
|
+
X-Axis -- Left/Right.
|
|
56
|
+
|
|
57
|
+
YAXIS
|
|
58
|
+
Y-Axis -- Front/Back.
|
|
59
|
+
|
|
60
|
+
ZAXIS
|
|
61
|
+
Z-Axis -- Top/Bottom.
|
|
62
|
+
:type type: typing.Any
|
|
63
63
|
"""
|
|
64
64
|
|
|
65
65
|
...
|
|
66
66
|
|
|
67
67
|
def bone_primitive_add(
|
|
68
|
-
override_context: typing.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
72
|
-
undo: typing.Optional[bool] = None,
|
|
73
|
-
*,
|
|
68
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
69
|
+
execution_context: typing.Union[str, int] = None,
|
|
70
|
+
undo: bool = None,
|
|
74
71
|
name: typing.Union[str, typing.Any] = "",
|
|
75
72
|
):
|
|
76
73
|
"""Add a new bone located at the 3D cursor
|
|
77
74
|
|
|
78
|
-
:type override_context: typing.
|
|
79
|
-
:type execution_context: typing.
|
|
80
|
-
:type undo:
|
|
75
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
76
|
+
:type execution_context: typing.Union[str, int]
|
|
77
|
+
:type undo: bool
|
|
81
78
|
:param name: Name, Name of the newly created bone
|
|
82
79
|
:type name: typing.Union[str, typing.Any]
|
|
83
80
|
"""
|
|
@@ -85,77 +82,67 @@ def bone_primitive_add(
|
|
|
85
82
|
...
|
|
86
83
|
|
|
87
84
|
def calculate_roll(
|
|
88
|
-
override_context: typing.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
type: typing.Optional[typing.Any] = "POS_X",
|
|
95
|
-
axis_flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
96
|
-
axis_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
85
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
86
|
+
execution_context: typing.Union[str, int] = None,
|
|
87
|
+
undo: bool = None,
|
|
88
|
+
type: typing.Any = "POS_X",
|
|
89
|
+
axis_flip: typing.Union[bool, typing.Any] = False,
|
|
90
|
+
axis_only: typing.Union[bool, typing.Any] = False,
|
|
97
91
|
):
|
|
98
92
|
"""Automatically fix alignment of select bones' axes
|
|
99
93
|
|
|
100
|
-
:type override_context: typing.
|
|
101
|
-
:type execution_context: typing.
|
|
102
|
-
:type undo:
|
|
94
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
95
|
+
:type execution_context: typing.Union[str, int]
|
|
96
|
+
:type undo: bool
|
|
103
97
|
:param type: Type
|
|
104
|
-
:type type: typing.
|
|
98
|
+
:type type: typing.Any
|
|
105
99
|
:param axis_flip: Flip Axis, Negate the alignment axis
|
|
106
|
-
:type axis_flip: typing.
|
|
100
|
+
:type axis_flip: typing.Union[bool, typing.Any]
|
|
107
101
|
:param axis_only: Shortest Rotation, Ignore the axis direction, use the shortest rotation to align
|
|
108
|
-
:type axis_only: typing.
|
|
102
|
+
:type axis_only: typing.Union[bool, typing.Any]
|
|
109
103
|
"""
|
|
110
104
|
|
|
111
105
|
...
|
|
112
106
|
|
|
113
107
|
def click_extrude(
|
|
114
|
-
override_context: typing.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
118
|
-
undo: typing.Optional[bool] = None,
|
|
108
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
109
|
+
execution_context: typing.Union[str, int] = None,
|
|
110
|
+
undo: bool = None,
|
|
119
111
|
):
|
|
120
112
|
"""Create a new bone going from the last selected joint to the mouse position
|
|
121
113
|
|
|
122
|
-
:type override_context: typing.
|
|
123
|
-
:type execution_context: typing.
|
|
124
|
-
:type undo:
|
|
114
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
115
|
+
:type execution_context: typing.Union[str, int]
|
|
116
|
+
:type undo: bool
|
|
125
117
|
"""
|
|
126
118
|
|
|
127
119
|
...
|
|
128
120
|
|
|
129
121
|
def collection_add(
|
|
130
|
-
override_context: typing.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
134
|
-
undo: typing.Optional[bool] = None,
|
|
122
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
123
|
+
execution_context: typing.Union[str, int] = None,
|
|
124
|
+
undo: bool = None,
|
|
135
125
|
):
|
|
136
126
|
"""Add a new bone collection
|
|
137
127
|
|
|
138
|
-
:type override_context: typing.
|
|
139
|
-
:type execution_context: typing.
|
|
140
|
-
:type undo:
|
|
128
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
129
|
+
:type execution_context: typing.Union[str, int]
|
|
130
|
+
:type undo: bool
|
|
141
131
|
"""
|
|
142
132
|
|
|
143
133
|
...
|
|
144
134
|
|
|
145
135
|
def collection_assign(
|
|
146
|
-
override_context: typing.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
150
|
-
undo: typing.Optional[bool] = None,
|
|
151
|
-
*,
|
|
136
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
137
|
+
execution_context: typing.Union[str, int] = None,
|
|
138
|
+
undo: bool = None,
|
|
152
139
|
name: typing.Union[str, typing.Any] = "",
|
|
153
140
|
):
|
|
154
141
|
"""Add selected bones to the chosen bone collection
|
|
155
142
|
|
|
156
|
-
:type override_context: typing.
|
|
157
|
-
:type execution_context: typing.
|
|
158
|
-
:type undo:
|
|
143
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
144
|
+
:type execution_context: typing.Union[str, int]
|
|
145
|
+
:type undo: bool
|
|
159
146
|
:param name: Bone Collection, Name of the bone collection to assign this bone to; empty to assign to the active bone collection
|
|
160
147
|
:type name: typing.Union[str, typing.Any]
|
|
161
148
|
"""
|
|
@@ -163,19 +150,16 @@ def collection_assign(
|
|
|
163
150
|
...
|
|
164
151
|
|
|
165
152
|
def collection_create_and_assign(
|
|
166
|
-
override_context: typing.
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
170
|
-
undo: typing.Optional[bool] = None,
|
|
171
|
-
*,
|
|
153
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
154
|
+
execution_context: typing.Union[str, int] = None,
|
|
155
|
+
undo: bool = None,
|
|
172
156
|
name: typing.Union[str, typing.Any] = "",
|
|
173
157
|
):
|
|
174
158
|
"""Create a new bone collection and assign all selected bones
|
|
175
159
|
|
|
176
|
-
:type override_context: typing.
|
|
177
|
-
:type execution_context: typing.
|
|
178
|
-
:type undo:
|
|
160
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
161
|
+
:type execution_context: typing.Union[str, int]
|
|
162
|
+
:type undo: bool
|
|
179
163
|
:param name: Bone Collection, Name of the bone collection to create
|
|
180
164
|
:type name: typing.Union[str, typing.Any]
|
|
181
165
|
"""
|
|
@@ -183,119 +167,103 @@ def collection_create_and_assign(
|
|
|
183
167
|
...
|
|
184
168
|
|
|
185
169
|
def collection_deselect(
|
|
186
|
-
override_context: typing.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
190
|
-
undo: typing.Optional[bool] = None,
|
|
170
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
171
|
+
execution_context: typing.Union[str, int] = None,
|
|
172
|
+
undo: bool = None,
|
|
191
173
|
):
|
|
192
174
|
"""Deselect bones of active Bone Collection
|
|
193
175
|
|
|
194
|
-
:type override_context: typing.
|
|
195
|
-
:type execution_context: typing.
|
|
196
|
-
:type undo:
|
|
176
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
177
|
+
:type execution_context: typing.Union[str, int]
|
|
178
|
+
:type undo: bool
|
|
197
179
|
"""
|
|
198
180
|
|
|
199
181
|
...
|
|
200
182
|
|
|
201
183
|
def collection_move(
|
|
202
|
-
override_context: typing.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
undo: typing.Optional[bool] = None,
|
|
207
|
-
*,
|
|
208
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
184
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
185
|
+
execution_context: typing.Union[str, int] = None,
|
|
186
|
+
undo: bool = None,
|
|
187
|
+
direction: typing.Any = "UP",
|
|
209
188
|
):
|
|
210
189
|
"""Change position of active Bone Collection in list of Bone collections
|
|
211
190
|
|
|
212
|
-
:type override_context: typing.
|
|
213
|
-
:type execution_context: typing.
|
|
214
|
-
:type undo:
|
|
191
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
192
|
+
:type execution_context: typing.Union[str, int]
|
|
193
|
+
:type undo: bool
|
|
215
194
|
:param direction: Direction, Direction to move the active Bone Collection towards
|
|
216
|
-
:type direction: typing.
|
|
195
|
+
:type direction: typing.Any
|
|
217
196
|
"""
|
|
218
197
|
|
|
219
198
|
...
|
|
220
199
|
|
|
221
200
|
def collection_remove(
|
|
222
|
-
override_context: typing.
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
226
|
-
undo: typing.Optional[bool] = None,
|
|
201
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
202
|
+
execution_context: typing.Union[str, int] = None,
|
|
203
|
+
undo: bool = None,
|
|
227
204
|
):
|
|
228
205
|
"""Remove the active bone collection
|
|
229
206
|
|
|
230
|
-
:type override_context: typing.
|
|
231
|
-
:type execution_context: typing.
|
|
232
|
-
:type undo:
|
|
207
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
208
|
+
:type execution_context: typing.Union[str, int]
|
|
209
|
+
:type undo: bool
|
|
233
210
|
"""
|
|
234
211
|
|
|
235
212
|
...
|
|
236
213
|
|
|
237
214
|
def collection_remove_unused(
|
|
238
|
-
override_context: typing.
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
242
|
-
undo: typing.Optional[bool] = None,
|
|
215
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
216
|
+
execution_context: typing.Union[str, int] = None,
|
|
217
|
+
undo: bool = None,
|
|
243
218
|
):
|
|
244
|
-
"""Remove all bone collections that have neither bones nor children. This is done recursively, so bone collections that only have unused children are also removed
|
|
219
|
+
"""Remove all bone collections that have neither bones nor children. This is done recursively, so bone collections that only have unused children are also removed
|
|
245
220
|
|
|
246
|
-
:type override_context: typing.
|
|
247
|
-
:type execution_context: typing.
|
|
248
|
-
:type undo:
|
|
221
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
222
|
+
:type execution_context: typing.Union[str, int]
|
|
223
|
+
:type undo: bool
|
|
249
224
|
"""
|
|
250
225
|
|
|
251
226
|
...
|
|
252
227
|
|
|
253
228
|
def collection_select(
|
|
254
|
-
override_context: typing.
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
258
|
-
undo: typing.Optional[bool] = None,
|
|
229
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
230
|
+
execution_context: typing.Union[str, int] = None,
|
|
231
|
+
undo: bool = None,
|
|
259
232
|
):
|
|
260
233
|
"""Select bones in active Bone Collection
|
|
261
234
|
|
|
262
|
-
:type override_context: typing.
|
|
263
|
-
:type execution_context: typing.
|
|
264
|
-
:type undo:
|
|
235
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
236
|
+
:type execution_context: typing.Union[str, int]
|
|
237
|
+
:type undo: bool
|
|
265
238
|
"""
|
|
266
239
|
|
|
267
240
|
...
|
|
268
241
|
|
|
269
242
|
def collection_show_all(
|
|
270
|
-
override_context: typing.
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
274
|
-
undo: typing.Optional[bool] = None,
|
|
243
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
244
|
+
execution_context: typing.Union[str, int] = None,
|
|
245
|
+
undo: bool = None,
|
|
275
246
|
):
|
|
276
|
-
"""Show all bone collections
|
|
247
|
+
"""Show all bone collections
|
|
277
248
|
|
|
278
|
-
:type override_context: typing.
|
|
279
|
-
:type execution_context: typing.
|
|
280
|
-
:type undo:
|
|
249
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
250
|
+
:type execution_context: typing.Union[str, int]
|
|
251
|
+
:type undo: bool
|
|
281
252
|
"""
|
|
282
253
|
|
|
283
254
|
...
|
|
284
255
|
|
|
285
256
|
def collection_unassign(
|
|
286
|
-
override_context: typing.
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
290
|
-
undo: typing.Optional[bool] = None,
|
|
291
|
-
*,
|
|
257
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
258
|
+
execution_context: typing.Union[str, int] = None,
|
|
259
|
+
undo: bool = None,
|
|
292
260
|
name: typing.Union[str, typing.Any] = "",
|
|
293
261
|
):
|
|
294
262
|
"""Remove selected bones from the active bone collection
|
|
295
263
|
|
|
296
|
-
:type override_context: typing.
|
|
297
|
-
:type execution_context: typing.
|
|
298
|
-
:type undo:
|
|
264
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
265
|
+
:type execution_context: typing.Union[str, int]
|
|
266
|
+
:type undo: bool
|
|
299
267
|
:param name: Bone Collection, Name of the bone collection to unassign this bone from; empty to unassign from the active bone collection
|
|
300
268
|
:type name: typing.Union[str, typing.Any]
|
|
301
269
|
"""
|
|
@@ -303,20 +271,17 @@ def collection_unassign(
|
|
|
303
271
|
...
|
|
304
272
|
|
|
305
273
|
def collection_unassign_named(
|
|
306
|
-
override_context: typing.
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
310
|
-
undo: typing.Optional[bool] = None,
|
|
311
|
-
*,
|
|
274
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
275
|
+
execution_context: typing.Union[str, int] = None,
|
|
276
|
+
undo: bool = None,
|
|
312
277
|
name: typing.Union[str, typing.Any] = "",
|
|
313
278
|
bone_name: typing.Union[str, typing.Any] = "",
|
|
314
279
|
):
|
|
315
280
|
"""Unassign the named bone from this bone collection
|
|
316
281
|
|
|
317
|
-
:type override_context: typing.
|
|
318
|
-
:type execution_context: typing.
|
|
319
|
-
:type undo:
|
|
282
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
283
|
+
:type execution_context: typing.Union[str, int]
|
|
284
|
+
:type undo: bool
|
|
320
285
|
:param name: Bone Collection, Name of the bone collection to unassign this bone from; empty to unassign from the active bone collection
|
|
321
286
|
:type name: typing.Union[str, typing.Any]
|
|
322
287
|
:param bone_name: Bone Name, Name of the bone to unassign from the collection; empty to use the active bone
|
|
@@ -326,259 +291,229 @@ def collection_unassign_named(
|
|
|
326
291
|
...
|
|
327
292
|
|
|
328
293
|
def collection_unsolo_all(
|
|
329
|
-
override_context: typing.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
333
|
-
undo: typing.Optional[bool] = None,
|
|
294
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
295
|
+
execution_context: typing.Union[str, int] = None,
|
|
296
|
+
undo: bool = None,
|
|
334
297
|
):
|
|
335
|
-
"""Clear the 'solo' setting on all bone collections
|
|
298
|
+
"""Clear the 'solo' setting on all bone collections
|
|
336
299
|
|
|
337
|
-
:type override_context: typing.
|
|
338
|
-
:type execution_context: typing.
|
|
339
|
-
:type undo:
|
|
300
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
301
|
+
:type execution_context: typing.Union[str, int]
|
|
302
|
+
:type undo: bool
|
|
340
303
|
"""
|
|
341
304
|
|
|
342
305
|
...
|
|
343
306
|
|
|
344
307
|
def copy_bone_color_to_selected(
|
|
345
|
-
override_context: typing.
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
undo: typing.Optional[bool] = None,
|
|
350
|
-
*,
|
|
351
|
-
bone_type: typing.Optional[typing.Any] = "EDIT",
|
|
308
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
309
|
+
execution_context: typing.Union[str, int] = None,
|
|
310
|
+
undo: bool = None,
|
|
311
|
+
bone_type: typing.Any = "EDIT",
|
|
352
312
|
):
|
|
353
|
-
"""Copy the bone color of the active bone to all selected bones
|
|
313
|
+
"""Copy the bone color of the active bone to all selected bones
|
|
314
|
+
|
|
315
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
316
|
+
:type execution_context: typing.Union[str, int]
|
|
317
|
+
:type undo: bool
|
|
318
|
+
:param bone_type: Type
|
|
354
319
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
320
|
+
EDIT
|
|
321
|
+
Bone -- Copy Bone colors from the active bone to all selected bones.
|
|
322
|
+
|
|
323
|
+
POSE
|
|
324
|
+
Pose Bone -- Copy Pose Bone colors from the active pose bone to all selected pose bones.
|
|
325
|
+
:type bone_type: typing.Any
|
|
360
326
|
"""
|
|
361
327
|
|
|
362
328
|
...
|
|
363
329
|
|
|
364
330
|
def delete(
|
|
365
|
-
override_context: typing.
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
undo: typing.Optional[bool] = None,
|
|
370
|
-
*,
|
|
371
|
-
confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
331
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
332
|
+
execution_context: typing.Union[str, int] = None,
|
|
333
|
+
undo: bool = None,
|
|
334
|
+
confirm: typing.Union[bool, typing.Any] = True,
|
|
372
335
|
):
|
|
373
336
|
"""Remove selected bones from the armature
|
|
374
337
|
|
|
375
|
-
:type override_context: typing.
|
|
376
|
-
:type execution_context: typing.
|
|
377
|
-
:type undo:
|
|
338
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
339
|
+
:type execution_context: typing.Union[str, int]
|
|
340
|
+
:type undo: bool
|
|
378
341
|
:param confirm: Confirm, Prompt for confirmation
|
|
379
|
-
:type confirm: typing.
|
|
342
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
380
343
|
"""
|
|
381
344
|
|
|
382
345
|
...
|
|
383
346
|
|
|
384
347
|
def dissolve(
|
|
385
|
-
override_context: typing.
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
389
|
-
undo: typing.Optional[bool] = None,
|
|
348
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
349
|
+
execution_context: typing.Union[str, int] = None,
|
|
350
|
+
undo: bool = None,
|
|
390
351
|
):
|
|
391
352
|
"""Dissolve selected bones from the armature
|
|
392
353
|
|
|
393
|
-
:type override_context: typing.
|
|
394
|
-
:type execution_context: typing.
|
|
395
|
-
:type undo:
|
|
354
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
355
|
+
:type execution_context: typing.Union[str, int]
|
|
356
|
+
:type undo: bool
|
|
396
357
|
"""
|
|
397
358
|
|
|
398
359
|
...
|
|
399
360
|
|
|
400
361
|
def duplicate(
|
|
401
|
-
override_context: typing.
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
undo: typing.Optional[bool] = None,
|
|
406
|
-
*,
|
|
407
|
-
do_flip_names: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
362
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
363
|
+
execution_context: typing.Union[str, int] = None,
|
|
364
|
+
undo: bool = None,
|
|
365
|
+
do_flip_names: typing.Union[bool, typing.Any] = False,
|
|
408
366
|
):
|
|
409
367
|
"""Make copies of the selected bones within the same armature
|
|
410
368
|
|
|
411
|
-
:type override_context: typing.
|
|
412
|
-
:type execution_context: typing.
|
|
413
|
-
:type undo:
|
|
369
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
370
|
+
:type execution_context: typing.Union[str, int]
|
|
371
|
+
:type undo: bool
|
|
414
372
|
:param do_flip_names: Flip Names, Try to flip names of the bones, if possible, instead of adding a number extension
|
|
415
|
-
:type do_flip_names: typing.
|
|
373
|
+
:type do_flip_names: typing.Union[bool, typing.Any]
|
|
416
374
|
"""
|
|
417
375
|
|
|
418
376
|
...
|
|
419
377
|
|
|
420
378
|
def duplicate_move(
|
|
421
|
-
override_context: typing.
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
*,
|
|
427
|
-
ARMATURE_OT_duplicate: typing.Optional["duplicate"] = None,
|
|
428
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
379
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
380
|
+
execution_context: typing.Union[str, int] = None,
|
|
381
|
+
undo: bool = None,
|
|
382
|
+
ARMATURE_OT_duplicate: duplicate = None,
|
|
383
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
429
384
|
):
|
|
430
385
|
"""Make copies of the selected bones within the same armature and move them
|
|
431
386
|
|
|
432
|
-
:type override_context: typing.
|
|
433
|
-
:type execution_context: typing.
|
|
434
|
-
:type undo:
|
|
387
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
388
|
+
:type execution_context: typing.Union[str, int]
|
|
389
|
+
:type undo: bool
|
|
435
390
|
:param ARMATURE_OT_duplicate: Duplicate Selected Bone(s), Make copies of the selected bones within the same armature
|
|
436
|
-
:type ARMATURE_OT_duplicate:
|
|
391
|
+
:type ARMATURE_OT_duplicate: duplicate
|
|
437
392
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
438
|
-
:type TRANSFORM_OT_translate:
|
|
393
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
439
394
|
"""
|
|
440
395
|
|
|
441
396
|
...
|
|
442
397
|
|
|
443
398
|
def extrude(
|
|
444
|
-
override_context: typing.
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
undo: typing.Optional[bool] = None,
|
|
449
|
-
*,
|
|
450
|
-
forked: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
399
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
400
|
+
execution_context: typing.Union[str, int] = None,
|
|
401
|
+
undo: bool = None,
|
|
402
|
+
forked: typing.Union[bool, typing.Any] = False,
|
|
451
403
|
):
|
|
452
404
|
"""Create new bones from the selected joints
|
|
453
405
|
|
|
454
|
-
:type override_context: typing.
|
|
455
|
-
:type execution_context: typing.
|
|
456
|
-
:type undo:
|
|
406
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
407
|
+
:type execution_context: typing.Union[str, int]
|
|
408
|
+
:type undo: bool
|
|
457
409
|
:param forked: Forked
|
|
458
|
-
:type forked: typing.
|
|
410
|
+
:type forked: typing.Union[bool, typing.Any]
|
|
459
411
|
"""
|
|
460
412
|
|
|
461
413
|
...
|
|
462
414
|
|
|
463
415
|
def extrude_forked(
|
|
464
|
-
override_context: typing.
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
*,
|
|
470
|
-
ARMATURE_OT_extrude: typing.Optional["extrude"] = None,
|
|
471
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
416
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
417
|
+
execution_context: typing.Union[str, int] = None,
|
|
418
|
+
undo: bool = None,
|
|
419
|
+
ARMATURE_OT_extrude: extrude = None,
|
|
420
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
472
421
|
):
|
|
473
422
|
"""Create new bones from the selected joints and move them
|
|
474
423
|
|
|
475
|
-
:type override_context: typing.
|
|
476
|
-
:type execution_context: typing.
|
|
477
|
-
:type undo:
|
|
424
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
425
|
+
:type execution_context: typing.Union[str, int]
|
|
426
|
+
:type undo: bool
|
|
478
427
|
:param ARMATURE_OT_extrude: Extrude, Create new bones from the selected joints
|
|
479
|
-
:type ARMATURE_OT_extrude:
|
|
428
|
+
:type ARMATURE_OT_extrude: extrude
|
|
480
429
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
481
|
-
:type TRANSFORM_OT_translate:
|
|
430
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
482
431
|
"""
|
|
483
432
|
|
|
484
433
|
...
|
|
485
434
|
|
|
486
435
|
def extrude_move(
|
|
487
|
-
override_context: typing.
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
*,
|
|
493
|
-
ARMATURE_OT_extrude: typing.Optional["extrude"] = None,
|
|
494
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
436
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
437
|
+
execution_context: typing.Union[str, int] = None,
|
|
438
|
+
undo: bool = None,
|
|
439
|
+
ARMATURE_OT_extrude: extrude = None,
|
|
440
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
495
441
|
):
|
|
496
442
|
"""Create new bones from the selected joints and move them
|
|
497
443
|
|
|
498
|
-
:type override_context: typing.
|
|
499
|
-
:type execution_context: typing.
|
|
500
|
-
:type undo:
|
|
444
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
445
|
+
:type execution_context: typing.Union[str, int]
|
|
446
|
+
:type undo: bool
|
|
501
447
|
:param ARMATURE_OT_extrude: Extrude, Create new bones from the selected joints
|
|
502
|
-
:type ARMATURE_OT_extrude:
|
|
448
|
+
:type ARMATURE_OT_extrude: extrude
|
|
503
449
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
504
|
-
:type TRANSFORM_OT_translate:
|
|
450
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
505
451
|
"""
|
|
506
452
|
|
|
507
453
|
...
|
|
508
454
|
|
|
509
455
|
def fill(
|
|
510
|
-
override_context: typing.
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
514
|
-
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,
|
|
515
459
|
):
|
|
516
460
|
"""Add bone between selected joint(s) and/or 3D cursor
|
|
517
461
|
|
|
518
|
-
:type override_context: typing.
|
|
519
|
-
:type execution_context: typing.
|
|
520
|
-
:type undo:
|
|
462
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
463
|
+
:type execution_context: typing.Union[str, int]
|
|
464
|
+
:type undo: bool
|
|
521
465
|
"""
|
|
522
466
|
|
|
523
467
|
...
|
|
524
468
|
|
|
525
469
|
def flip_names(
|
|
526
|
-
override_context: typing.
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
undo: typing.Optional[bool] = None,
|
|
531
|
-
*,
|
|
532
|
-
do_strip_numbers: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
470
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
471
|
+
execution_context: typing.Union[str, int] = None,
|
|
472
|
+
undo: bool = None,
|
|
473
|
+
do_strip_numbers: typing.Union[bool, typing.Any] = False,
|
|
533
474
|
):
|
|
534
475
|
"""Flips (and corrects) the axis suffixes of the names of selected bones
|
|
535
476
|
|
|
536
|
-
:type override_context: typing.
|
|
537
|
-
:type execution_context: typing.
|
|
538
|
-
:type undo:
|
|
539
|
-
:param do_strip_numbers: May result in incoherent naming in some cases
|
|
540
|
-
:type do_strip_numbers: typing.
|
|
477
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
478
|
+
:type execution_context: typing.Union[str, int]
|
|
479
|
+
:type undo: bool
|
|
480
|
+
: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
|
|
481
|
+
:type do_strip_numbers: typing.Union[bool, typing.Any]
|
|
541
482
|
"""
|
|
542
483
|
|
|
543
484
|
...
|
|
544
485
|
|
|
545
486
|
def hide(
|
|
546
|
-
override_context: typing.
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
undo: typing.Optional[bool] = None,
|
|
551
|
-
*,
|
|
552
|
-
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
487
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
488
|
+
execution_context: typing.Union[str, int] = None,
|
|
489
|
+
undo: bool = None,
|
|
490
|
+
unselected: typing.Union[bool, typing.Any] = False,
|
|
553
491
|
):
|
|
554
492
|
"""Tag selected bones to not be visible in Edit Mode
|
|
555
493
|
|
|
556
|
-
:type override_context: typing.
|
|
557
|
-
:type execution_context: typing.
|
|
558
|
-
:type undo:
|
|
494
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
495
|
+
:type execution_context: typing.Union[str, int]
|
|
496
|
+
:type undo: bool
|
|
559
497
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
560
|
-
:type unselected: typing.
|
|
498
|
+
:type unselected: typing.Union[bool, typing.Any]
|
|
561
499
|
"""
|
|
562
500
|
|
|
563
501
|
...
|
|
564
502
|
|
|
565
503
|
def move_to_collection(
|
|
566
|
-
override_context: typing.
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
undo: typing.Optional[bool] = None,
|
|
571
|
-
*,
|
|
572
|
-
collection_index: typing.Optional[typing.Any] = -1,
|
|
504
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
505
|
+
execution_context: typing.Union[str, int] = None,
|
|
506
|
+
undo: bool = None,
|
|
507
|
+
collection_index: typing.Any = -1,
|
|
573
508
|
new_collection_name: typing.Union[str, typing.Any] = "",
|
|
574
509
|
):
|
|
575
510
|
"""Move bones to a collection
|
|
576
511
|
|
|
577
|
-
:type override_context: typing.
|
|
578
|
-
:type execution_context: typing.
|
|
579
|
-
:type undo:
|
|
512
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
513
|
+
:type execution_context: typing.Union[str, int]
|
|
514
|
+
:type undo: bool
|
|
580
515
|
:param collection_index: Collection Index, Index of the collection to move selected bones to. When the operator should create a new bone collection, do not include this parameter and pass new_collection_name
|
|
581
|
-
:type collection_index: typing.
|
|
516
|
+
:type collection_index: typing.Any
|
|
582
517
|
:param new_collection_name: Name, Name of a to-be-added bone collection. Only pass this if you want to create a new bone collection and move the selected bones to it. To move to an existing collection, do not include this parameter and use collection_index
|
|
583
518
|
:type new_collection_name: typing.Union[str, typing.Any]
|
|
584
519
|
"""
|
|
@@ -586,353 +521,316 @@ def move_to_collection(
|
|
|
586
521
|
...
|
|
587
522
|
|
|
588
523
|
def parent_clear(
|
|
589
|
-
override_context: typing.
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
undo: typing.Optional[bool] = None,
|
|
594
|
-
*,
|
|
595
|
-
type: typing.Optional[typing.Any] = "CLEAR",
|
|
524
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
525
|
+
execution_context: typing.Union[str, int] = None,
|
|
526
|
+
undo: bool = None,
|
|
527
|
+
type: typing.Any = "CLEAR",
|
|
596
528
|
):
|
|
597
529
|
"""Remove the parent-child relationship between selected bones and their parents
|
|
598
530
|
|
|
599
|
-
:type override_context: typing.
|
|
600
|
-
:type execution_context: typing.
|
|
601
|
-
:type undo:
|
|
531
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
532
|
+
:type execution_context: typing.Union[str, int]
|
|
533
|
+
:type undo: bool
|
|
602
534
|
:param type: Clear Type, What way to clear parenting
|
|
603
|
-
:type type: typing.
|
|
535
|
+
:type type: typing.Any
|
|
604
536
|
"""
|
|
605
537
|
|
|
606
538
|
...
|
|
607
539
|
|
|
608
540
|
def parent_set(
|
|
609
|
-
override_context: typing.
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
undo: typing.Optional[bool] = None,
|
|
614
|
-
*,
|
|
615
|
-
type: typing.Optional[typing.Any] = "CONNECTED",
|
|
541
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
542
|
+
execution_context: typing.Union[str, int] = None,
|
|
543
|
+
undo: bool = None,
|
|
544
|
+
type: typing.Any = "CONNECTED",
|
|
616
545
|
):
|
|
617
546
|
"""Set the active bone as the parent of the selected bones
|
|
618
547
|
|
|
619
|
-
:type override_context: typing.
|
|
620
|
-
:type execution_context: typing.
|
|
621
|
-
:type undo:
|
|
548
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
549
|
+
:type execution_context: typing.Union[str, int]
|
|
550
|
+
:type undo: bool
|
|
622
551
|
:param type: Parent Type, Type of parenting
|
|
623
|
-
:type type: typing.
|
|
552
|
+
:type type: typing.Any
|
|
624
553
|
"""
|
|
625
554
|
|
|
626
555
|
...
|
|
627
556
|
|
|
628
557
|
def reveal(
|
|
629
|
-
override_context: typing.
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
undo: typing.Optional[bool] = None,
|
|
634
|
-
*,
|
|
635
|
-
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
558
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
559
|
+
execution_context: typing.Union[str, int] = None,
|
|
560
|
+
undo: bool = None,
|
|
561
|
+
select: typing.Union[bool, typing.Any] = True,
|
|
636
562
|
):
|
|
637
563
|
"""Reveal all bones hidden in Edit Mode
|
|
638
564
|
|
|
639
|
-
:type override_context: typing.
|
|
640
|
-
:type execution_context: typing.
|
|
641
|
-
:type undo:
|
|
565
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
566
|
+
:type execution_context: typing.Union[str, int]
|
|
567
|
+
:type undo: bool
|
|
642
568
|
:param select: Select
|
|
643
|
-
:type select: typing.
|
|
569
|
+
:type select: typing.Union[bool, typing.Any]
|
|
644
570
|
"""
|
|
645
571
|
|
|
646
572
|
...
|
|
647
573
|
|
|
648
574
|
def roll_clear(
|
|
649
|
-
override_context: typing.
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
undo: typing.Optional[bool] = None,
|
|
654
|
-
*,
|
|
655
|
-
roll: typing.Optional[typing.Any] = 0.0,
|
|
575
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
576
|
+
execution_context: typing.Union[str, int] = None,
|
|
577
|
+
undo: bool = None,
|
|
578
|
+
roll: typing.Any = 0.0,
|
|
656
579
|
):
|
|
657
580
|
"""Clear roll for selected bones
|
|
658
581
|
|
|
659
|
-
:type override_context: typing.
|
|
660
|
-
:type execution_context: typing.
|
|
661
|
-
:type undo:
|
|
582
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
583
|
+
:type execution_context: typing.Union[str, int]
|
|
584
|
+
:type undo: bool
|
|
662
585
|
:param roll: Roll
|
|
663
|
-
:type roll: typing.
|
|
586
|
+
:type roll: typing.Any
|
|
664
587
|
"""
|
|
665
588
|
|
|
666
589
|
...
|
|
667
590
|
|
|
668
591
|
def select_all(
|
|
669
|
-
override_context: typing.
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
undo: typing.Optional[bool] = None,
|
|
674
|
-
*,
|
|
675
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
592
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
593
|
+
execution_context: typing.Union[str, int] = None,
|
|
594
|
+
undo: bool = None,
|
|
595
|
+
action: typing.Any = "TOGGLE",
|
|
676
596
|
):
|
|
677
597
|
"""Toggle selection status of all bones
|
|
678
598
|
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
599
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
600
|
+
:type execution_context: typing.Union[str, int]
|
|
601
|
+
:type undo: bool
|
|
602
|
+
:param action: Action, Selection action to execute
|
|
603
|
+
|
|
604
|
+
TOGGLE
|
|
605
|
+
Toggle -- Toggle selection for all elements.
|
|
606
|
+
|
|
607
|
+
SELECT
|
|
608
|
+
Select -- Select all elements.
|
|
609
|
+
|
|
610
|
+
DESELECT
|
|
611
|
+
Deselect -- Deselect all elements.
|
|
612
|
+
|
|
613
|
+
INVERT
|
|
614
|
+
Invert -- Invert selection of all elements.
|
|
615
|
+
:type action: typing.Any
|
|
684
616
|
"""
|
|
685
617
|
|
|
686
618
|
...
|
|
687
619
|
|
|
688
620
|
def select_hierarchy(
|
|
689
|
-
override_context: typing.
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
*,
|
|
695
|
-
direction: typing.Optional[typing.Any] = "PARENT",
|
|
696
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
621
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
622
|
+
execution_context: typing.Union[str, int] = None,
|
|
623
|
+
undo: bool = None,
|
|
624
|
+
direction: typing.Any = "PARENT",
|
|
625
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
697
626
|
):
|
|
698
627
|
"""Select immediate parent/children of selected bones
|
|
699
628
|
|
|
700
|
-
:type override_context: typing.
|
|
701
|
-
:type execution_context: typing.
|
|
702
|
-
:type undo:
|
|
629
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
630
|
+
:type execution_context: typing.Union[str, int]
|
|
631
|
+
:type undo: bool
|
|
703
632
|
:param direction: Direction
|
|
704
|
-
:type direction: typing.
|
|
633
|
+
:type direction: typing.Any
|
|
705
634
|
:param extend: Extend, Extend the selection
|
|
706
|
-
:type extend: typing.
|
|
635
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
707
636
|
"""
|
|
708
637
|
|
|
709
638
|
...
|
|
710
639
|
|
|
711
640
|
def select_less(
|
|
712
|
-
override_context: typing.
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
716
|
-
undo: typing.Optional[bool] = None,
|
|
641
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
642
|
+
execution_context: typing.Union[str, int] = None,
|
|
643
|
+
undo: bool = None,
|
|
717
644
|
):
|
|
718
645
|
"""Deselect those bones at the boundary of each selection region
|
|
719
646
|
|
|
720
|
-
:type override_context: typing.
|
|
721
|
-
:type execution_context: typing.
|
|
722
|
-
:type undo:
|
|
647
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
648
|
+
:type execution_context: typing.Union[str, int]
|
|
649
|
+
:type undo: bool
|
|
723
650
|
"""
|
|
724
651
|
|
|
725
652
|
...
|
|
726
653
|
|
|
727
654
|
def select_linked(
|
|
728
|
-
override_context: typing.
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
undo: typing.Optional[bool] = None,
|
|
733
|
-
*,
|
|
734
|
-
all_forks: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
655
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
656
|
+
execution_context: typing.Union[str, int] = None,
|
|
657
|
+
undo: bool = None,
|
|
658
|
+
all_forks: typing.Union[bool, typing.Any] = False,
|
|
735
659
|
):
|
|
736
660
|
"""Select all bones linked by parent/child connections to the current selection
|
|
737
661
|
|
|
738
|
-
:type override_context: typing.
|
|
739
|
-
:type execution_context: typing.
|
|
740
|
-
:type undo:
|
|
662
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
663
|
+
:type execution_context: typing.Union[str, int]
|
|
664
|
+
:type undo: bool
|
|
741
665
|
:param all_forks: All Forks, Follow forks in the parents chain
|
|
742
|
-
:type all_forks: typing.
|
|
666
|
+
:type all_forks: typing.Union[bool, typing.Any]
|
|
743
667
|
"""
|
|
744
668
|
|
|
745
669
|
...
|
|
746
670
|
|
|
747
671
|
def select_linked_pick(
|
|
748
|
-
override_context: typing.
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
*,
|
|
754
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
755
|
-
all_forks: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
672
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
673
|
+
execution_context: typing.Union[str, int] = None,
|
|
674
|
+
undo: bool = None,
|
|
675
|
+
deselect: typing.Union[bool, typing.Any] = False,
|
|
676
|
+
all_forks: typing.Union[bool, typing.Any] = False,
|
|
756
677
|
):
|
|
757
678
|
"""(De)select bones linked by parent/child connections under the mouse cursor
|
|
758
679
|
|
|
759
|
-
:type override_context: typing.
|
|
760
|
-
:type execution_context: typing.
|
|
761
|
-
:type undo:
|
|
680
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
681
|
+
:type execution_context: typing.Union[str, int]
|
|
682
|
+
:type undo: bool
|
|
762
683
|
:param deselect: Deselect
|
|
763
|
-
:type deselect: typing.
|
|
684
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
764
685
|
:param all_forks: All Forks, Follow forks in the parents chain
|
|
765
|
-
:type all_forks: typing.
|
|
686
|
+
:type all_forks: typing.Union[bool, typing.Any]
|
|
766
687
|
"""
|
|
767
688
|
|
|
768
689
|
...
|
|
769
690
|
|
|
770
691
|
def select_mirror(
|
|
771
|
-
override_context: typing.
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
*,
|
|
777
|
-
only_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
778
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
692
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
693
|
+
execution_context: typing.Union[str, int] = None,
|
|
694
|
+
undo: bool = None,
|
|
695
|
+
only_active: typing.Union[bool, typing.Any] = False,
|
|
696
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
779
697
|
):
|
|
780
698
|
"""Mirror the bone selection
|
|
781
699
|
|
|
782
|
-
:type override_context: typing.
|
|
783
|
-
:type execution_context: typing.
|
|
784
|
-
:type undo:
|
|
700
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
701
|
+
:type execution_context: typing.Union[str, int]
|
|
702
|
+
:type undo: bool
|
|
785
703
|
:param only_active: Active Only, Only operate on the active bone
|
|
786
|
-
:type only_active: typing.
|
|
704
|
+
:type only_active: typing.Union[bool, typing.Any]
|
|
787
705
|
:param extend: Extend, Extend the selection
|
|
788
|
-
:type extend: typing.
|
|
706
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
789
707
|
"""
|
|
790
708
|
|
|
791
709
|
...
|
|
792
710
|
|
|
793
711
|
def select_more(
|
|
794
|
-
override_context: typing.
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
798
|
-
undo: typing.Optional[bool] = None,
|
|
712
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
713
|
+
execution_context: typing.Union[str, int] = None,
|
|
714
|
+
undo: bool = None,
|
|
799
715
|
):
|
|
800
716
|
"""Select those bones connected to the initial selection
|
|
801
717
|
|
|
802
|
-
:type override_context: typing.
|
|
803
|
-
:type execution_context: typing.
|
|
804
|
-
:type undo:
|
|
718
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
719
|
+
:type execution_context: typing.Union[str, int]
|
|
720
|
+
:type undo: bool
|
|
805
721
|
"""
|
|
806
722
|
|
|
807
723
|
...
|
|
808
724
|
|
|
809
725
|
def select_similar(
|
|
810
|
-
override_context: typing.
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
*,
|
|
816
|
-
type: typing.Optional[typing.Any] = "LENGTH",
|
|
817
|
-
threshold: typing.Optional[typing.Any] = 0.1,
|
|
726
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
727
|
+
execution_context: typing.Union[str, int] = None,
|
|
728
|
+
undo: bool = None,
|
|
729
|
+
type: typing.Any = "LENGTH",
|
|
730
|
+
threshold: typing.Any = 0.1,
|
|
818
731
|
):
|
|
819
732
|
"""Select similar bones by property types
|
|
820
733
|
|
|
821
|
-
:type override_context: typing.
|
|
822
|
-
:type execution_context: typing.
|
|
823
|
-
:type undo:
|
|
734
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
735
|
+
:type execution_context: typing.Union[str, int]
|
|
736
|
+
:type undo: bool
|
|
824
737
|
:param type: Type
|
|
825
|
-
:type type: typing.
|
|
738
|
+
:type type: typing.Any
|
|
826
739
|
:param threshold: Threshold
|
|
827
|
-
:type threshold: typing.
|
|
740
|
+
:type threshold: typing.Any
|
|
828
741
|
"""
|
|
829
742
|
|
|
830
743
|
...
|
|
831
744
|
|
|
832
745
|
def separate(
|
|
833
|
-
override_context: typing.
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
undo: typing.Optional[bool] = None,
|
|
838
|
-
*,
|
|
839
|
-
confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
746
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
747
|
+
execution_context: typing.Union[str, int] = None,
|
|
748
|
+
undo: bool = None,
|
|
749
|
+
confirm: typing.Union[bool, typing.Any] = True,
|
|
840
750
|
):
|
|
841
751
|
"""Isolate selected bones into a separate armature
|
|
842
752
|
|
|
843
|
-
:type override_context: typing.
|
|
844
|
-
:type execution_context: typing.
|
|
845
|
-
:type undo:
|
|
753
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
754
|
+
:type execution_context: typing.Union[str, int]
|
|
755
|
+
:type undo: bool
|
|
846
756
|
:param confirm: Confirm, Prompt for confirmation
|
|
847
|
-
:type confirm: typing.
|
|
757
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
848
758
|
"""
|
|
849
759
|
|
|
850
760
|
...
|
|
851
761
|
|
|
852
762
|
def shortest_path_pick(
|
|
853
|
-
override_context: typing.
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
857
|
-
undo: typing.Optional[bool] = None,
|
|
763
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
764
|
+
execution_context: typing.Union[str, int] = None,
|
|
765
|
+
undo: bool = None,
|
|
858
766
|
):
|
|
859
767
|
"""Select shortest path between two bones
|
|
860
768
|
|
|
861
|
-
:type override_context: typing.
|
|
862
|
-
:type execution_context: typing.
|
|
863
|
-
:type undo:
|
|
769
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
770
|
+
:type execution_context: typing.Union[str, int]
|
|
771
|
+
:type undo: bool
|
|
864
772
|
"""
|
|
865
773
|
|
|
866
774
|
...
|
|
867
775
|
|
|
868
776
|
def split(
|
|
869
|
-
override_context: typing.
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
873
|
-
undo: typing.Optional[bool] = None,
|
|
777
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
778
|
+
execution_context: typing.Union[str, int] = None,
|
|
779
|
+
undo: bool = None,
|
|
874
780
|
):
|
|
875
781
|
"""Split off selected bones from connected unselected bones
|
|
876
782
|
|
|
877
|
-
:type override_context: typing.
|
|
878
|
-
:type execution_context: typing.
|
|
879
|
-
:type undo:
|
|
783
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
784
|
+
:type execution_context: typing.Union[str, int]
|
|
785
|
+
:type undo: bool
|
|
880
786
|
"""
|
|
881
787
|
|
|
882
788
|
...
|
|
883
789
|
|
|
884
790
|
def subdivide(
|
|
885
|
-
override_context: typing.
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
undo: typing.Optional[bool] = None,
|
|
890
|
-
*,
|
|
891
|
-
number_cuts: typing.Optional[typing.Any] = 1,
|
|
791
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
792
|
+
execution_context: typing.Union[str, int] = None,
|
|
793
|
+
undo: bool = None,
|
|
794
|
+
number_cuts: typing.Any = 1,
|
|
892
795
|
):
|
|
893
796
|
"""Break selected bones into chains of smaller bones
|
|
894
797
|
|
|
895
|
-
:type override_context: typing.
|
|
896
|
-
:type execution_context: typing.
|
|
897
|
-
:type undo:
|
|
798
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
799
|
+
:type execution_context: typing.Union[str, int]
|
|
800
|
+
:type undo: bool
|
|
898
801
|
:param number_cuts: Number of Cuts
|
|
899
|
-
:type number_cuts: typing.
|
|
802
|
+
:type number_cuts: typing.Any
|
|
900
803
|
"""
|
|
901
804
|
|
|
902
805
|
...
|
|
903
806
|
|
|
904
807
|
def switch_direction(
|
|
905
|
-
override_context: typing.
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
909
|
-
undo: typing.Optional[bool] = None,
|
|
808
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
809
|
+
execution_context: typing.Union[str, int] = None,
|
|
810
|
+
undo: bool = None,
|
|
910
811
|
):
|
|
911
812
|
"""Change the direction that a chain of bones points in (head and tail swap)
|
|
912
813
|
|
|
913
|
-
:type override_context: typing.
|
|
914
|
-
:type execution_context: typing.
|
|
915
|
-
:type undo:
|
|
814
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
815
|
+
:type execution_context: typing.Union[str, int]
|
|
816
|
+
:type undo: bool
|
|
916
817
|
"""
|
|
917
818
|
|
|
918
819
|
...
|
|
919
820
|
|
|
920
821
|
def symmetrize(
|
|
921
|
-
override_context: typing.
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
undo: typing.Optional[bool] = None,
|
|
926
|
-
*,
|
|
927
|
-
direction: typing.Optional[typing.Any] = "NEGATIVE_X",
|
|
822
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
823
|
+
execution_context: typing.Union[str, int] = None,
|
|
824
|
+
undo: bool = None,
|
|
825
|
+
direction: typing.Any = "NEGATIVE_X",
|
|
928
826
|
):
|
|
929
827
|
"""Enforce symmetry, make copies of the selection or use existing
|
|
930
828
|
|
|
931
|
-
:type override_context: typing.
|
|
932
|
-
:type execution_context: typing.
|
|
933
|
-
:type undo:
|
|
829
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
830
|
+
:type execution_context: typing.Union[str, int]
|
|
831
|
+
:type undo: bool
|
|
934
832
|
:param direction: Direction, Which sides to copy from and to (when both are selected)
|
|
935
|
-
:type direction: typing.
|
|
833
|
+
:type direction: typing.Any
|
|
936
834
|
"""
|
|
937
835
|
|
|
938
836
|
...
|