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/armature/__init__.pyi
CHANGED
|
@@ -5,38 +5,33 @@ import bpy.types
|
|
|
5
5
|
GenericType = typing.TypeVar("GenericType")
|
|
6
6
|
|
|
7
7
|
def align(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
12
|
-
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,
|
|
13
11
|
):
|
|
14
12
|
"""Align selected bones to the active bone (or to their parent)
|
|
15
13
|
|
|
16
|
-
:type override_context: typing.
|
|
17
|
-
:type execution_context: typing.
|
|
18
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
19
17
|
"""
|
|
20
18
|
|
|
21
19
|
...
|
|
22
20
|
|
|
23
21
|
def assign_to_collection(
|
|
24
|
-
override_context: typing.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
undo: typing.Optional[bool] = None,
|
|
29
|
-
*,
|
|
30
|
-
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,
|
|
31
26
|
new_collection_name: typing.Union[str, typing.Any] = "",
|
|
32
27
|
):
|
|
33
28
|
"""Assign all selected bones to a collection, or unassign them, depending on whether the active bone is already assigned or not
|
|
34
29
|
|
|
35
|
-
:type override_context: typing.
|
|
36
|
-
:type execution_context: typing.
|
|
37
|
-
:type undo:
|
|
30
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
31
|
+
:type execution_context: typing.Union[str, int]
|
|
32
|
+
:type undo: bool
|
|
38
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
|
|
39
|
-
:type collection_index: typing.
|
|
34
|
+
:type collection_index: typing.Any
|
|
40
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
|
|
41
36
|
:type new_collection_name: typing.Union[str, typing.Any]
|
|
42
37
|
"""
|
|
@@ -44,19 +39,16 @@ def assign_to_collection(
|
|
|
44
39
|
...
|
|
45
40
|
|
|
46
41
|
def autoside_names(
|
|
47
|
-
override_context: typing.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
undo: typing.Optional[bool] = None,
|
|
52
|
-
*,
|
|
53
|
-
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",
|
|
54
46
|
):
|
|
55
47
|
"""Automatically renames the selected bones according to which side of the target axis they fall on
|
|
56
48
|
|
|
57
|
-
:type override_context: typing.
|
|
58
|
-
:type execution_context: typing.
|
|
59
|
-
:type undo:
|
|
49
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
50
|
+
:type execution_context: typing.Union[str, int]
|
|
51
|
+
:type undo: bool
|
|
60
52
|
:param type: Axis, Axis to tag names with
|
|
61
53
|
|
|
62
54
|
XAXIS
|
|
@@ -67,25 +59,22 @@ def autoside_names(
|
|
|
67
59
|
|
|
68
60
|
ZAXIS
|
|
69
61
|
Z-Axis -- Top/Bottom.
|
|
70
|
-
:type type: typing.
|
|
62
|
+
:type type: typing.Any
|
|
71
63
|
"""
|
|
72
64
|
|
|
73
65
|
...
|
|
74
66
|
|
|
75
67
|
def bone_primitive_add(
|
|
76
|
-
override_context: typing.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
80
|
-
undo: typing.Optional[bool] = None,
|
|
81
|
-
*,
|
|
68
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
69
|
+
execution_context: typing.Union[str, int] = None,
|
|
70
|
+
undo: bool = None,
|
|
82
71
|
name: typing.Union[str, typing.Any] = "",
|
|
83
72
|
):
|
|
84
73
|
"""Add a new bone located at the 3D cursor
|
|
85
74
|
|
|
86
|
-
:type override_context: typing.
|
|
87
|
-
:type execution_context: typing.
|
|
88
|
-
:type undo:
|
|
75
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
76
|
+
:type execution_context: typing.Union[str, int]
|
|
77
|
+
:type undo: bool
|
|
89
78
|
:param name: Name, Name of the newly created bone
|
|
90
79
|
:type name: typing.Union[str, typing.Any]
|
|
91
80
|
"""
|
|
@@ -93,77 +82,67 @@ def bone_primitive_add(
|
|
|
93
82
|
...
|
|
94
83
|
|
|
95
84
|
def calculate_roll(
|
|
96
|
-
override_context: typing.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
type: typing.Optional[typing.Any] = "POS_X",
|
|
103
|
-
axis_flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
104
|
-
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,
|
|
105
91
|
):
|
|
106
92
|
"""Automatically fix alignment of select bones' axes
|
|
107
93
|
|
|
108
|
-
:type override_context: typing.
|
|
109
|
-
:type execution_context: typing.
|
|
110
|
-
:type undo:
|
|
94
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
95
|
+
:type execution_context: typing.Union[str, int]
|
|
96
|
+
:type undo: bool
|
|
111
97
|
:param type: Type
|
|
112
|
-
:type type: typing.
|
|
98
|
+
:type type: typing.Any
|
|
113
99
|
:param axis_flip: Flip Axis, Negate the alignment axis
|
|
114
|
-
:type axis_flip: typing.
|
|
100
|
+
:type axis_flip: typing.Union[bool, typing.Any]
|
|
115
101
|
:param axis_only: Shortest Rotation, Ignore the axis direction, use the shortest rotation to align
|
|
116
|
-
:type axis_only: typing.
|
|
102
|
+
:type axis_only: typing.Union[bool, typing.Any]
|
|
117
103
|
"""
|
|
118
104
|
|
|
119
105
|
...
|
|
120
106
|
|
|
121
107
|
def click_extrude(
|
|
122
|
-
override_context: typing.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
126
|
-
undo: typing.Optional[bool] = None,
|
|
108
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
109
|
+
execution_context: typing.Union[str, int] = None,
|
|
110
|
+
undo: bool = None,
|
|
127
111
|
):
|
|
128
112
|
"""Create a new bone going from the last selected joint to the mouse position
|
|
129
113
|
|
|
130
|
-
:type override_context: typing.
|
|
131
|
-
:type execution_context: typing.
|
|
132
|
-
:type undo:
|
|
114
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
115
|
+
:type execution_context: typing.Union[str, int]
|
|
116
|
+
:type undo: bool
|
|
133
117
|
"""
|
|
134
118
|
|
|
135
119
|
...
|
|
136
120
|
|
|
137
121
|
def collection_add(
|
|
138
|
-
override_context: typing.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
142
|
-
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,
|
|
143
125
|
):
|
|
144
126
|
"""Add a new bone collection
|
|
145
127
|
|
|
146
|
-
:type override_context: typing.
|
|
147
|
-
:type execution_context: typing.
|
|
148
|
-
:type undo:
|
|
128
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
129
|
+
:type execution_context: typing.Union[str, int]
|
|
130
|
+
:type undo: bool
|
|
149
131
|
"""
|
|
150
132
|
|
|
151
133
|
...
|
|
152
134
|
|
|
153
135
|
def collection_assign(
|
|
154
|
-
override_context: typing.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
158
|
-
undo: typing.Optional[bool] = None,
|
|
159
|
-
*,
|
|
136
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
137
|
+
execution_context: typing.Union[str, int] = None,
|
|
138
|
+
undo: bool = None,
|
|
160
139
|
name: typing.Union[str, typing.Any] = "",
|
|
161
140
|
):
|
|
162
141
|
"""Add selected bones to the chosen bone collection
|
|
163
142
|
|
|
164
|
-
:type override_context: typing.
|
|
165
|
-
:type execution_context: typing.
|
|
166
|
-
:type undo:
|
|
143
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
144
|
+
:type execution_context: typing.Union[str, int]
|
|
145
|
+
:type undo: bool
|
|
167
146
|
:param name: Bone Collection, Name of the bone collection to assign this bone to; empty to assign to the active bone collection
|
|
168
147
|
:type name: typing.Union[str, typing.Any]
|
|
169
148
|
"""
|
|
@@ -171,19 +150,16 @@ def collection_assign(
|
|
|
171
150
|
...
|
|
172
151
|
|
|
173
152
|
def collection_create_and_assign(
|
|
174
|
-
override_context: typing.
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
178
|
-
undo: typing.Optional[bool] = None,
|
|
179
|
-
*,
|
|
153
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
154
|
+
execution_context: typing.Union[str, int] = None,
|
|
155
|
+
undo: bool = None,
|
|
180
156
|
name: typing.Union[str, typing.Any] = "",
|
|
181
157
|
):
|
|
182
158
|
"""Create a new bone collection and assign all selected bones
|
|
183
159
|
|
|
184
|
-
:type override_context: typing.
|
|
185
|
-
:type execution_context: typing.
|
|
186
|
-
:type undo:
|
|
160
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
161
|
+
:type execution_context: typing.Union[str, int]
|
|
162
|
+
:type undo: bool
|
|
187
163
|
:param name: Bone Collection, Name of the bone collection to create
|
|
188
164
|
:type name: typing.Union[str, typing.Any]
|
|
189
165
|
"""
|
|
@@ -191,119 +167,103 @@ def collection_create_and_assign(
|
|
|
191
167
|
...
|
|
192
168
|
|
|
193
169
|
def collection_deselect(
|
|
194
|
-
override_context: typing.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
198
|
-
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,
|
|
199
173
|
):
|
|
200
174
|
"""Deselect bones of active Bone Collection
|
|
201
175
|
|
|
202
|
-
:type override_context: typing.
|
|
203
|
-
:type execution_context: typing.
|
|
204
|
-
:type undo:
|
|
176
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
177
|
+
:type execution_context: typing.Union[str, int]
|
|
178
|
+
:type undo: bool
|
|
205
179
|
"""
|
|
206
180
|
|
|
207
181
|
...
|
|
208
182
|
|
|
209
183
|
def collection_move(
|
|
210
|
-
override_context: typing.
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
undo: typing.Optional[bool] = None,
|
|
215
|
-
*,
|
|
216
|
-
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",
|
|
217
188
|
):
|
|
218
189
|
"""Change position of active Bone Collection in list of Bone collections
|
|
219
190
|
|
|
220
|
-
:type override_context: typing.
|
|
221
|
-
:type execution_context: typing.
|
|
222
|
-
:type undo:
|
|
191
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
192
|
+
:type execution_context: typing.Union[str, int]
|
|
193
|
+
:type undo: bool
|
|
223
194
|
:param direction: Direction, Direction to move the active Bone Collection towards
|
|
224
|
-
:type direction: typing.
|
|
195
|
+
:type direction: typing.Any
|
|
225
196
|
"""
|
|
226
197
|
|
|
227
198
|
...
|
|
228
199
|
|
|
229
200
|
def collection_remove(
|
|
230
|
-
override_context: typing.
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
234
|
-
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,
|
|
235
204
|
):
|
|
236
205
|
"""Remove the active bone collection
|
|
237
206
|
|
|
238
|
-
:type override_context: typing.
|
|
239
|
-
:type execution_context: typing.
|
|
240
|
-
:type undo:
|
|
207
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
208
|
+
:type execution_context: typing.Union[str, int]
|
|
209
|
+
:type undo: bool
|
|
241
210
|
"""
|
|
242
211
|
|
|
243
212
|
...
|
|
244
213
|
|
|
245
214
|
def collection_remove_unused(
|
|
246
|
-
override_context: typing.
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
250
|
-
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,
|
|
251
218
|
):
|
|
252
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
|
|
253
220
|
|
|
254
|
-
:type override_context: typing.
|
|
255
|
-
:type execution_context: typing.
|
|
256
|
-
:type undo:
|
|
221
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
222
|
+
:type execution_context: typing.Union[str, int]
|
|
223
|
+
:type undo: bool
|
|
257
224
|
"""
|
|
258
225
|
|
|
259
226
|
...
|
|
260
227
|
|
|
261
228
|
def collection_select(
|
|
262
|
-
override_context: typing.
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
266
|
-
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,
|
|
267
232
|
):
|
|
268
233
|
"""Select bones in active Bone Collection
|
|
269
234
|
|
|
270
|
-
:type override_context: typing.
|
|
271
|
-
:type execution_context: typing.
|
|
272
|
-
:type undo:
|
|
235
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
236
|
+
:type execution_context: typing.Union[str, int]
|
|
237
|
+
:type undo: bool
|
|
273
238
|
"""
|
|
274
239
|
|
|
275
240
|
...
|
|
276
241
|
|
|
277
242
|
def collection_show_all(
|
|
278
|
-
override_context: typing.
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
282
|
-
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,
|
|
283
246
|
):
|
|
284
247
|
"""Show all bone collections
|
|
285
248
|
|
|
286
|
-
:type override_context: typing.
|
|
287
|
-
:type execution_context: typing.
|
|
288
|
-
:type undo:
|
|
249
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
250
|
+
:type execution_context: typing.Union[str, int]
|
|
251
|
+
:type undo: bool
|
|
289
252
|
"""
|
|
290
253
|
|
|
291
254
|
...
|
|
292
255
|
|
|
293
256
|
def collection_unassign(
|
|
294
|
-
override_context: typing.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
298
|
-
undo: typing.Optional[bool] = None,
|
|
299
|
-
*,
|
|
257
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
258
|
+
execution_context: typing.Union[str, int] = None,
|
|
259
|
+
undo: bool = None,
|
|
300
260
|
name: typing.Union[str, typing.Any] = "",
|
|
301
261
|
):
|
|
302
262
|
"""Remove selected bones from the active bone collection
|
|
303
263
|
|
|
304
|
-
:type override_context: typing.
|
|
305
|
-
:type execution_context: typing.
|
|
306
|
-
:type undo:
|
|
264
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
265
|
+
:type execution_context: typing.Union[str, int]
|
|
266
|
+
:type undo: bool
|
|
307
267
|
:param name: Bone Collection, Name of the bone collection to unassign this bone from; empty to unassign from the active bone collection
|
|
308
268
|
:type name: typing.Union[str, typing.Any]
|
|
309
269
|
"""
|
|
@@ -311,20 +271,17 @@ def collection_unassign(
|
|
|
311
271
|
...
|
|
312
272
|
|
|
313
273
|
def collection_unassign_named(
|
|
314
|
-
override_context: typing.
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
318
|
-
undo: typing.Optional[bool] = None,
|
|
319
|
-
*,
|
|
274
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
275
|
+
execution_context: typing.Union[str, int] = None,
|
|
276
|
+
undo: bool = None,
|
|
320
277
|
name: typing.Union[str, typing.Any] = "",
|
|
321
278
|
bone_name: typing.Union[str, typing.Any] = "",
|
|
322
279
|
):
|
|
323
280
|
"""Unassign the named bone from this bone collection
|
|
324
281
|
|
|
325
|
-
:type override_context: typing.
|
|
326
|
-
:type execution_context: typing.
|
|
327
|
-
:type undo:
|
|
282
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
283
|
+
:type execution_context: typing.Union[str, int]
|
|
284
|
+
:type undo: bool
|
|
328
285
|
:param name: Bone Collection, Name of the bone collection to unassign this bone from; empty to unassign from the active bone collection
|
|
329
286
|
:type name: typing.Union[str, typing.Any]
|
|
330
287
|
:param bone_name: Bone Name, Name of the bone to unassign from the collection; empty to use the active bone
|
|
@@ -334,35 +291,30 @@ def collection_unassign_named(
|
|
|
334
291
|
...
|
|
335
292
|
|
|
336
293
|
def collection_unsolo_all(
|
|
337
|
-
override_context: typing.
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
341
|
-
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,
|
|
342
297
|
):
|
|
343
298
|
"""Clear the 'solo' setting on all bone collections
|
|
344
299
|
|
|
345
|
-
:type override_context: typing.
|
|
346
|
-
:type execution_context: typing.
|
|
347
|
-
:type undo:
|
|
300
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
301
|
+
:type execution_context: typing.Union[str, int]
|
|
302
|
+
:type undo: bool
|
|
348
303
|
"""
|
|
349
304
|
|
|
350
305
|
...
|
|
351
306
|
|
|
352
307
|
def copy_bone_color_to_selected(
|
|
353
|
-
override_context: typing.
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
undo: typing.Optional[bool] = None,
|
|
358
|
-
*,
|
|
359
|
-
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",
|
|
360
312
|
):
|
|
361
313
|
"""Copy the bone color of the active bone to all selected bones
|
|
362
314
|
|
|
363
|
-
:type override_context: typing.
|
|
364
|
-
:type execution_context: typing.
|
|
365
|
-
:type undo:
|
|
315
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
316
|
+
:type execution_context: typing.Union[str, int]
|
|
317
|
+
:type undo: bool
|
|
366
318
|
:param bone_type: Type
|
|
367
319
|
|
|
368
320
|
EDIT
|
|
@@ -370,229 +322,198 @@ def copy_bone_color_to_selected(
|
|
|
370
322
|
|
|
371
323
|
POSE
|
|
372
324
|
Pose Bone -- Copy Pose Bone colors from the active pose bone to all selected pose bones.
|
|
373
|
-
:type bone_type: typing.
|
|
325
|
+
:type bone_type: typing.Any
|
|
374
326
|
"""
|
|
375
327
|
|
|
376
328
|
...
|
|
377
329
|
|
|
378
330
|
def delete(
|
|
379
|
-
override_context: typing.
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
undo: typing.Optional[bool] = None,
|
|
384
|
-
*,
|
|
385
|
-
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,
|
|
386
335
|
):
|
|
387
336
|
"""Remove selected bones from the armature
|
|
388
337
|
|
|
389
|
-
:type override_context: typing.
|
|
390
|
-
:type execution_context: typing.
|
|
391
|
-
:type undo:
|
|
338
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
339
|
+
:type execution_context: typing.Union[str, int]
|
|
340
|
+
:type undo: bool
|
|
392
341
|
:param confirm: Confirm, Prompt for confirmation
|
|
393
|
-
:type confirm: typing.
|
|
342
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
394
343
|
"""
|
|
395
344
|
|
|
396
345
|
...
|
|
397
346
|
|
|
398
347
|
def dissolve(
|
|
399
|
-
override_context: typing.
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
403
|
-
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,
|
|
404
351
|
):
|
|
405
352
|
"""Dissolve selected bones from the armature
|
|
406
353
|
|
|
407
|
-
:type override_context: typing.
|
|
408
|
-
:type execution_context: typing.
|
|
409
|
-
:type undo:
|
|
354
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
355
|
+
:type execution_context: typing.Union[str, int]
|
|
356
|
+
:type undo: bool
|
|
410
357
|
"""
|
|
411
358
|
|
|
412
359
|
...
|
|
413
360
|
|
|
414
361
|
def duplicate(
|
|
415
|
-
override_context: typing.
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
undo: typing.Optional[bool] = None,
|
|
420
|
-
*,
|
|
421
|
-
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,
|
|
422
366
|
):
|
|
423
367
|
"""Make copies of the selected bones within the same armature
|
|
424
368
|
|
|
425
|
-
:type override_context: typing.
|
|
426
|
-
:type execution_context: typing.
|
|
427
|
-
:type undo:
|
|
369
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
370
|
+
:type execution_context: typing.Union[str, int]
|
|
371
|
+
:type undo: bool
|
|
428
372
|
:param do_flip_names: Flip Names, Try to flip names of the bones, if possible, instead of adding a number extension
|
|
429
|
-
:type do_flip_names: typing.
|
|
373
|
+
:type do_flip_names: typing.Union[bool, typing.Any]
|
|
430
374
|
"""
|
|
431
375
|
|
|
432
376
|
...
|
|
433
377
|
|
|
434
378
|
def duplicate_move(
|
|
435
|
-
override_context: typing.
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
*,
|
|
441
|
-
ARMATURE_OT_duplicate: typing.Optional["duplicate"] = None,
|
|
442
|
-
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,
|
|
443
384
|
):
|
|
444
385
|
"""Make copies of the selected bones within the same armature and move them
|
|
445
386
|
|
|
446
|
-
:type override_context: typing.
|
|
447
|
-
:type execution_context: typing.
|
|
448
|
-
:type undo:
|
|
387
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
388
|
+
:type execution_context: typing.Union[str, int]
|
|
389
|
+
:type undo: bool
|
|
449
390
|
:param ARMATURE_OT_duplicate: Duplicate Selected Bone(s), Make copies of the selected bones within the same armature
|
|
450
|
-
:type ARMATURE_OT_duplicate:
|
|
391
|
+
:type ARMATURE_OT_duplicate: duplicate
|
|
451
392
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
452
|
-
:type TRANSFORM_OT_translate:
|
|
393
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
453
394
|
"""
|
|
454
395
|
|
|
455
396
|
...
|
|
456
397
|
|
|
457
398
|
def extrude(
|
|
458
|
-
override_context: typing.
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
undo: typing.Optional[bool] = None,
|
|
463
|
-
*,
|
|
464
|
-
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,
|
|
465
403
|
):
|
|
466
404
|
"""Create new bones from the selected joints
|
|
467
405
|
|
|
468
|
-
:type override_context: typing.
|
|
469
|
-
:type execution_context: typing.
|
|
470
|
-
:type undo:
|
|
406
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
407
|
+
:type execution_context: typing.Union[str, int]
|
|
408
|
+
:type undo: bool
|
|
471
409
|
:param forked: Forked
|
|
472
|
-
:type forked: typing.
|
|
410
|
+
:type forked: typing.Union[bool, typing.Any]
|
|
473
411
|
"""
|
|
474
412
|
|
|
475
413
|
...
|
|
476
414
|
|
|
477
415
|
def extrude_forked(
|
|
478
|
-
override_context: typing.
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
*,
|
|
484
|
-
ARMATURE_OT_extrude: typing.Optional["extrude"] = None,
|
|
485
|
-
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,
|
|
486
421
|
):
|
|
487
422
|
"""Create new bones from the selected joints and move them
|
|
488
423
|
|
|
489
|
-
:type override_context: typing.
|
|
490
|
-
:type execution_context: typing.
|
|
491
|
-
:type undo:
|
|
424
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
425
|
+
:type execution_context: typing.Union[str, int]
|
|
426
|
+
:type undo: bool
|
|
492
427
|
:param ARMATURE_OT_extrude: Extrude, Create new bones from the selected joints
|
|
493
|
-
:type ARMATURE_OT_extrude:
|
|
428
|
+
:type ARMATURE_OT_extrude: extrude
|
|
494
429
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
495
|
-
:type TRANSFORM_OT_translate:
|
|
430
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
496
431
|
"""
|
|
497
432
|
|
|
498
433
|
...
|
|
499
434
|
|
|
500
435
|
def extrude_move(
|
|
501
|
-
override_context: typing.
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
*,
|
|
507
|
-
ARMATURE_OT_extrude: typing.Optional["extrude"] = None,
|
|
508
|
-
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,
|
|
509
441
|
):
|
|
510
442
|
"""Create new bones from the selected joints and move them
|
|
511
443
|
|
|
512
|
-
:type override_context: typing.
|
|
513
|
-
:type execution_context: typing.
|
|
514
|
-
:type undo:
|
|
444
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
445
|
+
:type execution_context: typing.Union[str, int]
|
|
446
|
+
:type undo: bool
|
|
515
447
|
:param ARMATURE_OT_extrude: Extrude, Create new bones from the selected joints
|
|
516
|
-
:type ARMATURE_OT_extrude:
|
|
448
|
+
:type ARMATURE_OT_extrude: extrude
|
|
517
449
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
518
|
-
:type TRANSFORM_OT_translate:
|
|
450
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
519
451
|
"""
|
|
520
452
|
|
|
521
453
|
...
|
|
522
454
|
|
|
523
455
|
def fill(
|
|
524
|
-
override_context: typing.
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
528
|
-
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,
|
|
529
459
|
):
|
|
530
460
|
"""Add bone between selected joint(s) and/or 3D cursor
|
|
531
461
|
|
|
532
|
-
:type override_context: typing.
|
|
533
|
-
:type execution_context: typing.
|
|
534
|
-
:type undo:
|
|
462
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
463
|
+
:type execution_context: typing.Union[str, int]
|
|
464
|
+
:type undo: bool
|
|
535
465
|
"""
|
|
536
466
|
|
|
537
467
|
...
|
|
538
468
|
|
|
539
469
|
def flip_names(
|
|
540
|
-
override_context: typing.
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
undo: typing.Optional[bool] = None,
|
|
545
|
-
*,
|
|
546
|
-
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,
|
|
547
474
|
):
|
|
548
475
|
"""Flips (and corrects) the axis suffixes of the names of selected bones
|
|
549
476
|
|
|
550
|
-
:type override_context: typing.
|
|
551
|
-
:type execution_context: typing.
|
|
552
|
-
:type undo:
|
|
477
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
478
|
+
:type execution_context: typing.Union[str, int]
|
|
479
|
+
:type undo: bool
|
|
553
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
|
|
554
|
-
:type do_strip_numbers: typing.
|
|
481
|
+
:type do_strip_numbers: typing.Union[bool, typing.Any]
|
|
555
482
|
"""
|
|
556
483
|
|
|
557
484
|
...
|
|
558
485
|
|
|
559
486
|
def hide(
|
|
560
|
-
override_context: typing.
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
undo: typing.Optional[bool] = None,
|
|
565
|
-
*,
|
|
566
|
-
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,
|
|
567
491
|
):
|
|
568
492
|
"""Tag selected bones to not be visible in Edit Mode
|
|
569
493
|
|
|
570
|
-
:type override_context: typing.
|
|
571
|
-
:type execution_context: typing.
|
|
572
|
-
:type undo:
|
|
494
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
495
|
+
:type execution_context: typing.Union[str, int]
|
|
496
|
+
:type undo: bool
|
|
573
497
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
574
|
-
:type unselected: typing.
|
|
498
|
+
:type unselected: typing.Union[bool, typing.Any]
|
|
575
499
|
"""
|
|
576
500
|
|
|
577
501
|
...
|
|
578
502
|
|
|
579
503
|
def move_to_collection(
|
|
580
|
-
override_context: typing.
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
undo: typing.Optional[bool] = None,
|
|
585
|
-
*,
|
|
586
|
-
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,
|
|
587
508
|
new_collection_name: typing.Union[str, typing.Any] = "",
|
|
588
509
|
):
|
|
589
510
|
"""Move bones to a collection
|
|
590
511
|
|
|
591
|
-
:type override_context: typing.
|
|
592
|
-
:type execution_context: typing.
|
|
593
|
-
:type undo:
|
|
512
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
513
|
+
:type execution_context: typing.Union[str, int]
|
|
514
|
+
:type undo: bool
|
|
594
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
|
|
595
|
-
:type collection_index: typing.
|
|
516
|
+
:type collection_index: typing.Any
|
|
596
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
|
|
597
518
|
:type new_collection_name: typing.Union[str, typing.Any]
|
|
598
519
|
"""
|
|
@@ -600,99 +521,84 @@ def move_to_collection(
|
|
|
600
521
|
...
|
|
601
522
|
|
|
602
523
|
def parent_clear(
|
|
603
|
-
override_context: typing.
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
undo: typing.Optional[bool] = None,
|
|
608
|
-
*,
|
|
609
|
-
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",
|
|
610
528
|
):
|
|
611
529
|
"""Remove the parent-child relationship between selected bones and their parents
|
|
612
530
|
|
|
613
|
-
:type override_context: typing.
|
|
614
|
-
:type execution_context: typing.
|
|
615
|
-
:type undo:
|
|
531
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
532
|
+
:type execution_context: typing.Union[str, int]
|
|
533
|
+
:type undo: bool
|
|
616
534
|
:param type: Clear Type, What way to clear parenting
|
|
617
|
-
:type type: typing.
|
|
535
|
+
:type type: typing.Any
|
|
618
536
|
"""
|
|
619
537
|
|
|
620
538
|
...
|
|
621
539
|
|
|
622
540
|
def parent_set(
|
|
623
|
-
override_context: typing.
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
undo: typing.Optional[bool] = None,
|
|
628
|
-
*,
|
|
629
|
-
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",
|
|
630
545
|
):
|
|
631
546
|
"""Set the active bone as the parent of the selected bones
|
|
632
547
|
|
|
633
|
-
:type override_context: typing.
|
|
634
|
-
:type execution_context: typing.
|
|
635
|
-
:type undo:
|
|
548
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
549
|
+
:type execution_context: typing.Union[str, int]
|
|
550
|
+
:type undo: bool
|
|
636
551
|
:param type: Parent Type, Type of parenting
|
|
637
|
-
:type type: typing.
|
|
552
|
+
:type type: typing.Any
|
|
638
553
|
"""
|
|
639
554
|
|
|
640
555
|
...
|
|
641
556
|
|
|
642
557
|
def reveal(
|
|
643
|
-
override_context: typing.
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
undo: typing.Optional[bool] = None,
|
|
648
|
-
*,
|
|
649
|
-
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,
|
|
650
562
|
):
|
|
651
563
|
"""Reveal all bones hidden in Edit Mode
|
|
652
564
|
|
|
653
|
-
:type override_context: typing.
|
|
654
|
-
:type execution_context: typing.
|
|
655
|
-
:type undo:
|
|
565
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
566
|
+
:type execution_context: typing.Union[str, int]
|
|
567
|
+
:type undo: bool
|
|
656
568
|
:param select: Select
|
|
657
|
-
:type select: typing.
|
|
569
|
+
:type select: typing.Union[bool, typing.Any]
|
|
658
570
|
"""
|
|
659
571
|
|
|
660
572
|
...
|
|
661
573
|
|
|
662
574
|
def roll_clear(
|
|
663
|
-
override_context: typing.
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
undo: typing.Optional[bool] = None,
|
|
668
|
-
*,
|
|
669
|
-
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,
|
|
670
579
|
):
|
|
671
580
|
"""Clear roll for selected bones
|
|
672
581
|
|
|
673
|
-
:type override_context: typing.
|
|
674
|
-
:type execution_context: typing.
|
|
675
|
-
:type undo:
|
|
582
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
583
|
+
:type execution_context: typing.Union[str, int]
|
|
584
|
+
:type undo: bool
|
|
676
585
|
:param roll: Roll
|
|
677
|
-
:type roll: typing.
|
|
586
|
+
:type roll: typing.Any
|
|
678
587
|
"""
|
|
679
588
|
|
|
680
589
|
...
|
|
681
590
|
|
|
682
591
|
def select_all(
|
|
683
|
-
override_context: typing.
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
undo: typing.Optional[bool] = None,
|
|
688
|
-
*,
|
|
689
|
-
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",
|
|
690
596
|
):
|
|
691
597
|
"""Toggle selection status of all bones
|
|
692
598
|
|
|
693
|
-
:type override_context: typing.
|
|
694
|
-
:type execution_context: typing.
|
|
695
|
-
:type undo:
|
|
599
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
600
|
+
:type execution_context: typing.Union[str, int]
|
|
601
|
+
:type undo: bool
|
|
696
602
|
:param action: Action, Selection action to execute
|
|
697
603
|
|
|
698
604
|
TOGGLE
|
|
@@ -706,259 +612,225 @@ def select_all(
|
|
|
706
612
|
|
|
707
613
|
INVERT
|
|
708
614
|
Invert -- Invert selection of all elements.
|
|
709
|
-
:type action: typing.
|
|
615
|
+
:type action: typing.Any
|
|
710
616
|
"""
|
|
711
617
|
|
|
712
618
|
...
|
|
713
619
|
|
|
714
620
|
def select_hierarchy(
|
|
715
|
-
override_context: typing.
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
*,
|
|
721
|
-
direction: typing.Optional[typing.Any] = "PARENT",
|
|
722
|
-
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,
|
|
723
626
|
):
|
|
724
627
|
"""Select immediate parent/children of selected bones
|
|
725
628
|
|
|
726
|
-
:type override_context: typing.
|
|
727
|
-
:type execution_context: typing.
|
|
728
|
-
:type undo:
|
|
629
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
630
|
+
:type execution_context: typing.Union[str, int]
|
|
631
|
+
:type undo: bool
|
|
729
632
|
:param direction: Direction
|
|
730
|
-
:type direction: typing.
|
|
633
|
+
:type direction: typing.Any
|
|
731
634
|
:param extend: Extend, Extend the selection
|
|
732
|
-
:type extend: typing.
|
|
635
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
733
636
|
"""
|
|
734
637
|
|
|
735
638
|
...
|
|
736
639
|
|
|
737
640
|
def select_less(
|
|
738
|
-
override_context: typing.
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
742
|
-
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,
|
|
743
644
|
):
|
|
744
645
|
"""Deselect those bones at the boundary of each selection region
|
|
745
646
|
|
|
746
|
-
:type override_context: typing.
|
|
747
|
-
:type execution_context: typing.
|
|
748
|
-
:type undo:
|
|
647
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
648
|
+
:type execution_context: typing.Union[str, int]
|
|
649
|
+
:type undo: bool
|
|
749
650
|
"""
|
|
750
651
|
|
|
751
652
|
...
|
|
752
653
|
|
|
753
654
|
def select_linked(
|
|
754
|
-
override_context: typing.
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
undo: typing.Optional[bool] = None,
|
|
759
|
-
*,
|
|
760
|
-
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,
|
|
761
659
|
):
|
|
762
660
|
"""Select all bones linked by parent/child connections to the current selection
|
|
763
661
|
|
|
764
|
-
:type override_context: typing.
|
|
765
|
-
:type execution_context: typing.
|
|
766
|
-
:type undo:
|
|
662
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
663
|
+
:type execution_context: typing.Union[str, int]
|
|
664
|
+
:type undo: bool
|
|
767
665
|
:param all_forks: All Forks, Follow forks in the parents chain
|
|
768
|
-
:type all_forks: typing.
|
|
666
|
+
:type all_forks: typing.Union[bool, typing.Any]
|
|
769
667
|
"""
|
|
770
668
|
|
|
771
669
|
...
|
|
772
670
|
|
|
773
671
|
def select_linked_pick(
|
|
774
|
-
override_context: typing.
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
*,
|
|
780
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
781
|
-
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,
|
|
782
677
|
):
|
|
783
678
|
"""(De)select bones linked by parent/child connections under the mouse cursor
|
|
784
679
|
|
|
785
|
-
:type override_context: typing.
|
|
786
|
-
:type execution_context: typing.
|
|
787
|
-
:type undo:
|
|
680
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
681
|
+
:type execution_context: typing.Union[str, int]
|
|
682
|
+
:type undo: bool
|
|
788
683
|
:param deselect: Deselect
|
|
789
|
-
:type deselect: typing.
|
|
684
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
790
685
|
:param all_forks: All Forks, Follow forks in the parents chain
|
|
791
|
-
:type all_forks: typing.
|
|
686
|
+
:type all_forks: typing.Union[bool, typing.Any]
|
|
792
687
|
"""
|
|
793
688
|
|
|
794
689
|
...
|
|
795
690
|
|
|
796
691
|
def select_mirror(
|
|
797
|
-
override_context: typing.
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
*,
|
|
803
|
-
only_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
804
|
-
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,
|
|
805
697
|
):
|
|
806
698
|
"""Mirror the bone selection
|
|
807
699
|
|
|
808
|
-
:type override_context: typing.
|
|
809
|
-
:type execution_context: typing.
|
|
810
|
-
:type undo:
|
|
700
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
701
|
+
:type execution_context: typing.Union[str, int]
|
|
702
|
+
:type undo: bool
|
|
811
703
|
:param only_active: Active Only, Only operate on the active bone
|
|
812
|
-
:type only_active: typing.
|
|
704
|
+
:type only_active: typing.Union[bool, typing.Any]
|
|
813
705
|
:param extend: Extend, Extend the selection
|
|
814
|
-
:type extend: typing.
|
|
706
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
815
707
|
"""
|
|
816
708
|
|
|
817
709
|
...
|
|
818
710
|
|
|
819
711
|
def select_more(
|
|
820
|
-
override_context: typing.
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
824
|
-
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,
|
|
825
715
|
):
|
|
826
716
|
"""Select those bones connected to the initial selection
|
|
827
717
|
|
|
828
|
-
:type override_context: typing.
|
|
829
|
-
:type execution_context: typing.
|
|
830
|
-
:type undo:
|
|
718
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
719
|
+
:type execution_context: typing.Union[str, int]
|
|
720
|
+
:type undo: bool
|
|
831
721
|
"""
|
|
832
722
|
|
|
833
723
|
...
|
|
834
724
|
|
|
835
725
|
def select_similar(
|
|
836
|
-
override_context: typing.
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
*,
|
|
842
|
-
type: typing.Optional[typing.Any] = "LENGTH",
|
|
843
|
-
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,
|
|
844
731
|
):
|
|
845
732
|
"""Select similar bones by property types
|
|
846
733
|
|
|
847
|
-
:type override_context: typing.
|
|
848
|
-
:type execution_context: typing.
|
|
849
|
-
:type undo:
|
|
734
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
735
|
+
:type execution_context: typing.Union[str, int]
|
|
736
|
+
:type undo: bool
|
|
850
737
|
:param type: Type
|
|
851
|
-
:type type: typing.
|
|
738
|
+
:type type: typing.Any
|
|
852
739
|
:param threshold: Threshold
|
|
853
|
-
:type threshold: typing.
|
|
740
|
+
:type threshold: typing.Any
|
|
854
741
|
"""
|
|
855
742
|
|
|
856
743
|
...
|
|
857
744
|
|
|
858
745
|
def separate(
|
|
859
|
-
override_context: typing.
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
undo: typing.Optional[bool] = None,
|
|
864
|
-
*,
|
|
865
|
-
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,
|
|
866
750
|
):
|
|
867
751
|
"""Isolate selected bones into a separate armature
|
|
868
752
|
|
|
869
|
-
:type override_context: typing.
|
|
870
|
-
:type execution_context: typing.
|
|
871
|
-
:type undo:
|
|
753
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
754
|
+
:type execution_context: typing.Union[str, int]
|
|
755
|
+
:type undo: bool
|
|
872
756
|
:param confirm: Confirm, Prompt for confirmation
|
|
873
|
-
:type confirm: typing.
|
|
757
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
874
758
|
"""
|
|
875
759
|
|
|
876
760
|
...
|
|
877
761
|
|
|
878
762
|
def shortest_path_pick(
|
|
879
|
-
override_context: typing.
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
883
|
-
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,
|
|
884
766
|
):
|
|
885
767
|
"""Select shortest path between two bones
|
|
886
768
|
|
|
887
|
-
:type override_context: typing.
|
|
888
|
-
:type execution_context: typing.
|
|
889
|
-
:type undo:
|
|
769
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
770
|
+
:type execution_context: typing.Union[str, int]
|
|
771
|
+
:type undo: bool
|
|
890
772
|
"""
|
|
891
773
|
|
|
892
774
|
...
|
|
893
775
|
|
|
894
776
|
def split(
|
|
895
|
-
override_context: typing.
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
899
|
-
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,
|
|
900
780
|
):
|
|
901
781
|
"""Split off selected bones from connected unselected bones
|
|
902
782
|
|
|
903
|
-
:type override_context: typing.
|
|
904
|
-
:type execution_context: typing.
|
|
905
|
-
:type undo:
|
|
783
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
784
|
+
:type execution_context: typing.Union[str, int]
|
|
785
|
+
:type undo: bool
|
|
906
786
|
"""
|
|
907
787
|
|
|
908
788
|
...
|
|
909
789
|
|
|
910
790
|
def subdivide(
|
|
911
|
-
override_context: typing.
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
undo: typing.Optional[bool] = None,
|
|
916
|
-
*,
|
|
917
|
-
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,
|
|
918
795
|
):
|
|
919
796
|
"""Break selected bones into chains of smaller bones
|
|
920
797
|
|
|
921
|
-
:type override_context: typing.
|
|
922
|
-
:type execution_context: typing.
|
|
923
|
-
:type undo:
|
|
798
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
799
|
+
:type execution_context: typing.Union[str, int]
|
|
800
|
+
:type undo: bool
|
|
924
801
|
:param number_cuts: Number of Cuts
|
|
925
|
-
:type number_cuts: typing.
|
|
802
|
+
:type number_cuts: typing.Any
|
|
926
803
|
"""
|
|
927
804
|
|
|
928
805
|
...
|
|
929
806
|
|
|
930
807
|
def switch_direction(
|
|
931
|
-
override_context: typing.
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
935
|
-
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,
|
|
936
811
|
):
|
|
937
812
|
"""Change the direction that a chain of bones points in (head and tail swap)
|
|
938
813
|
|
|
939
|
-
:type override_context: typing.
|
|
940
|
-
:type execution_context: typing.
|
|
941
|
-
:type undo:
|
|
814
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
815
|
+
:type execution_context: typing.Union[str, int]
|
|
816
|
+
:type undo: bool
|
|
942
817
|
"""
|
|
943
818
|
|
|
944
819
|
...
|
|
945
820
|
|
|
946
821
|
def symmetrize(
|
|
947
|
-
override_context: typing.
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
undo: typing.Optional[bool] = None,
|
|
952
|
-
*,
|
|
953
|
-
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",
|
|
954
826
|
):
|
|
955
827
|
"""Enforce symmetry, make copies of the selection or use existing
|
|
956
828
|
|
|
957
|
-
:type override_context: typing.
|
|
958
|
-
:type execution_context: typing.
|
|
959
|
-
:type undo:
|
|
829
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
830
|
+
:type execution_context: typing.Union[str, int]
|
|
831
|
+
:type undo: bool
|
|
960
832
|
:param direction: Direction, Which sides to copy from and to (when both are selected)
|
|
961
|
-
:type direction: typing.
|
|
833
|
+
:type direction: typing.Any
|
|
962
834
|
"""
|
|
963
835
|
|
|
964
836
|
...
|