fake-bpy-module 20240802__py3-none-any.whl → 20240804__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.
- aud/__init__.pyi +77 -77
- bmesh/ops/__init__.pyi +54 -36
- bmesh/types/__init__.pyi +24 -24
- bpy/ops/action/__init__.pyi +55 -32
- bpy/ops/anim/__init__.pyi +22 -22
- bpy/ops/armature/__init__.pyi +47 -20
- bpy/ops/asset/__init__.pyi +5 -2
- bpy/ops/boid/__init__.pyi +12 -2
- bpy/ops/brush/__init__.pyi +18 -12
- bpy/ops/buttons/__init__.pyi +10 -4
- bpy/ops/cachefile/__init__.pyi +12 -6
- bpy/ops/clip/__init__.pyi +54 -38
- bpy/ops/console/__init__.pyi +17 -6
- bpy/ops/constraint/__init__.pyi +28 -28
- bpy/ops/curve/__init__.pyi +72 -34
- bpy/ops/curves/__init__.pyi +16 -16
- bpy/ops/dpaint/__init__.pyi +4 -4
- bpy/ops/ed/__init__.pyi +5 -2
- bpy/ops/export_anim/__init__.pyi +3 -2
- bpy/ops/export_scene/__init__.pyi +55 -45
- bpy/ops/file/__init__.pyi +40 -16
- bpy/ops/font/__init__.pyi +59 -16
- bpy/ops/geometry/__init__.pyi +55 -20
- bpy/ops/gpencil/__init__.pyi +155 -122
- bpy/ops/graph/__init__.pyi +131 -52
- bpy/ops/grease_pencil/__init__.pyi +96 -58
- bpy/ops/image/__init__.pyi +77 -54
- bpy/ops/import_anim/__init__.pyi +11 -8
- bpy/ops/import_scene/__init__.pyi +20 -18
- bpy/ops/info/__init__.pyi +4 -4
- bpy/ops/lattice/__init__.pyi +8 -8
- bpy/ops/marker/__init__.pyi +6 -6
- bpy/ops/mask/__init__.pyi +13 -12
- bpy/ops/mball/__init__.pyi +6 -6
- bpy/ops/mesh/__init__.pyi +290 -150
- bpy/ops/nla/__init__.pyi +28 -20
- bpy/ops/node/__init__.pyi +43 -32
- bpy/ops/object/__init__.pyi +651 -210
- bpy/ops/outliner/__init__.pyi +113 -32
- bpy/ops/paint/__init__.pyi +65 -56
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +14 -14
- bpy/ops/pose/__init__.pyi +121 -44
- bpy/ops/preferences/__init__.pyi +9 -6
- bpy/ops/render/__init__.pyi +3 -2
- bpy/ops/rigidbody/__init__.pyi +45 -14
- bpy/ops/scene/__init__.pyi +69 -22
- bpy/ops/screen/__init__.pyi +78 -16
- bpy/ops/sculpt/__init__.pyi +131 -74
- bpy/ops/sculpt_curves/__init__.pyi +2 -2
- bpy/ops/sequencer/__init__.pyi +156 -60
- bpy/ops/sound/__init__.pyi +40 -16
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +65 -20
- bpy/ops/texture/__init__.pyi +2 -2
- bpy/ops/transform/__init__.pyi +344 -72
- bpy/ops/ui/__init__.pyi +9 -6
- bpy/ops/uilist/__init__.pyi +2 -2
- bpy/ops/uv/__init__.pyi +90 -66
- bpy/ops/view3d/__init__.pyi +36 -30
- bpy/ops/wm/__init__.pyi +443 -156
- bpy/types/__init__.pyi +56103 -30890
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/RECORD +73 -73
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/types/__init__.pyi +76 -63
- freestyle/utils/__init__.pyi +1 -1
- idprop/types/__init__.pyi +2 -2
- imbuf/types/__init__.pyi +2 -2
- mathutils/__init__.pyi +1004 -970
- mathutils/bvhtree/__init__.pyi +2 -2
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/top_level.txt +0 -0
bpy/ops/pose/__init__.pyi
CHANGED
|
@@ -29,7 +29,7 @@ def autoside_names(
|
|
|
29
29
|
execution_context: int | str | None = None,
|
|
30
30
|
undo: bool | None = None,
|
|
31
31
|
*,
|
|
32
|
-
axis:
|
|
32
|
+
axis: typing.Literal["XAXIS", "YAXIS", "ZAXIS"] | None = "XAXIS",
|
|
33
33
|
):
|
|
34
34
|
"""Automatically renames the selected bones according to which side of the target axis they fall on
|
|
35
35
|
|
|
@@ -46,7 +46,7 @@ def autoside_names(
|
|
|
46
46
|
|
|
47
47
|
ZAXIS
|
|
48
48
|
Z-Axis -- Top/Bottom.
|
|
49
|
-
:type axis:
|
|
49
|
+
:type axis: typing.Literal['XAXIS','YAXIS','ZAXIS'] | None
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
...
|
|
@@ -59,8 +59,9 @@ def blend_to_neighbor(
|
|
|
59
59
|
factor: float | None = 0.5,
|
|
60
60
|
prev_frame: int | None = 0,
|
|
61
61
|
next_frame: int | None = 0,
|
|
62
|
-
channels:
|
|
63
|
-
|
|
62
|
+
channels: typing.Literal["ALL", "LOC", "ROT", "SIZE", "BBONE", "CUSTOM"]
|
|
63
|
+
| None = "ALL",
|
|
64
|
+
axis_lock: typing.Literal["FREE", "X", "Y", "Z"] | None = "FREE",
|
|
64
65
|
):
|
|
65
66
|
"""Blend from current position to previous or next keyframe
|
|
66
67
|
|
|
@@ -92,7 +93,7 @@ def blend_to_neighbor(
|
|
|
92
93
|
|
|
93
94
|
CUSTOM
|
|
94
95
|
Custom Properties -- Custom properties.
|
|
95
|
-
:type channels:
|
|
96
|
+
:type channels: typing.Literal['ALL','LOC','ROT','SIZE','BBONE','CUSTOM'] | None
|
|
96
97
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
97
98
|
|
|
98
99
|
FREE
|
|
@@ -106,7 +107,7 @@ def blend_to_neighbor(
|
|
|
106
107
|
|
|
107
108
|
Z
|
|
108
109
|
Z -- Only Z-axis transforms are affected.
|
|
109
|
-
:type axis_lock:
|
|
110
|
+
:type axis_lock: typing.Literal['FREE','X','Y','Z'] | None
|
|
110
111
|
"""
|
|
111
112
|
|
|
112
113
|
...
|
|
@@ -119,8 +120,9 @@ def blend_with_rest(
|
|
|
119
120
|
factor: float | None = 0.5,
|
|
120
121
|
prev_frame: int | None = 0,
|
|
121
122
|
next_frame: int | None = 0,
|
|
122
|
-
channels:
|
|
123
|
-
|
|
123
|
+
channels: typing.Literal["ALL", "LOC", "ROT", "SIZE", "BBONE", "CUSTOM"]
|
|
124
|
+
| None = "ALL",
|
|
125
|
+
axis_lock: typing.Literal["FREE", "X", "Y", "Z"] | None = "FREE",
|
|
124
126
|
):
|
|
125
127
|
"""Make the current pose more similar to, or further away from, the rest pose
|
|
126
128
|
|
|
@@ -152,7 +154,7 @@ def blend_with_rest(
|
|
|
152
154
|
|
|
153
155
|
CUSTOM
|
|
154
156
|
Custom Properties -- Custom properties.
|
|
155
|
-
:type channels:
|
|
157
|
+
:type channels: typing.Literal['ALL','LOC','ROT','SIZE','BBONE','CUSTOM'] | None
|
|
156
158
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
157
159
|
|
|
158
160
|
FREE
|
|
@@ -166,7 +168,7 @@ def blend_with_rest(
|
|
|
166
168
|
|
|
167
169
|
Z
|
|
168
170
|
Z -- Only Z-axis transforms are affected.
|
|
169
|
-
:type axis_lock:
|
|
171
|
+
:type axis_lock: typing.Literal['FREE','X','Y','Z'] | None
|
|
170
172
|
"""
|
|
171
173
|
|
|
172
174
|
...
|
|
@@ -179,8 +181,9 @@ def breakdown(
|
|
|
179
181
|
factor: float | None = 0.5,
|
|
180
182
|
prev_frame: int | None = 0,
|
|
181
183
|
next_frame: int | None = 0,
|
|
182
|
-
channels:
|
|
183
|
-
|
|
184
|
+
channels: typing.Literal["ALL", "LOC", "ROT", "SIZE", "BBONE", "CUSTOM"]
|
|
185
|
+
| None = "ALL",
|
|
186
|
+
axis_lock: typing.Literal["FREE", "X", "Y", "Z"] | None = "FREE",
|
|
184
187
|
):
|
|
185
188
|
"""Create a suitable breakdown pose on the current frame
|
|
186
189
|
|
|
@@ -212,7 +215,7 @@ def breakdown(
|
|
|
212
215
|
|
|
213
216
|
CUSTOM
|
|
214
217
|
Custom Properties -- Custom properties.
|
|
215
|
-
:type channels:
|
|
218
|
+
:type channels: typing.Literal['ALL','LOC','ROT','SIZE','BBONE','CUSTOM'] | None
|
|
216
219
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
217
220
|
|
|
218
221
|
FREE
|
|
@@ -226,7 +229,7 @@ def breakdown(
|
|
|
226
229
|
|
|
227
230
|
Z
|
|
228
231
|
Z -- Only Z-axis transforms are affected.
|
|
229
|
-
:type axis_lock:
|
|
232
|
+
:type axis_lock: typing.Literal['FREE','X','Y','Z'] | None
|
|
230
233
|
"""
|
|
231
234
|
|
|
232
235
|
...
|
|
@@ -236,7 +239,37 @@ def constraint_add(
|
|
|
236
239
|
execution_context: int | str | None = None,
|
|
237
240
|
undo: bool | None = None,
|
|
238
241
|
*,
|
|
239
|
-
type:
|
|
242
|
+
type: typing.Literal[
|
|
243
|
+
"CAMERA_SOLVER",
|
|
244
|
+
"FOLLOW_TRACK",
|
|
245
|
+
"OBJECT_SOLVER",
|
|
246
|
+
"COPY_LOCATION",
|
|
247
|
+
"COPY_ROTATION",
|
|
248
|
+
"COPY_SCALE",
|
|
249
|
+
"COPY_TRANSFORMS",
|
|
250
|
+
"LIMIT_DISTANCE",
|
|
251
|
+
"LIMIT_LOCATION",
|
|
252
|
+
"LIMIT_ROTATION",
|
|
253
|
+
"LIMIT_SCALE",
|
|
254
|
+
"MAINTAIN_VOLUME",
|
|
255
|
+
"TRANSFORM",
|
|
256
|
+
"TRANSFORM_CACHE",
|
|
257
|
+
"CLAMP_TO",
|
|
258
|
+
"DAMPED_TRACK",
|
|
259
|
+
"IK",
|
|
260
|
+
"LOCKED_TRACK",
|
|
261
|
+
"SPLINE_IK",
|
|
262
|
+
"STRETCH_TO",
|
|
263
|
+
"TRACK_TO",
|
|
264
|
+
"ACTION",
|
|
265
|
+
"ARMATURE",
|
|
266
|
+
"CHILD_OF",
|
|
267
|
+
"FLOOR",
|
|
268
|
+
"FOLLOW_PATH",
|
|
269
|
+
"PIVOT",
|
|
270
|
+
"SHRINKWRAP",
|
|
271
|
+
]
|
|
272
|
+
| None = "",
|
|
240
273
|
):
|
|
241
274
|
"""Add a constraint to the active bone
|
|
242
275
|
|
|
@@ -244,7 +277,7 @@ def constraint_add(
|
|
|
244
277
|
:type execution_context: int | str | None
|
|
245
278
|
:type undo: bool | None
|
|
246
279
|
:param type: Type
|
|
247
|
-
:type type:
|
|
280
|
+
:type type: typing.Literal['CAMERA_SOLVER', 'FOLLOW_TRACK', 'OBJECT_SOLVER', 'COPY_LOCATION', 'COPY_ROTATION', 'COPY_SCALE', 'COPY_TRANSFORMS', 'LIMIT_DISTANCE', 'LIMIT_LOCATION', 'LIMIT_ROTATION', 'LIMIT_SCALE', 'MAINTAIN_VOLUME', 'TRANSFORM', 'TRANSFORM_CACHE', 'CLAMP_TO', 'DAMPED_TRACK', 'IK', 'LOCKED_TRACK', 'SPLINE_IK', 'STRETCH_TO', 'TRACK_TO', 'ACTION', 'ARMATURE', 'CHILD_OF', 'FLOOR', 'FOLLOW_PATH', 'PIVOT', 'SHRINKWRAP'] | None
|
|
248
281
|
"""
|
|
249
282
|
|
|
250
283
|
...
|
|
@@ -254,7 +287,37 @@ def constraint_add_with_targets(
|
|
|
254
287
|
execution_context: int | str | None = None,
|
|
255
288
|
undo: bool | None = None,
|
|
256
289
|
*,
|
|
257
|
-
type:
|
|
290
|
+
type: typing.Literal[
|
|
291
|
+
"CAMERA_SOLVER",
|
|
292
|
+
"FOLLOW_TRACK",
|
|
293
|
+
"OBJECT_SOLVER",
|
|
294
|
+
"COPY_LOCATION",
|
|
295
|
+
"COPY_ROTATION",
|
|
296
|
+
"COPY_SCALE",
|
|
297
|
+
"COPY_TRANSFORMS",
|
|
298
|
+
"LIMIT_DISTANCE",
|
|
299
|
+
"LIMIT_LOCATION",
|
|
300
|
+
"LIMIT_ROTATION",
|
|
301
|
+
"LIMIT_SCALE",
|
|
302
|
+
"MAINTAIN_VOLUME",
|
|
303
|
+
"TRANSFORM",
|
|
304
|
+
"TRANSFORM_CACHE",
|
|
305
|
+
"CLAMP_TO",
|
|
306
|
+
"DAMPED_TRACK",
|
|
307
|
+
"IK",
|
|
308
|
+
"LOCKED_TRACK",
|
|
309
|
+
"SPLINE_IK",
|
|
310
|
+
"STRETCH_TO",
|
|
311
|
+
"TRACK_TO",
|
|
312
|
+
"ACTION",
|
|
313
|
+
"ARMATURE",
|
|
314
|
+
"CHILD_OF",
|
|
315
|
+
"FLOOR",
|
|
316
|
+
"FOLLOW_PATH",
|
|
317
|
+
"PIVOT",
|
|
318
|
+
"SHRINKWRAP",
|
|
319
|
+
]
|
|
320
|
+
| None = "",
|
|
258
321
|
):
|
|
259
322
|
"""Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
|
|
260
323
|
|
|
@@ -262,7 +325,7 @@ def constraint_add_with_targets(
|
|
|
262
325
|
:type execution_context: int | str | None
|
|
263
326
|
:type undo: bool | None
|
|
264
327
|
:param type: Type
|
|
265
|
-
:type type:
|
|
328
|
+
:type type: typing.Literal['CAMERA_SOLVER', 'FOLLOW_TRACK', 'OBJECT_SOLVER', 'COPY_LOCATION', 'COPY_ROTATION', 'COPY_SCALE', 'COPY_TRANSFORMS', 'LIMIT_DISTANCE', 'LIMIT_LOCATION', 'LIMIT_ROTATION', 'LIMIT_SCALE', 'MAINTAIN_VOLUME', 'TRANSFORM', 'TRANSFORM_CACHE', 'CLAMP_TO', 'DAMPED_TRACK', 'IK', 'LOCKED_TRACK', 'SPLINE_IK', 'STRETCH_TO', 'TRACK_TO', 'ACTION', 'ARMATURE', 'CHILD_OF', 'FLOOR', 'FOLLOW_PATH', 'PIVOT', 'SHRINKWRAP'] | None
|
|
266
329
|
"""
|
|
267
330
|
|
|
268
331
|
...
|
|
@@ -417,9 +480,10 @@ def paths_calculate(
|
|
|
417
480
|
execution_context: int | str | None = None,
|
|
418
481
|
undo: bool | None = None,
|
|
419
482
|
*,
|
|
420
|
-
display_type:
|
|
421
|
-
range:
|
|
422
|
-
|
|
483
|
+
display_type: typing.Literal["CURRENT_FRAME", "RANGE"] | None = "RANGE",
|
|
484
|
+
range: typing.Literal["KEYS_ALL", "KEYS_SELECTED", "SCENE", "MANUAL"]
|
|
485
|
+
| None = "SCENE",
|
|
486
|
+
bake_location: typing.Literal["HEADS", "TAILS"] | None = "HEADS",
|
|
423
487
|
):
|
|
424
488
|
"""Calculate paths for the selected bones
|
|
425
489
|
|
|
@@ -427,11 +491,11 @@ def paths_calculate(
|
|
|
427
491
|
:type execution_context: int | str | None
|
|
428
492
|
:type undo: bool | None
|
|
429
493
|
:param display_type: Display type
|
|
430
|
-
:type display_type:
|
|
494
|
+
:type display_type: typing.Literal['CURRENT_FRAME', 'RANGE'] | None
|
|
431
495
|
:param range: Computation Range
|
|
432
|
-
:type range:
|
|
496
|
+
:type range: typing.Literal['KEYS_ALL', 'KEYS_SELECTED', 'SCENE', 'MANUAL'] | None
|
|
433
497
|
:param bake_location: Bake Location, Which point on the bones is used when calculating paths
|
|
434
|
-
:type bake_location:
|
|
498
|
+
:type bake_location: typing.Literal['HEADS', 'TAILS'] | None
|
|
435
499
|
"""
|
|
436
500
|
|
|
437
501
|
...
|
|
@@ -487,7 +551,15 @@ def propagate(
|
|
|
487
551
|
execution_context: int | str | None = None,
|
|
488
552
|
undo: bool | None = None,
|
|
489
553
|
*,
|
|
490
|
-
mode:
|
|
554
|
+
mode: typing.Literal[
|
|
555
|
+
"NEXT_KEY",
|
|
556
|
+
"LAST_KEY",
|
|
557
|
+
"BEFORE_FRAME",
|
|
558
|
+
"BEFORE_END",
|
|
559
|
+
"SELECTED_KEYS",
|
|
560
|
+
"SELECTED_MARKERS",
|
|
561
|
+
]
|
|
562
|
+
| None = "NEXT_KEY",
|
|
491
563
|
end_frame: float | None = 250.0,
|
|
492
564
|
):
|
|
493
565
|
"""Copy selected aspects of the current pose to subsequent poses already keyframed
|
|
@@ -514,7 +586,7 @@ def propagate(
|
|
|
514
586
|
|
|
515
587
|
SELECTED_MARKERS
|
|
516
588
|
On Selected Markers -- Propagate pose to all keyframes occurring on frames with Scene Markers after the current frame.
|
|
517
|
-
:type mode:
|
|
589
|
+
:type mode: typing.Literal['NEXT_KEY','LAST_KEY','BEFORE_FRAME','BEFORE_END','SELECTED_KEYS','SELECTED_MARKERS'] | None
|
|
518
590
|
:param end_frame: End Frame, Frame to stop propagating frames to (for 'Before Frame' mode)
|
|
519
591
|
:type end_frame: float | None
|
|
520
592
|
"""
|
|
@@ -529,8 +601,9 @@ def push(
|
|
|
529
601
|
factor: float | None = 0.5,
|
|
530
602
|
prev_frame: int | None = 0,
|
|
531
603
|
next_frame: int | None = 0,
|
|
532
|
-
channels:
|
|
533
|
-
|
|
604
|
+
channels: typing.Literal["ALL", "LOC", "ROT", "SIZE", "BBONE", "CUSTOM"]
|
|
605
|
+
| None = "ALL",
|
|
606
|
+
axis_lock: typing.Literal["FREE", "X", "Y", "Z"] | None = "FREE",
|
|
534
607
|
):
|
|
535
608
|
"""Exaggerate the current pose in regards to the breakdown pose
|
|
536
609
|
|
|
@@ -562,7 +635,7 @@ def push(
|
|
|
562
635
|
|
|
563
636
|
CUSTOM
|
|
564
637
|
Custom Properties -- Custom properties.
|
|
565
|
-
:type channels:
|
|
638
|
+
:type channels: typing.Literal['ALL','LOC','ROT','SIZE','BBONE','CUSTOM'] | None
|
|
566
639
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
567
640
|
|
|
568
641
|
FREE
|
|
@@ -576,7 +649,7 @@ def push(
|
|
|
576
649
|
|
|
577
650
|
Z
|
|
578
651
|
Z -- Only Z-axis transforms are affected.
|
|
579
|
-
:type axis_lock:
|
|
652
|
+
:type axis_lock: typing.Literal['FREE','X','Y','Z'] | None
|
|
580
653
|
"""
|
|
581
654
|
|
|
582
655
|
...
|
|
@@ -603,8 +676,9 @@ def relax(
|
|
|
603
676
|
factor: float | None = 0.5,
|
|
604
677
|
prev_frame: int | None = 0,
|
|
605
678
|
next_frame: int | None = 0,
|
|
606
|
-
channels:
|
|
607
|
-
|
|
679
|
+
channels: typing.Literal["ALL", "LOC", "ROT", "SIZE", "BBONE", "CUSTOM"]
|
|
680
|
+
| None = "ALL",
|
|
681
|
+
axis_lock: typing.Literal["FREE", "X", "Y", "Z"] | None = "FREE",
|
|
608
682
|
):
|
|
609
683
|
"""Make the current pose more similar to its breakdown pose
|
|
610
684
|
|
|
@@ -636,7 +710,7 @@ def relax(
|
|
|
636
710
|
|
|
637
711
|
CUSTOM
|
|
638
712
|
Custom Properties -- Custom properties.
|
|
639
|
-
:type channels:
|
|
713
|
+
:type channels: typing.Literal['ALL','LOC','ROT','SIZE','BBONE','CUSTOM'] | None
|
|
640
714
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
641
715
|
|
|
642
716
|
FREE
|
|
@@ -650,7 +724,7 @@ def relax(
|
|
|
650
724
|
|
|
651
725
|
Z
|
|
652
726
|
Z -- Only Z-axis transforms are affected.
|
|
653
|
-
:type axis_lock:
|
|
727
|
+
:type axis_lock: typing.Literal['FREE','X','Y','Z'] | None
|
|
654
728
|
"""
|
|
655
729
|
|
|
656
730
|
...
|
|
@@ -692,7 +766,10 @@ def rotation_mode_set(
|
|
|
692
766
|
execution_context: int | str | None = None,
|
|
693
767
|
undo: bool | None = None,
|
|
694
768
|
*,
|
|
695
|
-
type:
|
|
769
|
+
type: typing.Literal[
|
|
770
|
+
"QUATERNION", "XYZ", "XZY", "YXZ", "YZX", "ZXY", "ZYX", "AXIS_ANGLE"
|
|
771
|
+
]
|
|
772
|
+
| None = "QUATERNION",
|
|
696
773
|
):
|
|
697
774
|
"""Set the rotation representation used by selected bones
|
|
698
775
|
|
|
@@ -700,7 +777,7 @@ def rotation_mode_set(
|
|
|
700
777
|
:type execution_context: int | str | None
|
|
701
778
|
:type undo: bool | None
|
|
702
779
|
:param type: Rotation Mode
|
|
703
|
-
:type type:
|
|
780
|
+
:type type: typing.Literal['QUATERNION', 'XYZ', 'XZY', 'YXZ', 'YZX', 'ZXY', 'ZYX', 'AXIS_ANGLE'] | None
|
|
704
781
|
"""
|
|
705
782
|
|
|
706
783
|
...
|
|
@@ -724,7 +801,7 @@ def select_all(
|
|
|
724
801
|
execution_context: int | str | None = None,
|
|
725
802
|
undo: bool | None = None,
|
|
726
803
|
*,
|
|
727
|
-
action:
|
|
804
|
+
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
728
805
|
):
|
|
729
806
|
"""Toggle selection status of all bones
|
|
730
807
|
|
|
@@ -744,7 +821,7 @@ def select_all(
|
|
|
744
821
|
|
|
745
822
|
INVERT
|
|
746
823
|
Invert -- Invert selection of all elements.
|
|
747
|
-
:type action:
|
|
824
|
+
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
748
825
|
"""
|
|
749
826
|
|
|
750
827
|
...
|
|
@@ -769,7 +846,7 @@ def select_grouped(
|
|
|
769
846
|
undo: bool | None = None,
|
|
770
847
|
*,
|
|
771
848
|
extend: bool | None = False,
|
|
772
|
-
type:
|
|
849
|
+
type: typing.Literal["COLLECTION", "COLOR", "KEYINGSET"] | None = "COLLECTION",
|
|
773
850
|
):
|
|
774
851
|
"""Select all visible bones grouped by similar properties
|
|
775
852
|
|
|
@@ -788,7 +865,7 @@ def select_grouped(
|
|
|
788
865
|
|
|
789
866
|
KEYINGSET
|
|
790
867
|
Keying Set -- All bones affected by active Keying Set.
|
|
791
|
-
:type type:
|
|
868
|
+
:type type: typing.Literal['COLLECTION','COLOR','KEYINGSET'] | None
|
|
792
869
|
"""
|
|
793
870
|
|
|
794
871
|
...
|
|
@@ -798,7 +875,7 @@ def select_hierarchy(
|
|
|
798
875
|
execution_context: int | str | None = None,
|
|
799
876
|
undo: bool | None = None,
|
|
800
877
|
*,
|
|
801
|
-
direction:
|
|
878
|
+
direction: typing.Literal["PARENT", "CHILD"] | None = "PARENT",
|
|
802
879
|
extend: bool | None = False,
|
|
803
880
|
):
|
|
804
881
|
"""Select immediate parent/children of selected bones
|
|
@@ -807,7 +884,7 @@ def select_hierarchy(
|
|
|
807
884
|
:type execution_context: int | str | None
|
|
808
885
|
:type undo: bool | None
|
|
809
886
|
:param direction: Direction
|
|
810
|
-
:type direction:
|
|
887
|
+
:type direction: typing.Literal['PARENT','CHILD'] | None
|
|
811
888
|
:param extend: Extend, Extend the selection
|
|
812
889
|
:type extend: bool | None
|
|
813
890
|
"""
|
|
@@ -970,7 +1047,7 @@ def selection_set_move(
|
|
|
970
1047
|
execution_context: int | str | None = None,
|
|
971
1048
|
undo: bool | None = None,
|
|
972
1049
|
*,
|
|
973
|
-
direction:
|
|
1050
|
+
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
974
1051
|
):
|
|
975
1052
|
"""Move the active Selection Set up/down the list of sets
|
|
976
1053
|
|
|
@@ -978,7 +1055,7 @@ def selection_set_move(
|
|
|
978
1055
|
:type execution_context: int | str | None
|
|
979
1056
|
:type undo: bool | None
|
|
980
1057
|
:param direction: Move Direction, Direction to move the active Selection Set: UP (default) or DOWN
|
|
981
|
-
:type direction:
|
|
1058
|
+
:type direction: typing.Literal['UP','DOWN'] | None
|
|
982
1059
|
"""
|
|
983
1060
|
|
|
984
1061
|
...
|
bpy/ops/preferences/__init__.pyi
CHANGED
|
@@ -199,7 +199,10 @@ def asset_library_add(
|
|
|
199
199
|
filter_folder: bool | None = True,
|
|
200
200
|
filter_blenlib: bool | None = False,
|
|
201
201
|
filemode: int | None = 9,
|
|
202
|
-
display_type:
|
|
202
|
+
display_type: typing.Literal[
|
|
203
|
+
"DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
|
|
204
|
+
]
|
|
205
|
+
| None = "DEFAULT",
|
|
203
206
|
sort_method: str | None = "",
|
|
204
207
|
):
|
|
205
208
|
"""Add a directory to be used by the Asset Browser as source of assets
|
|
@@ -262,7 +265,7 @@ def asset_library_add(
|
|
|
262
265
|
|
|
263
266
|
THUMBNAIL
|
|
264
267
|
Thumbnails -- Display files as thumbnails.
|
|
265
|
-
:type display_type:
|
|
268
|
+
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
266
269
|
:param sort_method: File sorting mode
|
|
267
270
|
:type sort_method: str | None
|
|
268
271
|
"""
|
|
@@ -359,7 +362,7 @@ def extension_repo_add(
|
|
|
359
362
|
use_sync_on_startup: bool | None = False,
|
|
360
363
|
use_custom_directory: bool | None = False,
|
|
361
364
|
custom_directory: str = "",
|
|
362
|
-
type:
|
|
365
|
+
type: typing.Literal["REMOTE", "LOCAL"] | None = "REMOTE",
|
|
363
366
|
):
|
|
364
367
|
"""Add a new repository used to store extensions
|
|
365
368
|
|
|
@@ -387,7 +390,7 @@ def extension_repo_add(
|
|
|
387
390
|
|
|
388
391
|
LOCAL
|
|
389
392
|
Add Local Repository -- Add a repository managed manually without referencing an external repository.
|
|
390
|
-
:type type:
|
|
393
|
+
:type type: typing.Literal['REMOTE','LOCAL'] | None
|
|
391
394
|
"""
|
|
392
395
|
|
|
393
396
|
...
|
|
@@ -686,7 +689,7 @@ def studiolight_install(
|
|
|
686
689
|
directory: str = "",
|
|
687
690
|
filter_folder: bool | None = True,
|
|
688
691
|
filter_glob: str = "*.png;*.jpg;*.hdr;*.exr",
|
|
689
|
-
type:
|
|
692
|
+
type: typing.Literal["MATCAP", "WORLD", "STUDIO"] | None = "MATCAP",
|
|
690
693
|
):
|
|
691
694
|
"""Install a user defined light
|
|
692
695
|
|
|
@@ -711,7 +714,7 @@ def studiolight_install(
|
|
|
711
714
|
|
|
712
715
|
STUDIO
|
|
713
716
|
Studio -- Install custom Studio Lights.
|
|
714
|
-
:type type:
|
|
717
|
+
:type type: typing.Literal['MATCAP','WORLD','STUDIO'] | None
|
|
715
718
|
"""
|
|
716
719
|
|
|
717
720
|
...
|
bpy/ops/render/__init__.pyi
CHANGED
|
@@ -253,7 +253,8 @@ def shutter_curve_preset(
|
|
|
253
253
|
execution_context: int | str | None = None,
|
|
254
254
|
undo: bool | None = None,
|
|
255
255
|
*,
|
|
256
|
-
shape:
|
|
256
|
+
shape: typing.Literal["SHARP", "SMOOTH", "MAX", "LINE", "ROUND", "ROOT"]
|
|
257
|
+
| None = "SMOOTH",
|
|
257
258
|
):
|
|
258
259
|
"""Set shutter curve
|
|
259
260
|
|
|
@@ -261,7 +262,7 @@ def shutter_curve_preset(
|
|
|
261
262
|
:type execution_context: int | str | None
|
|
262
263
|
:type undo: bool | None
|
|
263
264
|
:param shape: Mode
|
|
264
|
-
:type shape:
|
|
265
|
+
:type shape: typing.Literal['SHARP','SMOOTH','MAX','LINE','ROUND','ROOT'] | None
|
|
265
266
|
"""
|
|
266
267
|
|
|
267
268
|
...
|
bpy/ops/rigidbody/__init__.pyi
CHANGED
|
@@ -35,9 +35,20 @@ def connect(
|
|
|
35
35
|
execution_context: int | str | None = None,
|
|
36
36
|
undo: bool | None = None,
|
|
37
37
|
*,
|
|
38
|
-
con_type:
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
con_type: typing.Literal[
|
|
39
|
+
"FIXED",
|
|
40
|
+
"POINT",
|
|
41
|
+
"HINGE",
|
|
42
|
+
"SLIDER",
|
|
43
|
+
"PISTON",
|
|
44
|
+
"GENERIC",
|
|
45
|
+
"GENERIC_SPRING",
|
|
46
|
+
"MOTOR",
|
|
47
|
+
]
|
|
48
|
+
| None = "FIXED",
|
|
49
|
+
pivot_type: typing.Literal["CENTER", "ACTIVE", "SELECTED"] | None = "CENTER",
|
|
50
|
+
connection_pattern: typing.Literal["SELECTED_TO_ACTIVE", "CHAIN_DISTANCE"]
|
|
51
|
+
| None = "SELECTED_TO_ACTIVE",
|
|
41
52
|
):
|
|
42
53
|
"""Create rigid body constraints between selected rigid bodies
|
|
43
54
|
|
|
@@ -69,7 +80,7 @@ def connect(
|
|
|
69
80
|
|
|
70
81
|
MOTOR
|
|
71
82
|
Motor -- Drive rigid body around or along an axis.
|
|
72
|
-
:type con_type:
|
|
83
|
+
:type con_type: typing.Literal['FIXED','POINT','HINGE','SLIDER','PISTON','GENERIC','GENERIC_SPRING','MOTOR'] | None
|
|
73
84
|
:param pivot_type: Location, Constraint pivot location
|
|
74
85
|
|
|
75
86
|
CENTER
|
|
@@ -80,7 +91,7 @@ def connect(
|
|
|
80
91
|
|
|
81
92
|
SELECTED
|
|
82
93
|
Selected -- Pivot location is at the selected object position.
|
|
83
|
-
:type pivot_type:
|
|
94
|
+
:type pivot_type: typing.Literal['CENTER','ACTIVE','SELECTED'] | None
|
|
84
95
|
:param connection_pattern: Connection Pattern, Pattern used to connect objects
|
|
85
96
|
|
|
86
97
|
SELECTED_TO_ACTIVE
|
|
@@ -88,7 +99,7 @@ def connect(
|
|
|
88
99
|
|
|
89
100
|
CHAIN_DISTANCE
|
|
90
101
|
Chain by Distance -- Connect objects as a chain based on distance, starting at the active object.
|
|
91
|
-
:type connection_pattern:
|
|
102
|
+
:type connection_pattern: typing.Literal['SELECTED_TO_ACTIVE','CHAIN_DISTANCE'] | None
|
|
92
103
|
"""
|
|
93
104
|
|
|
94
105
|
...
|
|
@@ -98,7 +109,17 @@ def constraint_add(
|
|
|
98
109
|
execution_context: int | str | None = None,
|
|
99
110
|
undo: bool | None = None,
|
|
100
111
|
*,
|
|
101
|
-
type:
|
|
112
|
+
type: typing.Literal[
|
|
113
|
+
"FIXED",
|
|
114
|
+
"POINT",
|
|
115
|
+
"HINGE",
|
|
116
|
+
"SLIDER",
|
|
117
|
+
"PISTON",
|
|
118
|
+
"GENERIC",
|
|
119
|
+
"GENERIC_SPRING",
|
|
120
|
+
"MOTOR",
|
|
121
|
+
]
|
|
122
|
+
| None = "FIXED",
|
|
102
123
|
):
|
|
103
124
|
"""Add Rigid Body Constraint to active object
|
|
104
125
|
|
|
@@ -106,7 +127,7 @@ def constraint_add(
|
|
|
106
127
|
:type execution_context: int | str | None
|
|
107
128
|
:type undo: bool | None
|
|
108
129
|
:param type: Rigid Body Constraint Type
|
|
109
|
-
:type type:
|
|
130
|
+
:type type: typing.Literal['FIXED', 'POINT', 'HINGE', 'SLIDER', 'PISTON', 'GENERIC', 'GENERIC_SPRING', 'MOTOR'] | None
|
|
110
131
|
"""
|
|
111
132
|
|
|
112
133
|
...
|
|
@@ -151,7 +172,7 @@ def object_add(
|
|
|
151
172
|
execution_context: int | str | None = None,
|
|
152
173
|
undo: bool | None = None,
|
|
153
174
|
*,
|
|
154
|
-
type:
|
|
175
|
+
type: typing.Literal["ACTIVE", "PASSIVE"] | None = "ACTIVE",
|
|
155
176
|
):
|
|
156
177
|
"""Add active object as Rigid Body
|
|
157
178
|
|
|
@@ -159,7 +180,7 @@ def object_add(
|
|
|
159
180
|
:type execution_context: int | str | None
|
|
160
181
|
:type undo: bool | None
|
|
161
182
|
:param type: Rigid Body Type
|
|
162
|
-
:type type:
|
|
183
|
+
:type type: typing.Literal['ACTIVE', 'PASSIVE'] | None
|
|
163
184
|
"""
|
|
164
185
|
|
|
165
186
|
...
|
|
@@ -197,7 +218,7 @@ def objects_add(
|
|
|
197
218
|
execution_context: int | str | None = None,
|
|
198
219
|
undo: bool | None = None,
|
|
199
220
|
*,
|
|
200
|
-
type:
|
|
221
|
+
type: typing.Literal["ACTIVE", "PASSIVE"] | None = "ACTIVE",
|
|
201
222
|
):
|
|
202
223
|
"""Add selected objects as Rigid Bodies
|
|
203
224
|
|
|
@@ -205,7 +226,7 @@ def objects_add(
|
|
|
205
226
|
:type execution_context: int | str | None
|
|
206
227
|
:type undo: bool | None
|
|
207
228
|
:param type: Rigid Body Type
|
|
208
|
-
:type type:
|
|
229
|
+
:type type: typing.Literal['ACTIVE', 'PASSIVE'] | None
|
|
209
230
|
"""
|
|
210
231
|
|
|
211
232
|
...
|
|
@@ -229,7 +250,17 @@ def shape_change(
|
|
|
229
250
|
execution_context: int | str | None = None,
|
|
230
251
|
undo: bool | None = None,
|
|
231
252
|
*,
|
|
232
|
-
type:
|
|
253
|
+
type: typing.Literal[
|
|
254
|
+
"BOX",
|
|
255
|
+
"SPHERE",
|
|
256
|
+
"CAPSULE",
|
|
257
|
+
"CYLINDER",
|
|
258
|
+
"CONE",
|
|
259
|
+
"CONVEX_HULL",
|
|
260
|
+
"MESH",
|
|
261
|
+
"COMPOUND",
|
|
262
|
+
]
|
|
263
|
+
| None = "MESH",
|
|
233
264
|
):
|
|
234
265
|
"""Change collision shapes for selected Rigid Body Objects
|
|
235
266
|
|
|
@@ -237,7 +268,7 @@ def shape_change(
|
|
|
237
268
|
:type execution_context: int | str | None
|
|
238
269
|
:type undo: bool | None
|
|
239
270
|
:param type: Rigid Body Shape
|
|
240
|
-
:type type:
|
|
271
|
+
:type type: typing.Literal['BOX', 'SPHERE', 'CAPSULE', 'CYLINDER', 'CONE', 'CONVEX_HULL', 'MESH', 'COMPOUND'] | None
|
|
241
272
|
"""
|
|
242
273
|
|
|
243
274
|
...
|