fake-bpy-module 20240411__py3-none-any.whl → 20240418__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 (145) hide show
  1. _bpy_internal/__init__.pyi +4 -0
  2. _bpy_internal/freedesktop/__init__.pyi +88 -0
  3. _bpy_internal/freedesktop/py.typed +0 -0
  4. _bpy_internal/py.typed +0 -0
  5. aud/__init__.pyi +121 -48
  6. bgl/__init__.pyi +2443 -1265
  7. bl_math/__init__.pyi +19 -3
  8. bl_operators/presets/__init__.pyi +7 -0
  9. bl_ui/node_add_menu/__init__.pyi +1 -1
  10. bl_ui/properties_data_lightprobe/__init__.pyi +1134 -0
  11. bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -0
  12. bl_ui/properties_physics_fluid/__init__.pyi +3 -0
  13. bl_ui/space_toolsystem_toolbar/__init__.pyi +17 -0
  14. bl_ui/space_userpref/__init__.pyi +13 -4
  15. bl_ui/space_view3d/__init__.pyi +190 -0
  16. blf/__init__.pyi +63 -13
  17. bmesh/__init__.pyi +13 -0
  18. bmesh/geometry/__init__.pyi +5 -0
  19. bmesh/ops/__init__.pyi +157 -68
  20. bmesh/types/__init__.pyi +109 -62
  21. bmesh/utils/__init__.pyi +11 -2
  22. bpy/__init__.pyi +7 -0
  23. bpy/app/__init__.pyi +13 -0
  24. bpy/app/handlers/__init__.pyi +41 -0
  25. bpy/app/icons/__init__.pyi +4 -2
  26. bpy/app/timers/__init__.pyi +38 -2
  27. bpy/app/translations/__init__.pyi +59 -1
  28. bpy/msgbus/__init__.pyi +46 -0
  29. bpy/ops/__init__.pyi +151 -0
  30. bpy/ops/action/__init__.pyi +76 -76
  31. bpy/ops/anim/__init__.pyi +104 -104
  32. bpy/ops/armature/__init__.pyi +96 -96
  33. bpy/ops/asset/__init__.pyi +32 -32
  34. bpy/ops/boid/__init__.pyi +16 -16
  35. bpy/ops/brush/__init__.pyi +18 -18
  36. bpy/ops/buttons/__init__.pyi +12 -12
  37. bpy/ops/cachefile/__init__.pyi +10 -10
  38. bpy/ops/camera/__init__.pyi +4 -4
  39. bpy/ops/clip/__init__.pyi +184 -184
  40. bpy/ops/cloth/__init__.pyi +2 -2
  41. bpy/ops/collection/__init__.pyi +18 -18
  42. bpy/ops/console/__init__.pyi +42 -42
  43. bpy/ops/constraint/__init__.pyi +36 -36
  44. bpy/ops/curve/__init__.pyi +102 -102
  45. bpy/ops/curves/__init__.pyi +132 -50
  46. bpy/ops/cycles/__init__.pyi +6 -6
  47. bpy/ops/dpaint/__init__.pyi +10 -10
  48. bpy/ops/ed/__init__.pyi +24 -24
  49. bpy/ops/export_anim/__init__.pyi +2 -2
  50. bpy/ops/export_mesh/__init__.pyi +2 -2
  51. bpy/ops/export_scene/__init__.pyi +11 -8
  52. bpy/ops/file/__init__.pyi +80 -80
  53. bpy/ops/fluid/__init__.pyi +28 -28
  54. bpy/ops/font/__init__.pyi +46 -46
  55. bpy/ops/geometry/__init__.pyi +20 -20
  56. bpy/ops/gizmogroup/__init__.pyi +4 -4
  57. bpy/ops/gpencil/__init__.pyi +300 -300
  58. bpy/ops/graph/__init__.pyi +130 -130
  59. bpy/ops/grease_pencil/__init__.pyi +139 -110
  60. bpy/ops/image/__init__.pyi +92 -92
  61. bpy/ops/import_anim/__init__.pyi +2 -2
  62. bpy/ops/import_curve/__init__.pyi +2 -2
  63. bpy/ops/import_mesh/__init__.pyi +2 -2
  64. bpy/ops/import_scene/__init__.pyi +6 -6
  65. bpy/ops/info/__init__.pyi +14 -14
  66. bpy/ops/lattice/__init__.pyi +16 -16
  67. bpy/ops/marker/__init__.pyi +22 -22
  68. bpy/ops/mask/__init__.pyi +78 -78
  69. bpy/ops/material/__init__.pyi +6 -6
  70. bpy/ops/mball/__init__.pyi +16 -16
  71. bpy/ops/mesh/__init__.pyi +327 -327
  72. bpy/ops/nla/__init__.pyi +80 -80
  73. bpy/ops/node/__init__.pyi +203 -203
  74. bpy/ops/object/__init__.pyi +496 -508
  75. bpy/ops/outliner/__init__.pyi +139 -139
  76. bpy/ops/paint/__init__.pyi +104 -104
  77. bpy/ops/paintcurve/__init__.pyi +16 -16
  78. bpy/ops/palette/__init__.pyi +14 -14
  79. bpy/ops/particle/__init__.pyi +72 -72
  80. bpy/ops/pose/__init__.pyi +78 -78
  81. bpy/ops/poselib/__init__.pyi +18 -18
  82. bpy/ops/preferences/__init__.pyi +77 -77
  83. bpy/ops/ptcache/__init__.pyi +14 -14
  84. bpy/ops/render/__init__.pyi +24 -24
  85. bpy/ops/rigidbody/__init__.pyi +26 -26
  86. bpy/ops/scene/__init__.pyi +78 -78
  87. bpy/ops/screen/__init__.pyi +78 -78
  88. bpy/ops/script/__init__.pyi +6 -6
  89. bpy/ops/sculpt/__init__.pyi +68 -62
  90. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  91. bpy/ops/sequencer/__init__.pyi +170 -170
  92. bpy/ops/sound/__init__.pyi +14 -14
  93. bpy/ops/spreadsheet/__init__.pyi +8 -8
  94. bpy/ops/surface/__init__.pyi +12 -12
  95. bpy/ops/text/__init__.pyi +86 -86
  96. bpy/ops/text_editor/__init__.pyi +2 -2
  97. bpy/ops/texture/__init__.pyi +8 -8
  98. bpy/ops/transform/__init__.pyi +54 -54
  99. bpy/ops/ui/__init__.pyi +64 -64
  100. bpy/ops/uilist/__init__.pyi +6 -6
  101. bpy/ops/uv/__init__.pyi +98 -98
  102. bpy/ops/view2d/__init__.pyi +28 -28
  103. bpy/ops/view3d/__init__.pyi +134 -134
  104. bpy/ops/wm/__init__.pyi +225 -225
  105. bpy/ops/workspace/__init__.pyi +14 -14
  106. bpy/ops/world/__init__.pyi +2 -2
  107. bpy/path/__init__.pyi +6 -0
  108. bpy/props/__init__.pyi +141 -29
  109. bpy/types/__init__.pyi +101773 -5222
  110. bpy/utils/__init__.pyi +18 -3
  111. bpy/utils/previews/__init__.pyi +15 -0
  112. bpy/utils/units/__init__.pyi +11 -3
  113. bpy_extras/__init__.pyi +19 -0
  114. bpy_extras/asset_utils/__init__.pyi +5 -0
  115. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/METADATA +1 -1
  116. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/RECORD +145 -141
  117. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/top_level.txt +1 -0
  118. freestyle/__init__.pyi +18 -0
  119. freestyle/chainingiterators/__init__.pyi +20 -5
  120. freestyle/functions/__init__.pyi +151 -155
  121. freestyle/predicates/__init__.pyi +53 -46
  122. freestyle/shaders/__init__.pyi +91 -32
  123. freestyle/types/__init__.pyi +362 -120
  124. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  125. freestyle/utils/__init__.pyi +13 -1
  126. gpu/__init__.pyi +225 -0
  127. gpu/capabilities/__init__.pyi +37 -15
  128. gpu/matrix/__init__.pyi +7 -1
  129. gpu/platform/__init__.pyi +5 -0
  130. gpu/select/__init__.pyi +5 -0
  131. gpu/shader/__init__.pyi +77 -0
  132. gpu/state/__init__.pyi +15 -4
  133. gpu/texture/__init__.pyi +5 -0
  134. gpu/types/__init__.pyi +91 -33
  135. gpu_extras/__init__.pyi +15 -0
  136. gpu_extras/presets/__init__.pyi +16 -4
  137. imbuf/__init__.pyi +13 -0
  138. imbuf/types/__init__.pyi +20 -5
  139. mathutils/__init__.pyi +349 -227
  140. mathutils/bvhtree/__init__.pyi +21 -8
  141. mathutils/geometry/__init__.pyi +23 -9
  142. mathutils/interpolate/__init__.pyi +5 -0
  143. mathutils/kdtree/__init__.pyi +19 -5
  144. mathutils/noise/__init__.pyi +87 -41
  145. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/WHEEL +0 -0
