fake-bpy-module 20240417__py3-none-any.whl → 20240419__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 (139) 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/geometry_nodes/__init__.pyi +13 -0
  9. bl_ui/properties_data_light/__init__.pyi +337 -0
  10. blf/__init__.pyi +63 -13
  11. bmesh/__init__.pyi +13 -0
  12. bmesh/geometry/__init__.pyi +5 -0
  13. bmesh/ops/__init__.pyi +157 -68
  14. bmesh/types/__init__.pyi +109 -62
  15. bmesh/utils/__init__.pyi +11 -2
  16. bpy/__init__.pyi +7 -0
  17. bpy/app/__init__.pyi +13 -0
  18. bpy/app/handlers/__init__.pyi +41 -0
  19. bpy/app/icons/__init__.pyi +4 -2
  20. bpy/app/timers/__init__.pyi +38 -2
  21. bpy/app/translations/__init__.pyi +58 -0
  22. bpy/msgbus/__init__.pyi +46 -0
  23. bpy/ops/__init__.pyi +151 -0
  24. bpy/ops/action/__init__.pyi +76 -76
  25. bpy/ops/anim/__init__.pyi +104 -104
  26. bpy/ops/armature/__init__.pyi +96 -96
  27. bpy/ops/asset/__init__.pyi +32 -32
  28. bpy/ops/boid/__init__.pyi +16 -16
  29. bpy/ops/brush/__init__.pyi +18 -18
  30. bpy/ops/buttons/__init__.pyi +12 -12
  31. bpy/ops/cachefile/__init__.pyi +10 -10
  32. bpy/ops/camera/__init__.pyi +4 -4
  33. bpy/ops/clip/__init__.pyi +184 -184
  34. bpy/ops/cloth/__init__.pyi +2 -2
  35. bpy/ops/collection/__init__.pyi +18 -18
  36. bpy/ops/console/__init__.pyi +42 -42
  37. bpy/ops/constraint/__init__.pyi +36 -36
  38. bpy/ops/curve/__init__.pyi +102 -102
  39. bpy/ops/curves/__init__.pyi +54 -54
  40. bpy/ops/cycles/__init__.pyi +6 -6
  41. bpy/ops/dpaint/__init__.pyi +10 -10
  42. bpy/ops/ed/__init__.pyi +24 -24
  43. bpy/ops/export_anim/__init__.pyi +2 -2
  44. bpy/ops/export_mesh/__init__.pyi +2 -2
  45. bpy/ops/export_scene/__init__.pyi +7 -7
  46. bpy/ops/file/__init__.pyi +80 -80
  47. bpy/ops/fluid/__init__.pyi +28 -28
  48. bpy/ops/font/__init__.pyi +46 -46
  49. bpy/ops/geometry/__init__.pyi +20 -20
  50. bpy/ops/gizmogroup/__init__.pyi +4 -4
  51. bpy/ops/gpencil/__init__.pyi +300 -300
  52. bpy/ops/graph/__init__.pyi +130 -130
  53. bpy/ops/grease_pencil/__init__.pyi +112 -112
  54. bpy/ops/image/__init__.pyi +92 -92
  55. bpy/ops/import_anim/__init__.pyi +2 -2
  56. bpy/ops/import_curve/__init__.pyi +2 -2
  57. bpy/ops/import_mesh/__init__.pyi +2 -2
  58. bpy/ops/import_scene/__init__.pyi +6 -6
  59. bpy/ops/info/__init__.pyi +14 -14
  60. bpy/ops/lattice/__init__.pyi +16 -16
  61. bpy/ops/marker/__init__.pyi +22 -22
  62. bpy/ops/mask/__init__.pyi +78 -78
  63. bpy/ops/material/__init__.pyi +6 -6
  64. bpy/ops/mball/__init__.pyi +16 -16
  65. bpy/ops/mesh/__init__.pyi +326 -326
  66. bpy/ops/nla/__init__.pyi +80 -80
  67. bpy/ops/node/__init__.pyi +202 -202
  68. bpy/ops/object/__init__.pyi +509 -500
  69. bpy/ops/outliner/__init__.pyi +138 -138
  70. bpy/ops/paint/__init__.pyi +104 -104
  71. bpy/ops/paintcurve/__init__.pyi +16 -16
  72. bpy/ops/palette/__init__.pyi +14 -14
  73. bpy/ops/particle/__init__.pyi +72 -72
  74. bpy/ops/pose/__init__.pyi +78 -78
  75. bpy/ops/poselib/__init__.pyi +18 -18
  76. bpy/ops/preferences/__init__.pyi +76 -76
  77. bpy/ops/ptcache/__init__.pyi +14 -14
  78. bpy/ops/render/__init__.pyi +24 -24
  79. bpy/ops/rigidbody/__init__.pyi +26 -26
  80. bpy/ops/scene/__init__.pyi +78 -78
  81. bpy/ops/screen/__init__.pyi +78 -78
  82. bpy/ops/script/__init__.pyi +6 -6
  83. bpy/ops/sculpt/__init__.pyi +62 -62
  84. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  85. bpy/ops/sequencer/__init__.pyi +170 -170
  86. bpy/ops/sound/__init__.pyi +14 -14
  87. bpy/ops/spreadsheet/__init__.pyi +8 -8
  88. bpy/ops/surface/__init__.pyi +12 -12
  89. bpy/ops/text/__init__.pyi +86 -86
  90. bpy/ops/text_editor/__init__.pyi +2 -2
  91. bpy/ops/texture/__init__.pyi +8 -8
  92. bpy/ops/transform/__init__.pyi +54 -54
  93. bpy/ops/ui/__init__.pyi +64 -64
  94. bpy/ops/uilist/__init__.pyi +6 -6
  95. bpy/ops/uv/__init__.pyi +98 -98
  96. bpy/ops/view2d/__init__.pyi +28 -28
  97. bpy/ops/view3d/__init__.pyi +134 -134
  98. bpy/ops/wm/__init__.pyi +224 -224
  99. bpy/ops/workspace/__init__.pyi +14 -14
  100. bpy/ops/world/__init__.pyi +2 -2
  101. bpy/path/__init__.pyi +6 -0
  102. bpy/props/__init__.pyi +141 -29
  103. bpy/types/__init__.pyi +101517 -5027
  104. bpy/utils/__init__.pyi +18 -3
  105. bpy/utils/previews/__init__.pyi +15 -0
  106. bpy/utils/units/__init__.pyi +11 -3
  107. bpy_extras/__init__.pyi +19 -0
  108. bpy_extras/asset_utils/__init__.pyi +5 -0
  109. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/METADATA +1 -1
  110. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/RECORD +139 -135
  111. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/top_level.txt +1 -0
  112. freestyle/__init__.pyi +18 -0
  113. freestyle/chainingiterators/__init__.pyi +20 -5
  114. freestyle/functions/__init__.pyi +151 -155
  115. freestyle/predicates/__init__.pyi +53 -46
  116. freestyle/shaders/__init__.pyi +91 -32
  117. freestyle/types/__init__.pyi +362 -120
  118. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  119. freestyle/utils/__init__.pyi +13 -1
  120. gpu/__init__.pyi +225 -0
  121. gpu/capabilities/__init__.pyi +37 -15
  122. gpu/matrix/__init__.pyi +7 -1
  123. gpu/platform/__init__.pyi +5 -0
  124. gpu/select/__init__.pyi +5 -0
  125. gpu/shader/__init__.pyi +77 -0
  126. gpu/state/__init__.pyi +15 -4
  127. gpu/texture/__init__.pyi +5 -0
  128. gpu/types/__init__.pyi +91 -33
  129. gpu_extras/__init__.pyi +15 -0
  130. gpu_extras/presets/__init__.pyi +16 -4
  131. imbuf/__init__.pyi +13 -0
  132. imbuf/types/__init__.pyi +20 -5
  133. mathutils/__init__.pyi +349 -227
  134. mathutils/bvhtree/__init__.pyi +21 -8
  135. mathutils/geometry/__init__.pyi +23 -9
  136. mathutils/interpolate/__init__.pyi +5 -0
  137. mathutils/kdtree/__init__.pyi +19 -5
  138. mathutils/noise/__init__.pyi +87 -41
  139. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/WHEEL +0 -0
