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