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