fake-bpy-module 20240508__py3-none-any.whl → 20240509__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (83) hide show
  1. bpy/ops/action/__init__.pyi +152 -76
  2. bpy/ops/anim/__init__.pyi +212 -106
  3. bpy/ops/armature/__init__.pyi +192 -96
  4. bpy/ops/asset/__init__.pyi +64 -32
  5. bpy/ops/boid/__init__.pyi +32 -16
  6. bpy/ops/brush/__init__.pyi +36 -18
  7. bpy/ops/buttons/__init__.pyi +24 -12
  8. bpy/ops/cachefile/__init__.pyi +20 -10
  9. bpy/ops/camera/__init__.pyi +8 -4
  10. bpy/ops/clip/__init__.pyi +368 -184
  11. bpy/ops/cloth/__init__.pyi +4 -2
  12. bpy/ops/collection/__init__.pyi +36 -18
  13. bpy/ops/console/__init__.pyi +84 -42
  14. bpy/ops/constraint/__init__.pyi +72 -36
  15. bpy/ops/curve/__init__.pyi +204 -102
  16. bpy/ops/curves/__init__.pyi +108 -54
  17. bpy/ops/cycles/__init__.pyi +12 -6
  18. bpy/ops/dpaint/__init__.pyi +20 -10
  19. bpy/ops/ed/__init__.pyi +48 -24
  20. bpy/ops/export_anim/__init__.pyi +4 -2
  21. bpy/ops/export_mesh/__init__.pyi +4 -2
  22. bpy/ops/export_scene/__init__.pyi +16 -10
  23. bpy/ops/file/__init__.pyi +160 -80
  24. bpy/ops/fluid/__init__.pyi +56 -28
  25. bpy/ops/font/__init__.pyi +92 -46
  26. bpy/ops/geometry/__init__.pyi +40 -20
  27. bpy/ops/gizmogroup/__init__.pyi +8 -4
  28. bpy/ops/gpencil/__init__.pyi +600 -300
  29. bpy/ops/graph/__init__.pyi +260 -130
  30. bpy/ops/grease_pencil/__init__.pyi +268 -134
  31. bpy/ops/image/__init__.pyi +188 -94
  32. bpy/ops/import_anim/__init__.pyi +4 -2
  33. bpy/ops/import_curve/__init__.pyi +4 -2
  34. bpy/ops/import_mesh/__init__.pyi +4 -2
  35. bpy/ops/import_scene/__init__.pyi +12 -6
  36. bpy/ops/info/__init__.pyi +28 -14
  37. bpy/ops/lattice/__init__.pyi +32 -16
  38. bpy/ops/marker/__init__.pyi +44 -22
  39. bpy/ops/mask/__init__.pyi +156 -78
  40. bpy/ops/material/__init__.pyi +12 -6
  41. bpy/ops/mball/__init__.pyi +32 -16
  42. bpy/ops/mesh/__init__.pyi +652 -326
  43. bpy/ops/nla/__init__.pyi +159 -81
  44. bpy/ops/node/__init__.pyi +404 -202
  45. bpy/ops/object/__init__.pyi +1002 -490
  46. bpy/ops/outliner/__init__.pyi +276 -138
  47. bpy/ops/paint/__init__.pyi +212 -106
  48. bpy/ops/paintcurve/__init__.pyi +32 -16
  49. bpy/ops/palette/__init__.pyi +28 -14
  50. bpy/ops/particle/__init__.pyi +144 -72
  51. bpy/ops/pose/__init__.pyi +156 -78
  52. bpy/ops/poselib/__init__.pyi +36 -18
  53. bpy/ops/preferences/__init__.pyi +152 -76
  54. bpy/ops/ptcache/__init__.pyi +28 -14
  55. bpy/ops/render/__init__.pyi +48 -24
  56. bpy/ops/rigidbody/__init__.pyi +52 -26
  57. bpy/ops/scene/__init__.pyi +156 -78
  58. bpy/ops/screen/__init__.pyi +156 -78
  59. bpy/ops/script/__init__.pyi +12 -6
  60. bpy/ops/sculpt/__init__.pyi +134 -68
  61. bpy/ops/sculpt_curves/__init__.pyi +16 -8
  62. bpy/ops/sequencer/__init__.pyi +340 -170
  63. bpy/ops/sound/__init__.pyi +28 -14
  64. bpy/ops/spreadsheet/__init__.pyi +16 -8
  65. bpy/ops/surface/__init__.pyi +24 -12
  66. bpy/ops/text/__init__.pyi +172 -86
  67. bpy/ops/text_editor/__init__.pyi +4 -2
  68. bpy/ops/texture/__init__.pyi +16 -8
  69. bpy/ops/transform/__init__.pyi +108 -54
  70. bpy/ops/ui/__init__.pyi +132 -66
  71. bpy/ops/uilist/__init__.pyi +12 -6
  72. bpy/ops/uv/__init__.pyi +196 -98
  73. bpy/ops/view2d/__init__.pyi +56 -28
  74. bpy/ops/view3d/__init__.pyi +268 -134
  75. bpy/ops/wm/__init__.pyi +493 -224
  76. bpy/ops/workspace/__init__.pyi +28 -14
  77. bpy/ops/world/__init__.pyi +4 -2
  78. bpy/types/__init__.pyi +396 -28
  79. {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/METADATA +1 -1
  80. {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/RECORD +83 -83
  81. mathutils/__init__.pyi +20 -0
  82. {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/WHEEL +0 -0
  83. {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/top_level.txt +0 -0
@@ -4,13 +4,15 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def assign_action(
7
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
7
+ override_context: typing.Optional[
8
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
9
+ ] = None,
8
10
  execution_context: typing.Optional[typing.Union[str, int]] = None,
9
11
  undo: typing.Optional[bool] = None,
10
12
  ):
11
13
  """Set this pose Action as active Action on the active Object
12
14
 
13
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
15
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
14
16
  :type execution_context: typing.Optional[typing.Union[str, int]]
15
17
  :type undo: typing.Optional[bool]
16
18
  """
@@ -18,7 +20,9 @@ def assign_action(
18
20
  ...
19
21
 
20
22
  def bundle_install(
21
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
23
+ override_context: typing.Optional[
24
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
25
+ ] = None,
22
26
  execution_context: typing.Optional[typing.Union[str, int]] = None,
23
27
  undo: typing.Optional[bool] = None,
24
28
  asset_library_reference: typing.Optional[typing.Union[str, int, typing.Any]] = "",
@@ -48,7 +52,7 @@ def bundle_install(
48
52
  ):
49
53
  """Copy the current .blend file into an Asset Library. Only works on standalone .blend files (i.e. when no other files are referenced)
50
54
 
51
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
55
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
52
56
  :type execution_context: typing.Optional[typing.Union[str, int]]
53
57
  :type undo: typing.Optional[bool]
54
58
  :param asset_library_reference: asset_library_reference
@@ -116,14 +120,16 @@ def bundle_install(
116
120
  ...
117
121
 
118
122
  def catalog_delete(
119
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
123
+ override_context: typing.Optional[
124
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
125
+ ] = None,
120
126
  execution_context: typing.Optional[typing.Union[str, int]] = None,
121
127
  undo: typing.Optional[bool] = None,
122
128
  catalog_id: typing.Union[str, typing.Any] = "",
123
129
  ):
124
130
  """Remove an asset catalog from the asset library (contained assets will not be affected and show up as unassigned)
125
131
 
126
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
132
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
127
133
  :type execution_context: typing.Optional[typing.Union[str, int]]
128
134
  :type undo: typing.Optional[bool]
129
135
  :param catalog_id: Catalog ID, ID of the catalog to delete
@@ -133,14 +139,16 @@ def catalog_delete(
133
139
  ...
134
140
 
135
141
  def catalog_new(
136
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
142
+ override_context: typing.Optional[
143
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
144
+ ] = None,
137
145
  execution_context: typing.Optional[typing.Union[str, int]] = None,
138
146
  undo: typing.Optional[bool] = None,
139
147
  parent_path: typing.Union[str, typing.Any] = "",
140
148
  ):
141
149
  """Create a new catalog to put assets in
142
150
 
143
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
151
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
144
152
  :type execution_context: typing.Optional[typing.Union[str, int]]
145
153
  :type undo: typing.Optional[bool]
146
154
  :param parent_path: Parent Path, Optional path defining the location to put the new catalog under
@@ -150,13 +158,15 @@ def catalog_new(
150
158
  ...
151
159
 
152
160
  def catalog_redo(
153
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
161
+ override_context: typing.Optional[
162
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
163
+ ] = None,
154
164
  execution_context: typing.Optional[typing.Union[str, int]] = None,
155
165
  undo: typing.Optional[bool] = None,
156
166
  ):
157
167
  """Redo the last undone edit to the asset catalogs
158
168
 
159
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
169
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
160
170
  :type execution_context: typing.Optional[typing.Union[str, int]]
161
171
  :type undo: typing.Optional[bool]
162
172
  """
@@ -164,13 +174,15 @@ def catalog_redo(
164
174
  ...
165
175
 
166
176
  def catalog_undo(
167
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
177
+ override_context: typing.Optional[
178
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
179
+ ] = None,
168
180
  execution_context: typing.Optional[typing.Union[str, int]] = None,
169
181
  undo: typing.Optional[bool] = None,
170
182
  ):
171
183
  """Undo the last edit to the asset catalogs
172
184
 
173
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
185
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
174
186
  :type execution_context: typing.Optional[typing.Union[str, int]]
175
187
  :type undo: typing.Optional[bool]
176
188
  """
@@ -178,13 +190,15 @@ def catalog_undo(
178
190
  ...
179
191
 
180
192
  def catalog_undo_push(
181
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
193
+ override_context: typing.Optional[
194
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
195
+ ] = None,
182
196
  execution_context: typing.Optional[typing.Union[str, int]] = None,
183
197
  undo: typing.Optional[bool] = None,
184
198
  ):
185
199
  """Store the current state of the asset catalogs in the undo buffer
186
200
 
187
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
201
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
188
202
  :type execution_context: typing.Optional[typing.Union[str, int]]
189
203
  :type undo: typing.Optional[bool]
190
204
  """
@@ -192,13 +206,15 @@ def catalog_undo_push(
192
206
  ...
193
207
 
194
208
  def catalogs_save(
195
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
209
+ override_context: typing.Optional[
210
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
211
+ ] = None,
196
212
  execution_context: typing.Optional[typing.Union[str, int]] = None,
197
213
  undo: typing.Optional[bool] = None,
198
214
  ):
199
215
  """Make any edits to any catalogs permanent by writing the current set up to the asset library
200
216
 
201
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
217
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
202
218
  :type execution_context: typing.Optional[typing.Union[str, int]]
203
219
  :type undo: typing.Optional[bool]
204
220
  """
@@ -206,14 +222,16 @@ def catalogs_save(
206
222
  ...
207
223
 
208
224
  def clear(
209
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
225
+ override_context: typing.Optional[
226
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
227
+ ] = None,
210
228
  execution_context: typing.Optional[typing.Union[str, int]] = None,
211
229
  undo: typing.Optional[bool] = None,
212
230
  set_fake_user: typing.Optional[typing.Union[bool, typing.Any]] = False,
213
231
  ):
214
232
  """Delete all asset metadata and turn the selected asset data-blocks back into normal data-blocks
215
233
 
216
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
234
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
217
235
  :type execution_context: typing.Optional[typing.Union[str, int]]
218
236
  :type undo: typing.Optional[bool]
219
237
  :param set_fake_user: Set Fake User, Ensure the data-block is saved, even when it is no longer marked as asset
@@ -223,14 +241,16 @@ def clear(
223
241
  ...
224
242
 
225
243
  def clear_single(
226
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
244
+ override_context: typing.Optional[
245
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
246
+ ] = None,
227
247
  execution_context: typing.Optional[typing.Union[str, int]] = None,
228
248
  undo: typing.Optional[bool] = None,
229
249
  set_fake_user: typing.Optional[typing.Union[bool, typing.Any]] = False,
230
250
  ):
231
251
  """Delete all asset metadata and turn the asset data-block back into a normal data-block
232
252
 
233
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
253
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
234
254
  :type execution_context: typing.Optional[typing.Union[str, int]]
235
255
  :type undo: typing.Optional[bool]
236
256
  :param set_fake_user: Set Fake User, Ensure the data-block is saved, even when it is no longer marked as asset
@@ -240,13 +260,15 @@ def clear_single(
240
260
  ...
241
261
 
242
262
  def library_refresh(
243
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
263
+ override_context: typing.Optional[
264
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
265
+ ] = None,
244
266
  execution_context: typing.Optional[typing.Union[str, int]] = None,
245
267
  undo: typing.Optional[bool] = None,
246
268
  ):
247
269
  """Reread assets and asset catalogs from the asset library on disk
248
270
 
249
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
271
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
250
272
  :type execution_context: typing.Optional[typing.Union[str, int]]
251
273
  :type undo: typing.Optional[bool]
252
274
  """
@@ -254,13 +276,15 @@ def library_refresh(
254
276
  ...
255
277
 
256
278
  def mark(
257
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
279
+ override_context: typing.Optional[
280
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
281
+ ] = None,
258
282
  execution_context: typing.Optional[typing.Union[str, int]] = None,
259
283
  undo: typing.Optional[bool] = None,
260
284
  ):
261
285
  """Enable easier reuse of selected data-blocks through the Asset Browser, with the help of customizable metadata (like previews, descriptions and tags)
262
286
 
263
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
287
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
264
288
  :type execution_context: typing.Optional[typing.Union[str, int]]
265
289
  :type undo: typing.Optional[bool]
266
290
  """
@@ -268,13 +292,15 @@ def mark(
268
292
  ...
269
293
 
270
294
  def mark_single(
271
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
295
+ override_context: typing.Optional[
296
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
297
+ ] = None,
272
298
  execution_context: typing.Optional[typing.Union[str, int]] = None,
273
299
  undo: typing.Optional[bool] = None,
274
300
  ):
275
301
  """Enable easier reuse of a data-block through the Asset Browser, with the help of customizable metadata (like previews, descriptions and tags)
276
302
 
277
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
303
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
278
304
  :type execution_context: typing.Optional[typing.Union[str, int]]
279
305
  :type undo: typing.Optional[bool]
280
306
  """
@@ -282,13 +308,15 @@ def mark_single(
282
308
  ...
283
309
 
284
310
  def open_containing_blend_file(
285
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
311
+ override_context: typing.Optional[
312
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
313
+ ] = None,
286
314
  execution_context: typing.Optional[typing.Union[str, int]] = None,
287
315
  undo: typing.Optional[bool] = None,
288
316
  ):
289
317
  """Open the blend file that contains the active asset
290
318
 
291
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
319
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
292
320
  :type execution_context: typing.Optional[typing.Union[str, int]]
293
321
  :type undo: typing.Optional[bool]
294
322
  """
@@ -296,13 +324,15 @@ def open_containing_blend_file(
296
324
  ...
297
325
 
298
326
  def tag_add(
299
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
327
+ override_context: typing.Optional[
328
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
329
+ ] = None,
300
330
  execution_context: typing.Optional[typing.Union[str, int]] = None,
301
331
  undo: typing.Optional[bool] = None,
302
332
  ):
303
333
  """Add a new keyword tag to the active asset
304
334
 
305
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
335
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
306
336
  :type execution_context: typing.Optional[typing.Union[str, int]]
307
337
  :type undo: typing.Optional[bool]
308
338
  """
@@ -310,13 +340,15 @@ def tag_add(
310
340
  ...
311
341
 
312
342
  def tag_remove(
313
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
343
+ override_context: typing.Optional[
344
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
345
+ ] = None,
314
346
  execution_context: typing.Optional[typing.Union[str, int]] = None,
315
347
  undo: typing.Optional[bool] = None,
316
348
  ):
317
349
  """Remove an existing keyword tag from the active asset
318
350
 
319
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
351
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
320
352
  :type execution_context: typing.Optional[typing.Union[str, int]]
321
353
  :type undo: typing.Optional[bool]
322
354
  """
bpy/ops/boid/__init__.pyi CHANGED
@@ -4,14 +4,16 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def rule_add(
7
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
7
+ override_context: typing.Optional[
8
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
9
+ ] = None,
8
10
  execution_context: typing.Optional[typing.Union[str, int]] = None,
9
11
  undo: typing.Optional[bool] = None,
10
12
  type: typing.Optional[typing.Union[str, int]] = "GOAL",
11
13
  ):
12
14
  """Add a boid rule to the current boid state
13
15
 
14
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
16
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
15
17
  :type execution_context: typing.Optional[typing.Union[str, int]]
16
18
  :type undo: typing.Optional[bool]
17
19
  :param type: Type
@@ -21,13 +23,15 @@ def rule_add(
21
23
  ...
22
24
 
23
25
  def rule_del(
24
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
26
+ override_context: typing.Optional[
27
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
28
+ ] = None,
25
29
  execution_context: typing.Optional[typing.Union[str, int]] = None,
26
30
  undo: typing.Optional[bool] = None,
27
31
  ):
28
32
  """Delete current boid rule
29
33
 
30
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
34
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
31
35
  :type execution_context: typing.Optional[typing.Union[str, int]]
32
36
  :type undo: typing.Optional[bool]
33
37
  """
@@ -35,13 +39,15 @@ def rule_del(
35
39
  ...
36
40
 
37
41
  def rule_move_down(
38
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
42
+ override_context: typing.Optional[
43
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
44
+ ] = None,
39
45
  execution_context: typing.Optional[typing.Union[str, int]] = None,
40
46
  undo: typing.Optional[bool] = None,
41
47
  ):
42
48
  """Move boid rule down in the list
43
49
 
44
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
50
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
45
51
  :type execution_context: typing.Optional[typing.Union[str, int]]
46
52
  :type undo: typing.Optional[bool]
47
53
  """
@@ -49,13 +55,15 @@ def rule_move_down(
49
55
  ...
50
56
 
51
57
  def rule_move_up(
52
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
58
+ override_context: typing.Optional[
59
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
60
+ ] = None,
53
61
  execution_context: typing.Optional[typing.Union[str, int]] = None,
54
62
  undo: typing.Optional[bool] = None,
55
63
  ):
56
64
  """Move boid rule up in the list
57
65
 
58
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
66
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
59
67
  :type execution_context: typing.Optional[typing.Union[str, int]]
60
68
  :type undo: typing.Optional[bool]
61
69
  """
@@ -63,13 +71,15 @@ def rule_move_up(
63
71
  ...
64
72
 
65
73
  def state_add(
66
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
74
+ override_context: typing.Optional[
75
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
76
+ ] = None,
67
77
  execution_context: typing.Optional[typing.Union[str, int]] = None,
68
78
  undo: typing.Optional[bool] = None,
69
79
  ):
70
80
  """Add a boid state to the particle system
71
81
 
72
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
82
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
73
83
  :type execution_context: typing.Optional[typing.Union[str, int]]
74
84
  :type undo: typing.Optional[bool]
75
85
  """
@@ -77,13 +87,15 @@ def state_add(
77
87
  ...
78
88
 
79
89
  def state_del(
80
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
90
+ override_context: typing.Optional[
91
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
92
+ ] = None,
81
93
  execution_context: typing.Optional[typing.Union[str, int]] = None,
82
94
  undo: typing.Optional[bool] = None,
83
95
  ):
84
96
  """Delete current boid state
85
97
 
86
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
98
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
87
99
  :type execution_context: typing.Optional[typing.Union[str, int]]
88
100
  :type undo: typing.Optional[bool]
89
101
  """
@@ -91,13 +103,15 @@ def state_del(
91
103
  ...
92
104
 
93
105
  def state_move_down(
94
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
106
+ override_context: typing.Optional[
107
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
108
+ ] = None,
95
109
  execution_context: typing.Optional[typing.Union[str, int]] = None,
96
110
  undo: typing.Optional[bool] = None,
97
111
  ):
98
112
  """Move boid state down in the list
99
113
 
100
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
114
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
101
115
  :type execution_context: typing.Optional[typing.Union[str, int]]
102
116
  :type undo: typing.Optional[bool]
103
117
  """
@@ -105,13 +119,15 @@ def state_move_down(
105
119
  ...
106
120
 
107
121
  def state_move_up(
108
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
122
+ override_context: typing.Optional[
123
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
124
+ ] = None,
109
125
  execution_context: typing.Optional[typing.Union[str, int]] = None,
110
126
  undo: typing.Optional[bool] = None,
111
127
  ):
112
128
  """Move boid state up in the list
113
129
 
114
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
130
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
115
131
  :type execution_context: typing.Optional[typing.Union[str, int]]
116
132
  :type undo: typing.Optional[bool]
117
133
  """
@@ -4,13 +4,15 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def add(
7
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
7
+ override_context: typing.Optional[
8
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
9
+ ] = None,
8
10
  execution_context: typing.Optional[typing.Union[str, int]] = None,
9
11
  undo: typing.Optional[bool] = None,
10
12
  ):
11
13
  """Add brush by mode type
12
14
 
13
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
15
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
14
16
  :type execution_context: typing.Optional[typing.Union[str, int]]
15
17
  :type undo: typing.Optional[bool]
16
18
  """
@@ -18,13 +20,15 @@ def add(
18
20
  ...
19
21
 
20
22
  def add_gpencil(
21
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
23
+ override_context: typing.Optional[
24
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
25
+ ] = None,
22
26
  execution_context: typing.Optional[typing.Union[str, int]] = None,
23
27
  undo: typing.Optional[bool] = None,
24
28
  ):
25
29
  """Add brush for Grease Pencil
26
30
 
27
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
31
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
28
32
  :type execution_context: typing.Optional[typing.Union[str, int]]
29
33
  :type undo: typing.Optional[bool]
30
34
  """
@@ -32,14 +36,16 @@ def add_gpencil(
32
36
  ...
33
37
 
34
38
  def curve_preset(
35
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
39
+ override_context: typing.Optional[
40
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
41
+ ] = None,
36
42
  execution_context: typing.Optional[typing.Union[str, int]] = None,
37
43
  undo: typing.Optional[bool] = None,
38
44
  shape: typing.Optional[typing.Any] = "SMOOTH",
39
45
  ):
40
46
  """Set brush shape
41
47
 
42
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
48
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
43
49
  :type execution_context: typing.Optional[typing.Union[str, int]]
44
50
  :type undo: typing.Optional[bool]
45
51
  :param shape: Mode
@@ -49,13 +55,15 @@ def curve_preset(
49
55
  ...
50
56
 
51
57
  def reset(
52
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
58
+ override_context: typing.Optional[
59
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
60
+ ] = None,
53
61
  execution_context: typing.Optional[typing.Union[str, int]] = None,
54
62
  undo: typing.Optional[bool] = None,
55
63
  ):
56
64
  """Return brush to defaults based on current tool
57
65
 
58
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
66
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
59
67
  :type execution_context: typing.Optional[typing.Union[str, int]]
60
68
  :type undo: typing.Optional[bool]
61
69
  """
@@ -63,14 +71,16 @@ def reset(
63
71
  ...
64
72
 
65
73
  def scale_size(
66
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
74
+ override_context: typing.Optional[
75
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
76
+ ] = None,
67
77
  execution_context: typing.Optional[typing.Union[str, int]] = None,
68
78
  undo: typing.Optional[bool] = None,
69
79
  scalar: typing.Optional[typing.Any] = 1.0,
70
80
  ):
71
81
  """Change brush size by a scalar
72
82
 
73
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
83
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
74
84
  :type execution_context: typing.Optional[typing.Union[str, int]]
75
85
  :type undo: typing.Optional[bool]
76
86
  :param scalar: Scalar, Factor to scale brush size by
@@ -80,14 +90,16 @@ def scale_size(
80
90
  ...
81
91
 
82
92
  def sculpt_curves_falloff_preset(
83
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
93
+ override_context: typing.Optional[
94
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
95
+ ] = None,
84
96
  execution_context: typing.Optional[typing.Union[str, int]] = None,
85
97
  undo: typing.Optional[bool] = None,
86
98
  shape: typing.Optional[typing.Any] = "SMOOTH",
87
99
  ):
88
100
  """Set Curve Falloff Preset
89
101
 
90
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
102
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
91
103
  :type execution_context: typing.Optional[typing.Union[str, int]]
92
104
  :type undo: typing.Optional[bool]
93
105
  :param shape: Mode
@@ -97,7 +109,9 @@ def sculpt_curves_falloff_preset(
97
109
  ...
98
110
 
99
111
  def stencil_control(
100
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
112
+ override_context: typing.Optional[
113
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
114
+ ] = None,
101
115
  execution_context: typing.Optional[typing.Union[str, int]] = None,
102
116
  undo: typing.Optional[bool] = None,
103
117
  mode: typing.Optional[typing.Any] = "TRANSLATION",
@@ -105,7 +119,7 @@ def stencil_control(
105
119
  ):
106
120
  """Control the stencil brush
107
121
 
108
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
122
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
109
123
  :type execution_context: typing.Optional[typing.Union[str, int]]
110
124
  :type undo: typing.Optional[bool]
111
125
  :param mode: Tool
@@ -117,7 +131,9 @@ def stencil_control(
117
131
  ...
118
132
 
119
133
  def stencil_fit_image_aspect(
120
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
134
+ override_context: typing.Optional[
135
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
136
+ ] = None,
121
137
  execution_context: typing.Optional[typing.Union[str, int]] = None,
122
138
  undo: typing.Optional[bool] = None,
123
139
  use_repeat: typing.Optional[typing.Union[bool, typing.Any]] = True,
@@ -126,7 +142,7 @@ def stencil_fit_image_aspect(
126
142
  ):
127
143
  """When using an image texture, adjust the stencil size to fit the image aspect ratio
128
144
 
129
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
145
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
130
146
  :type execution_context: typing.Optional[typing.Union[str, int]]
131
147
  :type undo: typing.Optional[bool]
132
148
  :param use_repeat: Use Repeat, Use repeat mapping values
@@ -140,14 +156,16 @@ def stencil_fit_image_aspect(
140
156
  ...
141
157
 
142
158
  def stencil_reset_transform(
143
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
159
+ override_context: typing.Optional[
160
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
161
+ ] = None,
144
162
  execution_context: typing.Optional[typing.Union[str, int]] = None,
145
163
  undo: typing.Optional[bool] = None,
146
164
  mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
147
165
  ):
148
166
  """Reset the stencil transformation to the default
149
167
 
150
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
168
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
151
169
  :type execution_context: typing.Optional[typing.Union[str, int]]
152
170
  :type undo: typing.Optional[bool]
153
171
  :param mask: Modify Mask Stencil, Modify either the primary or mask stencil