fake-bpy-module 20240327__py3-none-any.whl → 20240329__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 +34 -96
- bgl/__init__.pyi +1265 -2417
- bl_math/__init__.pyi +3 -14
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -0
- blf/__init__.pyi +13 -50
- bmesh/ops/__init__.pyi +68 -142
- bmesh/types/__init__.pyi +18 -44
- bmesh/utils/__init__.pyi +2 -6
- bpy/app/icons/__init__.pyi +2 -4
- bpy/app/timers/__init__.pyi +2 -6
- bpy/ops/action/__init__.pyi +92 -93
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +108 -112
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +18 -18
- bpy/ops/brush/__init__.pyi +18 -18
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +194 -195
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +10 -10
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +114 -118
- bpy/ops/curves/__init__.pyi +55 -53
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +12 -12
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +7 -7
- bpy/ops/file/__init__.pyi +80 -83
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +38 -38
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +308 -309
- bpy/ops/graph/__init__.pyi +150 -151
- bpy/ops/grease_pencil/__init__.pyi +114 -115
- bpy/ops/image/__init__.pyi +100 -100
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +90 -91
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +20 -21
- bpy/ops/mesh/__init__.pyi +429 -427
- bpy/ops/nla/__init__.pyi +90 -91
- bpy/ops/node/__init__.pyi +242 -243
- bpy/ops/object/__init__.pyi +572 -567
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +182 -126
- bpy/ops/paintcurve/__init__.pyi +20 -20
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +90 -90
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +76 -76
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +34 -34
- bpy/ops/scene/__init__.pyi +86 -86
- bpy/ops/screen/__init__.pyi +84 -84
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +62 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +184 -185
- bpy/ops/sound/__init__.pyi +16 -16
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +112 -112
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +104 -105
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +232 -232
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +29 -52
- bpy/types/__init__.pyi +5257 -3766
- bpy/utils/__init__.pyi +3 -6
- bpy/utils/units/__init__.pyi +3 -6
- bpy_extras/io_utils/__init__.pyi +8 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/RECORD +114 -114
- freestyle/chainingiterators/__init__.pyi +5 -12
- freestyle/functions/__init__.pyi +19 -73
- freestyle/predicates/__init__.pyi +8 -21
- freestyle/shaders/__init__.pyi +32 -81
- freestyle/types/__init__.pyi +100 -270
- freestyle/utils/ContextFunctions/__init__.pyi +7 -27
- freestyle/utils/__init__.pyi +1 -2
- gpu/capabilities/__init__.pyi +15 -32
- gpu/matrix/__init__.pyi +1 -2
- gpu/state/__init__.pyi +4 -10
- gpu/types/__init__.pyi +29 -87
- gpu_extras/presets/__init__.pyi +4 -16
- imbuf/types/__init__.pyi +4 -10
- mathutils/__init__.pyi +106 -257
- mathutils/bvhtree/__init__.pyi +7 -15
- mathutils/geometry/__init__.pyi +9 -18
- mathutils/kdtree/__init__.pyi +4 -11
- mathutils/noise/__init__.pyi +41 -82
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/top_level.txt +0 -0
bpy/ops/ptcache/__init__.pyi
CHANGED
|
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
5
5
|
|
|
6
6
|
def add(
|
|
7
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context:
|
|
8
|
+
execution_context: str = None,
|
|
9
9
|
undo: bool = None,
|
|
10
10
|
):
|
|
11
11
|
"""Add new cache
|
|
12
12
|
|
|
13
13
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context:
|
|
14
|
+
:type execution_context: str
|
|
15
15
|
:type undo: bool
|
|
16
16
|
"""
|
|
17
17
|
|
|
@@ -19,14 +19,14 @@ def add(
|
|
|
19
19
|
|
|
20
20
|
def bake(
|
|
21
21
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context:
|
|
22
|
+
execution_context: str = None,
|
|
23
23
|
undo: bool = None,
|
|
24
24
|
bake: typing.Union[bool, typing.Any] = False,
|
|
25
25
|
):
|
|
26
26
|
"""Bake physics
|
|
27
27
|
|
|
28
28
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
-
:type execution_context:
|
|
29
|
+
:type execution_context: str
|
|
30
30
|
:type undo: bool
|
|
31
31
|
:param bake: Bake
|
|
32
32
|
:type bake: typing.Union[bool, typing.Any]
|
|
@@ -36,14 +36,14 @@ def bake(
|
|
|
36
36
|
|
|
37
37
|
def bake_all(
|
|
38
38
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
39
|
-
execution_context:
|
|
39
|
+
execution_context: str = None,
|
|
40
40
|
undo: bool = None,
|
|
41
41
|
bake: typing.Union[bool, typing.Any] = True,
|
|
42
42
|
):
|
|
43
43
|
"""Bake all physics
|
|
44
44
|
|
|
45
45
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
-
:type execution_context:
|
|
46
|
+
:type execution_context: str
|
|
47
47
|
:type undo: bool
|
|
48
48
|
:param bake: Bake
|
|
49
49
|
:type bake: typing.Union[bool, typing.Any]
|
|
@@ -53,13 +53,13 @@ def bake_all(
|
|
|
53
53
|
|
|
54
54
|
def bake_from_cache(
|
|
55
55
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
56
|
-
execution_context:
|
|
56
|
+
execution_context: str = None,
|
|
57
57
|
undo: bool = None,
|
|
58
58
|
):
|
|
59
59
|
"""Bake from cache
|
|
60
60
|
|
|
61
61
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
-
:type execution_context:
|
|
62
|
+
:type execution_context: str
|
|
63
63
|
:type undo: bool
|
|
64
64
|
"""
|
|
65
65
|
|
|
@@ -67,13 +67,13 @@ def bake_from_cache(
|
|
|
67
67
|
|
|
68
68
|
def free_bake(
|
|
69
69
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
70
|
-
execution_context:
|
|
70
|
+
execution_context: str = None,
|
|
71
71
|
undo: bool = None,
|
|
72
72
|
):
|
|
73
73
|
"""Delete physics bake
|
|
74
74
|
|
|
75
75
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
76
|
-
:type execution_context:
|
|
76
|
+
:type execution_context: str
|
|
77
77
|
:type undo: bool
|
|
78
78
|
"""
|
|
79
79
|
|
|
@@ -81,13 +81,13 @@ def free_bake(
|
|
|
81
81
|
|
|
82
82
|
def free_bake_all(
|
|
83
83
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
84
|
-
execution_context:
|
|
84
|
+
execution_context: str = None,
|
|
85
85
|
undo: bool = None,
|
|
86
86
|
):
|
|
87
87
|
"""Delete all baked caches of all objects in the current scene
|
|
88
88
|
|
|
89
89
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
90
|
-
:type execution_context:
|
|
90
|
+
:type execution_context: str
|
|
91
91
|
:type undo: bool
|
|
92
92
|
"""
|
|
93
93
|
|
|
@@ -95,13 +95,13 @@ def free_bake_all(
|
|
|
95
95
|
|
|
96
96
|
def remove(
|
|
97
97
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
98
|
-
execution_context:
|
|
98
|
+
execution_context: str = None,
|
|
99
99
|
undo: bool = None,
|
|
100
100
|
):
|
|
101
101
|
"""Delete current cache
|
|
102
102
|
|
|
103
103
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
104
|
-
:type execution_context:
|
|
104
|
+
:type execution_context: str
|
|
105
105
|
:type undo: bool
|
|
106
106
|
"""
|
|
107
107
|
|
bpy/ops/render/__init__.pyi
CHANGED
|
@@ -5,7 +5,7 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
5
5
|
|
|
6
6
|
def cycles_integrator_preset_add(
|
|
7
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context:
|
|
8
|
+
execution_context: str = None,
|
|
9
9
|
undo: bool = None,
|
|
10
10
|
name: typing.Union[str, typing.Any] = "",
|
|
11
11
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -14,7 +14,7 @@ def cycles_integrator_preset_add(
|
|
|
14
14
|
"""Add an Integrator Preset
|
|
15
15
|
|
|
16
16
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
-
:type execution_context:
|
|
17
|
+
:type execution_context: str
|
|
18
18
|
:type undo: bool
|
|
19
19
|
:param name: Name, Name of the preset, used to make the path name
|
|
20
20
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -28,7 +28,7 @@ def cycles_integrator_preset_add(
|
|
|
28
28
|
|
|
29
29
|
def cycles_performance_preset_add(
|
|
30
30
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
31
|
-
execution_context:
|
|
31
|
+
execution_context: str = None,
|
|
32
32
|
undo: bool = None,
|
|
33
33
|
name: typing.Union[str, typing.Any] = "",
|
|
34
34
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -37,7 +37,7 @@ def cycles_performance_preset_add(
|
|
|
37
37
|
"""Add an Performance Preset
|
|
38
38
|
|
|
39
39
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
40
|
-
:type execution_context:
|
|
40
|
+
:type execution_context: str
|
|
41
41
|
:type undo: bool
|
|
42
42
|
:param name: Name, Name of the preset, used to make the path name
|
|
43
43
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -51,7 +51,7 @@ def cycles_performance_preset_add(
|
|
|
51
51
|
|
|
52
52
|
def cycles_sampling_preset_add(
|
|
53
53
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
54
|
-
execution_context:
|
|
54
|
+
execution_context: str = None,
|
|
55
55
|
undo: bool = None,
|
|
56
56
|
name: typing.Union[str, typing.Any] = "",
|
|
57
57
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -60,7 +60,7 @@ def cycles_sampling_preset_add(
|
|
|
60
60
|
"""Add a Sampling Preset
|
|
61
61
|
|
|
62
62
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
63
|
-
:type execution_context:
|
|
63
|
+
:type execution_context: str
|
|
64
64
|
:type undo: bool
|
|
65
65
|
:param name: Name, Name of the preset, used to make the path name
|
|
66
66
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -74,7 +74,7 @@ def cycles_sampling_preset_add(
|
|
|
74
74
|
|
|
75
75
|
def cycles_viewport_sampling_preset_add(
|
|
76
76
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
77
|
-
execution_context:
|
|
77
|
+
execution_context: str = None,
|
|
78
78
|
undo: bool = None,
|
|
79
79
|
name: typing.Union[str, typing.Any] = "",
|
|
80
80
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -83,7 +83,7 @@ def cycles_viewport_sampling_preset_add(
|
|
|
83
83
|
"""Add a Viewport Sampling Preset
|
|
84
84
|
|
|
85
85
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
86
|
-
:type execution_context:
|
|
86
|
+
:type execution_context: str
|
|
87
87
|
:type undo: bool
|
|
88
88
|
:param name: Name, Name of the preset, used to make the path name
|
|
89
89
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -97,7 +97,7 @@ def cycles_viewport_sampling_preset_add(
|
|
|
97
97
|
|
|
98
98
|
def eevee_raytracing_preset_add(
|
|
99
99
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
100
|
-
execution_context:
|
|
100
|
+
execution_context: str = None,
|
|
101
101
|
undo: bool = None,
|
|
102
102
|
name: typing.Union[str, typing.Any] = "",
|
|
103
103
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -106,7 +106,7 @@ def eevee_raytracing_preset_add(
|
|
|
106
106
|
"""Add or remove an EEVEE ray-tracing preset
|
|
107
107
|
|
|
108
108
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
109
|
-
:type execution_context:
|
|
109
|
+
:type execution_context: str
|
|
110
110
|
:type undo: bool
|
|
111
111
|
:param name: Name, Name of the preset, used to make the path name
|
|
112
112
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -120,7 +120,7 @@ def eevee_raytracing_preset_add(
|
|
|
120
120
|
|
|
121
121
|
def opengl(
|
|
122
122
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
123
|
-
execution_context:
|
|
123
|
+
execution_context: str = None,
|
|
124
124
|
undo: bool = None,
|
|
125
125
|
animation: typing.Union[bool, typing.Any] = False,
|
|
126
126
|
render_keyed_only: typing.Union[bool, typing.Any] = False,
|
|
@@ -131,7 +131,7 @@ def opengl(
|
|
|
131
131
|
"""Take a snapshot of the active viewport
|
|
132
132
|
|
|
133
133
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
134
|
-
:type execution_context:
|
|
134
|
+
:type execution_context: str
|
|
135
135
|
:type undo: bool
|
|
136
136
|
:param animation: Animation, Render files from the animation range of this scene
|
|
137
137
|
:type animation: typing.Union[bool, typing.Any]
|
|
@@ -149,13 +149,13 @@ def opengl(
|
|
|
149
149
|
|
|
150
150
|
def play_rendered_anim(
|
|
151
151
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
152
|
-
execution_context:
|
|
152
|
+
execution_context: str = None,
|
|
153
153
|
undo: bool = None,
|
|
154
154
|
):
|
|
155
155
|
"""Play back rendered frames/movies using an external player
|
|
156
156
|
|
|
157
157
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
158
|
-
:type execution_context:
|
|
158
|
+
:type execution_context: str
|
|
159
159
|
:type undo: bool
|
|
160
160
|
"""
|
|
161
161
|
|
|
@@ -163,7 +163,7 @@ def play_rendered_anim(
|
|
|
163
163
|
|
|
164
164
|
def preset_add(
|
|
165
165
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
166
|
-
execution_context:
|
|
166
|
+
execution_context: str = None,
|
|
167
167
|
undo: bool = None,
|
|
168
168
|
name: typing.Union[str, typing.Any] = "",
|
|
169
169
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -172,7 +172,7 @@ def preset_add(
|
|
|
172
172
|
"""Add or remove a Render Preset
|
|
173
173
|
|
|
174
174
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
175
|
-
:type execution_context:
|
|
175
|
+
:type execution_context: str
|
|
176
176
|
:type undo: bool
|
|
177
177
|
:param name: Name, Name of the preset, used to make the path name
|
|
178
178
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -186,7 +186,7 @@ def preset_add(
|
|
|
186
186
|
|
|
187
187
|
def render(
|
|
188
188
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
-
execution_context:
|
|
189
|
+
execution_context: str = None,
|
|
190
190
|
undo: bool = None,
|
|
191
191
|
animation: typing.Union[bool, typing.Any] = False,
|
|
192
192
|
write_still: typing.Union[bool, typing.Any] = False,
|
|
@@ -197,7 +197,7 @@ def render(
|
|
|
197
197
|
"""Render active scene
|
|
198
198
|
|
|
199
199
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
200
|
-
:type execution_context:
|
|
200
|
+
:type execution_context: str
|
|
201
201
|
:type undo: bool
|
|
202
202
|
:param animation: Animation, Render files from the animation range of this scene
|
|
203
203
|
:type animation: typing.Union[bool, typing.Any]
|
|
@@ -215,14 +215,14 @@ def render(
|
|
|
215
215
|
|
|
216
216
|
def shutter_curve_preset(
|
|
217
217
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
218
|
-
execution_context:
|
|
218
|
+
execution_context: str = None,
|
|
219
219
|
undo: bool = None,
|
|
220
220
|
shape: typing.Any = "SMOOTH",
|
|
221
221
|
):
|
|
222
222
|
"""Set shutter curve
|
|
223
223
|
|
|
224
224
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
225
|
-
:type execution_context:
|
|
225
|
+
:type execution_context: str
|
|
226
226
|
:type undo: bool
|
|
227
227
|
:param shape: Mode
|
|
228
228
|
:type shape: typing.Any
|
|
@@ -232,13 +232,13 @@ def shutter_curve_preset(
|
|
|
232
232
|
|
|
233
233
|
def view_cancel(
|
|
234
234
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
235
|
-
execution_context:
|
|
235
|
+
execution_context: str = None,
|
|
236
236
|
undo: bool = None,
|
|
237
237
|
):
|
|
238
238
|
"""Cancel show render view
|
|
239
239
|
|
|
240
240
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
241
|
-
:type execution_context:
|
|
241
|
+
:type execution_context: str
|
|
242
242
|
:type undo: bool
|
|
243
243
|
"""
|
|
244
244
|
|
|
@@ -246,13 +246,13 @@ def view_cancel(
|
|
|
246
246
|
|
|
247
247
|
def view_show(
|
|
248
248
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
249
|
-
execution_context:
|
|
249
|
+
execution_context: str = None,
|
|
250
250
|
undo: bool = None,
|
|
251
251
|
):
|
|
252
252
|
"""Toggle show render view
|
|
253
253
|
|
|
254
254
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
255
|
-
:type execution_context:
|
|
255
|
+
:type execution_context: str
|
|
256
256
|
:type undo: bool
|
|
257
257
|
"""
|
|
258
258
|
|
bpy/ops/rigidbody/__init__.pyi
CHANGED
|
@@ -5,7 +5,7 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
5
5
|
|
|
6
6
|
def bake_to_keyframes(
|
|
7
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context:
|
|
8
|
+
execution_context: str = None,
|
|
9
9
|
undo: bool = None,
|
|
10
10
|
frame_start: typing.Any = 1,
|
|
11
11
|
frame_end: typing.Any = 250,
|
|
@@ -14,7 +14,7 @@ def bake_to_keyframes(
|
|
|
14
14
|
"""Bake rigid body transformations of selected objects to keyframes
|
|
15
15
|
|
|
16
16
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
-
:type execution_context:
|
|
17
|
+
:type execution_context: str
|
|
18
18
|
:type undo: bool
|
|
19
19
|
:param frame_start: Start Frame, Start frame for baking
|
|
20
20
|
:type frame_start: typing.Any
|
|
@@ -28,7 +28,7 @@ def bake_to_keyframes(
|
|
|
28
28
|
|
|
29
29
|
def connect(
|
|
30
30
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
31
|
-
execution_context:
|
|
31
|
+
execution_context: str = None,
|
|
32
32
|
undo: bool = None,
|
|
33
33
|
con_type: typing.Any = "FIXED",
|
|
34
34
|
pivot_type: typing.Any = "CENTER",
|
|
@@ -37,7 +37,7 @@ def connect(
|
|
|
37
37
|
"""Create rigid body constraints between selected rigid bodies
|
|
38
38
|
|
|
39
39
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
40
|
-
:type execution_context:
|
|
40
|
+
:type execution_context: str
|
|
41
41
|
:type undo: bool
|
|
42
42
|
:param con_type: Type, Type of generated constraint
|
|
43
43
|
|
|
@@ -90,30 +90,30 @@ def connect(
|
|
|
90
90
|
|
|
91
91
|
def constraint_add(
|
|
92
92
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
93
|
-
execution_context:
|
|
93
|
+
execution_context: str = None,
|
|
94
94
|
undo: bool = None,
|
|
95
|
-
type: typing.
|
|
95
|
+
type: typing.Union[str, int] = "FIXED",
|
|
96
96
|
):
|
|
97
97
|
"""Add Rigid Body Constraint to active object
|
|
98
98
|
|
|
99
99
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
100
|
-
:type execution_context:
|
|
100
|
+
:type execution_context: str
|
|
101
101
|
:type undo: bool
|
|
102
102
|
:param type: Rigid Body Constraint Type
|
|
103
|
-
:type type: typing.
|
|
103
|
+
:type type: typing.Union[str, int]
|
|
104
104
|
"""
|
|
105
105
|
|
|
106
106
|
...
|
|
107
107
|
|
|
108
108
|
def constraint_remove(
|
|
109
109
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
110
|
-
execution_context:
|
|
110
|
+
execution_context: str = None,
|
|
111
111
|
undo: bool = None,
|
|
112
112
|
):
|
|
113
113
|
"""Remove Rigid Body Constraint from Object
|
|
114
114
|
|
|
115
115
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
116
|
-
:type execution_context:
|
|
116
|
+
:type execution_context: str
|
|
117
117
|
:type undo: bool
|
|
118
118
|
"""
|
|
119
119
|
|
|
@@ -121,7 +121,7 @@ def constraint_remove(
|
|
|
121
121
|
|
|
122
122
|
def mass_calculate(
|
|
123
123
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
124
|
-
execution_context:
|
|
124
|
+
execution_context: str = None,
|
|
125
125
|
undo: bool = None,
|
|
126
126
|
material: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
127
127
|
density: typing.Any = 1.0,
|
|
@@ -129,7 +129,7 @@ def mass_calculate(
|
|
|
129
129
|
"""Automatically calculate mass values for Rigid Body Objects based on volume
|
|
130
130
|
|
|
131
131
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
132
|
-
:type execution_context:
|
|
132
|
+
:type execution_context: str
|
|
133
133
|
:type undo: bool
|
|
134
134
|
:param material: Material Preset, Type of material that objects are made of (determines material density)
|
|
135
135
|
:type material: typing.Union[str, int, typing.Any]
|
|
@@ -141,30 +141,30 @@ def mass_calculate(
|
|
|
141
141
|
|
|
142
142
|
def object_add(
|
|
143
143
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
144
|
-
execution_context:
|
|
144
|
+
execution_context: str = None,
|
|
145
145
|
undo: bool = None,
|
|
146
|
-
type: typing.
|
|
146
|
+
type: typing.Union[str, int] = "ACTIVE",
|
|
147
147
|
):
|
|
148
148
|
"""Add active object as Rigid Body
|
|
149
149
|
|
|
150
150
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
151
|
-
:type execution_context:
|
|
151
|
+
:type execution_context: str
|
|
152
152
|
:type undo: bool
|
|
153
153
|
:param type: Rigid Body Type
|
|
154
|
-
:type type: typing.
|
|
154
|
+
:type type: typing.Union[str, int]
|
|
155
155
|
"""
|
|
156
156
|
|
|
157
157
|
...
|
|
158
158
|
|
|
159
159
|
def object_remove(
|
|
160
160
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
161
|
-
execution_context:
|
|
161
|
+
execution_context: str = None,
|
|
162
162
|
undo: bool = None,
|
|
163
163
|
):
|
|
164
164
|
"""Remove Rigid Body settings from Object
|
|
165
165
|
|
|
166
166
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
167
|
-
:type execution_context:
|
|
167
|
+
:type execution_context: str
|
|
168
168
|
:type undo: bool
|
|
169
169
|
"""
|
|
170
170
|
|
|
@@ -172,13 +172,13 @@ def object_remove(
|
|
|
172
172
|
|
|
173
173
|
def object_settings_copy(
|
|
174
174
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
-
execution_context:
|
|
175
|
+
execution_context: str = None,
|
|
176
176
|
undo: bool = None,
|
|
177
177
|
):
|
|
178
178
|
"""Copy Rigid Body settings from active object to selected
|
|
179
179
|
|
|
180
180
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
-
:type execution_context:
|
|
181
|
+
:type execution_context: str
|
|
182
182
|
:type undo: bool
|
|
183
183
|
"""
|
|
184
184
|
|
|
@@ -186,30 +186,30 @@ def object_settings_copy(
|
|
|
186
186
|
|
|
187
187
|
def objects_add(
|
|
188
188
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
-
execution_context:
|
|
189
|
+
execution_context: str = None,
|
|
190
190
|
undo: bool = None,
|
|
191
|
-
type: typing.
|
|
191
|
+
type: typing.Union[str, int] = "ACTIVE",
|
|
192
192
|
):
|
|
193
193
|
"""Add selected objects as Rigid Bodies
|
|
194
194
|
|
|
195
195
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
196
|
-
:type execution_context:
|
|
196
|
+
:type execution_context: str
|
|
197
197
|
:type undo: bool
|
|
198
198
|
:param type: Rigid Body Type
|
|
199
|
-
:type type: typing.
|
|
199
|
+
:type type: typing.Union[str, int]
|
|
200
200
|
"""
|
|
201
201
|
|
|
202
202
|
...
|
|
203
203
|
|
|
204
204
|
def objects_remove(
|
|
205
205
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
206
|
-
execution_context:
|
|
206
|
+
execution_context: str = None,
|
|
207
207
|
undo: bool = None,
|
|
208
208
|
):
|
|
209
209
|
"""Remove selected objects from Rigid Body simulation
|
|
210
210
|
|
|
211
211
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
212
|
-
:type execution_context:
|
|
212
|
+
:type execution_context: str
|
|
213
213
|
:type undo: bool
|
|
214
214
|
"""
|
|
215
215
|
|
|
@@ -217,30 +217,30 @@ def objects_remove(
|
|
|
217
217
|
|
|
218
218
|
def shape_change(
|
|
219
219
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
-
execution_context:
|
|
220
|
+
execution_context: str = None,
|
|
221
221
|
undo: bool = None,
|
|
222
|
-
type: typing.
|
|
222
|
+
type: typing.Union[str, int] = "MESH",
|
|
223
223
|
):
|
|
224
224
|
"""Change collision shapes for selected Rigid Body Objects
|
|
225
225
|
|
|
226
226
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
227
|
-
:type execution_context:
|
|
227
|
+
:type execution_context: str
|
|
228
228
|
:type undo: bool
|
|
229
229
|
:param type: Rigid Body Shape
|
|
230
|
-
:type type: typing.
|
|
230
|
+
:type type: typing.Union[str, int]
|
|
231
231
|
"""
|
|
232
232
|
|
|
233
233
|
...
|
|
234
234
|
|
|
235
235
|
def world_add(
|
|
236
236
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
237
|
-
execution_context:
|
|
237
|
+
execution_context: str = None,
|
|
238
238
|
undo: bool = None,
|
|
239
239
|
):
|
|
240
240
|
"""Add Rigid Body simulation world to the current scene
|
|
241
241
|
|
|
242
242
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
243
|
-
:type execution_context:
|
|
243
|
+
:type execution_context: str
|
|
244
244
|
:type undo: bool
|
|
245
245
|
"""
|
|
246
246
|
|
|
@@ -248,13 +248,13 @@ def world_add(
|
|
|
248
248
|
|
|
249
249
|
def world_remove(
|
|
250
250
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
251
|
-
execution_context:
|
|
251
|
+
execution_context: str = None,
|
|
252
252
|
undo: bool = None,
|
|
253
253
|
):
|
|
254
254
|
"""Remove Rigid Body simulation world from the current scene
|
|
255
255
|
|
|
256
256
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
257
|
-
:type execution_context:
|
|
257
|
+
:type execution_context: str
|
|
258
258
|
:type undo: bool
|
|
259
259
|
"""
|
|
260
260
|
|