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/ptcache/__init__.pyi
CHANGED
|
@@ -4,13 +4,15 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def add(
|
|
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
|
):
|
|
11
13
|
"""Add new cache
|
|
12
14
|
|
|
13
|
-
:type override_context: typing.Optional[typing.Union[
|
|
15
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
14
16
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
17
|
:type undo: typing.Optional[bool]
|
|
16
18
|
"""
|
|
@@ -18,14 +20,16 @@ def add(
|
|
|
18
20
|
...
|
|
19
21
|
|
|
20
22
|
def bake(
|
|
21
|
-
override_context: typing.Optional[
|
|
23
|
+
override_context: typing.Optional[
|
|
24
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
25
|
+
] = None,
|
|
22
26
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
27
|
undo: typing.Optional[bool] = None,
|
|
24
28
|
bake: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
25
29
|
):
|
|
26
30
|
"""Bake physics
|
|
27
31
|
|
|
28
|
-
:type override_context: typing.Optional[typing.Union[
|
|
32
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
29
33
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
30
34
|
:type undo: typing.Optional[bool]
|
|
31
35
|
:param bake: Bake
|
|
@@ -35,14 +39,16 @@ def bake(
|
|
|
35
39
|
...
|
|
36
40
|
|
|
37
41
|
def bake_all(
|
|
38
|
-
override_context: typing.Optional[
|
|
42
|
+
override_context: typing.Optional[
|
|
43
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
44
|
+
] = None,
|
|
39
45
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
40
46
|
undo: typing.Optional[bool] = None,
|
|
41
47
|
bake: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
42
48
|
):
|
|
43
49
|
"""Bake all physics
|
|
44
50
|
|
|
45
|
-
:type override_context: typing.Optional[typing.Union[
|
|
51
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
46
52
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
47
53
|
:type undo: typing.Optional[bool]
|
|
48
54
|
:param bake: Bake
|
|
@@ -52,13 +58,15 @@ def bake_all(
|
|
|
52
58
|
...
|
|
53
59
|
|
|
54
60
|
def bake_from_cache(
|
|
55
|
-
override_context: typing.Optional[
|
|
61
|
+
override_context: typing.Optional[
|
|
62
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
63
|
+
] = None,
|
|
56
64
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
57
65
|
undo: typing.Optional[bool] = None,
|
|
58
66
|
):
|
|
59
67
|
"""Bake from cache
|
|
60
68
|
|
|
61
|
-
:type override_context: typing.Optional[typing.Union[
|
|
69
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
62
70
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
63
71
|
:type undo: typing.Optional[bool]
|
|
64
72
|
"""
|
|
@@ -66,13 +74,15 @@ def bake_from_cache(
|
|
|
66
74
|
...
|
|
67
75
|
|
|
68
76
|
def free_bake(
|
|
69
|
-
override_context: typing.Optional[
|
|
77
|
+
override_context: typing.Optional[
|
|
78
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
79
|
+
] = None,
|
|
70
80
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
71
81
|
undo: typing.Optional[bool] = None,
|
|
72
82
|
):
|
|
73
83
|
"""Delete physics bake
|
|
74
84
|
|
|
75
|
-
:type override_context: typing.Optional[typing.Union[
|
|
85
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
76
86
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
77
87
|
:type undo: typing.Optional[bool]
|
|
78
88
|
"""
|
|
@@ -80,13 +90,15 @@ def free_bake(
|
|
|
80
90
|
...
|
|
81
91
|
|
|
82
92
|
def free_bake_all(
|
|
83
|
-
override_context: typing.Optional[
|
|
93
|
+
override_context: typing.Optional[
|
|
94
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
95
|
+
] = None,
|
|
84
96
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
85
97
|
undo: typing.Optional[bool] = None,
|
|
86
98
|
):
|
|
87
99
|
"""Delete all baked caches of all objects in the current scene
|
|
88
100
|
|
|
89
|
-
:type override_context: typing.Optional[typing.Union[
|
|
101
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
90
102
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
91
103
|
:type undo: typing.Optional[bool]
|
|
92
104
|
"""
|
|
@@ -94,13 +106,15 @@ def free_bake_all(
|
|
|
94
106
|
...
|
|
95
107
|
|
|
96
108
|
def remove(
|
|
97
|
-
override_context: typing.Optional[
|
|
109
|
+
override_context: typing.Optional[
|
|
110
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
111
|
+
] = None,
|
|
98
112
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
99
113
|
undo: typing.Optional[bool] = None,
|
|
100
114
|
):
|
|
101
115
|
"""Delete current cache
|
|
102
116
|
|
|
103
|
-
:type override_context: typing.Optional[typing.Union[
|
|
117
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
104
118
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
105
119
|
:type undo: typing.Optional[bool]
|
|
106
120
|
"""
|
bpy/ops/render/__init__.pyi
CHANGED
|
@@ -4,7 +4,9 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def cycles_integrator_preset_add(
|
|
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
|
name: typing.Union[str, typing.Any] = "",
|
|
@@ -13,7 +15,7 @@ def cycles_integrator_preset_add(
|
|
|
13
15
|
):
|
|
14
16
|
"""Add an Integrator Preset
|
|
15
17
|
|
|
16
|
-
:type override_context: typing.Optional[typing.Union[
|
|
18
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
17
19
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
18
20
|
:type undo: typing.Optional[bool]
|
|
19
21
|
:param name: Name, Name of the preset, used to make the path name
|
|
@@ -27,7 +29,9 @@ def cycles_integrator_preset_add(
|
|
|
27
29
|
...
|
|
28
30
|
|
|
29
31
|
def cycles_performance_preset_add(
|
|
30
|
-
override_context: typing.Optional[
|
|
32
|
+
override_context: typing.Optional[
|
|
33
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
34
|
+
] = None,
|
|
31
35
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
32
36
|
undo: typing.Optional[bool] = None,
|
|
33
37
|
name: typing.Union[str, typing.Any] = "",
|
|
@@ -36,7 +40,7 @@ def cycles_performance_preset_add(
|
|
|
36
40
|
):
|
|
37
41
|
"""Add an Performance Preset
|
|
38
42
|
|
|
39
|
-
:type override_context: typing.Optional[typing.Union[
|
|
43
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
40
44
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
41
45
|
:type undo: typing.Optional[bool]
|
|
42
46
|
:param name: Name, Name of the preset, used to make the path name
|
|
@@ -50,7 +54,9 @@ def cycles_performance_preset_add(
|
|
|
50
54
|
...
|
|
51
55
|
|
|
52
56
|
def cycles_sampling_preset_add(
|
|
53
|
-
override_context: typing.Optional[
|
|
57
|
+
override_context: typing.Optional[
|
|
58
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
59
|
+
] = None,
|
|
54
60
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
55
61
|
undo: typing.Optional[bool] = None,
|
|
56
62
|
name: typing.Union[str, typing.Any] = "",
|
|
@@ -59,7 +65,7 @@ def cycles_sampling_preset_add(
|
|
|
59
65
|
):
|
|
60
66
|
"""Add a Sampling Preset
|
|
61
67
|
|
|
62
|
-
:type override_context: typing.Optional[typing.Union[
|
|
68
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
63
69
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
64
70
|
:type undo: typing.Optional[bool]
|
|
65
71
|
:param name: Name, Name of the preset, used to make the path name
|
|
@@ -73,7 +79,9 @@ def cycles_sampling_preset_add(
|
|
|
73
79
|
...
|
|
74
80
|
|
|
75
81
|
def cycles_viewport_sampling_preset_add(
|
|
76
|
-
override_context: typing.Optional[
|
|
82
|
+
override_context: typing.Optional[
|
|
83
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
84
|
+
] = None,
|
|
77
85
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
78
86
|
undo: typing.Optional[bool] = None,
|
|
79
87
|
name: typing.Union[str, typing.Any] = "",
|
|
@@ -82,7 +90,7 @@ def cycles_viewport_sampling_preset_add(
|
|
|
82
90
|
):
|
|
83
91
|
"""Add a Viewport Sampling Preset
|
|
84
92
|
|
|
85
|
-
:type override_context: typing.Optional[typing.Union[
|
|
93
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
86
94
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
87
95
|
:type undo: typing.Optional[bool]
|
|
88
96
|
:param name: Name, Name of the preset, used to make the path name
|
|
@@ -96,7 +104,9 @@ def cycles_viewport_sampling_preset_add(
|
|
|
96
104
|
...
|
|
97
105
|
|
|
98
106
|
def eevee_raytracing_preset_add(
|
|
99
|
-
override_context: typing.Optional[
|
|
107
|
+
override_context: typing.Optional[
|
|
108
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
109
|
+
] = None,
|
|
100
110
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
101
111
|
undo: typing.Optional[bool] = None,
|
|
102
112
|
name: typing.Union[str, typing.Any] = "",
|
|
@@ -105,7 +115,7 @@ def eevee_raytracing_preset_add(
|
|
|
105
115
|
):
|
|
106
116
|
"""Add or remove an EEVEE ray-tracing preset
|
|
107
117
|
|
|
108
|
-
:type override_context: typing.Optional[typing.Union[
|
|
118
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
109
119
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
110
120
|
:type undo: typing.Optional[bool]
|
|
111
121
|
:param name: Name, Name of the preset, used to make the path name
|
|
@@ -119,7 +129,9 @@ def eevee_raytracing_preset_add(
|
|
|
119
129
|
...
|
|
120
130
|
|
|
121
131
|
def opengl(
|
|
122
|
-
override_context: typing.Optional[
|
|
132
|
+
override_context: typing.Optional[
|
|
133
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
134
|
+
] = None,
|
|
123
135
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
124
136
|
undo: typing.Optional[bool] = None,
|
|
125
137
|
animation: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
@@ -130,7 +142,7 @@ def opengl(
|
|
|
130
142
|
):
|
|
131
143
|
"""Take a snapshot of the active viewport
|
|
132
144
|
|
|
133
|
-
:type override_context: typing.Optional[typing.Union[
|
|
145
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
134
146
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
135
147
|
:type undo: typing.Optional[bool]
|
|
136
148
|
:param animation: Animation, Render files from the animation range of this scene
|
|
@@ -148,13 +160,15 @@ def opengl(
|
|
|
148
160
|
...
|
|
149
161
|
|
|
150
162
|
def play_rendered_anim(
|
|
151
|
-
override_context: typing.Optional[
|
|
163
|
+
override_context: typing.Optional[
|
|
164
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
165
|
+
] = None,
|
|
152
166
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
153
167
|
undo: typing.Optional[bool] = None,
|
|
154
168
|
):
|
|
155
169
|
"""Play back rendered frames/movies using an external player
|
|
156
170
|
|
|
157
|
-
:type override_context: typing.Optional[typing.Union[
|
|
171
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
158
172
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
159
173
|
:type undo: typing.Optional[bool]
|
|
160
174
|
"""
|
|
@@ -162,7 +176,9 @@ def play_rendered_anim(
|
|
|
162
176
|
...
|
|
163
177
|
|
|
164
178
|
def preset_add(
|
|
165
|
-
override_context: typing.Optional[
|
|
179
|
+
override_context: typing.Optional[
|
|
180
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
181
|
+
] = None,
|
|
166
182
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
167
183
|
undo: typing.Optional[bool] = None,
|
|
168
184
|
name: typing.Union[str, typing.Any] = "",
|
|
@@ -171,7 +187,7 @@ def preset_add(
|
|
|
171
187
|
):
|
|
172
188
|
"""Add or remove a Render Preset
|
|
173
189
|
|
|
174
|
-
:type override_context: typing.Optional[typing.Union[
|
|
190
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
175
191
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
176
192
|
:type undo: typing.Optional[bool]
|
|
177
193
|
:param name: Name, Name of the preset, used to make the path name
|
|
@@ -185,7 +201,9 @@ def preset_add(
|
|
|
185
201
|
...
|
|
186
202
|
|
|
187
203
|
def render(
|
|
188
|
-
override_context: typing.Optional[
|
|
204
|
+
override_context: typing.Optional[
|
|
205
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
206
|
+
] = None,
|
|
189
207
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
190
208
|
undo: typing.Optional[bool] = None,
|
|
191
209
|
animation: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
@@ -196,7 +214,7 @@ def render(
|
|
|
196
214
|
):
|
|
197
215
|
"""Render active scene
|
|
198
216
|
|
|
199
|
-
:type override_context: typing.Optional[typing.Union[
|
|
217
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
200
218
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
201
219
|
:type undo: typing.Optional[bool]
|
|
202
220
|
:param animation: Animation, Render files from the animation range of this scene
|
|
@@ -214,14 +232,16 @@ def render(
|
|
|
214
232
|
...
|
|
215
233
|
|
|
216
234
|
def shutter_curve_preset(
|
|
217
|
-
override_context: typing.Optional[
|
|
235
|
+
override_context: typing.Optional[
|
|
236
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
237
|
+
] = None,
|
|
218
238
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
219
239
|
undo: typing.Optional[bool] = None,
|
|
220
240
|
shape: typing.Optional[typing.Any] = "SMOOTH",
|
|
221
241
|
):
|
|
222
242
|
"""Set shutter curve
|
|
223
243
|
|
|
224
|
-
:type override_context: typing.Optional[typing.Union[
|
|
244
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
225
245
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
226
246
|
:type undo: typing.Optional[bool]
|
|
227
247
|
:param shape: Mode
|
|
@@ -231,13 +251,15 @@ def shutter_curve_preset(
|
|
|
231
251
|
...
|
|
232
252
|
|
|
233
253
|
def view_cancel(
|
|
234
|
-
override_context: typing.Optional[
|
|
254
|
+
override_context: typing.Optional[
|
|
255
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
256
|
+
] = None,
|
|
235
257
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
236
258
|
undo: typing.Optional[bool] = None,
|
|
237
259
|
):
|
|
238
260
|
"""Cancel show render view
|
|
239
261
|
|
|
240
|
-
:type override_context: typing.Optional[typing.Union[
|
|
262
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
241
263
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
242
264
|
:type undo: typing.Optional[bool]
|
|
243
265
|
"""
|
|
@@ -245,13 +267,15 @@ def view_cancel(
|
|
|
245
267
|
...
|
|
246
268
|
|
|
247
269
|
def view_show(
|
|
248
|
-
override_context: typing.Optional[
|
|
270
|
+
override_context: typing.Optional[
|
|
271
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
272
|
+
] = None,
|
|
249
273
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
250
274
|
undo: typing.Optional[bool] = None,
|
|
251
275
|
):
|
|
252
276
|
"""Toggle show render view
|
|
253
277
|
|
|
254
|
-
:type override_context: typing.Optional[typing.Union[
|
|
278
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
255
279
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
256
280
|
:type undo: typing.Optional[bool]
|
|
257
281
|
"""
|
bpy/ops/rigidbody/__init__.pyi
CHANGED
|
@@ -4,7 +4,9 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def bake_to_keyframes(
|
|
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
|
frame_start: typing.Optional[typing.Any] = 1,
|
|
@@ -13,7 +15,7 @@ def bake_to_keyframes(
|
|
|
13
15
|
):
|
|
14
16
|
"""Bake rigid body transformations of selected objects to keyframes
|
|
15
17
|
|
|
16
|
-
:type override_context: typing.Optional[typing.Union[
|
|
18
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
17
19
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
18
20
|
:type undo: typing.Optional[bool]
|
|
19
21
|
:param frame_start: Start Frame, Start frame for baking
|
|
@@ -27,7 +29,9 @@ def bake_to_keyframes(
|
|
|
27
29
|
...
|
|
28
30
|
|
|
29
31
|
def connect(
|
|
30
|
-
override_context: typing.Optional[
|
|
32
|
+
override_context: typing.Optional[
|
|
33
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
34
|
+
] = None,
|
|
31
35
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
32
36
|
undo: typing.Optional[bool] = None,
|
|
33
37
|
con_type: typing.Optional[typing.Any] = "FIXED",
|
|
@@ -36,7 +40,7 @@ def connect(
|
|
|
36
40
|
):
|
|
37
41
|
"""Create rigid body constraints between selected rigid bodies
|
|
38
42
|
|
|
39
|
-
:type override_context: typing.Optional[typing.Union[
|
|
43
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
40
44
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
41
45
|
:type undo: typing.Optional[bool]
|
|
42
46
|
:param con_type: Type, Type of generated constraint
|
|
@@ -89,14 +93,16 @@ def connect(
|
|
|
89
93
|
...
|
|
90
94
|
|
|
91
95
|
def constraint_add(
|
|
92
|
-
override_context: typing.Optional[
|
|
96
|
+
override_context: typing.Optional[
|
|
97
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
98
|
+
] = None,
|
|
93
99
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
94
100
|
undo: typing.Optional[bool] = None,
|
|
95
101
|
type: typing.Optional[typing.Union[str, int]] = "FIXED",
|
|
96
102
|
):
|
|
97
103
|
"""Add Rigid Body Constraint to active object
|
|
98
104
|
|
|
99
|
-
:type override_context: typing.Optional[typing.Union[
|
|
105
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
100
106
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
101
107
|
:type undo: typing.Optional[bool]
|
|
102
108
|
:param type: Rigid Body Constraint Type
|
|
@@ -106,13 +112,15 @@ def constraint_add(
|
|
|
106
112
|
...
|
|
107
113
|
|
|
108
114
|
def constraint_remove(
|
|
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
|
):
|
|
113
121
|
"""Remove Rigid Body Constraint from Object
|
|
114
122
|
|
|
115
|
-
:type override_context: typing.Optional[typing.Union[
|
|
123
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
116
124
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
117
125
|
:type undo: typing.Optional[bool]
|
|
118
126
|
"""
|
|
@@ -120,7 +128,9 @@ def constraint_remove(
|
|
|
120
128
|
...
|
|
121
129
|
|
|
122
130
|
def mass_calculate(
|
|
123
|
-
override_context: typing.Optional[
|
|
131
|
+
override_context: typing.Optional[
|
|
132
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
133
|
+
] = None,
|
|
124
134
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
125
135
|
undo: typing.Optional[bool] = None,
|
|
126
136
|
material: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
|
|
@@ -128,7 +138,7 @@ def mass_calculate(
|
|
|
128
138
|
):
|
|
129
139
|
"""Automatically calculate mass values for Rigid Body Objects based on volume
|
|
130
140
|
|
|
131
|
-
:type override_context: typing.Optional[typing.Union[
|
|
141
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
132
142
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
133
143
|
:type undo: typing.Optional[bool]
|
|
134
144
|
:param material: Material Preset, Type of material that objects are made of (determines material density)
|
|
@@ -140,14 +150,16 @@ def mass_calculate(
|
|
|
140
150
|
...
|
|
141
151
|
|
|
142
152
|
def object_add(
|
|
143
|
-
override_context: typing.Optional[
|
|
153
|
+
override_context: typing.Optional[
|
|
154
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
155
|
+
] = None,
|
|
144
156
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
145
157
|
undo: typing.Optional[bool] = None,
|
|
146
158
|
type: typing.Optional[typing.Union[str, int]] = "ACTIVE",
|
|
147
159
|
):
|
|
148
160
|
"""Add active object as Rigid Body
|
|
149
161
|
|
|
150
|
-
:type override_context: typing.Optional[typing.Union[
|
|
162
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
151
163
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
152
164
|
:type undo: typing.Optional[bool]
|
|
153
165
|
:param type: Rigid Body Type
|
|
@@ -157,13 +169,15 @@ def object_add(
|
|
|
157
169
|
...
|
|
158
170
|
|
|
159
171
|
def object_remove(
|
|
160
|
-
override_context: typing.Optional[
|
|
172
|
+
override_context: typing.Optional[
|
|
173
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
174
|
+
] = None,
|
|
161
175
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
162
176
|
undo: typing.Optional[bool] = None,
|
|
163
177
|
):
|
|
164
178
|
"""Remove Rigid Body settings from Object
|
|
165
179
|
|
|
166
|
-
:type override_context: typing.Optional[typing.Union[
|
|
180
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
167
181
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
168
182
|
:type undo: typing.Optional[bool]
|
|
169
183
|
"""
|
|
@@ -171,13 +185,15 @@ def object_remove(
|
|
|
171
185
|
...
|
|
172
186
|
|
|
173
187
|
def object_settings_copy(
|
|
174
|
-
override_context: typing.Optional[
|
|
188
|
+
override_context: typing.Optional[
|
|
189
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
190
|
+
] = None,
|
|
175
191
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
176
192
|
undo: typing.Optional[bool] = None,
|
|
177
193
|
):
|
|
178
194
|
"""Copy Rigid Body settings from active object to selected
|
|
179
195
|
|
|
180
|
-
:type override_context: typing.Optional[typing.Union[
|
|
196
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
181
197
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
182
198
|
:type undo: typing.Optional[bool]
|
|
183
199
|
"""
|
|
@@ -185,14 +201,16 @@ def object_settings_copy(
|
|
|
185
201
|
...
|
|
186
202
|
|
|
187
203
|
def objects_add(
|
|
188
|
-
override_context: typing.Optional[
|
|
204
|
+
override_context: typing.Optional[
|
|
205
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
206
|
+
] = None,
|
|
189
207
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
190
208
|
undo: typing.Optional[bool] = None,
|
|
191
209
|
type: typing.Optional[typing.Union[str, int]] = "ACTIVE",
|
|
192
210
|
):
|
|
193
211
|
"""Add selected objects as Rigid Bodies
|
|
194
212
|
|
|
195
|
-
:type override_context: typing.Optional[typing.Union[
|
|
213
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
196
214
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
197
215
|
:type undo: typing.Optional[bool]
|
|
198
216
|
:param type: Rigid Body Type
|
|
@@ -202,13 +220,15 @@ def objects_add(
|
|
|
202
220
|
...
|
|
203
221
|
|
|
204
222
|
def objects_remove(
|
|
205
|
-
override_context: typing.Optional[
|
|
223
|
+
override_context: typing.Optional[
|
|
224
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
225
|
+
] = None,
|
|
206
226
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
207
227
|
undo: typing.Optional[bool] = None,
|
|
208
228
|
):
|
|
209
229
|
"""Remove selected objects from Rigid Body simulation
|
|
210
230
|
|
|
211
|
-
:type override_context: typing.Optional[typing.Union[
|
|
231
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
212
232
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
213
233
|
:type undo: typing.Optional[bool]
|
|
214
234
|
"""
|
|
@@ -216,14 +236,16 @@ def objects_remove(
|
|
|
216
236
|
...
|
|
217
237
|
|
|
218
238
|
def shape_change(
|
|
219
|
-
override_context: typing.Optional[
|
|
239
|
+
override_context: typing.Optional[
|
|
240
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
241
|
+
] = None,
|
|
220
242
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
221
243
|
undo: typing.Optional[bool] = None,
|
|
222
244
|
type: typing.Optional[typing.Union[str, int]] = "MESH",
|
|
223
245
|
):
|
|
224
246
|
"""Change collision shapes for selected Rigid Body Objects
|
|
225
247
|
|
|
226
|
-
:type override_context: typing.Optional[typing.Union[
|
|
248
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
227
249
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
228
250
|
:type undo: typing.Optional[bool]
|
|
229
251
|
:param type: Rigid Body Shape
|
|
@@ -233,13 +255,15 @@ def shape_change(
|
|
|
233
255
|
...
|
|
234
256
|
|
|
235
257
|
def world_add(
|
|
236
|
-
override_context: typing.Optional[
|
|
258
|
+
override_context: typing.Optional[
|
|
259
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
260
|
+
] = None,
|
|
237
261
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
238
262
|
undo: typing.Optional[bool] = None,
|
|
239
263
|
):
|
|
240
264
|
"""Add Rigid Body simulation world to the current scene
|
|
241
265
|
|
|
242
|
-
:type override_context: typing.Optional[typing.Union[
|
|
266
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
243
267
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
244
268
|
:type undo: typing.Optional[bool]
|
|
245
269
|
"""
|
|
@@ -247,13 +271,15 @@ def world_add(
|
|
|
247
271
|
...
|
|
248
272
|
|
|
249
273
|
def world_remove(
|
|
250
|
-
override_context: typing.Optional[
|
|
274
|
+
override_context: typing.Optional[
|
|
275
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
276
|
+
] = None,
|
|
251
277
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
252
278
|
undo: typing.Optional[bool] = None,
|
|
253
279
|
):
|
|
254
280
|
"""Remove Rigid Body simulation world from the current scene
|
|
255
281
|
|
|
256
|
-
:type override_context: typing.Optional[typing.Union[
|
|
282
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
257
283
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
258
284
|
:type undo: typing.Optional[bool]
|
|
259
285
|
"""
|