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