fake-bpy-module 20241208__py3-none-any.whl → 20241209__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 +38 -138
- bpy/ops/anim/__init__.pyi +61 -179
- bpy/ops/armature/__init__.pyi +48 -147
- bpy/ops/asset/__init__.pyi +16 -71
- bpy/ops/boid/__init__.pyi +8 -41
- bpy/ops/brush/__init__.pyi +13 -39
- bpy/ops/buttons/__init__.pyi +6 -29
- bpy/ops/cachefile/__init__.pyi +5 -19
- bpy/ops/camera/__init__.pyi +2 -5
- bpy/ops/clip/__init__.pyi +92 -290
- bpy/ops/cloth/__init__.pyi +1 -3
- bpy/ops/collection/__init__.pyi +9 -25
- bpy/ops/console/__init__.pyi +21 -79
- bpy/ops/constraint/__init__.pyi +18 -45
- bpy/ops/curve/__init__.pyi +51 -180
- bpy/ops/curves/__init__.pyi +28 -100
- bpy/ops/cycles/__init__.pyi +3 -9
- bpy/ops/dpaint/__init__.pyi +5 -19
- bpy/ops/ed/__init__.pyi +12 -53
- bpy/ops/export_anim/__init__.pyi +1 -3
- bpy/ops/export_scene/__init__.pyi +2 -5
- bpy/ops/extensions/__init__.pyi +34 -110
- bpy/ops/file/__init__.pyi +40 -167
- bpy/ops/fluid/__init__.pyi +14 -77
- bpy/ops/font/__init__.pyi +23 -85
- bpy/ops/geometry/__init__.pyi +10 -27
- bpy/ops/gizmogroup/__init__.pyi +2 -9
- bpy/ops/gpencil/__init__.pyi +8 -32
- bpy/ops/graph/__init__.pyi +65 -184
- bpy/ops/grease_pencil/__init__.pyi +108 -290
- bpy/ops/image/__init__.pyi +49 -154
- bpy/ops/import_anim/__init__.pyi +1 -3
- bpy/ops/import_curve/__init__.pyi +1 -3
- bpy/ops/import_scene/__init__.pyi +2 -4
- bpy/ops/info/__init__.pyi +7 -29
- bpy/ops/lattice/__init__.pyi +8 -29
- bpy/ops/marker/__init__.pyi +11 -31
- bpy/ops/mask/__init__.pyi +39 -132
- bpy/ops/material/__init__.pyi +3 -19
- bpy/ops/mball/__init__.pyi +8 -19
- bpy/ops/mesh/__init__.pyi +164 -401
- bpy/ops/nla/__init__.pyi +39 -147
- bpy/ops/node/__init__.pyi +115 -390
- bpy/ops/object/__init__.pyi +237 -630
- bpy/ops/outliner/__init__.pyi +71 -263
- bpy/ops/paint/__init__.pyi +54 -140
- bpy/ops/paintcurve/__init__.pyi +8 -33
- bpy/ops/palette/__init__.pyi +7 -27
- bpy/ops/particle/__init__.pyi +36 -134
- bpy/ops/pose/__init__.pyi +51 -169
- bpy/ops/poselib/__init__.pyi +9 -33
- bpy/ops/preferences/__init__.pyi +35 -94
- bpy/ops/ptcache/__init__.pyi +7 -33
- bpy/ops/render/__init__.pyi +13 -37
- bpy/ops/rigidbody/__init__.pyi +13 -45
- bpy/ops/scene/__init__.pyi +37 -121
- bpy/ops/screen/__init__.pyi +39 -137
- bpy/ops/script/__init__.pyi +3 -11
- bpy/ops/sculpt/__init__.pyi +37 -94
- bpy/ops/sculpt_curves/__init__.pyi +4 -10
- bpy/ops/sequencer/__init__.pyi +89 -284
- bpy/ops/sound/__init__.pyi +7 -23
- bpy/ops/spreadsheet/__init__.pyi +4 -15
- bpy/ops/surface/__init__.pyi +6 -13
- bpy/ops/text/__init__.pyi +43 -175
- bpy/ops/text_editor/__init__.pyi +1 -3
- bpy/ops/texture/__init__.pyi +4 -21
- bpy/ops/transform/__init__.pyi +27 -61
- bpy/ops/ui/__init__.pyi +34 -117
- bpy/ops/uilist/__init__.pyi +3 -7
- bpy/ops/uv/__init__.pyi +49 -134
- bpy/ops/view2d/__init__.pyi +14 -39
- bpy/ops/view3d/__init__.pyi +67 -232
- bpy/ops/wm/__init__.pyi +114 -298
- bpy/ops/workspace/__init__.pyi +7 -33
- bpy/ops/world/__init__.pyi +2 -11
- {fake_bpy_module-20241208.dist-info → fake_bpy_module-20241209.dist-info}/METADATA +1 -1
- {fake_bpy_module-20241208.dist-info → fake_bpy_module-20241209.dist-info}/RECORD +80 -80
- {fake_bpy_module-20241208.dist-info → fake_bpy_module-20241209.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241208.dist-info → fake_bpy_module-20241209.dist-info}/top_level.txt +0 -0
bpy/ops/asset/__init__.pyi
CHANGED
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
|
|
6
|
-
def assign_action(
|
|
7
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
8
|
-
execution_context: int | str | None = None,
|
|
9
|
-
undo: bool | None = None,
|
|
10
|
-
):
|
|
5
|
+
def assign_action(execution_context: int | str | None = None, undo: bool | None = None):
|
|
11
6
|
"""Set this pose Action as active Action on the active Object
|
|
12
7
|
|
|
13
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
14
8
|
:type execution_context: int | str | None
|
|
15
9
|
:type undo: bool | None
|
|
16
10
|
"""
|
|
17
11
|
|
|
18
12
|
def bundle_install(
|
|
19
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
20
13
|
execution_context: int | str | None = None,
|
|
21
14
|
undo: bool | None = None,
|
|
15
|
+
/,
|
|
22
16
|
*,
|
|
23
17
|
asset_library_reference: str | None = "",
|
|
24
18
|
filepath: str = "",
|
|
@@ -50,7 +44,6 @@ def bundle_install(
|
|
|
50
44
|
):
|
|
51
45
|
"""Copy the current .blend file into an Asset Library. Only works on standalone .blend files (i.e. when no other files are referenced)
|
|
52
46
|
|
|
53
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
54
47
|
:type execution_context: int | str | None
|
|
55
48
|
:type undo: bool | None
|
|
56
49
|
:param asset_library_reference: asset_library_reference
|
|
@@ -116,15 +109,14 @@ def bundle_install(
|
|
|
116
109
|
"""
|
|
117
110
|
|
|
118
111
|
def catalog_delete(
|
|
119
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
120
112
|
execution_context: int | str | None = None,
|
|
121
113
|
undo: bool | None = None,
|
|
114
|
+
/,
|
|
122
115
|
*,
|
|
123
116
|
catalog_id: str = "",
|
|
124
117
|
):
|
|
125
118
|
"""Remove an asset catalog from the asset library (contained assets will not be affected and show up as unassigned)
|
|
126
119
|
|
|
127
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
128
120
|
:type execution_context: int | str | None
|
|
129
121
|
:type undo: bool | None
|
|
130
122
|
:param catalog_id: Catalog ID, ID of the catalog to delete
|
|
@@ -132,79 +124,59 @@ def catalog_delete(
|
|
|
132
124
|
"""
|
|
133
125
|
|
|
134
126
|
def catalog_new(
|
|
135
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
136
127
|
execution_context: int | str | None = None,
|
|
137
128
|
undo: bool | None = None,
|
|
129
|
+
/,
|
|
138
130
|
*,
|
|
139
131
|
parent_path: str = "",
|
|
140
132
|
):
|
|
141
133
|
"""Create a new catalog to put assets in
|
|
142
134
|
|
|
143
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
144
135
|
:type execution_context: int | str | None
|
|
145
136
|
:type undo: bool | None
|
|
146
137
|
:param parent_path: Parent Path, Optional path defining the location to put the new catalog under
|
|
147
138
|
:type parent_path: str
|
|
148
139
|
"""
|
|
149
140
|
|
|
150
|
-
def catalog_redo(
|
|
151
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
152
|
-
execution_context: int | str | None = None,
|
|
153
|
-
undo: bool | None = None,
|
|
154
|
-
):
|
|
141
|
+
def catalog_redo(execution_context: int | str | None = None, undo: bool | None = None):
|
|
155
142
|
"""Redo the last undone edit to the asset catalogs
|
|
156
143
|
|
|
157
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
158
144
|
:type execution_context: int | str | None
|
|
159
145
|
:type undo: bool | None
|
|
160
146
|
"""
|
|
161
147
|
|
|
162
|
-
def catalog_undo(
|
|
163
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
164
|
-
execution_context: int | str | None = None,
|
|
165
|
-
undo: bool | None = None,
|
|
166
|
-
):
|
|
148
|
+
def catalog_undo(execution_context: int | str | None = None, undo: bool | None = None):
|
|
167
149
|
"""Undo the last edit to the asset catalogs
|
|
168
150
|
|
|
169
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
170
151
|
:type execution_context: int | str | None
|
|
171
152
|
:type undo: bool | None
|
|
172
153
|
"""
|
|
173
154
|
|
|
174
155
|
def catalog_undo_push(
|
|
175
|
-
|
|
176
|
-
execution_context: int | str | None = None,
|
|
177
|
-
undo: bool | None = None,
|
|
156
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
178
157
|
):
|
|
179
158
|
"""Store the current state of the asset catalogs in the undo buffer
|
|
180
159
|
|
|
181
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
182
160
|
:type execution_context: int | str | None
|
|
183
161
|
:type undo: bool | None
|
|
184
162
|
"""
|
|
185
163
|
|
|
186
|
-
def catalogs_save(
|
|
187
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
188
|
-
execution_context: int | str | None = None,
|
|
189
|
-
undo: bool | None = None,
|
|
190
|
-
):
|
|
164
|
+
def catalogs_save(execution_context: int | str | None = None, undo: bool | None = None):
|
|
191
165
|
"""Make any edits to any catalogs permanent by writing the current set up to the asset library
|
|
192
166
|
|
|
193
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
194
167
|
:type execution_context: int | str | None
|
|
195
168
|
:type undo: bool | None
|
|
196
169
|
"""
|
|
197
170
|
|
|
198
171
|
def clear(
|
|
199
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
200
172
|
execution_context: int | str | None = None,
|
|
201
173
|
undo: bool | None = None,
|
|
174
|
+
/,
|
|
202
175
|
*,
|
|
203
176
|
set_fake_user: bool | None = False,
|
|
204
177
|
):
|
|
205
178
|
"""Delete all asset metadata and turn the selected asset data-blocks back into normal data-blocks
|
|
206
179
|
|
|
207
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
208
180
|
:type execution_context: int | str | None
|
|
209
181
|
:type undo: bool | None
|
|
210
182
|
:param set_fake_user: Set Fake User, Ensure the data-block is saved, even when it is no longer marked as asset
|
|
@@ -212,15 +184,14 @@ def clear(
|
|
|
212
184
|
"""
|
|
213
185
|
|
|
214
186
|
def clear_single(
|
|
215
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
216
187
|
execution_context: int | str | None = None,
|
|
217
188
|
undo: bool | None = None,
|
|
189
|
+
/,
|
|
218
190
|
*,
|
|
219
191
|
set_fake_user: bool | None = False,
|
|
220
192
|
):
|
|
221
193
|
"""Delete all asset metadata and turn the asset data-block back into a normal data-block
|
|
222
194
|
|
|
223
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
224
195
|
:type execution_context: int | str | None
|
|
225
196
|
:type undo: bool | None
|
|
226
197
|
:param set_fake_user: Set Fake User, Ensure the data-block is saved, even when it is no longer marked as asset
|
|
@@ -228,73 +199,47 @@ def clear_single(
|
|
|
228
199
|
"""
|
|
229
200
|
|
|
230
201
|
def library_refresh(
|
|
231
|
-
|
|
232
|
-
execution_context: int | str | None = None,
|
|
233
|
-
undo: bool | None = None,
|
|
202
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
234
203
|
):
|
|
235
204
|
"""Reread assets and asset catalogs from the asset library on disk
|
|
236
205
|
|
|
237
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
238
206
|
:type execution_context: int | str | None
|
|
239
207
|
:type undo: bool | None
|
|
240
208
|
"""
|
|
241
209
|
|
|
242
|
-
def mark(
|
|
243
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
244
|
-
execution_context: int | str | None = None,
|
|
245
|
-
undo: bool | None = None,
|
|
246
|
-
):
|
|
210
|
+
def mark(execution_context: int | str | None = None, undo: bool | None = None):
|
|
247
211
|
"""Enable easier reuse of selected data-blocks through the Asset Browser, with the help of customizable metadata (like previews, descriptions and tags)
|
|
248
212
|
|
|
249
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
250
213
|
:type execution_context: int | str | None
|
|
251
214
|
:type undo: bool | None
|
|
252
215
|
"""
|
|
253
216
|
|
|
254
|
-
def mark_single(
|
|
255
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
256
|
-
execution_context: int | str | None = None,
|
|
257
|
-
undo: bool | None = None,
|
|
258
|
-
):
|
|
217
|
+
def mark_single(execution_context: int | str | None = None, undo: bool | None = None):
|
|
259
218
|
"""Enable easier reuse of a data-block through the Asset Browser, with the help of customizable metadata (like previews, descriptions and tags)
|
|
260
219
|
|
|
261
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
262
220
|
:type execution_context: int | str | None
|
|
263
221
|
:type undo: bool | None
|
|
264
222
|
"""
|
|
265
223
|
|
|
266
224
|
def open_containing_blend_file(
|
|
267
|
-
|
|
268
|
-
execution_context: int | str | None = None,
|
|
269
|
-
undo: bool | None = None,
|
|
225
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
270
226
|
):
|
|
271
227
|
"""Open the blend file that contains the active asset
|
|
272
228
|
|
|
273
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
274
229
|
:type execution_context: int | str | None
|
|
275
230
|
:type undo: bool | None
|
|
276
231
|
"""
|
|
277
232
|
|
|
278
|
-
def tag_add(
|
|
279
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
280
|
-
execution_context: int | str | None = None,
|
|
281
|
-
undo: bool | None = None,
|
|
282
|
-
):
|
|
233
|
+
def tag_add(execution_context: int | str | None = None, undo: bool | None = None):
|
|
283
234
|
"""Add a new keyword tag to the active asset
|
|
284
235
|
|
|
285
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
286
236
|
:type execution_context: int | str | None
|
|
287
237
|
:type undo: bool | None
|
|
288
238
|
"""
|
|
289
239
|
|
|
290
|
-
def tag_remove(
|
|
291
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
292
|
-
execution_context: int | str | None = None,
|
|
293
|
-
undo: bool | None = None,
|
|
294
|
-
):
|
|
240
|
+
def tag_remove(execution_context: int | str | None = None, undo: bool | None = None):
|
|
295
241
|
"""Remove an existing keyword tag from the active asset
|
|
296
242
|
|
|
297
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
298
243
|
:type execution_context: int | str | None
|
|
299
244
|
:type undo: bool | None
|
|
300
245
|
"""
|
bpy/ops/boid/__init__.pyi
CHANGED
|
@@ -1,105 +1,72 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
import bpy.typing
|
|
6
5
|
|
|
7
6
|
def rule_add(
|
|
8
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
9
7
|
execution_context: int | str | None = None,
|
|
10
8
|
undo: bool | None = None,
|
|
9
|
+
/,
|
|
11
10
|
*,
|
|
12
11
|
type: bpy.typing.BoidruleTypeItems | None = "GOAL",
|
|
13
12
|
):
|
|
14
13
|
"""Add a boid rule to the current boid state
|
|
15
14
|
|
|
16
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
17
15
|
:type execution_context: int | str | None
|
|
18
16
|
:type undo: bool | None
|
|
19
17
|
:param type: Type
|
|
20
18
|
:type type: bpy.typing.BoidruleTypeItems | None
|
|
21
19
|
"""
|
|
22
20
|
|
|
23
|
-
def rule_del(
|
|
24
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
25
|
-
execution_context: int | str | None = None,
|
|
26
|
-
undo: bool | None = None,
|
|
27
|
-
):
|
|
21
|
+
def rule_del(execution_context: int | str | None = None, undo: bool | None = None):
|
|
28
22
|
"""Delete current boid rule
|
|
29
23
|
|
|
30
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
31
24
|
:type execution_context: int | str | None
|
|
32
25
|
:type undo: bool | None
|
|
33
26
|
"""
|
|
34
27
|
|
|
35
28
|
def rule_move_down(
|
|
36
|
-
|
|
37
|
-
execution_context: int | str | None = None,
|
|
38
|
-
undo: bool | None = None,
|
|
29
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
39
30
|
):
|
|
40
31
|
"""Move boid rule down in the list
|
|
41
32
|
|
|
42
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
43
33
|
:type execution_context: int | str | None
|
|
44
34
|
:type undo: bool | None
|
|
45
35
|
"""
|
|
46
36
|
|
|
47
|
-
def rule_move_up(
|
|
48
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
49
|
-
execution_context: int | str | None = None,
|
|
50
|
-
undo: bool | None = None,
|
|
51
|
-
):
|
|
37
|
+
def rule_move_up(execution_context: int | str | None = None, undo: bool | None = None):
|
|
52
38
|
"""Move boid rule up in the list
|
|
53
39
|
|
|
54
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
55
40
|
:type execution_context: int | str | None
|
|
56
41
|
:type undo: bool | None
|
|
57
42
|
"""
|
|
58
43
|
|
|
59
|
-
def state_add(
|
|
60
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
61
|
-
execution_context: int | str | None = None,
|
|
62
|
-
undo: bool | None = None,
|
|
63
|
-
):
|
|
44
|
+
def state_add(execution_context: int | str | None = None, undo: bool | None = None):
|
|
64
45
|
"""Add a boid state to the particle system
|
|
65
46
|
|
|
66
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
67
47
|
:type execution_context: int | str | None
|
|
68
48
|
:type undo: bool | None
|
|
69
49
|
"""
|
|
70
50
|
|
|
71
|
-
def state_del(
|
|
72
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
73
|
-
execution_context: int | str | None = None,
|
|
74
|
-
undo: bool | None = None,
|
|
75
|
-
):
|
|
51
|
+
def state_del(execution_context: int | str | None = None, undo: bool | None = None):
|
|
76
52
|
"""Delete current boid state
|
|
77
53
|
|
|
78
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
79
54
|
:type execution_context: int | str | None
|
|
80
55
|
:type undo: bool | None
|
|
81
56
|
"""
|
|
82
57
|
|
|
83
58
|
def state_move_down(
|
|
84
|
-
|
|
85
|
-
execution_context: int | str | None = None,
|
|
86
|
-
undo: bool | None = None,
|
|
59
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
87
60
|
):
|
|
88
61
|
"""Move boid state down in the list
|
|
89
62
|
|
|
90
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
91
63
|
:type execution_context: int | str | None
|
|
92
64
|
:type undo: bool | None
|
|
93
65
|
"""
|
|
94
66
|
|
|
95
|
-
def state_move_up(
|
|
96
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
97
|
-
execution_context: int | str | None = None,
|
|
98
|
-
undo: bool | None = None,
|
|
99
|
-
):
|
|
67
|
+
def state_move_up(execution_context: int | str | None = None, undo: bool | None = None):
|
|
100
68
|
"""Move boid state up in the list
|
|
101
69
|
|
|
102
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
103
70
|
:type execution_context: int | str | None
|
|
104
71
|
:type undo: bool | None
|
|
105
72
|
"""
|
bpy/ops/brush/__init__.pyi
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
import bpy.typing
|
|
6
5
|
|
|
7
6
|
def asset_activate(
|
|
8
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
9
7
|
execution_context: int | str | None = None,
|
|
10
8
|
undo: bool | None = None,
|
|
9
|
+
/,
|
|
11
10
|
*,
|
|
12
11
|
asset_library_type: bpy.typing.AssetLibraryTypeItems | None = "LOCAL",
|
|
13
12
|
asset_library_identifier: str = "",
|
|
@@ -15,7 +14,6 @@ def asset_activate(
|
|
|
15
14
|
):
|
|
16
15
|
"""Activate a brush asset as current sculpt and paint tool
|
|
17
16
|
|
|
18
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
19
17
|
:type execution_context: int | str | None
|
|
20
18
|
:type undo: bool | None
|
|
21
19
|
:param asset_library_type: Asset Library Type
|
|
@@ -26,22 +24,17 @@ def asset_activate(
|
|
|
26
24
|
:type relative_asset_identifier: str
|
|
27
25
|
"""
|
|
28
26
|
|
|
29
|
-
def asset_delete(
|
|
30
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
31
|
-
execution_context: int | str | None = None,
|
|
32
|
-
undo: bool | None = None,
|
|
33
|
-
):
|
|
27
|
+
def asset_delete(execution_context: int | str | None = None, undo: bool | None = None):
|
|
34
28
|
"""Delete the active brush asset
|
|
35
29
|
|
|
36
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
37
30
|
:type execution_context: int | str | None
|
|
38
31
|
:type undo: bool | None
|
|
39
32
|
"""
|
|
40
33
|
|
|
41
34
|
def asset_edit_metadata(
|
|
42
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
43
35
|
execution_context: int | str | None = None,
|
|
44
36
|
undo: bool | None = None,
|
|
37
|
+
/,
|
|
45
38
|
*,
|
|
46
39
|
catalog_path: str = "",
|
|
47
40
|
author: str = "",
|
|
@@ -49,7 +42,6 @@ def asset_edit_metadata(
|
|
|
49
42
|
):
|
|
50
43
|
"""Edit asset information like the catalog, preview image, tags, or author
|
|
51
44
|
|
|
52
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
53
45
|
:type execution_context: int | str | None
|
|
54
46
|
:type undo: bool | None
|
|
55
47
|
:param catalog_path: Catalog, The asset's catalog path
|
|
@@ -61,9 +53,9 @@ def asset_edit_metadata(
|
|
|
61
53
|
"""
|
|
62
54
|
|
|
63
55
|
def asset_load_preview(
|
|
64
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
65
56
|
execution_context: int | str | None = None,
|
|
66
57
|
undo: bool | None = None,
|
|
58
|
+
/,
|
|
67
59
|
*,
|
|
68
60
|
filepath: str = "",
|
|
69
61
|
hide_props_region: bool | None = True,
|
|
@@ -96,7 +88,6 @@ def asset_load_preview(
|
|
|
96
88
|
):
|
|
97
89
|
"""Choose a preview image for the brush
|
|
98
90
|
|
|
99
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
100
91
|
:type execution_context: int | str | None
|
|
101
92
|
:type undo: bool | None
|
|
102
93
|
:param filepath: File Path, Path to file
|
|
@@ -163,34 +154,24 @@ def asset_load_preview(
|
|
|
163
154
|
:type sort_method: str | None
|
|
164
155
|
"""
|
|
165
156
|
|
|
166
|
-
def asset_revert(
|
|
167
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
168
|
-
execution_context: int | str | None = None,
|
|
169
|
-
undo: bool | None = None,
|
|
170
|
-
):
|
|
157
|
+
def asset_revert(execution_context: int | str | None = None, undo: bool | None = None):
|
|
171
158
|
"""Revert the active brush settings to the default values from the asset library
|
|
172
159
|
|
|
173
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
174
160
|
:type execution_context: int | str | None
|
|
175
161
|
:type undo: bool | None
|
|
176
162
|
"""
|
|
177
163
|
|
|
178
|
-
def asset_save(
|
|
179
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
180
|
-
execution_context: int | str | None = None,
|
|
181
|
-
undo: bool | None = None,
|
|
182
|
-
):
|
|
164
|
+
def asset_save(execution_context: int | str | None = None, undo: bool | None = None):
|
|
183
165
|
"""Update the active brush asset in the asset library with current settings
|
|
184
166
|
|
|
185
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
186
167
|
:type execution_context: int | str | None
|
|
187
168
|
:type undo: bool | None
|
|
188
169
|
"""
|
|
189
170
|
|
|
190
171
|
def asset_save_as(
|
|
191
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
192
172
|
execution_context: int | str | None = None,
|
|
193
173
|
undo: bool | None = None,
|
|
174
|
+
/,
|
|
194
175
|
*,
|
|
195
176
|
name: str = "",
|
|
196
177
|
asset_library_reference: str | None = "",
|
|
@@ -198,7 +179,6 @@ def asset_save_as(
|
|
|
198
179
|
):
|
|
199
180
|
"""Save a copy of the active brush asset into the default asset library, and make it the active brush
|
|
200
181
|
|
|
201
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
202
182
|
:type execution_context: int | str | None
|
|
203
183
|
:type undo: bool | None
|
|
204
184
|
:param name: Name, Name for the new brush asset
|
|
@@ -210,16 +190,15 @@ def asset_save_as(
|
|
|
210
190
|
"""
|
|
211
191
|
|
|
212
192
|
def curve_preset(
|
|
213
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
214
193
|
execution_context: int | str | None = None,
|
|
215
194
|
undo: bool | None = None,
|
|
195
|
+
/,
|
|
216
196
|
*,
|
|
217
197
|
shape: typing.Literal["SHARP", "SMOOTH", "MAX", "LINE", "ROUND", "ROOT"]
|
|
218
198
|
| None = "SMOOTH",
|
|
219
199
|
):
|
|
220
200
|
"""Set brush shape
|
|
221
201
|
|
|
222
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
223
202
|
:type execution_context: int | str | None
|
|
224
203
|
:type undo: bool | None
|
|
225
204
|
:param shape: Mode
|
|
@@ -227,15 +206,14 @@ def curve_preset(
|
|
|
227
206
|
"""
|
|
228
207
|
|
|
229
208
|
def scale_size(
|
|
230
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
231
209
|
execution_context: int | str | None = None,
|
|
232
210
|
undo: bool | None = None,
|
|
211
|
+
/,
|
|
233
212
|
*,
|
|
234
213
|
scalar: float | None = 1.0,
|
|
235
214
|
):
|
|
236
215
|
"""Change brush size by a scalar
|
|
237
216
|
|
|
238
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
239
217
|
:type execution_context: int | str | None
|
|
240
218
|
:type undo: bool | None
|
|
241
219
|
:param scalar: Scalar, Factor to scale brush size by
|
|
@@ -243,16 +221,15 @@ def scale_size(
|
|
|
243
221
|
"""
|
|
244
222
|
|
|
245
223
|
def sculpt_curves_falloff_preset(
|
|
246
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
247
224
|
execution_context: int | str | None = None,
|
|
248
225
|
undo: bool | None = None,
|
|
226
|
+
/,
|
|
249
227
|
*,
|
|
250
228
|
shape: typing.Literal["SHARP", "SMOOTH", "MAX", "LINE", "ROUND", "ROOT"]
|
|
251
229
|
| None = "SMOOTH",
|
|
252
230
|
):
|
|
253
231
|
"""Set Curve Falloff Preset
|
|
254
232
|
|
|
255
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
256
233
|
:type execution_context: int | str | None
|
|
257
234
|
:type undo: bool | None
|
|
258
235
|
:param shape: Mode
|
|
@@ -260,16 +237,15 @@ def sculpt_curves_falloff_preset(
|
|
|
260
237
|
"""
|
|
261
238
|
|
|
262
239
|
def stencil_control(
|
|
263
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
264
240
|
execution_context: int | str | None = None,
|
|
265
241
|
undo: bool | None = None,
|
|
242
|
+
/,
|
|
266
243
|
*,
|
|
267
244
|
mode: typing.Literal["TRANSLATION", "SCALE", "ROTATION"] | None = "TRANSLATION",
|
|
268
245
|
texmode: typing.Literal["PRIMARY", "SECONDARY"] | None = "PRIMARY",
|
|
269
246
|
):
|
|
270
247
|
"""Control the stencil brush
|
|
271
248
|
|
|
272
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
273
249
|
:type execution_context: int | str | None
|
|
274
250
|
:type undo: bool | None
|
|
275
251
|
:param mode: Tool
|
|
@@ -279,9 +255,9 @@ def stencil_control(
|
|
|
279
255
|
"""
|
|
280
256
|
|
|
281
257
|
def stencil_fit_image_aspect(
|
|
282
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
283
258
|
execution_context: int | str | None = None,
|
|
284
259
|
undo: bool | None = None,
|
|
260
|
+
/,
|
|
285
261
|
*,
|
|
286
262
|
use_repeat: bool | None = True,
|
|
287
263
|
use_scale: bool | None = True,
|
|
@@ -289,7 +265,6 @@ def stencil_fit_image_aspect(
|
|
|
289
265
|
):
|
|
290
266
|
"""When using an image texture, adjust the stencil size to fit the image aspect ratio
|
|
291
267
|
|
|
292
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
293
268
|
:type execution_context: int | str | None
|
|
294
269
|
:type undo: bool | None
|
|
295
270
|
:param use_repeat: Use Repeat, Use repeat mapping values
|
|
@@ -301,15 +276,14 @@ def stencil_fit_image_aspect(
|
|
|
301
276
|
"""
|
|
302
277
|
|
|
303
278
|
def stencil_reset_transform(
|
|
304
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
305
279
|
execution_context: int | str | None = None,
|
|
306
280
|
undo: bool | None = None,
|
|
281
|
+
/,
|
|
307
282
|
*,
|
|
308
283
|
mask: bool | None = False,
|
|
309
284
|
):
|
|
310
285
|
"""Reset the stencil transformation to the default
|
|
311
286
|
|
|
312
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
313
287
|
:type execution_context: int | str | None
|
|
314
288
|
:type undo: bool | None
|
|
315
289
|
:param mask: Modify Mask Stencil, Modify either the primary or mask stencil
|
bpy/ops/buttons/__init__.pyi
CHANGED
|
@@ -1,36 +1,25 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
|
|
6
|
-
def clear_filter(
|
|
7
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
8
|
-
execution_context: int | str | None = None,
|
|
9
|
-
undo: bool | None = None,
|
|
10
|
-
):
|
|
5
|
+
def clear_filter(execution_context: int | str | None = None, undo: bool | None = None):
|
|
11
6
|
"""Clear the search filter
|
|
12
7
|
|
|
13
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
14
8
|
:type execution_context: int | str | None
|
|
15
9
|
:type undo: bool | None
|
|
16
10
|
"""
|
|
17
11
|
|
|
18
|
-
def context_menu(
|
|
19
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
20
|
-
execution_context: int | str | None = None,
|
|
21
|
-
undo: bool | None = None,
|
|
22
|
-
):
|
|
12
|
+
def context_menu(execution_context: int | str | None = None, undo: bool | None = None):
|
|
23
13
|
"""Display properties editor context_menu
|
|
24
14
|
|
|
25
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
26
15
|
:type execution_context: int | str | None
|
|
27
16
|
:type undo: bool | None
|
|
28
17
|
"""
|
|
29
18
|
|
|
30
19
|
def directory_browse(
|
|
31
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
32
20
|
execution_context: int | str | None = None,
|
|
33
21
|
undo: bool | None = None,
|
|
22
|
+
/,
|
|
34
23
|
*,
|
|
35
24
|
directory: str = "",
|
|
36
25
|
hide_props_region: bool | None = True,
|
|
@@ -62,7 +51,6 @@ def directory_browse(
|
|
|
62
51
|
):
|
|
63
52
|
"""Open a directory browser, hold Shift to open the file, Alt to browse containing directory
|
|
64
53
|
|
|
65
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
66
54
|
:type execution_context: int | str | None
|
|
67
55
|
:type undo: bool | None
|
|
68
56
|
:param directory: Directory, Directory of the file
|
|
@@ -128,9 +116,9 @@ def directory_browse(
|
|
|
128
116
|
"""
|
|
129
117
|
|
|
130
118
|
def file_browse(
|
|
131
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
132
119
|
execution_context: int | str | None = None,
|
|
133
120
|
undo: bool | None = None,
|
|
121
|
+
/,
|
|
134
122
|
*,
|
|
135
123
|
filepath: str = "",
|
|
136
124
|
hide_props_region: bool | None = True,
|
|
@@ -162,7 +150,6 @@ def file_browse(
|
|
|
162
150
|
):
|
|
163
151
|
"""Open a file browser, hold Shift to open the file, Alt to browse containing directory
|
|
164
152
|
|
|
165
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
166
153
|
:type execution_context: int | str | None
|
|
167
154
|
:type undo: bool | None
|
|
168
155
|
:param filepath: File Path, Path to file
|
|
@@ -227,26 +214,16 @@ def file_browse(
|
|
|
227
214
|
:type sort_method: str | None
|
|
228
215
|
"""
|
|
229
216
|
|
|
230
|
-
def start_filter(
|
|
231
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
232
|
-
execution_context: int | str | None = None,
|
|
233
|
-
undo: bool | None = None,
|
|
234
|
-
):
|
|
217
|
+
def start_filter(execution_context: int | str | None = None, undo: bool | None = None):
|
|
235
218
|
"""Start entering filter text
|
|
236
219
|
|
|
237
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
238
220
|
:type execution_context: int | str | None
|
|
239
221
|
:type undo: bool | None
|
|
240
222
|
"""
|
|
241
223
|
|
|
242
|
-
def toggle_pin(
|
|
243
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
244
|
-
execution_context: int | str | None = None,
|
|
245
|
-
undo: bool | None = None,
|
|
246
|
-
):
|
|
224
|
+
def toggle_pin(execution_context: int | str | None = None, undo: bool | None = None):
|
|
247
225
|
"""Keep the current data-block displayed
|
|
248
226
|
|
|
249
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
250
227
|
:type execution_context: int | str | None
|
|
251
228
|
:type undo: bool | None
|
|
252
229
|
"""
|