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