@@ -5,7 +5,7 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def brush_stroke(
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
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
11
11
  mode: typing.Any = "NORMAL",
@@ -13,7 +13,7 @@ def brush_stroke(
13
13
  """Draw a new stroke in the active Grease Pencil object
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 stroke: Stroke
19
19
  :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
@@ -34,14 +34,14 @@ def brush_stroke(
34
34
 
35
35
  def caps_set(
36
36
  override_context: typing.Union[dict, bpy.types.Context] = None,
37
- execution_context: str = None,
37
+ execution_context: typing.Union[str, int] = None,
38
38
  undo: bool = None,
39
39
  type: typing.Any = "ROUND",
40
40
  ):
41
41
  """Change curve caps mode (rounded or flat)
42
42
 
43
43
  :type override_context: typing.Union[dict, bpy.types.Context]
44
- :type execution_context: str
44
+ :type execution_context: typing.Union[str, int]
45
45
  :type undo: bool
46
46
  :param type: Type
47
47
 
@@ -63,14 +63,14 @@ def caps_set(
63
63
 
64
64
  def clean_loose(
65
65
  override_context: typing.Union[dict, bpy.types.Context] = None,
66
- execution_context: str = None,
66
+ execution_context: typing.Union[str, int] = None,
67
67
  undo: bool = None,
68
68
  limit: typing.Any = 1,
69
69
  ):
70
70
  """Remove loose points
71
71
 
72
72
  :type override_context: typing.Union[dict, bpy.types.Context]
73
- :type execution_context: str
73
+ :type execution_context: typing.Union[str, int]
74
74
  :type undo: bool
75
75
  :param limit: Limit, Number of points to consider stroke as loose
76
76
  :type limit: typing.Any
@@ -80,13 +80,13 @@ def clean_loose(
80
80
 
81
81
  def copy(
82
82
  override_context: typing.Union[dict, bpy.types.Context] = None,
83
- execution_context: str = None,
83
+ execution_context: typing.Union[str, int] = None,
84
84
  undo: bool = None,
85
85
  ):
86
86
  """Copy the selected Grease Pencil points or strokes to the internal clipboard
87
87
 
88
88
  :type override_context: typing.Union[dict, bpy.types.Context]
89
- :type execution_context: str
89
+ :type execution_context: typing.Union[str, int]
90
90
  :type undo: bool
91
91
  """
92
92
 
@@ -94,14 +94,14 @@ def copy(
94
94
 
95
95
  def cyclical_set(
96
96
  override_context: typing.Union[dict, bpy.types.Context] = None,
97
- execution_context: str = None,
97
+ execution_context: typing.Union[str, int] = None,
98
98
  undo: bool = None,
99
99
  type: typing.Any = "TOGGLE",
100
100
  ):
101
101
  """Close or open the selected stroke adding a segment from last to first point
102
102
 
103
103
  :type override_context: typing.Union[dict, bpy.types.Context]
104
- :type execution_context: str
104
+ :type execution_context: typing.Union[str, int]
105
105
  :type undo: bool
106
106
  :param type: Type
107
107
  :type type: typing.Any
@@ -111,13 +111,13 @@ def cyclical_set(
111
111
 
112
112
  def delete(
113
113
  override_context: typing.Union[dict, bpy.types.Context] = None,
114
- execution_context: str = None,
114
+ execution_context: typing.Union[str, int] = None,
115
115
  undo: bool = None,
116
116
  ):
117
117
  """Delete selected strokes or points
118
118
 
119
119
  :type override_context: typing.Union[dict, bpy.types.Context]
120
- :type execution_context: str
120
+ :type execution_context: typing.Union[str, int]
121
121
  :type undo: bool
122
122
  """
123
123
 
@@ -125,14 +125,14 @@ def delete(
125
125
 
126
126
  def delete_frame(
127
127
  override_context: typing.Union[dict, bpy.types.Context] = None,
128
- execution_context: str = None,
128
+ execution_context: typing.Union[str, int] = None,
129
129
  undo: bool = None,
130
130
  type: typing.Any = "ACTIVE_FRAME",
131
131
  ):
132
132
  """Delete Grease Pencil Frame(s)
133
133
 
134
134
  :type override_context: typing.Union[dict, bpy.types.Context]
135
- :type execution_context: str
135
+ :type execution_context: typing.Union[str, int]
136
136
  :type undo: bool
137
137
  :param type: Type, Method used for deleting Grease Pencil frames
138
138
 
@@ -148,14 +148,14 @@ def delete_frame(
148
148
 
149
149
  def dissolve(
150
150
  override_context: typing.Union[dict, bpy.types.Context] = None,
151
- execution_context: str = None,
151
+ execution_context: typing.Union[str, int] = None,
152
152
  undo: bool = None,
153
153
  type: typing.Any = "POINTS",
154
154
  ):
155
155
  """Delete selected points without splitting strokes
156
156
 
157
157
  :type override_context: typing.Union[dict, bpy.types.Context]
158
- :type execution_context: str
158
+ :type execution_context: typing.Union[str, int]
159
159
  :type undo: bool
160
160
  :param type: Type, Method used for dissolving stroke points
161
161
 
@@ -174,13 +174,13 @@ def dissolve(
174
174
 
175
175
  def draw_mode_toggle(
176
176
  override_context: typing.Union[dict, bpy.types.Context] = None,
177
- execution_context: str = None,
177
+ execution_context: typing.Union[str, int] = None,
178
178
  undo: bool = None,
179
179
  ):
180
180
  """Enter/Exit draw mode for grease pencil
181
181
 
182
182
  :type override_context: typing.Union[dict, bpy.types.Context]
183
- :type execution_context: str
183
+ :type execution_context: typing.Union[str, int]
184
184
  :type undo: bool
185
185
  """
186
186
 
@@ -188,13 +188,13 @@ def draw_mode_toggle(
188
188
 
189
189
  def duplicate(
190
190
  override_context: typing.Union[dict, bpy.types.Context] = None,
191
- execution_context: str = None,
191
+ execution_context: typing.Union[str, int] = None,
192
192
  undo: bool = None,
193
193
  ):
194
194
  """Duplicate the selected points
195
195
 
196
196
  :type override_context: typing.Union[dict, bpy.types.Context]
197
- :type execution_context: str
197
+ :type execution_context: typing.Union[str, int]
198
198
  :type undo: bool
199
199
  """
200
200
 
@@ -202,7 +202,7 @@ def duplicate(
202
202
 
203
203
  def duplicate_move(
204
204
  override_context: typing.Union[dict, bpy.types.Context] = None,
205
- execution_context: str = None,
205
+ execution_context: typing.Union[str, int] = None,
206
206
  undo: bool = None,
207
207
  GREASE_PENCIL_OT_duplicate: typing.Any = None,
208
208
  TRANSFORM_OT_translate: typing.Any = None,
@@ -210,7 +210,7 @@ def duplicate_move(
210
210
  """Make copies of the selected Grease Pencil strokes and move them
211
211
 
212
212
  :type override_context: typing.Union[dict, bpy.types.Context]
213
- :type execution_context: str
213
+ :type execution_context: typing.Union[str, int]
214
214
  :type undo: bool
215
215
  :param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
216
216
  :type GREASE_PENCIL_OT_duplicate: typing.Any
@@ -222,7 +222,7 @@ def duplicate_move(
222
222
 
223
223
  def insert_blank_frame(
224
224
  override_context: typing.Union[dict, bpy.types.Context] = None,
225
- execution_context: str = None,
225
+ execution_context: typing.Union[str, int] = None,
226
226
  undo: bool = None,
227
227
  all_layers: typing.Union[bool, typing.Any] = False,
228
228
  duration: typing.Any = 0,
@@ -230,7 +230,7 @@ def insert_blank_frame(
230
230
  """Insert a blank frame on the current scene frame
231
231
 
232
232
  :type override_context: typing.Union[dict, bpy.types.Context]
233
- :type execution_context: str
233
+ :type execution_context: typing.Union[str, int]
234
234
  :type undo: bool
235
235
  :param all_layers: All Layers, Insert a blank frame in all editable layers
236
236
  :type all_layers: typing.Union[bool, typing.Any]
@@ -242,14 +242,14 @@ def insert_blank_frame(
242
242
 
243
243
  def layer_active(
244
244
  override_context: typing.Union[dict, bpy.types.Context] = None,
245
- execution_context: str = None,
245
+ execution_context: typing.Union[str, int] = None,
246
246
  undo: bool = None,
247
247
  layer: typing.Any = 0,
248
248
  ):
249
249
  """Set the active Grease Pencil layer
250
250
 
251
251
  :type override_context: typing.Union[dict, bpy.types.Context]
252
- :type execution_context: str
252
+ :type execution_context: typing.Union[str, int]
253
253
  :type undo: bool
254
254
  :param layer: Grease Pencil Layer
255
255
  :type layer: typing.Any
@@ -259,14 +259,14 @@ def layer_active(
259
259
 
260
260
  def layer_add(
261
261
  override_context: typing.Union[dict, bpy.types.Context] = None,
262
- execution_context: str = None,
262
+ execution_context: typing.Union[str, int] = None,
263
263
  undo: bool = None,
264
264
  new_layer_name: typing.Union[str, typing.Any] = "Layer",
265
265
  ):
266
266
  """Add a new Grease Pencil layer in the active object
267
267
 
268
268
  :type override_context: typing.Union[dict, bpy.types.Context]
269
- :type execution_context: str
269
+ :type execution_context: typing.Union[str, int]
270
270
  :type undo: bool
271
271
  :param new_layer_name: Name, Name of the new layer
272
272
  :type new_layer_name: typing.Union[str, typing.Any]
@@ -276,14 +276,14 @@ def layer_add(
276
276
 
277
277
  def layer_duplicate(
278
278
  override_context: typing.Union[dict, bpy.types.Context] = None,
279
- execution_context: str = None,
279
+ execution_context: typing.Union[str, int] = None,
280
280
  undo: bool = None,
281
281
  empty_keyframes: typing.Union[bool, typing.Any] = False,
282
282
  ):
283
283
  """Make a copy of the active Grease Pencil layer
284
284
 
285
285
  :type override_context: typing.Union[dict, bpy.types.Context]
286
- :type execution_context: str
286
+ :type execution_context: typing.Union[str, int]
287
287
  :type undo: bool
288
288
  :param empty_keyframes: Empty Keyframes, Add Empty Keyframes
289
289
  :type empty_keyframes: typing.Union[bool, typing.Any]
@@ -293,14 +293,14 @@ def layer_duplicate(
293
293
 
294
294
  def layer_group_add(
295
295
  override_context: typing.Union[dict, bpy.types.Context] = None,
296
- execution_context: str = None,
296
+ execution_context: typing.Union[str, int] = None,
297
297
  undo: bool = None,
298
298
  new_layer_group_name: typing.Union[str, typing.Any] = "",
299
299
  ):
300
300
  """Add a new Grease Pencil layer group in the active object
301
301
 
302
302
  :type override_context: typing.Union[dict, bpy.types.Context]
303
- :type execution_context: str
303
+ :type execution_context: typing.Union[str, int]
304
304
  :type undo: bool
305
305
  :param new_layer_group_name: Name, Name of the new layer group
306
306
  :type new_layer_group_name: typing.Union[str, typing.Any]
@@ -310,14 +310,14 @@ def layer_group_add(
310
310
 
311
311
  def layer_hide(
312
312
  override_context: typing.Union[dict, bpy.types.Context] = None,
313
- execution_context: str = None,
313
+ execution_context: typing.Union[str, int] = None,
314
314
  undo: bool = None,
315
315
  unselected: typing.Union[bool, typing.Any] = False,
316
316
  ):
317
317
  """Hide selected/unselected Grease Pencil layers
318
318
 
319
319
  :type override_context: typing.Union[dict, bpy.types.Context]
320
- :type execution_context: str
320
+ :type execution_context: typing.Union[str, int]
321
321
  :type undo: bool
322
322
  :param unselected: Unselected, Hide unselected rather than selected layers
323
323
  :type unselected: typing.Union[bool, typing.Any]
@@ -327,14 +327,14 @@ def layer_hide(
327
327
 
328
328
  def layer_isolate(
329
329
  override_context: typing.Union[dict, bpy.types.Context] = None,
330
- execution_context: str = None,
330
+ execution_context: typing.Union[str, int] = None,
331
331
  undo: bool = None,
332
332
  affect_visibility: typing.Union[bool, typing.Any] = False,
333
333
  ):
334
334
  """Make only active layer visible/editable
335
335
 
336
336
  :type override_context: typing.Union[dict, bpy.types.Context]
337
- :type execution_context: str
337
+ :type execution_context: typing.Union[str, int]
338
338
  :type undo: bool
339
339
  :param affect_visibility: Affect Visibility, Also affect the visibility
340
340
  :type affect_visibility: typing.Union[bool, typing.Any]
@@ -344,14 +344,14 @@ def layer_isolate(
344
344
 
345
345
  def layer_lock_all(
346
346
  override_context: typing.Union[dict, bpy.types.Context] = None,
347
- execution_context: str = None,
347
+ execution_context: typing.Union[str, int] = None,
348
348
  undo: bool = None,
349
349
  lock: typing.Union[bool, typing.Any] = True,
350
350
  ):
351
351
  """Lock all Grease Pencil layers to prevent them from being accidentally modified
352
352
 
353
353
  :type override_context: typing.Union[dict, bpy.types.Context]
354
- :type execution_context: str
354
+ :type execution_context: typing.Union[str, int]
355
355
  :type undo: bool
356
356
  :param lock: Lock Value, Lock/Unlock all layers
357
357
  :type lock: typing.Union[bool, typing.Any]
@@ -361,14 +361,14 @@ def layer_lock_all(
361
361
 
362
362
  def layer_mask_add(
363
363
  override_context: typing.Union[dict, bpy.types.Context] = None,
364
- execution_context: str = None,
364
+ execution_context: typing.Union[str, int] = None,
365
365
  undo: bool = None,
366
366
  name: typing.Union[str, typing.Any] = "",
367
367
  ):
368
368
  """Add new layer as masking
369
369
 
370
370
  :type override_context: typing.Union[dict, bpy.types.Context]
371
- :type execution_context: str
371
+ :type execution_context: typing.Union[str, int]
372
372
  :type undo: bool
373
373
  :param name: Layer, Name of the layer
374
374
  :type name: typing.Union[str, typing.Any]
@@ -378,13 +378,13 @@ def layer_mask_add(
378
378
 
379
379
  def layer_mask_remove(
380
380
  override_context: typing.Union[dict, bpy.types.Context] = None,
381
- execution_context: str = None,
381
+ execution_context: typing.Union[str, int] = None,
382
382
  undo: bool = None,
383
383
  ):
384
384
  """Remove Layer Mask
385
385
 
386
386
  :type override_context: typing.Union[dict, bpy.types.Context]
387
- :type execution_context: str
387
+ :type execution_context: typing.Union[str, int]
388
388
  :type undo: bool
389
389
  """
390
390
 
@@ -392,14 +392,14 @@ def layer_mask_remove(
392
392
 
393
393
  def layer_mask_reorder(
394
394
  override_context: typing.Union[dict, bpy.types.Context] = None,
395
- execution_context: str = None,
395
+ execution_context: typing.Union[str, int] = None,
396
396
  undo: bool = None,
397
397
  direction: typing.Any = "UP",
398
398
  ):
399
399
  """Reorder the active Grease Pencil mask layer up/down in the list
400
400
 
401
401
  :type override_context: typing.Union[dict, bpy.types.Context]
402
- :type execution_context: str
402
+ :type execution_context: typing.Union[str, int]
403
403
  :type undo: bool
404
404
  :param direction: Direction
405
405
  :type direction: typing.Any
@@ -409,13 +409,13 @@ def layer_mask_reorder(
409
409
 
410
410
  def layer_remove(
411
411
  override_context: typing.Union[dict, bpy.types.Context] = None,
412
- execution_context: str = None,
412
+ execution_context: typing.Union[str, int] = None,
413
413
  undo: bool = None,
414
414
  ):
415
415
  """Remove the active Grease Pencil layer
416
416
 
417
417
  :type override_context: typing.Union[dict, bpy.types.Context]
418
- :type execution_context: str
418
+ :type execution_context: typing.Union[str, int]
419
419
  :type undo: bool
420
420
  """
421
421
 
@@ -423,7 +423,7 @@ def layer_remove(
423
423
 
424
424
  def layer_reorder(
425
425
  override_context: typing.Union[dict, bpy.types.Context] = None,
426
- execution_context: str = None,
426
+ execution_context: typing.Union[str, int] = None,
427
427
  undo: bool = None,
428
428
  target_layer_name: typing.Union[str, typing.Any] = "Layer",
429
429
  location: typing.Any = "ABOVE",
@@ -431,7 +431,7 @@ def layer_reorder(
431
431
  """Reorder the active Grease Pencil layer
432
432
 
433
433
  :type override_context: typing.Union[dict, bpy.types.Context]
434
- :type execution_context: str
434
+ :type execution_context: typing.Union[str, int]
435
435
  :type undo: bool
436
436
  :param target_layer_name: Target Name, Name of the target layer
437
437
  :type target_layer_name: typing.Union[str, typing.Any]
@@ -443,13 +443,13 @@ def layer_reorder(
443
443
 
444
444
  def layer_reveal(
445
445
  override_context: typing.Union[dict, bpy.types.Context] = None,
446
- execution_context: str = None,
446
+ execution_context: typing.Union[str, int] = None,
447
447
  undo: bool = None,
448
448
  ):
449
449
  """Show all Grease Pencil layers
450
450
 
451
451
  :type override_context: typing.Union[dict, bpy.types.Context]
452
- :type execution_context: str
452
+ :type execution_context: typing.Union[str, int]
453
453
  :type undo: bool
454
454
  """
455
455
 
@@ -457,14 +457,14 @@ def layer_reveal(
457
457
 
458
458
  def material_copy_to_object(
459
459
  override_context: typing.Union[dict, bpy.types.Context] = None,
460
- execution_context: str = None,
460
+ execution_context: typing.Union[str, int] = None,
461
461
  undo: bool = None,
462
462
  only_active: typing.Union[bool, typing.Any] = True,
463
463
  ):
464
464
  """Append Materials of the active Grease Pencil to other object
465
465
 
466
466
  :type override_context: typing.Union[dict, bpy.types.Context]
467
- :type execution_context: str
467
+ :type execution_context: typing.Union[str, int]
468
468
  :type undo: bool
469
469
  :param only_active: Only Active, Append only active material, uncheck to append all materials
470
470
  :type only_active: typing.Union[bool, typing.Any]
@@ -474,14 +474,14 @@ def material_copy_to_object(
474
474
 
475
475
  def material_hide(
476
476
  override_context: typing.Union[dict, bpy.types.Context] = None,
477
- execution_context: str = None,
477
+ execution_context: typing.Union[str, int] = None,
478
478
  undo: bool = None,
479
479
  invert: typing.Union[bool, typing.Any] = False,
480
480
  ):
481
481
  """Hide active/inactive Grease Pencil material(s)
482
482
 
483
483
  :type override_context: typing.Union[dict, bpy.types.Context]
484
- :type execution_context: str
484
+ :type execution_context: typing.Union[str, int]
485
485
  :type undo: bool
486
486
  :param invert: Invert, Hide inactive materials instead of the active one
487
487
  :type invert: typing.Union[bool, typing.Any]
@@ -491,13 +491,13 @@ def material_hide(
491
491
 
492
492
  def material_lock_all(
493
493
  override_context: typing.Union[dict, bpy.types.Context] = None,
494
- execution_context: str = None,
494
+ execution_context: typing.Union[str, int] = None,
495
495
  undo: bool = None,
496
496
  ):
497
497
  """Lock all Grease Pencil materials to prevent them from being accidentally modified
498
498
 
499
499
  :type override_context: typing.Union[dict, bpy.types.Context]
500
- :type execution_context: str
500
+ :type execution_context: typing.Union[str, int]
501
501
  :type undo: bool
502
502
  """
503
503
 
@@ -505,13 +505,13 @@ def material_lock_all(
505
505
 
506
506
  def material_lock_unselected(
507
507
  override_context: typing.Union[dict, bpy.types.Context] = None,
508
- execution_context: str = None,
508
+ execution_context: typing.Union[str, int] = None,
509
509
  undo: bool = None,
510
510
  ):
511
511
  """Lock any material not used in any selected stroke
512
512
 
513
513
  :type override_context: typing.Union[dict, bpy.types.Context]
514
- :type execution_context: str
514
+ :type execution_context: typing.Union[str, int]
515
515
  :type undo: bool
516
516
  """
517
517
 
@@ -519,13 +519,13 @@ def material_lock_unselected(
519
519
 
520
520
  def material_lock_unused(
521
521
  override_context: typing.Union[dict, bpy.types.Context] = None,
522
- execution_context: str = None,
522
+ execution_context: typing.Union[str, int] = None,
523
523
  undo: bool = None,
524
524
  ):
525
525
  """Lock and hide any material not used
526
526
 
527
527
  :type override_context: typing.Union[dict, bpy.types.Context]
528
- :type execution_context: str
528
+ :type execution_context: typing.Union[str, int]
529
529
  :type undo: bool
530
530
  """
531
531
 
@@ -533,13 +533,13 @@ def material_lock_unused(
533
533
 
534
534
  def material_reveal(
535
535
  override_context: typing.Union[dict, bpy.types.Context] = None,
536
- execution_context: str = None,
536
+ execution_context: typing.Union[str, int] = None,
537
537
  undo: bool = None,
538
538
  ):
539
539
  """Unhide all hidden Grease Pencil materials
540
540
 
541
541
  :type override_context: typing.Union[dict, bpy.types.Context]
542
- :type execution_context: str
542
+ :type execution_context: typing.Union[str, int]
543
543
  :type undo: bool
544
544
  """
545
545
 
@@ -547,14 +547,14 @@ def material_reveal(
547
547
 
548
548
  def material_select(
549
549
  override_context: typing.Union[dict, bpy.types.Context] = None,
550
- execution_context: str = None,
550
+ execution_context: typing.Union[str, int] = None,
551
551
  undo: bool = None,
552
552
  deselect: typing.Union[bool, typing.Any] = False,
553
553
  ):
554
554
  """Select/Deselect all Grease Pencil strokes using current material
555
555
 
556
556
  :type override_context: typing.Union[dict, bpy.types.Context]
557
- :type execution_context: str
557
+ :type execution_context: typing.Union[str, int]
558
558
  :type undo: bool
559
559
  :param deselect: Deselect, Unselect strokes
560
560
  :type deselect: typing.Union[bool, typing.Any]
@@ -564,13 +564,13 @@ def material_select(
564
564
 
565
565
  def material_unlock_all(
566
566
  override_context: typing.Union[dict, bpy.types.Context] = None,
567
- execution_context: str = None,
567
+ execution_context: typing.Union[str, int] = None,
568
568
  undo: bool = None,
569
569
  ):
570
570
  """Unlock all Grease Pencil materials so that they can be edited
571
571
 
572
572
  :type override_context: typing.Union[dict, bpy.types.Context]
573
- :type execution_context: str
573
+ :type execution_context: typing.Union[str, int]
574
574
  :type undo: bool
575
575
  """
576
576
 
@@ -578,7 +578,7 @@ def material_unlock_all(
578
578
 
579
579
  def move_to_layer(
580
580
  override_context: typing.Union[dict, bpy.types.Context] = None,
581
- execution_context: str = None,
581
+ execution_context: typing.Union[str, int] = None,
582
582
  undo: bool = None,
583
583
  target_layer_name: typing.Union[str, typing.Any] = "Layer",
584
584
  add_new_layer: typing.Union[bool, typing.Any] = False,
@@ -586,7 +586,7 @@ def move_to_layer(
586
586
  """Move selected strokes to another layer
587
587
 
588
588
  :type override_context: typing.Union[dict, bpy.types.Context]
589
- :type execution_context: str
589
+ :type execution_context: typing.Union[str, int]
590
590
  :type undo: bool
591
591
  :param target_layer_name: Name, Target Grease Pencil Layer
592
592
  :type target_layer_name: typing.Union[str, typing.Any]
@@ -598,14 +598,14 @@ def move_to_layer(
598
598
 
599
599
  def paste(
600
600
  override_context: typing.Union[dict, bpy.types.Context] = None,
601
- execution_context: str = None,
601
+ execution_context: typing.Union[str, int] = None,
602
602
  undo: bool = None,
603
603
  paste_back: typing.Union[bool, typing.Any] = False,
604
604
  ):
605
605
  """Paste Grease Pencil points or strokes from the internal clipboard to the active layer
606
606
 
607
607
  :type override_context: typing.Union[dict, bpy.types.Context]
608
- :type execution_context: str
608
+ :type execution_context: typing.Union[str, int]
609
609
  :type undo: bool
610
610
  :param paste_back: Paste on Back, Add pasted strokes behind all strokes
611
611
  :type paste_back: typing.Union[bool, typing.Any]
@@ -615,14 +615,14 @@ def paste(
615
615
 
616
616
  def reorder(
617
617
  override_context: typing.Union[dict, bpy.types.Context] = None,
618
- execution_context: str = None,
618
+ execution_context: typing.Union[str, int] = None,
619
619
  undo: bool = None,
620
620
  direction: typing.Any = "TOP",
621
621
  ):
622
622
  """Change the display order of the selected strokes
623
623
 
624
624
  :type override_context: typing.Union[dict, bpy.types.Context]
625
- :type execution_context: str
625
+ :type execution_context: typing.Union[str, int]
626
626
  :type undo: bool
627
627
  :param direction: Direction
628
628
  :type direction: typing.Any
@@ -632,7 +632,7 @@ def reorder(
632
632
 
633
633
  def sculpt_paint(
634
634
  override_context: typing.Union[dict, bpy.types.Context] = None,
635
- execution_context: str = None,
635
+ execution_context: typing.Union[str, int] = None,
636
636
  undo: bool = None,
637
637
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
638
638
  mode: typing.Any = "NORMAL",
@@ -640,7 +640,7 @@ def sculpt_paint(
640
640
  """Draw a new stroke in the active Grease Pencil object
641
641
 
642
642
  :type override_context: typing.Union[dict, bpy.types.Context]
643
- :type execution_context: str
643
+ :type execution_context: typing.Union[str, int]
644
644
  :type undo: bool
645
645
  :param stroke: Stroke
646
646
  :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
@@ -661,14 +661,14 @@ def sculpt_paint(
661
661
 
662
662
  def select_all(
663
663
  override_context: typing.Union[dict, bpy.types.Context] = None,
664
- execution_context: str = None,
664
+ execution_context: typing.Union[str, int] = None,
665
665
  undo: bool = None,
666
666
  action: typing.Any = "TOGGLE",
667
667
  ):
668
668
  """(De)select all visible strokes
669
669
 
670
670
  :type override_context: typing.Union[dict, bpy.types.Context]
671
- :type execution_context: str
671
+ :type execution_context: typing.Union[str, int]
672
672
  :type undo: bool
673
673
  :param action: Action, Selection action to execute
674
674
 
@@ -690,14 +690,14 @@ def select_all(
690
690
 
691
691
  def select_alternate(
692
692
  override_context: typing.Union[dict, bpy.types.Context] = None,
693
- execution_context: str = None,
693
+ execution_context: typing.Union[str, int] = None,
694
694
  undo: bool = None,
695
695
  deselect_ends: typing.Union[bool, typing.Any] = False,
696
696
  ):
697
697
  """Select alternated points in strokes with already selected points
698
698
 
699
699
  :type override_context: typing.Union[dict, bpy.types.Context]
700
- :type execution_context: str
700
+ :type execution_context: typing.Union[str, int]
701
701
  :type undo: bool
702
702
  :param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
703
703
  :type deselect_ends: typing.Union[bool, typing.Any]
@@ -707,7 +707,7 @@ def select_alternate(
707
707
 
708
708
  def select_ends(
709
709
  override_context: typing.Union[dict, bpy.types.Context] = None,
710
- execution_context: str = None,
710
+ execution_context: typing.Union[str, int] = None,
711
711
  undo: bool = None,
712
712
  amount_start: typing.Any = 0,
713
713
  amount_end: typing.Any = 1,
@@ -715,7 +715,7 @@ def select_ends(
715
715
  """Select end points of strokes
716
716
 
717
717
  :type override_context: typing.Union[dict, bpy.types.Context]
718
- :type execution_context: str
718
+ :type execution_context: typing.Union[str, int]
719
719
  :type undo: bool
720
720
  :param amount_start: Amount Start, Number of points to select from the start
721
721
  :type amount_start: typing.Any
@@ -727,13 +727,13 @@ def select_ends(
727
727
 
728
728
  def select_less(
729
729
  override_context: typing.Union[dict, bpy.types.Context] = None,
730
- execution_context: str = None,
730
+ execution_context: typing.Union[str, int] = None,
731
731
  undo: bool = None,
732
732
  ):
733
733
  """Shrink the selection by one point
734
734
 
735
735
  :type override_context: typing.Union[dict, bpy.types.Context]
736
- :type execution_context: str
736
+ :type execution_context: typing.Union[str, int]
737
737
  :type undo: bool
738
738
  """
739
739
 
@@ -741,13 +741,13 @@ def select_less(
741
741
 
742
742
  def select_linked(
743
743
  override_context: typing.Union[dict, bpy.types.Context] = None,
744
- execution_context: str = None,
744
+ execution_context: typing.Union[str, int] = None,
745
745
  undo: bool = None,
746
746
  ):
747
747
  """Select all points in curves with any point selection
748
748
 
749
749
  :type override_context: typing.Union[dict, bpy.types.Context]
750
- :type execution_context: str
750
+ :type execution_context: typing.Union[str, int]
751
751
  :type undo: bool
752
752
  """
753
753
 
@@ -755,13 +755,13 @@ def select_linked(
755
755
 
756
756
  def select_more(
757
757
  override_context: typing.Union[dict, bpy.types.Context] = None,
758
- execution_context: str = None,
758
+ execution_context: typing.Union[str, int] = None,
759
759
  undo: bool = None,
760
760
  ):
761
761
  """Grow the selection by one point
762
762
 
763
763
  :type override_context: typing.Union[dict, bpy.types.Context]
764
- :type execution_context: str
764
+ :type execution_context: typing.Union[str, int]
765
765
  :type undo: bool
766
766
  """
767
767
 
@@ -769,7 +769,7 @@ def select_more(
769
769
 
770
770
  def select_random(
771
771
  override_context: typing.Union[dict, bpy.types.Context] = None,
772
- execution_context: str = None,
772
+ execution_context: typing.Union[str, int] = None,
773
773
  undo: bool = None,
774
774
  ratio: typing.Any = 0.5,
775
775
  seed: typing.Any = 0,
@@ -778,7 +778,7 @@ def select_random(
778
778
  """Selects random points from the current strokes selection
779
779
 
780
780
  :type override_context: typing.Union[dict, bpy.types.Context]
781
- :type execution_context: str
781
+ :type execution_context: typing.Union[str, int]
782
782
  :type undo: bool
783
783
  :param ratio: Ratio, Portion of items to select randomly
784
784
  :type ratio: typing.Any
@@ -798,14 +798,14 @@ def select_random(
798
798
 
799
799
  def separate(
800
800
  override_context: typing.Union[dict, bpy.types.Context] = None,
801
- execution_context: str = None,
801
+ execution_context: typing.Union[str, int] = None,
802
802
  undo: bool = None,
803
803
  mode: typing.Any = "SELECTED",
804
804
  ):
805
805
  """Separate the selected geometry into a new grease pencil object
806
806
 
807
807
  :type override_context: typing.Union[dict, bpy.types.Context]
808
- :type execution_context: str
808
+ :type execution_context: typing.Union[str, int]
809
809
  :type undo: bool
810
810
  :param mode: Mode
811
811
 
@@ -824,13 +824,13 @@ def separate(
824
824
 
825
825
  def set_active_material(
826
826
  override_context: typing.Union[dict, bpy.types.Context] = None,
827
- execution_context: str = None,
827
+ execution_context: typing.Union[str, int] = None,
828
828
  undo: bool = None,
829
829
  ):
830
830
  """Set the selected stroke material as the active material
831
831
 
832
832
  :type override_context: typing.Union[dict, bpy.types.Context]
833
- :type execution_context: str
833
+ :type execution_context: typing.Union[str, int]
834
834
  :type undo: bool
835
835
  """
836
836
 
@@ -838,14 +838,14 @@ def set_active_material(
838
838
 
839
839
  def set_material(
840
840
  override_context: typing.Union[dict, bpy.types.Context] = None,
841
- execution_context: str = None,
841
+ execution_context: typing.Union[str, int] = None,
842
842
  undo: bool = None,
843
843
  slot: typing.Union[str, int, typing.Any] = "DEFAULT",
844
844
  ):
845
845
  """Set active material
846
846
 
847
847
  :type override_context: typing.Union[dict, bpy.types.Context]
848
- :type execution_context: str
848
+ :type execution_context: typing.Union[str, int]
849
849
  :type undo: bool
850
850
  :param slot: Material Slot
851
851
  :type slot: typing.Union[str, int, typing.Any]
@@ -855,14 +855,14 @@ def set_material(
855
855
 
856
856
  def set_selection_mode(
857
857
  override_context: typing.Union[dict, bpy.types.Context] = None,
858
- execution_context: str = None,
858
+ execution_context: typing.Union[str, int] = None,
859
859
  undo: bool = None,
860
860
  mode: typing.Union[str, int] = "POINT",
861
861
  ):
862
862
  """Change the selection mode for Grease Pencil strokes
863
863
 
864
864
  :type override_context: typing.Union[dict, bpy.types.Context]
865
- :type execution_context: str
865
+ :type execution_context: typing.Union[str, int]
866
866
  :type undo: bool
867
867
  :param mode: Mode
868
868
  :type mode: typing.Union[str, int]
@@ -872,14 +872,14 @@ def set_selection_mode(
872
872
 
873
873
  def set_uniform_opacity(
874
874
  override_context: typing.Union[dict, bpy.types.Context] = None,
875
- execution_context: str = None,
875
+ execution_context: typing.Union[str, int] = None,
876
876
  undo: bool = None,
877
877
  opacity: typing.Any = 1.0,
878
878
  ):
879
879
  """Set all stroke points to same opacity
880
880
 
881
881
  :type override_context: typing.Union[dict, bpy.types.Context]
882
- :type execution_context: str
882
+ :type execution_context: typing.Union[str, int]
883
883
  :type undo: bool
884
884
  :param opacity: Opacity
885
885
  :type opacity: typing.Any
@@ -889,14 +889,14 @@ def set_uniform_opacity(
889
889
 
890
890
  def set_uniform_thickness(
891
891
  override_context: typing.Union[dict, bpy.types.Context] = None,
892
- execution_context: str = None,
892
+ execution_context: typing.Union[str, int] = None,
893
893
  undo: bool = None,
894
894
  thickness: typing.Any = 0.1,
895
895
  ):
896
896
  """Set all stroke points to same thickness
897
897
 
898
898
  :type override_context: typing.Union[dict, bpy.types.Context]
899
- :type execution_context: str
899
+ :type execution_context: typing.Union[str, int]
900
900
  :type undo: bool
901
901
  :param thickness: Thickness, Thickness
902
902
  :type thickness: typing.Any
@@ -906,14 +906,14 @@ def set_uniform_thickness(
906
906
 
907
907
  def stroke_material_set(
908
908
  override_context: typing.Union[dict, bpy.types.Context] = None,
909
- execution_context: str = None,
909
+ execution_context: typing.Union[str, int] = None,
910
910
  undo: bool = None,
911
911
  material: typing.Union[str, typing.Any] = "",
912
912
  ):
913
913
  """Assign the active material slot to the selected strokes
914
914
 
915
915
  :type override_context: typing.Union[dict, bpy.types.Context]
916
- :type execution_context: str
916
+ :type execution_context: typing.Union[str, int]
917
917
  :type undo: bool
918
918
  :param material: Material, Name of the material
919
919
  :type material: typing.Union[str, typing.Any]
@@ -923,14 +923,14 @@ def stroke_material_set(
923
923
 
924
924
  def stroke_simplify(
925
925
  override_context: typing.Union[dict, bpy.types.Context] = None,
926
- execution_context: str = None,
926
+ execution_context: typing.Union[str, int] = None,
927
927
  undo: bool = None,
928
928
  factor: typing.Any = 0.01,
929
929
  ):
930
930
  """Simplify selected strokes
931
931
 
932
932
  :type override_context: typing.Union[dict, bpy.types.Context]
933
- :type execution_context: str
933
+ :type execution_context: typing.Union[str, int]
934
934
  :type undo: bool
935
935
  :param factor: Factor
936
936
  :type factor: typing.Any
@@ -940,7 +940,7 @@ def stroke_simplify(
940
940
 
941
941
  def stroke_smooth(
942
942
  override_context: typing.Union[dict, bpy.types.Context] = None,
943
- execution_context: str = None,
943
+ execution_context: typing.Union[str, int] = None,
944
944
  undo: bool = None,
945
945
  iterations: typing.Any = 10,
946
946
  factor: typing.Any = 1.0,
@@ -953,7 +953,7 @@ def stroke_smooth(
953
953
  """Smooth selected strokes
954
954
 
955
955
  :type override_context: typing.Union[dict, bpy.types.Context]
956
- :type execution_context: str
956
+ :type execution_context: typing.Union[str, int]
957
957
  :type undo: bool
958
958
  :param iterations: Iterations
959
959
  :type iterations: typing.Any
@@ -975,7 +975,7 @@ def stroke_smooth(
975
975
 
976
976
  def stroke_subdivide(
977
977
  override_context: typing.Union[dict, bpy.types.Context] = None,
978
- execution_context: str = None,
978
+ execution_context: typing.Union[str, int] = None,
979
979
  undo: bool = None,
980
980
  number_cuts: typing.Any = 1,
981
981
  only_selected: typing.Union[bool, typing.Any] = True,
@@ -983,7 +983,7 @@ def stroke_subdivide(
983
983
  """Subdivide between continuous selected points of the stroke adding a point half way between them
984
984
 
985
985
  :type override_context: typing.Union[dict, bpy.types.Context]
986
- :type execution_context: str
986
+ :type execution_context: typing.Union[str, int]
987
987
  :type undo: bool
988
988
  :param number_cuts: Number of Cuts
989
989
  :type number_cuts: typing.Any
@@ -995,7 +995,7 @@ def stroke_subdivide(
995
995
 
996
996
  def stroke_subdivide_smooth(
997
997
  override_context: typing.Union[dict, bpy.types.Context] = None,
998
- execution_context: str = None,
998
+ execution_context: typing.Union[str, int] = None,
999
999
  undo: bool = None,
1000
1000
  GREASE_PENCIL_OT_stroke_subdivide: typing.Any = None,
1001
1001
  GREASE_PENCIL_OT_stroke_smooth: typing.Any = None,
@@ -1003,7 +1003,7 @@ def stroke_subdivide_smooth(
1003
1003
  """Subdivide strokes and smooth them
1004
1004
 
1005
1005
  :type override_context: typing.Union[dict, bpy.types.Context]
1006
- :type execution_context: str
1006
+ :type execution_context: typing.Union[str, int]
1007
1007
  :type undo: bool
1008
1008
  :param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
1009
1009
  :type GREASE_PENCIL_OT_stroke_subdivide: typing.Any
@@ -1015,13 +1015,13 @@ def stroke_subdivide_smooth(
1015
1015
 
1016
1016
  def stroke_switch_direction(
1017
1017
  override_context: typing.Union[dict, bpy.types.Context] = None,
1018
- execution_context: str = None,
1018
+ execution_context: typing.Union[str, int] = None,
1019
1019
  undo: bool = None,
1020
1020
  ):
1021
1021
  """Change direction of the points of the selected strokes
1022
1022
 
1023
1023
  :type override_context: typing.Union[dict, bpy.types.Context]
1024
- :type execution_context: str
1024
+ :type execution_context: typing.Union[str, int]
1025
1025
  :type undo: bool
1026
1026
  """
1027
1027