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/pose/__init__.pyi
CHANGED
|
@@ -4,14 +4,16 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def armature_apply(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
11
13
|
):
|
|
12
14
|
"""Apply the current pose as the new rest pose
|
|
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
|
:param selected: Selected Only, Only apply the selected bones (with propagation to children)
|
|
@@ -21,14 +23,16 @@ def armature_apply(
|
|
|
21
23
|
...
|
|
22
24
|
|
|
23
25
|
def autoside_names(
|
|
24
|
-
override_context: typing.Optional[
|
|
26
|
+
override_context: typing.Optional[
|
|
27
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
28
|
+
] = None,
|
|
25
29
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
26
30
|
undo: typing.Optional[bool] = None,
|
|
27
31
|
axis: typing.Optional[typing.Any] = "XAXIS",
|
|
28
32
|
):
|
|
29
33
|
"""Automatically renames the selected bones according to which side of the target axis they fall on
|
|
30
34
|
|
|
31
|
-
:type override_context: typing.Optional[typing.Union[
|
|
35
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
32
36
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
33
37
|
:type undo: typing.Optional[bool]
|
|
34
38
|
:param axis: Axis, Axis to tag names with
|
|
@@ -47,7 +51,9 @@ def autoside_names(
|
|
|
47
51
|
...
|
|
48
52
|
|
|
49
53
|
def blend_to_neighbor(
|
|
50
|
-
override_context: typing.Optional[
|
|
54
|
+
override_context: typing.Optional[
|
|
55
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
56
|
+
] = None,
|
|
51
57
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
52
58
|
undo: typing.Optional[bool] = None,
|
|
53
59
|
factor: typing.Optional[typing.Any] = 0.5,
|
|
@@ -58,7 +64,7 @@ def blend_to_neighbor(
|
|
|
58
64
|
):
|
|
59
65
|
"""Blend from current position to previous or next keyframe
|
|
60
66
|
|
|
61
|
-
:type override_context: typing.Optional[typing.Union[
|
|
67
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
62
68
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
63
69
|
:type undo: typing.Optional[bool]
|
|
64
70
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
@@ -106,7 +112,9 @@ def blend_to_neighbor(
|
|
|
106
112
|
...
|
|
107
113
|
|
|
108
114
|
def blend_with_rest(
|
|
109
|
-
override_context: typing.Optional[
|
|
115
|
+
override_context: typing.Optional[
|
|
116
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
117
|
+
] = None,
|
|
110
118
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
111
119
|
undo: typing.Optional[bool] = None,
|
|
112
120
|
factor: typing.Optional[typing.Any] = 0.5,
|
|
@@ -117,7 +125,7 @@ def blend_with_rest(
|
|
|
117
125
|
):
|
|
118
126
|
"""Make the current pose more similar to, or further away from, the rest pose
|
|
119
127
|
|
|
120
|
-
:type override_context: typing.Optional[typing.Union[
|
|
128
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
121
129
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
122
130
|
:type undo: typing.Optional[bool]
|
|
123
131
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
@@ -165,7 +173,9 @@ def blend_with_rest(
|
|
|
165
173
|
...
|
|
166
174
|
|
|
167
175
|
def breakdown(
|
|
168
|
-
override_context: typing.Optional[
|
|
176
|
+
override_context: typing.Optional[
|
|
177
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
178
|
+
] = None,
|
|
169
179
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
170
180
|
undo: typing.Optional[bool] = None,
|
|
171
181
|
factor: typing.Optional[typing.Any] = 0.5,
|
|
@@ -176,7 +186,7 @@ def breakdown(
|
|
|
176
186
|
):
|
|
177
187
|
"""Create a suitable breakdown pose on the current frame
|
|
178
188
|
|
|
179
|
-
:type override_context: typing.Optional[typing.Union[
|
|
189
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
180
190
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
181
191
|
:type undo: typing.Optional[bool]
|
|
182
192
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
@@ -224,14 +234,16 @@ def breakdown(
|
|
|
224
234
|
...
|
|
225
235
|
|
|
226
236
|
def constraint_add(
|
|
227
|
-
override_context: typing.Optional[
|
|
237
|
+
override_context: typing.Optional[
|
|
238
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
239
|
+
] = None,
|
|
228
240
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
229
241
|
undo: typing.Optional[bool] = None,
|
|
230
242
|
type: typing.Optional[typing.Union[str, int]] = "",
|
|
231
243
|
):
|
|
232
244
|
"""Add a constraint to the active bone
|
|
233
245
|
|
|
234
|
-
:type override_context: typing.Optional[typing.Union[
|
|
246
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
235
247
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
236
248
|
:type undo: typing.Optional[bool]
|
|
237
249
|
:param type: Type
|
|
@@ -241,14 +253,16 @@ def constraint_add(
|
|
|
241
253
|
...
|
|
242
254
|
|
|
243
255
|
def constraint_add_with_targets(
|
|
244
|
-
override_context: typing.Optional[
|
|
256
|
+
override_context: typing.Optional[
|
|
257
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
258
|
+
] = None,
|
|
245
259
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
246
260
|
undo: typing.Optional[bool] = None,
|
|
247
261
|
type: typing.Optional[typing.Union[str, int]] = "",
|
|
248
262
|
):
|
|
249
263
|
"""Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
|
|
250
264
|
|
|
251
|
-
:type override_context: typing.Optional[typing.Union[
|
|
265
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
252
266
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
253
267
|
:type undo: typing.Optional[bool]
|
|
254
268
|
:param type: Type
|
|
@@ -258,13 +272,15 @@ def constraint_add_with_targets(
|
|
|
258
272
|
...
|
|
259
273
|
|
|
260
274
|
def constraints_clear(
|
|
261
|
-
override_context: typing.Optional[
|
|
275
|
+
override_context: typing.Optional[
|
|
276
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
277
|
+
] = None,
|
|
262
278
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
263
279
|
undo: typing.Optional[bool] = None,
|
|
264
280
|
):
|
|
265
281
|
"""Clear all constraints from the selected bones
|
|
266
282
|
|
|
267
|
-
:type override_context: typing.Optional[typing.Union[
|
|
283
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
268
284
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
269
285
|
:type undo: typing.Optional[bool]
|
|
270
286
|
"""
|
|
@@ -272,13 +288,15 @@ def constraints_clear(
|
|
|
272
288
|
...
|
|
273
289
|
|
|
274
290
|
def constraints_copy(
|
|
275
|
-
override_context: typing.Optional[
|
|
291
|
+
override_context: typing.Optional[
|
|
292
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
293
|
+
] = None,
|
|
276
294
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
277
295
|
undo: typing.Optional[bool] = None,
|
|
278
296
|
):
|
|
279
297
|
"""Copy constraints to other selected bones
|
|
280
298
|
|
|
281
|
-
:type override_context: typing.Optional[typing.Union[
|
|
299
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
282
300
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
283
301
|
:type undo: typing.Optional[bool]
|
|
284
302
|
"""
|
|
@@ -286,13 +304,15 @@ def constraints_copy(
|
|
|
286
304
|
...
|
|
287
305
|
|
|
288
306
|
def copy(
|
|
289
|
-
override_context: typing.Optional[
|
|
307
|
+
override_context: typing.Optional[
|
|
308
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
309
|
+
] = None,
|
|
290
310
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
291
311
|
undo: typing.Optional[bool] = None,
|
|
292
312
|
):
|
|
293
313
|
"""Copy the current pose of the selected bones to the internal clipboard
|
|
294
314
|
|
|
295
|
-
:type override_context: typing.Optional[typing.Union[
|
|
315
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
296
316
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
297
317
|
:type undo: typing.Optional[bool]
|
|
298
318
|
"""
|
|
@@ -300,14 +320,16 @@ def copy(
|
|
|
300
320
|
...
|
|
301
321
|
|
|
302
322
|
def flip_names(
|
|
303
|
-
override_context: typing.Optional[
|
|
323
|
+
override_context: typing.Optional[
|
|
324
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
325
|
+
] = None,
|
|
304
326
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
305
327
|
undo: typing.Optional[bool] = None,
|
|
306
328
|
do_strip_numbers: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
307
329
|
):
|
|
308
330
|
"""Flips (and corrects) the axis suffixes of the names of selected bones
|
|
309
331
|
|
|
310
|
-
:type override_context: typing.Optional[typing.Union[
|
|
332
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
311
333
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
312
334
|
:type undo: typing.Optional[bool]
|
|
313
335
|
: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
|
|
@@ -317,14 +339,16 @@ def flip_names(
|
|
|
317
339
|
...
|
|
318
340
|
|
|
319
341
|
def hide(
|
|
320
|
-
override_context: typing.Optional[
|
|
342
|
+
override_context: typing.Optional[
|
|
343
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
344
|
+
] = None,
|
|
321
345
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
322
346
|
undo: typing.Optional[bool] = None,
|
|
323
347
|
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
324
348
|
):
|
|
325
349
|
"""Tag selected bones to not be visible in Pose Mode
|
|
326
350
|
|
|
327
|
-
:type override_context: typing.Optional[typing.Union[
|
|
351
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
328
352
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
329
353
|
:type undo: typing.Optional[bool]
|
|
330
354
|
:param unselected: Unselected
|
|
@@ -334,14 +358,16 @@ def hide(
|
|
|
334
358
|
...
|
|
335
359
|
|
|
336
360
|
def ik_add(
|
|
337
|
-
override_context: typing.Optional[
|
|
361
|
+
override_context: typing.Optional[
|
|
362
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
363
|
+
] = None,
|
|
338
364
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
339
365
|
undo: typing.Optional[bool] = None,
|
|
340
366
|
with_targets: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
341
367
|
):
|
|
342
368
|
"""Add IK Constraint to the active Bone
|
|
343
369
|
|
|
344
|
-
:type override_context: typing.Optional[typing.Union[
|
|
370
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
345
371
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
346
372
|
:type undo: typing.Optional[bool]
|
|
347
373
|
:param with_targets: With Targets, Assign IK Constraint with targets derived from the select bones/objects
|
|
@@ -351,13 +377,15 @@ def ik_add(
|
|
|
351
377
|
...
|
|
352
378
|
|
|
353
379
|
def ik_clear(
|
|
354
|
-
override_context: typing.Optional[
|
|
380
|
+
override_context: typing.Optional[
|
|
381
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
382
|
+
] = None,
|
|
355
383
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
356
384
|
undo: typing.Optional[bool] = None,
|
|
357
385
|
):
|
|
358
386
|
"""Remove all IK Constraints from selected bones
|
|
359
387
|
|
|
360
|
-
:type override_context: typing.Optional[typing.Union[
|
|
388
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
361
389
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
362
390
|
:type undo: typing.Optional[bool]
|
|
363
391
|
"""
|
|
@@ -365,13 +393,15 @@ def ik_clear(
|
|
|
365
393
|
...
|
|
366
394
|
|
|
367
395
|
def loc_clear(
|
|
368
|
-
override_context: typing.Optional[
|
|
396
|
+
override_context: typing.Optional[
|
|
397
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
398
|
+
] = None,
|
|
369
399
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
370
400
|
undo: typing.Optional[bool] = None,
|
|
371
401
|
):
|
|
372
402
|
"""Reset locations of selected bones to their default values
|
|
373
403
|
|
|
374
|
-
:type override_context: typing.Optional[typing.Union[
|
|
404
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
375
405
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
376
406
|
:type undo: typing.Optional[bool]
|
|
377
407
|
"""
|
|
@@ -379,7 +409,9 @@ def loc_clear(
|
|
|
379
409
|
...
|
|
380
410
|
|
|
381
411
|
def paste(
|
|
382
|
-
override_context: typing.Optional[
|
|
412
|
+
override_context: typing.Optional[
|
|
413
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
414
|
+
] = None,
|
|
383
415
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
384
416
|
undo: typing.Optional[bool] = None,
|
|
385
417
|
flipped: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
@@ -387,7 +419,7 @@ def paste(
|
|
|
387
419
|
):
|
|
388
420
|
"""Paste the stored pose on to the current pose
|
|
389
421
|
|
|
390
|
-
:type override_context: typing.Optional[typing.Union[
|
|
422
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
391
423
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
392
424
|
:type undo: typing.Optional[bool]
|
|
393
425
|
:param flipped: Flipped on X-Axis, Paste the stored pose flipped on to current pose
|
|
@@ -399,7 +431,9 @@ def paste(
|
|
|
399
431
|
...
|
|
400
432
|
|
|
401
433
|
def paths_calculate(
|
|
402
|
-
override_context: typing.Optional[
|
|
434
|
+
override_context: typing.Optional[
|
|
435
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
436
|
+
] = None,
|
|
403
437
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
404
438
|
undo: typing.Optional[bool] = None,
|
|
405
439
|
display_type: typing.Optional[typing.Union[str, int]] = "RANGE",
|
|
@@ -408,7 +442,7 @@ def paths_calculate(
|
|
|
408
442
|
):
|
|
409
443
|
"""Calculate paths for the selected bones
|
|
410
444
|
|
|
411
|
-
:type override_context: typing.Optional[typing.Union[
|
|
445
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
412
446
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
413
447
|
:type undo: typing.Optional[bool]
|
|
414
448
|
:param display_type: Display type
|
|
@@ -422,14 +456,16 @@ def paths_calculate(
|
|
|
422
456
|
...
|
|
423
457
|
|
|
424
458
|
def paths_clear(
|
|
425
|
-
override_context: typing.Optional[
|
|
459
|
+
override_context: typing.Optional[
|
|
460
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
461
|
+
] = None,
|
|
426
462
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
427
463
|
undo: typing.Optional[bool] = None,
|
|
428
464
|
only_selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
429
465
|
):
|
|
430
466
|
"""Undocumented, consider contributing.
|
|
431
467
|
|
|
432
|
-
:type override_context: typing.Optional[typing.Union[
|
|
468
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
433
469
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
434
470
|
:type undo: typing.Optional[bool]
|
|
435
471
|
:param only_selected: Only Selected, Only clear motion paths of selected bones
|
|
@@ -439,13 +475,15 @@ def paths_clear(
|
|
|
439
475
|
...
|
|
440
476
|
|
|
441
477
|
def paths_range_update(
|
|
442
|
-
override_context: typing.Optional[
|
|
478
|
+
override_context: typing.Optional[
|
|
479
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
480
|
+
] = None,
|
|
443
481
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
444
482
|
undo: typing.Optional[bool] = None,
|
|
445
483
|
):
|
|
446
484
|
"""Update frame range for motion paths from the Scene's current frame range
|
|
447
485
|
|
|
448
|
-
:type override_context: typing.Optional[typing.Union[
|
|
486
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
449
487
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
450
488
|
:type undo: typing.Optional[bool]
|
|
451
489
|
"""
|
|
@@ -453,13 +491,15 @@ def paths_range_update(
|
|
|
453
491
|
...
|
|
454
492
|
|
|
455
493
|
def paths_update(
|
|
456
|
-
override_context: typing.Optional[
|
|
494
|
+
override_context: typing.Optional[
|
|
495
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
496
|
+
] = None,
|
|
457
497
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
458
498
|
undo: typing.Optional[bool] = None,
|
|
459
499
|
):
|
|
460
500
|
"""Recalculate paths for bones that already have them
|
|
461
501
|
|
|
462
|
-
:type override_context: typing.Optional[typing.Union[
|
|
502
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
463
503
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
464
504
|
:type undo: typing.Optional[bool]
|
|
465
505
|
"""
|
|
@@ -467,7 +507,9 @@ def paths_update(
|
|
|
467
507
|
...
|
|
468
508
|
|
|
469
509
|
def propagate(
|
|
470
|
-
override_context: typing.Optional[
|
|
510
|
+
override_context: typing.Optional[
|
|
511
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
512
|
+
] = None,
|
|
471
513
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
472
514
|
undo: typing.Optional[bool] = None,
|
|
473
515
|
mode: typing.Optional[typing.Any] = "NEXT_KEY",
|
|
@@ -475,7 +517,7 @@ def propagate(
|
|
|
475
517
|
):
|
|
476
518
|
"""Copy selected aspects of the current pose to subsequent poses already keyframed
|
|
477
519
|
|
|
478
|
-
:type override_context: typing.Optional[typing.Union[
|
|
520
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
479
521
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
480
522
|
:type undo: typing.Optional[bool]
|
|
481
523
|
:param mode: Terminate Mode, Method used to determine when to stop propagating pose to keyframes
|
|
@@ -505,7 +547,9 @@ def propagate(
|
|
|
505
547
|
...
|
|
506
548
|
|
|
507
549
|
def push(
|
|
508
|
-
override_context: typing.Optional[
|
|
550
|
+
override_context: typing.Optional[
|
|
551
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
552
|
+
] = None,
|
|
509
553
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
510
554
|
undo: typing.Optional[bool] = None,
|
|
511
555
|
factor: typing.Optional[typing.Any] = 0.5,
|
|
@@ -516,7 +560,7 @@ def push(
|
|
|
516
560
|
):
|
|
517
561
|
"""Exaggerate the current pose in regards to the breakdown pose
|
|
518
562
|
|
|
519
|
-
:type override_context: typing.Optional[typing.Union[
|
|
563
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
520
564
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
521
565
|
:type undo: typing.Optional[bool]
|
|
522
566
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
@@ -564,13 +608,15 @@ def push(
|
|
|
564
608
|
...
|
|
565
609
|
|
|
566
610
|
def quaternions_flip(
|
|
567
|
-
override_context: typing.Optional[
|
|
611
|
+
override_context: typing.Optional[
|
|
612
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
613
|
+
] = None,
|
|
568
614
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
569
615
|
undo: typing.Optional[bool] = None,
|
|
570
616
|
):
|
|
571
617
|
"""Flip quaternion values to achieve desired rotations, while maintaining the same orientations
|
|
572
618
|
|
|
573
|
-
:type override_context: typing.Optional[typing.Union[
|
|
619
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
574
620
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
575
621
|
:type undo: typing.Optional[bool]
|
|
576
622
|
"""
|
|
@@ -578,7 +624,9 @@ def quaternions_flip(
|
|
|
578
624
|
...
|
|
579
625
|
|
|
580
626
|
def relax(
|
|
581
|
-
override_context: typing.Optional[
|
|
627
|
+
override_context: typing.Optional[
|
|
628
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
629
|
+
] = None,
|
|
582
630
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
583
631
|
undo: typing.Optional[bool] = None,
|
|
584
632
|
factor: typing.Optional[typing.Any] = 0.5,
|
|
@@ -589,7 +637,7 @@ def relax(
|
|
|
589
637
|
):
|
|
590
638
|
"""Make the current pose more similar to its breakdown pose
|
|
591
639
|
|
|
592
|
-
:type override_context: typing.Optional[typing.Union[
|
|
640
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
593
641
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
594
642
|
:type undo: typing.Optional[bool]
|
|
595
643
|
:param factor: Factor, Weighting factor for which keyframe is favored more
|
|
@@ -637,14 +685,16 @@ def relax(
|
|
|
637
685
|
...
|
|
638
686
|
|
|
639
687
|
def reveal(
|
|
640
|
-
override_context: typing.Optional[
|
|
688
|
+
override_context: typing.Optional[
|
|
689
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
690
|
+
] = None,
|
|
641
691
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
642
692
|
undo: typing.Optional[bool] = None,
|
|
643
693
|
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
644
694
|
):
|
|
645
695
|
"""Reveal all bones hidden in Pose Mode
|
|
646
696
|
|
|
647
|
-
:type override_context: typing.Optional[typing.Union[
|
|
697
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
648
698
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
649
699
|
:type undo: typing.Optional[bool]
|
|
650
700
|
:param select: Select
|
|
@@ -654,13 +704,15 @@ def reveal(
|
|
|
654
704
|
...
|
|
655
705
|
|
|
656
706
|
def rot_clear(
|
|
657
|
-
override_context: typing.Optional[
|
|
707
|
+
override_context: typing.Optional[
|
|
708
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
709
|
+
] = None,
|
|
658
710
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
659
711
|
undo: typing.Optional[bool] = None,
|
|
660
712
|
):
|
|
661
713
|
"""Reset rotations of selected bones to their default values
|
|
662
714
|
|
|
663
|
-
:type override_context: typing.Optional[typing.Union[
|
|
715
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
664
716
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
665
717
|
:type undo: typing.Optional[bool]
|
|
666
718
|
"""
|
|
@@ -668,14 +720,16 @@ def rot_clear(
|
|
|
668
720
|
...
|
|
669
721
|
|
|
670
722
|
def rotation_mode_set(
|
|
671
|
-
override_context: typing.Optional[
|
|
723
|
+
override_context: typing.Optional[
|
|
724
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
725
|
+
] = None,
|
|
672
726
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
673
727
|
undo: typing.Optional[bool] = None,
|
|
674
728
|
type: typing.Optional[typing.Union[str, int]] = "QUATERNION",
|
|
675
729
|
):
|
|
676
730
|
"""Set the rotation representation used by selected bones
|
|
677
731
|
|
|
678
|
-
:type override_context: typing.Optional[typing.Union[
|
|
732
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
679
733
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
680
734
|
:type undo: typing.Optional[bool]
|
|
681
735
|
:param type: Rotation Mode
|
|
@@ -685,13 +739,15 @@ def rotation_mode_set(
|
|
|
685
739
|
...
|
|
686
740
|
|
|
687
741
|
def scale_clear(
|
|
688
|
-
override_context: typing.Optional[
|
|
742
|
+
override_context: typing.Optional[
|
|
743
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
744
|
+
] = None,
|
|
689
745
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
690
746
|
undo: typing.Optional[bool] = None,
|
|
691
747
|
):
|
|
692
748
|
"""Reset scaling of selected bones to their default values
|
|
693
749
|
|
|
694
|
-
:type override_context: typing.Optional[typing.Union[
|
|
750
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
695
751
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
696
752
|
:type undo: typing.Optional[bool]
|
|
697
753
|
"""
|
|
@@ -699,14 +755,16 @@ def scale_clear(
|
|
|
699
755
|
...
|
|
700
756
|
|
|
701
757
|
def select_all(
|
|
702
|
-
override_context: typing.Optional[
|
|
758
|
+
override_context: typing.Optional[
|
|
759
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
760
|
+
] = None,
|
|
703
761
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
704
762
|
undo: typing.Optional[bool] = None,
|
|
705
763
|
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
706
764
|
):
|
|
707
765
|
"""Toggle selection status of all bones
|
|
708
766
|
|
|
709
|
-
:type override_context: typing.Optional[typing.Union[
|
|
767
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
710
768
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
711
769
|
:type undo: typing.Optional[bool]
|
|
712
770
|
:param action: Action, Selection action to execute
|
|
@@ -728,13 +786,15 @@ def select_all(
|
|
|
728
786
|
...
|
|
729
787
|
|
|
730
788
|
def select_constraint_target(
|
|
731
|
-
override_context: typing.Optional[
|
|
789
|
+
override_context: typing.Optional[
|
|
790
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
791
|
+
] = None,
|
|
732
792
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
733
793
|
undo: typing.Optional[bool] = None,
|
|
734
794
|
):
|
|
735
795
|
"""Select bones used as targets for the currently selected bones
|
|
736
796
|
|
|
737
|
-
:type override_context: typing.Optional[typing.Union[
|
|
797
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
738
798
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
739
799
|
:type undo: typing.Optional[bool]
|
|
740
800
|
"""
|
|
@@ -742,7 +802,9 @@ def select_constraint_target(
|
|
|
742
802
|
...
|
|
743
803
|
|
|
744
804
|
def select_grouped(
|
|
745
|
-
override_context: typing.Optional[
|
|
805
|
+
override_context: typing.Optional[
|
|
806
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
807
|
+
] = None,
|
|
746
808
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
747
809
|
undo: typing.Optional[bool] = None,
|
|
748
810
|
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
@@ -750,7 +812,7 @@ def select_grouped(
|
|
|
750
812
|
):
|
|
751
813
|
"""Select all visible bones grouped by similar properties
|
|
752
814
|
|
|
753
|
-
:type override_context: typing.Optional[typing.Union[
|
|
815
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
754
816
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
755
817
|
:type undo: typing.Optional[bool]
|
|
756
818
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
@@ -771,7 +833,9 @@ def select_grouped(
|
|
|
771
833
|
...
|
|
772
834
|
|
|
773
835
|
def select_hierarchy(
|
|
774
|
-
override_context: typing.Optional[
|
|
836
|
+
override_context: typing.Optional[
|
|
837
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
838
|
+
] = None,
|
|
775
839
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
776
840
|
undo: typing.Optional[bool] = None,
|
|
777
841
|
direction: typing.Optional[typing.Any] = "PARENT",
|
|
@@ -779,7 +843,7 @@ def select_hierarchy(
|
|
|
779
843
|
):
|
|
780
844
|
"""Select immediate parent/children of selected bones
|
|
781
845
|
|
|
782
|
-
:type override_context: typing.Optional[typing.Union[
|
|
846
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
783
847
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
784
848
|
:type undo: typing.Optional[bool]
|
|
785
849
|
:param direction: Direction
|
|
@@ -791,13 +855,15 @@ def select_hierarchy(
|
|
|
791
855
|
...
|
|
792
856
|
|
|
793
857
|
def select_linked(
|
|
794
|
-
override_context: typing.Optional[
|
|
858
|
+
override_context: typing.Optional[
|
|
859
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
860
|
+
] = None,
|
|
795
861
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
796
862
|
undo: typing.Optional[bool] = None,
|
|
797
863
|
):
|
|
798
864
|
"""Select all bones linked by parent/child connections to the current selection
|
|
799
865
|
|
|
800
|
-
:type override_context: typing.Optional[typing.Union[
|
|
866
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
801
867
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
802
868
|
:type undo: typing.Optional[bool]
|
|
803
869
|
"""
|
|
@@ -805,14 +871,16 @@ def select_linked(
|
|
|
805
871
|
...
|
|
806
872
|
|
|
807
873
|
def select_linked_pick(
|
|
808
|
-
override_context: typing.Optional[
|
|
874
|
+
override_context: typing.Optional[
|
|
875
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
876
|
+
] = None,
|
|
809
877
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
810
878
|
undo: typing.Optional[bool] = None,
|
|
811
879
|
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
812
880
|
):
|
|
813
881
|
"""Select bones linked by parent/child connections under the mouse cursor
|
|
814
882
|
|
|
815
|
-
:type override_context: typing.Optional[typing.Union[
|
|
883
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
816
884
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
817
885
|
:type undo: typing.Optional[bool]
|
|
818
886
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
@@ -822,7 +890,9 @@ def select_linked_pick(
|
|
|
822
890
|
...
|
|
823
891
|
|
|
824
892
|
def select_mirror(
|
|
825
|
-
override_context: typing.Optional[
|
|
893
|
+
override_context: typing.Optional[
|
|
894
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
895
|
+
] = None,
|
|
826
896
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
827
897
|
undo: typing.Optional[bool] = None,
|
|
828
898
|
only_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
@@ -830,7 +900,7 @@ def select_mirror(
|
|
|
830
900
|
):
|
|
831
901
|
"""Mirror the bone selection
|
|
832
902
|
|
|
833
|
-
:type override_context: typing.Optional[typing.Union[
|
|
903
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
834
904
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
835
905
|
:type undo: typing.Optional[bool]
|
|
836
906
|
:param only_active: Active Only, Only operate on the active bone
|
|
@@ -842,13 +912,15 @@ def select_mirror(
|
|
|
842
912
|
...
|
|
843
913
|
|
|
844
914
|
def select_parent(
|
|
845
|
-
override_context: typing.Optional[
|
|
915
|
+
override_context: typing.Optional[
|
|
916
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
917
|
+
] = None,
|
|
846
918
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
847
919
|
undo: typing.Optional[bool] = None,
|
|
848
920
|
):
|
|
849
921
|
"""Select bones that are parents of the currently selected bones
|
|
850
922
|
|
|
851
|
-
:type override_context: typing.Optional[typing.Union[
|
|
923
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
852
924
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
853
925
|
:type undo: typing.Optional[bool]
|
|
854
926
|
"""
|
|
@@ -856,13 +928,15 @@ def select_parent(
|
|
|
856
928
|
...
|
|
857
929
|
|
|
858
930
|
def transforms_clear(
|
|
859
|
-
override_context: typing.Optional[
|
|
931
|
+
override_context: typing.Optional[
|
|
932
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
933
|
+
] = None,
|
|
860
934
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
861
935
|
undo: typing.Optional[bool] = None,
|
|
862
936
|
):
|
|
863
937
|
"""Reset location, rotation, and scaling of selected bones to their default values
|
|
864
938
|
|
|
865
|
-
:type override_context: typing.Optional[typing.Union[
|
|
939
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
866
940
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
867
941
|
:type undo: typing.Optional[bool]
|
|
868
942
|
"""
|
|
@@ -870,14 +944,16 @@ def transforms_clear(
|
|
|
870
944
|
...
|
|
871
945
|
|
|
872
946
|
def user_transforms_clear(
|
|
873
|
-
override_context: typing.Optional[
|
|
947
|
+
override_context: typing.Optional[
|
|
948
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
949
|
+
] = None,
|
|
874
950
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
875
951
|
undo: typing.Optional[bool] = None,
|
|
876
952
|
only_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
877
953
|
):
|
|
878
954
|
"""Reset pose bone transforms to keyframed state
|
|
879
955
|
|
|
880
|
-
:type override_context: typing.Optional[typing.Union[
|
|
956
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
881
957
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
882
958
|
:type undo: typing.Optional[bool]
|
|
883
959
|
:param only_selected: Only Selected, Only visible/selected bones
|
|
@@ -887,13 +963,15 @@ def user_transforms_clear(
|
|
|
887
963
|
...
|
|
888
964
|
|
|
889
965
|
def visual_transform_apply(
|
|
890
|
-
override_context: typing.Optional[
|
|
966
|
+
override_context: typing.Optional[
|
|
967
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
968
|
+
] = None,
|
|
891
969
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
892
970
|
undo: typing.Optional[bool] = None,
|
|
893
971
|
):
|
|
894
972
|
"""Apply final constrained position of pose bones to their transform
|
|
895
973
|
|
|
896
|
-
:type override_context: typing.Optional[typing.Union[
|
|
974
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
897
975
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
898
976
|
:type undo: typing.Optional[bool]
|
|
899
977
|
"""
|