@@ -3,9 +3,91 @@ import bpy.types
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
+ def add_bezier(
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
10
+ radius: typing.Any = 1.0,
11
+ enter_editmode: typing.Union[bool, typing.Any] = False,
12
+ align: typing.Any = "WORLD",
13
+ location: typing.Any = (0.0, 0.0, 0.0),
14
+ rotation: typing.Any = (0.0, 0.0, 0.0),
15
+ scale: typing.Any = (0.0, 0.0, 0.0),
16
+ ):
17
+ """Add new bezier curve
18
+
19
+ :type override_context: typing.Union[dict, bpy.types.Context]
20
+ :type execution_context: typing.Union[str, int]
21
+ :type undo: bool
22
+ :param radius: Radius
23
+ :type radius: typing.Any
24
+ :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
25
+ :type enter_editmode: typing.Union[bool, typing.Any]
26
+ :param align: Align, The alignment of the new object
27
+
28
+ WORLD
29
+ World -- Align the new object to the world.
30
+
31
+ VIEW
32
+ View -- Align the new object to the view.
33
+
34
+ CURSOR
35
+ 3D Cursor -- Use the 3D cursor orientation for the new object.
36
+ :type align: typing.Any
37
+ :param location: Location, Location for the newly added object
38
+ :type location: typing.Any
39
+ :param rotation: Rotation, Rotation for the newly added object
40
+ :type rotation: typing.Any
41
+ :param scale: Scale, Scale for the newly added object
42
+ :type scale: typing.Any
43
+ """
44
+
45
+ ...
46
+
47
+ def add_circle(
48
+ override_context: typing.Union[dict, bpy.types.Context] = None,
49
+ execution_context: typing.Union[str, int] = None,
50
+ undo: bool = None,
51
+ radius: typing.Any = 1.0,
52
+ enter_editmode: typing.Union[bool, typing.Any] = False,
53
+ align: typing.Any = "WORLD",
54
+ location: typing.Any = (0.0, 0.0, 0.0),
55
+ rotation: typing.Any = (0.0, 0.0, 0.0),
56
+ scale: typing.Any = (0.0, 0.0, 0.0),
57
+ ):
58
+ """Add new circle curve
59
+
60
+ :type override_context: typing.Union[dict, bpy.types.Context]
61
+ :type execution_context: typing.Union[str, int]
62
+ :type undo: bool
63
+ :param radius: Radius
64
+ :type radius: typing.Any
65
+ :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
66
+ :type enter_editmode: typing.Union[bool, typing.Any]
67
+ :param align: Align, The alignment of the new object
68
+
69
+ WORLD
70
+ World -- Align the new object to the world.
71
+
72
+ VIEW
73
+ View -- Align the new object to the view.
74
+
75
+ CURSOR
76
+ 3D Cursor -- Use the 3D cursor orientation for the new object.
77
+ :type align: typing.Any
78
+ :param location: Location, Location for the newly added object
79
+ :type location: typing.Any
80
+ :param rotation: Rotation, Rotation for the newly added object
81
+ :type rotation: typing.Any
82
+ :param scale: Scale, Scale for the newly added object
83
+ :type scale: typing.Any
84
+ """
85
+
86
+ ...
87
+
6
88
  def attribute_set(
7
89
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: str = None,
90
+ execution_context: typing.Union[str, int] = None,
9
91
  undo: bool = None,
10
92
  value_float: typing.Any = 0.0,
11
93
  value_float_vector_2d: typing.Any = (0.0, 0.0),
@@ -18,7 +100,7 @@ def attribute_set(
18
100
  """Set values of the active attribute for selected elements
19
101
 
20
102
  :type override_context: typing.Union[dict, bpy.types.Context]
21
- :type execution_context: str
103
+ :type execution_context: typing.Union[str, int]
22
104
  :type undo: bool
23
105
  :param value_float: Value
24
106
  :type value_float: typing.Any
@@ -40,13 +122,13 @@ def attribute_set(
40
122
 
41
123
  def convert_from_particle_system(
42
124
  override_context: typing.Union[dict, bpy.types.Context] = None,
43
- execution_context: str = None,
125
+ execution_context: typing.Union[str, int] = None,
44
126
  undo: bool = None,
45
127
  ):
46
128
  """Add a new curves object based on the current state of the particle system
47
129
 
48
130
  :type override_context: typing.Union[dict, bpy.types.Context]
49
- :type execution_context: str
131
+ :type execution_context: typing.Union[str, int]
50
132
  :type undo: bool
51
133
  """
52
134
 
@@ -54,13 +136,13 @@ def convert_from_particle_system(
54
136
 
55
137
  def convert_to_particle_system(
56
138
  override_context: typing.Union[dict, bpy.types.Context] = None,
57
- execution_context: str = None,
139
+ execution_context: typing.Union[str, int] = None,
58
140
  undo: bool = None,
59
141
  ):
60
142
  """Add a new or update an existing hair particle system on the surface object
61
143
 
62
144
  :type override_context: typing.Union[dict, bpy.types.Context]
63
- :type execution_context: str
145
+ :type execution_context: typing.Union[str, int]
64
146
  :type undo: bool
65
147
  """
66
148
 
@@ -68,14 +150,14 @@ def convert_to_particle_system(
68
150
 
69
151
  def curve_type_set(
70
152
  override_context: typing.Union[dict, bpy.types.Context] = None,
71
- execution_context: str = None,
153
+ execution_context: typing.Union[str, int] = None,
72
154
  undo: bool = None,
73
155
  type: typing.Union[str, int] = "POLY",
74
156
  ):
75
157
  """Set type of selected curves
76
158
 
77
159
  :type override_context: typing.Union[dict, bpy.types.Context]
78
- :type execution_context: str
160
+ :type execution_context: typing.Union[str, int]
79
161
  :type undo: bool
80
162
  :param type: Type, Curve type
81
163
  :type type: typing.Union[str, int]
@@ -85,13 +167,13 @@ def curve_type_set(
85
167
 
86
168
  def cyclic_toggle(
87
169
  override_context: typing.Union[dict, bpy.types.Context] = None,
88
- execution_context: str = None,
170
+ execution_context: typing.Union[str, int] = None,
89
171
  undo: bool = None,
90
172
  ):
91
173
  """Make active curve closed/opened loop
92
174
 
93
175
  :type override_context: typing.Union[dict, bpy.types.Context]
94
- :type execution_context: str
176
+ :type execution_context: typing.Union[str, int]
95
177
  :type undo: bool
96
178
  """
97
179
 
@@ -99,13 +181,13 @@ def cyclic_toggle(
99
181
 
100
182
  def delete(
101
183
  override_context: typing.Union[dict, bpy.types.Context] = None,
102
- execution_context: str = None,
184
+ execution_context: typing.Union[str, int] = None,
103
185
  undo: bool = None,
104
186
  ):
105
187
  """Remove selected control points or curves
106
188
 
107
189
  :type override_context: typing.Union[dict, bpy.types.Context]
108
- :type execution_context: str
190
+ :type execution_context: typing.Union[str, int]
109
191
  :type undo: bool
110
192
  """
111
193
 
@@ -113,7 +195,7 @@ def delete(
113
195
 
114
196
  def draw(
115
197
  override_context: typing.Union[dict, bpy.types.Context] = None,
116
- execution_context: str = None,
198
+ execution_context: typing.Union[str, int] = None,
117
199
  undo: bool = None,
118
200
  error_threshold: typing.Any = 0.0,
119
201
  fit_method: typing.Union[str, int] = "REFIT",
@@ -127,7 +209,7 @@ def draw(
127
209
  """Draw a freehand curve
128
210
 
129
211
  :type override_context: typing.Union[dict, bpy.types.Context]
130
- :type execution_context: str
212
+ :type execution_context: typing.Union[str, int]
131
213
  :type undo: bool
132
214
  :param error_threshold: Error, Error distance threshold (in object units)
133
215
  :type error_threshold: typing.Any
@@ -151,13 +233,13 @@ def draw(
151
233
 
152
234
  def duplicate(
153
235
  override_context: typing.Union[dict, bpy.types.Context] = None,
154
- execution_context: str = None,
236
+ execution_context: typing.Union[str, int] = None,
155
237
  undo: bool = None,
156
238
  ):
157
239
  """Copy selected points or curves
158
240
 
159
241
  :type override_context: typing.Union[dict, bpy.types.Context]
160
- :type execution_context: str
242
+ :type execution_context: typing.Union[str, int]
161
243
  :type undo: bool
162
244
  """
163
245
 
@@ -165,7 +247,7 @@ def duplicate(
165
247
 
166
248
  def duplicate_move(
167
249
  override_context: typing.Union[dict, bpy.types.Context] = None,
168
- execution_context: str = None,
250
+ execution_context: typing.Union[str, int] = None,
169
251
  undo: bool = None,
170
252
  CURVES_OT_duplicate: typing.Any = None,
171
253
  TRANSFORM_OT_translate: typing.Any = None,
@@ -173,7 +255,7 @@ def duplicate_move(
173
255
  """Make copies of selected elements and move them
174
256
 
175
257
  :type override_context: typing.Union[dict, bpy.types.Context]
176
- :type execution_context: str
258
+ :type execution_context: typing.Union[str, int]
177
259
  :type undo: bool
178
260
  :param CURVES_OT_duplicate: Duplicate, Copy selected points or curves
179
261
  :type CURVES_OT_duplicate: typing.Any
@@ -185,13 +267,13 @@ def duplicate_move(
185
267
 
186
268
  def extrude(
187
269
  override_context: typing.Union[dict, bpy.types.Context] = None,
188
- execution_context: str = None,
270
+ execution_context: typing.Union[str, int] = None,
189
271
  undo: bool = None,
190
272
  ):
191
273
  """Extrude selected control point(s)
192
274
 
193
275
  :type override_context: typing.Union[dict, bpy.types.Context]
194
- :type execution_context: str
276
+ :type execution_context: typing.Union[str, int]
195
277
  :type undo: bool
196
278
  """
197
279
 
@@ -199,7 +281,7 @@ def extrude(
199
281
 
200
282
  def extrude_move(
201
283
  override_context: typing.Union[dict, bpy.types.Context] = None,
202
- execution_context: str = None,
284
+ execution_context: typing.Union[str, int] = None,
203
285
  undo: bool = None,
204
286
  CURVES_OT_extrude: typing.Any = None,
205
287
  TRANSFORM_OT_translate: typing.Any = None,
@@ -207,7 +289,7 @@ def extrude_move(
207
289
  """Extrude curve and move result
208
290
 
209
291
  :type override_context: typing.Union[dict, bpy.types.Context]
210
- :type execution_context: str
292
+ :type execution_context: typing.Union[str, int]
211
293
  :type undo: bool
212
294
  :param CURVES_OT_extrude: Extrude, Extrude selected control point(s)
213
295
  :type CURVES_OT_extrude: typing.Any
@@ -219,14 +301,14 @@ def extrude_move(
219
301
 
220
302
  def handle_type_set(
221
303
  override_context: typing.Union[dict, bpy.types.Context] = None,
222
- execution_context: str = None,
304
+ execution_context: typing.Union[str, int] = None,
223
305
  undo: bool = None,
224
306
  type: typing.Union[str, int] = "AUTO",
225
307
  ):
226
308
  """Set the handle type for bezier curves
227
309
 
228
310
  :type override_context: typing.Union[dict, bpy.types.Context]
229
- :type execution_context: str
311
+ :type execution_context: typing.Union[str, int]
230
312
  :type undo: bool
231
313
  :param type: Type
232
314
  :type type: typing.Union[str, int]
@@ -236,13 +318,13 @@ def handle_type_set(
236
318
 
237
319
  def sculptmode_toggle(
238
320
  override_context: typing.Union[dict, bpy.types.Context] = None,
239
- execution_context: str = None,
321
+ execution_context: typing.Union[str, int] = None,
240
322
  undo: bool = None,
241
323
  ):
242
324
  """Enter/Exit sculpt mode for curves
243
325
 
244
326
  :type override_context: typing.Union[dict, bpy.types.Context]
245
- :type execution_context: str
327
+ :type execution_context: typing.Union[str, int]
246
328
  :type undo: bool
247
329
  """
248
330
 
@@ -250,14 +332,14 @@ def sculptmode_toggle(
250
332
 
251
333
  def select_all(
252
334
  override_context: typing.Union[dict, bpy.types.Context] = None,
253
- execution_context: str = None,
335
+ execution_context: typing.Union[str, int] = None,
254
336
  undo: bool = None,
255
337
  action: typing.Any = "TOGGLE",
256
338
  ):
257
339
  """(De)select all control points
258
340
 
259
341
  :type override_context: typing.Union[dict, bpy.types.Context]
260
- :type execution_context: str
342
+ :type execution_context: typing.Union[str, int]
261
343
  :type undo: bool
262
344
  :param action: Action, Selection action to execute
263
345
 
@@ -279,7 +361,7 @@ def select_all(
279
361
 
280
362
  def select_ends(
281
363
  override_context: typing.Union[dict, bpy.types.Context] = None,
282
- execution_context: str = None,
364
+ execution_context: typing.Union[str, int] = None,
283
365
  undo: bool = None,
284
366
  amount_start: typing.Any = 0,
285
367
  amount_end: typing.Any = 1,
@@ -287,7 +369,7 @@ def select_ends(
287
369
  """Select end points of curves
288
370
 
289
371
  :type override_context: typing.Union[dict, bpy.types.Context]
290
- :type execution_context: str
372
+ :type execution_context: typing.Union[str, int]
291
373
  :type undo: bool
292
374
  :param amount_start: Amount Front, Number of points to select from the front
293
375
  :type amount_start: typing.Any
@@ -299,13 +381,13 @@ def select_ends(
299
381
 
300
382
  def select_less(
301
383
  override_context: typing.Union[dict, bpy.types.Context] = None,
302
- execution_context: str = None,
384
+ execution_context: typing.Union[str, int] = None,
303
385
  undo: bool = None,
304
386
  ):
305
387
  """Shrink the selection by one point
306
388
 
307
389
  :type override_context: typing.Union[dict, bpy.types.Context]
308
- :type execution_context: str
390
+ :type execution_context: typing.Union[str, int]
309
391
  :type undo: bool
310
392
  """
311
393
 
@@ -313,13 +395,13 @@ def select_less(
313
395
 
314
396
  def select_linked(
315
397
  override_context: typing.Union[dict, bpy.types.Context] = None,
316
- execution_context: str = None,
398
+ execution_context: typing.Union[str, int] = None,
317
399
  undo: bool = None,
318
400
  ):
319
401
  """Select all points in curves with any point selection
320
402
 
321
403
  :type override_context: typing.Union[dict, bpy.types.Context]
322
- :type execution_context: str
404
+ :type execution_context: typing.Union[str, int]
323
405
  :type undo: bool
324
406
  """
325
407
 
@@ -327,13 +409,13 @@ def select_linked(
327
409
 
328
410
  def select_more(
329
411
  override_context: typing.Union[dict, bpy.types.Context] = None,
330
- execution_context: str = None,
412
+ execution_context: typing.Union[str, int] = None,
331
413
  undo: bool = None,
332
414
  ):
333
415
  """Grow the selection by one point
334
416
 
335
417
  :type override_context: typing.Union[dict, bpy.types.Context]
336
- :type execution_context: str
418
+ :type execution_context: typing.Union[str, int]
337
419
  :type undo: bool
338
420
  """
339
421
 
@@ -341,7 +423,7 @@ def select_more(
341
423
 
342
424
  def select_random(
343
425
  override_context: typing.Union[dict, bpy.types.Context] = None,
344
- execution_context: str = None,
426
+ execution_context: typing.Union[str, int] = None,
345
427
  undo: bool = None,
346
428
  seed: typing.Any = 0,
347
429
  probability: typing.Any = 0.5,
@@ -349,7 +431,7 @@ def select_random(
349
431
  """Randomizes existing selection or create new random selection
350
432
 
351
433
  :type override_context: typing.Union[dict, bpy.types.Context]
352
- :type execution_context: str
434
+ :type execution_context: typing.Union[str, int]
353
435
  :type undo: bool
354
436
  :param seed: Seed, Source of randomness
355
437
  :type seed: typing.Any
@@ -361,14 +443,14 @@ def select_random(
361
443
 
362
444
  def set_selection_domain(
363
445
  override_context: typing.Union[dict, bpy.types.Context] = None,
364
- execution_context: str = None,
446
+ execution_context: typing.Union[str, int] = None,
365
447
  undo: bool = None,
366
448
  domain: typing.Union[str, int] = "POINT",
367
449
  ):
368
450
  """Change the mode used for selection masking in curves sculpt mode
369
451
 
370
452
  :type override_context: typing.Union[dict, bpy.types.Context]
371
- :type execution_context: str
453
+ :type execution_context: typing.Union[str, int]
372
454
  :type undo: bool
373
455
  :param domain: Domain
374
456
  :type domain: typing.Union[str, int]
@@ -378,14 +460,14 @@ def set_selection_domain(
378
460
 
379
461
  def snap_curves_to_surface(
380
462
  override_context: typing.Union[dict, bpy.types.Context] = None,
381
- execution_context: str = None,
463
+ execution_context: typing.Union[str, int] = None,
382
464
  undo: bool = None,
383
465
  attach_mode: typing.Any = "NEAREST",
384
466
  ):
385
467
  """Move curves so that the first point is exactly on the surface mesh
386
468
 
387
469
  :type override_context: typing.Union[dict, bpy.types.Context]
388
- :type execution_context: str
470
+ :type execution_context: typing.Union[str, int]
389
471
  :type undo: bool
390
472
  :param attach_mode: Attach Mode, How to find the point on the surface to attach to
391
473
 
@@ -401,14 +483,14 @@ def snap_curves_to_surface(
401
483
 
402
484
  def subdivide(
403
485
  override_context: typing.Union[dict, bpy.types.Context] = None,
404
- execution_context: str = None,
486
+ execution_context: typing.Union[str, int] = None,
405
487
  undo: bool = None,
406
488
  number_cuts: typing.Any = 1,
407
489
  ):
408
490
  """Subdivide selected curve segments
409
491
 
410
492
  :type override_context: typing.Union[dict, bpy.types.Context]
411
- :type execution_context: str
493
+ :type execution_context: typing.Union[str, int]
412
494
  :type undo: bool
413
495
  :param number_cuts: Number of Cuts
414
496
  :type number_cuts: typing.Any
@@ -418,13 +500,13 @@ def subdivide(
418
500
 
419
501
  def surface_set(
420
502
  override_context: typing.Union[dict, bpy.types.Context] = None,
421
- execution_context: str = None,
503
+ execution_context: typing.Union[str, int] = None,
422
504
  undo: bool = None,
423
505
  ):
424
506
  """Use the active object as surface for selected curves objects and set it as the parent
425
507
 
426
508
  :type override_context: typing.Union[dict, bpy.types.Context]
427
- :type execution_context: str
509
+ :type execution_context: typing.Union[str, int]
428
510
  :type undo: bool
429
511
  """
430
512
 
@@ -432,13 +514,13 @@ def surface_set(
432
514
 
433
515
  def switch_direction(
434
516
  override_context: typing.Union[dict, bpy.types.Context] = None,
435
- execution_context: str = None,
517
+ execution_context: typing.Union[str, int] = None,
436
518
  undo: bool = None,
437
519
  ):
438
520
  """Reverse the direction of the selected curves
439
521
 
440
522
  :type override_context: typing.Union[dict, bpy.types.Context]
441
- :type execution_context: str
523
+ :type execution_context: typing.Union[str, int]
442
524
  :type undo: bool
443
525
  """
444
526
 
@@ -446,13 +528,13 @@ def switch_direction(
446
528
 
447
529
  def tilt_clear(
448
530
  override_context: typing.Union[dict, bpy.types.Context] = None,
449
- execution_context: str = None,
531
+ execution_context: typing.Union[str, int] = None,
450
532
  undo: bool = None,
451
533
  ):
452
534
  """Clear the tilt of selected control points
453
535
 
454
536
  :type override_context: typing.Union[dict, bpy.types.Context]
455
- :type execution_context: str
537
+ :type execution_context: typing.Union[str, int]
456
538
  :type undo: bool
457
539
  """
458
540
 
@@ -5,7 +5,7 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def denoise_animation(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: str = None,
8
+ execution_context: typing.Union[str, int] = None,
9
9
  undo: bool = None,
10
10
  input_filepath: typing.Union[str, typing.Any] = "",
11
11
  output_filepath: typing.Union[str, typing.Any] = "",
@@ -13,7 +13,7 @@ def denoise_animation(
13
13
  """Denoise rendered animation sequence using current scene and view layer settings. Requires denoising data passes and output to OpenEXR multilayer files
14
14
 
15
15
  :type override_context: typing.Union[dict, bpy.types.Context]
16
- :type execution_context: str
16
+ :type execution_context: typing.Union[str, int]
17
17
  :type undo: bool
18
18
  :param input_filepath: Input Filepath, File path for image to denoise. If not specified, uses the render file path and frame range from the scene
19
19
  :type input_filepath: typing.Union[str, typing.Any]
@@ -25,7 +25,7 @@ def denoise_animation(
25
25
 
26
26
  def merge_images(
27
27
  override_context: typing.Union[dict, bpy.types.Context] = None,
28
- execution_context: str = None,
28
+ execution_context: typing.Union[str, int] = None,
29
29
  undo: bool = None,
30
30
  input_filepath1: typing.Union[str, typing.Any] = "",
31
31
  input_filepath2: typing.Union[str, typing.Any] = "",
@@ -34,7 +34,7 @@ def merge_images(
34
34
  """Combine OpenEXR multi-layer images rendered with different sample ranges into one image with reduced noise
35
35
 
36
36
  :type override_context: typing.Union[dict, bpy.types.Context]
37
- :type execution_context: str
37
+ :type execution_context: typing.Union[str, int]
38
38
  :type undo: bool
39
39
  :param input_filepath1: Input Filepath, File path for image to merge
40
40
  :type input_filepath1: typing.Union[str, typing.Any]
@@ -48,13 +48,13 @@ def merge_images(
48
48
 
49
49
  def use_shading_nodes(
50
50
  override_context: typing.Union[dict, bpy.types.Context] = None,
51
- execution_context: str = None,
51
+ execution_context: typing.Union[str, int] = None,
52
52
  undo: bool = None,
53
53
  ):
54
54
  """Enable nodes on a material, world or light
55
55
 
56
56
  :type override_context: typing.Union[dict, bpy.types.Context]
57
- :type execution_context: str
57
+ :type execution_context: typing.Union[str, int]
58
58
  :type undo: bool
59
59
  """
60
60
 
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def bake(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: str = None,
8
+ execution_context: typing.Union[str, int] = None,
9
9
  undo: bool = None,
10
10
  ):
11
11
  """Bake dynamic paint image sequence surface
12
12
 
13
13
  :type override_context: typing.Union[dict, bpy.types.Context]
14
- :type execution_context: str
14
+ :type execution_context: typing.Union[str, int]
15
15
  :type undo: bool
16
16
  """
17
17
 
@@ -19,14 +19,14 @@ def bake(
19
19
 
20
20
  def output_toggle(
21
21
  override_context: typing.Union[dict, bpy.types.Context] = None,
22
- execution_context: str = None,
22
+ execution_context: typing.Union[str, int] = None,
23
23
  undo: bool = None,
24
24
  output: typing.Any = "A",
25
25
  ):
26
26
  """Add or remove Dynamic Paint output data layer
27
27
 
28
28
  :type override_context: typing.Union[dict, bpy.types.Context]
29
- :type execution_context: str
29
+ :type execution_context: typing.Union[str, int]
30
30
  :type undo: bool
31
31
  :param output: Output Toggle
32
32
  :type output: typing.Any
@@ -36,13 +36,13 @@ def output_toggle(
36
36
 
37
37
  def surface_slot_add(
38
38
  override_context: typing.Union[dict, bpy.types.Context] = None,
39
- execution_context: str = None,
39
+ execution_context: typing.Union[str, int] = None,
40
40
  undo: bool = None,
41
41
  ):
42
42
  """Add a new Dynamic Paint surface slot
43
43
 
44
44
  :type override_context: typing.Union[dict, bpy.types.Context]
45
- :type execution_context: str
45
+ :type execution_context: typing.Union[str, int]
46
46
  :type undo: bool
47
47
  """
48
48
 
@@ -50,13 +50,13 @@ def surface_slot_add(
50
50
 
51
51
  def surface_slot_remove(
52
52
  override_context: typing.Union[dict, bpy.types.Context] = None,
53
- execution_context: str = None,
53
+ execution_context: typing.Union[str, int] = None,
54
54
  undo: bool = None,
55
55
  ):
56
56
  """Remove the selected surface slot
57
57
 
58
58
  :type override_context: typing.Union[dict, bpy.types.Context]
59
- :type execution_context: str
59
+ :type execution_context: typing.Union[str, int]
60
60
  :type undo: bool
61
61
  """
62
62
 
@@ -64,14 +64,14 @@ def surface_slot_remove(
64
64
 
65
65
  def type_toggle(
66
66
  override_context: typing.Union[dict, bpy.types.Context] = None,
67
- execution_context: str = None,
67
+ execution_context: typing.Union[str, int] = None,
68
68
  undo: bool = None,
69
69
  type: typing.Union[str, int] = "CANVAS",
70
70
  ):
71
71
  """Toggle whether given type is active or not
72
72
 
73
73
  :type override_context: typing.Union[dict, bpy.types.Context]
74
- :type execution_context: str
74
+ :type execution_context: typing.Union[str, int]
75
75
  :type undo: bool
76
76
  :param type: Type
77
77
  :type type: typing.Union[str, int]