fake-bpy-module 20241207__py3-none-any.whl → 20241209__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (115) hide show
  1. addon_utils/__init__.pyi +2 -1
  2. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
  3. bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
  4. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  5. bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
  6. blf/__init__.pyi +2 -1
  7. bmesh/ops/__init__.pyi +110 -53
  8. bmesh/types/__init__.pyi +18 -10
  9. bmesh/utils/__init__.pyi +14 -4
  10. bpy/app/icons/__init__.pyi +4 -1
  11. bpy/app/translations/__init__.pyi +4 -1
  12. bpy/msgbus/__init__.pyi +8 -5
  13. bpy/ops/action/__init__.pyi +38 -138
  14. bpy/ops/anim/__init__.pyi +61 -179
  15. bpy/ops/armature/__init__.pyi +48 -147
  16. bpy/ops/asset/__init__.pyi +16 -71
  17. bpy/ops/boid/__init__.pyi +8 -41
  18. bpy/ops/brush/__init__.pyi +13 -39
  19. bpy/ops/buttons/__init__.pyi +6 -29
  20. bpy/ops/cachefile/__init__.pyi +5 -19
  21. bpy/ops/camera/__init__.pyi +2 -5
  22. bpy/ops/clip/__init__.pyi +92 -290
  23. bpy/ops/cloth/__init__.pyi +1 -3
  24. bpy/ops/collection/__init__.pyi +9 -25
  25. bpy/ops/console/__init__.pyi +21 -79
  26. bpy/ops/constraint/__init__.pyi +18 -45
  27. bpy/ops/curve/__init__.pyi +51 -180
  28. bpy/ops/curves/__init__.pyi +28 -100
  29. bpy/ops/cycles/__init__.pyi +3 -9
  30. bpy/ops/dpaint/__init__.pyi +5 -19
  31. bpy/ops/ed/__init__.pyi +12 -53
  32. bpy/ops/export_anim/__init__.pyi +1 -3
  33. bpy/ops/export_scene/__init__.pyi +2 -5
  34. bpy/ops/extensions/__init__.pyi +34 -110
  35. bpy/ops/file/__init__.pyi +40 -167
  36. bpy/ops/fluid/__init__.pyi +14 -77
  37. bpy/ops/font/__init__.pyi +23 -85
  38. bpy/ops/geometry/__init__.pyi +10 -27
  39. bpy/ops/gizmogroup/__init__.pyi +2 -9
  40. bpy/ops/gpencil/__init__.pyi +8 -32
  41. bpy/ops/graph/__init__.pyi +65 -184
  42. bpy/ops/grease_pencil/__init__.pyi +108 -290
  43. bpy/ops/image/__init__.pyi +49 -154
  44. bpy/ops/import_anim/__init__.pyi +1 -3
  45. bpy/ops/import_curve/__init__.pyi +1 -3
  46. bpy/ops/import_scene/__init__.pyi +2 -4
  47. bpy/ops/info/__init__.pyi +7 -29
  48. bpy/ops/lattice/__init__.pyi +8 -29
  49. bpy/ops/marker/__init__.pyi +11 -31
  50. bpy/ops/mask/__init__.pyi +39 -132
  51. bpy/ops/material/__init__.pyi +3 -19
  52. bpy/ops/mball/__init__.pyi +8 -19
  53. bpy/ops/mesh/__init__.pyi +164 -401
  54. bpy/ops/nla/__init__.pyi +39 -147
  55. bpy/ops/node/__init__.pyi +115 -390
  56. bpy/ops/object/__init__.pyi +237 -630
  57. bpy/ops/outliner/__init__.pyi +71 -263
  58. bpy/ops/paint/__init__.pyi +54 -140
  59. bpy/ops/paintcurve/__init__.pyi +8 -33
  60. bpy/ops/palette/__init__.pyi +7 -27
  61. bpy/ops/particle/__init__.pyi +36 -134
  62. bpy/ops/pose/__init__.pyi +51 -169
  63. bpy/ops/poselib/__init__.pyi +9 -33
  64. bpy/ops/preferences/__init__.pyi +35 -94
  65. bpy/ops/ptcache/__init__.pyi +7 -33
  66. bpy/ops/render/__init__.pyi +13 -37
  67. bpy/ops/rigidbody/__init__.pyi +13 -45
  68. bpy/ops/scene/__init__.pyi +37 -121
  69. bpy/ops/screen/__init__.pyi +39 -137
  70. bpy/ops/script/__init__.pyi +3 -11
  71. bpy/ops/sculpt/__init__.pyi +37 -94
  72. bpy/ops/sculpt_curves/__init__.pyi +4 -10
  73. bpy/ops/sequencer/__init__.pyi +89 -284
  74. bpy/ops/sound/__init__.pyi +7 -23
  75. bpy/ops/spreadsheet/__init__.pyi +4 -15
  76. bpy/ops/surface/__init__.pyi +6 -13
  77. bpy/ops/text/__init__.pyi +43 -175
  78. bpy/ops/text_editor/__init__.pyi +1 -3
  79. bpy/ops/texture/__init__.pyi +4 -21
  80. bpy/ops/transform/__init__.pyi +27 -61
  81. bpy/ops/ui/__init__.pyi +34 -117
  82. bpy/ops/uilist/__init__.pyi +3 -7
  83. bpy/ops/uv/__init__.pyi +49 -134
  84. bpy/ops/view2d/__init__.pyi +14 -39
  85. bpy/ops/view3d/__init__.pyi +67 -232
  86. bpy/ops/wm/__init__.pyi +114 -298
  87. bpy/ops/workspace/__init__.pyi +7 -33
  88. bpy/ops/world/__init__.pyi +2 -11
  89. bpy/path/__init__.pyi +4 -2
  90. bpy/types/__init__.pyi +68 -32
  91. bpy/utils/__init__.pyi +18 -9
  92. bpy_extras/bmesh_utils/__init__.pyi +2 -1
  93. bpy_extras/io_utils/__init__.pyi +7 -2
  94. bpy_extras/mesh_utils/__init__.pyi +19 -7
  95. bpy_extras/view3d_utils/__init__.pyi +2 -2
  96. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/METADATA +1 -1
  97. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/RECORD +115 -115
  98. freestyle/functions/__init__.pyi +16 -4
  99. freestyle/types/__init__.pyi +60 -23
  100. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  101. gpu/capabilities/__init__.pyi +2 -1
  102. gpu/state/__init__.pyi +2 -2
  103. gpu/types/__init__.pyi +2 -2
  104. gpu_extras/batch/__init__.pyi +6 -3
  105. idprop/types/__init__.pyi +4 -3
  106. imbuf/__init__.pyi +2 -1
  107. imbuf/types/__init__.pyi +5 -2
  108. mathutils/__init__.pyi +25 -14
  109. mathutils/bvhtree/__init__.pyi +8 -7
  110. mathutils/geometry/__init__.pyi +38 -17
  111. mathutils/interpolate/__init__.pyi +2 -1
  112. mathutils/kdtree/__init__.pyi +11 -6
  113. mathutils/noise/__init__.pyi +2 -1
  114. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/WHEEL +0 -0
  115. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/top_level.txt +0 -0
@@ -6,15 +6,14 @@ import bpy.types
6
6
  import bpy.typing
7
7
 
8
8
  def active_frame_delete(
9
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
10
9
  execution_context: int | str | None = None,
11
10
  undo: bool | None = None,
11
+ /,
12
12
  *,
13
13
  all: bool | None = False,
14
14
  ):
15
15
  """Delete the active Grease Pencil frame(s)
16
16
 
17
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
18
17
  :type execution_context: int | str | None
19
18
  :type undo: bool | None
20
19
  :param all: Delete all, Delete active keyframes of all layers
@@ -22,9 +21,9 @@ def active_frame_delete(
22
21
  """
23
22
 
24
23
  def bake_grease_pencil_animation(
25
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
26
24
  execution_context: int | str | None = None,
27
25
  undo: bool | None = None,
26
+ /,
28
27
  *,
29
28
  frame_start: int | None = 1,
30
29
  frame_end: int | None = 250,
@@ -36,7 +35,6 @@ def bake_grease_pencil_animation(
36
35
  ):
37
36
  """Bake Grease Pencil object transform to Grease Pencil keyframes
38
37
 
39
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
40
38
  :type execution_context: int | str | None
41
39
  :type undo: bool | None
42
40
  :param frame_start: Start Frame, The start frame
@@ -72,9 +70,9 @@ def bake_grease_pencil_animation(
72
70
  """
73
71
 
74
72
  def brush_stroke(
75
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
76
73
  execution_context: int | str | None = None,
77
74
  undo: bool | None = None,
75
+ /,
78
76
  *,
79
77
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
80
78
  | None = None,
@@ -83,7 +81,6 @@ def brush_stroke(
83
81
  ):
84
82
  """Draw a new stroke in the active Grease Pencil object
85
83
 
86
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
87
84
  :type execution_context: int | str | None
88
85
  :type undo: bool | None
89
86
  :param stroke: Stroke
@@ -107,15 +104,14 @@ def brush_stroke(
107
104
  """
108
105
 
109
106
  def caps_set(
110
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
111
107
  execution_context: int | str | None = None,
112
108
  undo: bool | None = None,
109
+ /,
113
110
  *,
114
111
  type: typing.Literal["ROUND", "FLAT", "START", "END"] | None = "ROUND",
115
112
  ):
116
113
  """Change curve caps mode (rounded or flat)
117
114
 
118
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
119
115
  :type execution_context: int | str | None
120
116
  :type undo: bool | None
121
117
  :param type: Type
@@ -135,71 +131,58 @@ def caps_set(
135
131
  """
136
132
 
137
133
  def clean_loose(
138
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
139
134
  execution_context: int | str | None = None,
140
135
  undo: bool | None = None,
136
+ /,
141
137
  *,
142
138
  limit: int | None = 1,
143
139
  ):
144
140
  """Remove loose points
145
141
 
146
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
147
142
  :type execution_context: int | str | None
148
143
  :type undo: bool | None
149
144
  :param limit: Limit, Number of points to consider stroke as loose
150
145
  :type limit: int | None
151
146
  """
152
147
 
153
- def copy(
154
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
155
- execution_context: int | str | None = None,
156
- undo: bool | None = None,
157
- ):
148
+ def copy(execution_context: int | str | None = None, undo: bool | None = None):
158
149
  """Copy the selected Grease Pencil points or strokes to the internal clipboard
159
150
 
160
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
161
151
  :type execution_context: int | str | None
162
152
  :type undo: bool | None
163
153
  """
164
154
 
165
155
  def cyclical_set(
166
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
167
156
  execution_context: int | str | None = None,
168
157
  undo: bool | None = None,
158
+ /,
169
159
  *,
170
160
  type: typing.Literal["CLOSE", "OPEN", "TOGGLE"] | None = "TOGGLE",
171
161
  ):
172
162
  """Close or open the selected stroke adding a segment from last to first point
173
163
 
174
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
175
164
  :type execution_context: int | str | None
176
165
  :type undo: bool | None
177
166
  :param type: Type
178
167
  :type type: typing.Literal['CLOSE','OPEN','TOGGLE'] | None
179
168
  """
180
169
 
181
- def delete(
182
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
183
- execution_context: int | str | None = None,
184
- undo: bool | None = None,
185
- ):
170
+ def delete(execution_context: int | str | None = None, undo: bool | None = None):
186
171
  """Delete selected strokes or points
187
172
 
188
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
189
173
  :type execution_context: int | str | None
190
174
  :type undo: bool | None
191
175
  """
192
176
 
193
177
  def delete_frame(
194
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
195
178
  execution_context: int | str | None = None,
196
179
  undo: bool | None = None,
180
+ /,
197
181
  *,
198
182
  type: typing.Literal["ACTIVE_FRAME", "ALL_FRAMES"] | None = "ACTIVE_FRAME",
199
183
  ):
200
184
  """Delete Grease Pencil Frame(s)
201
185
 
202
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
203
186
  :type execution_context: int | str | None
204
187
  :type undo: bool | None
205
188
  :param type: Type, Method used for deleting Grease Pencil frames
@@ -213,15 +196,14 @@ def delete_frame(
213
196
  """
214
197
 
215
198
  def dissolve(
216
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
217
199
  execution_context: int | str | None = None,
218
200
  undo: bool | None = None,
201
+ /,
219
202
  *,
220
203
  type: typing.Literal["POINTS", "BETWEEN", "UNSELECT"] | None = "POINTS",
221
204
  ):
222
205
  """Delete selected points without splitting strokes
223
206
 
224
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
225
207
  :type execution_context: int | str | None
226
208
  :type undo: bool | None
227
209
  :param type: Type, Method used for dissolving stroke points
@@ -237,29 +219,23 @@ def dissolve(
237
219
  :type type: typing.Literal['POINTS','BETWEEN','UNSELECT'] | None
238
220
  """
239
221
 
240
- def duplicate(
241
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
242
- execution_context: int | str | None = None,
243
- undo: bool | None = None,
244
- ):
222
+ def duplicate(execution_context: int | str | None = None, undo: bool | None = None):
245
223
  """Duplicate the selected points
246
224
 
247
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
248
225
  :type execution_context: int | str | None
249
226
  :type undo: bool | None
250
227
  """
251
228
 
252
229
  def duplicate_move(
253
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
254
230
  execution_context: int | str | None = None,
255
231
  undo: bool | None = None,
232
+ /,
256
233
  *,
257
234
  GREASE_PENCIL_OT_duplicate: typing.Any | None = None,
258
235
  TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
259
236
  ):
260
237
  """Make copies of the selected Grease Pencil strokes and move them
261
238
 
262
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
263
239
  :type execution_context: int | str | None
264
240
  :type undo: bool | None
265
241
  :param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
@@ -268,29 +244,23 @@ def duplicate_move(
268
244
  :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
269
245
  """
270
246
 
271
- def extrude(
272
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
273
- execution_context: int | str | None = None,
274
- undo: bool | None = None,
275
- ):
247
+ def extrude(execution_context: int | str | None = None, undo: bool | None = None):
276
248
  """Extrude the selected points
277
249
 
278
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
279
250
  :type execution_context: int | str | None
280
251
  :type undo: bool | None
281
252
  """
282
253
 
283
254
  def extrude_move(
284
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
285
255
  execution_context: int | str | None = None,
286
256
  undo: bool | None = None,
257
+ /,
287
258
  *,
288
259
  GREASE_PENCIL_OT_extrude: typing.Any | None = None,
289
260
  TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
290
261
  ):
291
262
  """Extrude selected points and move them
292
263
 
293
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
294
264
  :type execution_context: int | str | None
295
265
  :type undo: bool | None
296
266
  :param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
@@ -300,16 +270,15 @@ def extrude_move(
300
270
  """
301
271
 
302
272
  def fill(
303
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
304
273
  execution_context: int | str | None = None,
305
274
  undo: bool | None = None,
275
+ /,
306
276
  *,
307
277
  invert: bool | None = False,
308
278
  precision: bool | None = False,
309
279
  ):
310
280
  """Fill with color the shape formed by strokes
311
281
 
312
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
313
282
  :type execution_context: int | str | None
314
283
  :type undo: bool | None
315
284
  :param invert: Invert, Find boundary of unfilled instead of filled regions
@@ -319,15 +288,14 @@ def fill(
319
288
  """
320
289
 
321
290
  def frame_clean_duplicate(
322
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
323
291
  execution_context: int | str | None = None,
324
292
  undo: bool | None = None,
293
+ /,
325
294
  *,
326
295
  selected: bool | None = False,
327
296
  ):
328
297
  """Remove any keyframe that is a duplicate of the previous one
329
298
 
330
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
331
299
  :type execution_context: int | str | None
332
300
  :type undo: bool | None
333
301
  :param selected: Selected, Only delete selected keyframes
@@ -335,15 +303,14 @@ def frame_clean_duplicate(
335
303
  """
336
304
 
337
305
  def frame_duplicate(
338
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
339
306
  execution_context: int | str | None = None,
340
307
  undo: bool | None = None,
308
+ /,
341
309
  *,
342
310
  all: bool | None = False,
343
311
  ):
344
312
  """Make a copy of the active Grease Pencil frame(s)
345
313
 
346
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
347
314
  :type execution_context: int | str | None
348
315
  :type undo: bool | None
349
316
  :param all: Duplicate all, Duplicate active keyframes of all layer
@@ -351,16 +318,15 @@ def frame_duplicate(
351
318
  """
352
319
 
353
320
  def insert_blank_frame(
354
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
355
321
  execution_context: int | str | None = None,
356
322
  undo: bool | None = None,
323
+ /,
357
324
  *,
358
325
  all_layers: bool | None = False,
359
326
  duration: int | None = 0,
360
327
  ):
361
328
  """Insert a blank frame on the current scene frame
362
329
 
363
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
364
330
  :type execution_context: int | str | None
365
331
  :type undo: bool | None
366
332
  :param all_layers: All Layers, Insert a blank frame in all editable layers
@@ -370,9 +336,9 @@ def insert_blank_frame(
370
336
  """
371
337
 
372
338
  def interpolate(
373
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
374
339
  execution_context: int | str | None = None,
375
340
  undo: bool | None = None,
341
+ /,
376
342
  *,
377
343
  shift: float | None = 0.0,
378
344
  layers: typing.Literal["ACTIVE", "ALL"] | None = "ACTIVE",
@@ -384,7 +350,6 @@ def interpolate(
384
350
  ):
385
351
  """Interpolate Grease Pencil strokes between frames
386
352
 
387
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
388
353
  :type execution_context: int | str | None
389
354
  :type undo: bool | None
390
355
  :param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
@@ -404,9 +369,9 @@ def interpolate(
404
369
  """
405
370
 
406
371
  def interpolate_sequence(
407
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
408
372
  execution_context: int | str | None = None,
409
373
  undo: bool | None = None,
374
+ /,
410
375
  *,
411
376
  step: int | None = 1,
412
377
  layers: typing.Literal["ACTIVE", "ALL"] | None = "ACTIVE",
@@ -436,7 +401,6 @@ def interpolate_sequence(
436
401
  ):
437
402
  """Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
438
403
 
439
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
440
404
  :type execution_context: int | str | None
441
405
  :type undo: bool | None
442
406
  :param step: Step, Number of frames between generated interpolated frames
@@ -500,15 +464,14 @@ def interpolate_sequence(
500
464
  """
501
465
 
502
466
  def join_selection(
503
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
504
467
  execution_context: int | str | None = None,
505
468
  undo: bool | None = None,
469
+ /,
506
470
  *,
507
471
  type: typing.Literal["JOINCOPY", "JOIN"] | None = "JOIN",
508
472
  ):
509
473
  """New stroke from selected points/strokes
510
474
 
511
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
512
475
  :type execution_context: int | str | None
513
476
  :type undo: bool | None
514
477
  :param type: Type, Defines how the operator will behave on the selection in the active layer
@@ -522,15 +485,14 @@ def join_selection(
522
485
  """
523
486
 
524
487
  def layer_active(
525
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
526
488
  execution_context: int | str | None = None,
527
489
  undo: bool | None = None,
490
+ /,
528
491
  *,
529
492
  layer: int | None = 0,
530
493
  ):
531
494
  """Set the active Grease Pencil layer
532
495
 
533
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
534
496
  :type execution_context: int | str | None
535
497
  :type undo: bool | None
536
498
  :param layer: Grease Pencil Layer
@@ -538,15 +500,14 @@ def layer_active(
538
500
  """
539
501
 
540
502
  def layer_add(
541
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
542
503
  execution_context: int | str | None = None,
543
504
  undo: bool | None = None,
505
+ /,
544
506
  *,
545
507
  new_layer_name: str = "Layer",
546
508
  ):
547
509
  """Add a new Grease Pencil layer in the active object
548
510
 
549
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
550
511
  :type execution_context: int | str | None
551
512
  :type undo: bool | None
552
513
  :param new_layer_name: Name, Name of the new layer
@@ -554,15 +515,14 @@ def layer_add(
554
515
  """
555
516
 
556
517
  def layer_duplicate(
557
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
558
518
  execution_context: int | str | None = None,
559
519
  undo: bool | None = None,
520
+ /,
560
521
  *,
561
522
  empty_keyframes: bool | None = False,
562
523
  ):
563
524
  """Make a copy of the active Grease Pencil layer
564
525
 
565
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
566
526
  :type execution_context: int | str | None
567
527
  :type undo: bool | None
568
528
  :param empty_keyframes: Empty Keyframes, Add Empty Keyframes
@@ -570,16 +530,15 @@ def layer_duplicate(
570
530
  """
571
531
 
572
532
  def layer_duplicate_object(
573
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
574
533
  execution_context: int | str | None = None,
575
534
  undo: bool | None = None,
535
+ /,
576
536
  *,
577
537
  only_active: bool | None = True,
578
538
  mode: typing.Literal["ALL", "ACTIVE"] | None = "ALL",
579
539
  ):
580
540
  """Make a copy of the active Grease Pencil layer to selected object
581
541
 
582
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
583
542
  :type execution_context: int | str | None
584
543
  :type undo: bool | None
585
544
  :param only_active: Only Active, Copy only active Layer, uncheck to append all layers
@@ -589,15 +548,14 @@ def layer_duplicate_object(
589
548
  """
590
549
 
591
550
  def layer_group_add(
592
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
593
551
  execution_context: int | str | None = None,
594
552
  undo: bool | None = None,
553
+ /,
595
554
  *,
596
555
  new_layer_group_name: str = "",
597
556
  ):
598
557
  """Add a new Grease Pencil layer group in the active object
599
558
 
600
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
601
559
  :type execution_context: int | str | None
602
560
  :type undo: bool | None
603
561
  :param new_layer_group_name: Name, Name of the new layer group
@@ -605,9 +563,9 @@ def layer_group_add(
605
563
  """
606
564
 
607
565
  def layer_group_color_tag(
608
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
609
566
  execution_context: int | str | None = None,
610
567
  undo: bool | None = None,
568
+ /,
611
569
  *,
612
570
  color_tag: typing.Literal[
613
571
  "NONE",
@@ -624,7 +582,6 @@ def layer_group_color_tag(
624
582
  ):
625
583
  """Change layer group icon
626
584
 
627
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
628
585
  :type execution_context: int | str | None
629
586
  :type undo: bool | None
630
587
  :param color_tag: Color Tag
@@ -632,15 +589,14 @@ def layer_group_color_tag(
632
589
  """
633
590
 
634
591
  def layer_group_remove(
635
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
636
592
  execution_context: int | str | None = None,
637
593
  undo: bool | None = None,
594
+ /,
638
595
  *,
639
596
  keep_children: bool | None = False,
640
597
  ):
641
598
  """Remove Grease Pencil layer group in the active object
642
599
 
643
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
644
600
  :type execution_context: int | str | None
645
601
  :type undo: bool | None
646
602
  :param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
@@ -648,15 +604,14 @@ def layer_group_remove(
648
604
  """
649
605
 
650
606
  def layer_hide(
651
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
652
607
  execution_context: int | str | None = None,
653
608
  undo: bool | None = None,
609
+ /,
654
610
  *,
655
611
  unselected: bool | None = False,
656
612
  ):
657
613
  """Hide selected/unselected Grease Pencil layers
658
614
 
659
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
660
615
  :type execution_context: int | str | None
661
616
  :type undo: bool | None
662
617
  :param unselected: Unselected, Hide unselected rather than selected layers
@@ -664,15 +619,14 @@ def layer_hide(
664
619
  """
665
620
 
666
621
  def layer_isolate(
667
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
668
622
  execution_context: int | str | None = None,
669
623
  undo: bool | None = None,
624
+ /,
670
625
  *,
671
626
  affect_visibility: bool | None = False,
672
627
  ):
673
628
  """Make only active layer visible/editable
674
629
 
675
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
676
630
  :type execution_context: int | str | None
677
631
  :type undo: bool | None
678
632
  :param affect_visibility: Affect Visibility, Also affect the visibility
@@ -680,15 +634,14 @@ def layer_isolate(
680
634
  """
681
635
 
682
636
  def layer_lock_all(
683
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
684
637
  execution_context: int | str | None = None,
685
638
  undo: bool | None = None,
639
+ /,
686
640
  *,
687
641
  lock: bool | None = True,
688
642
  ):
689
643
  """Lock all Grease Pencil layers to prevent them from being accidentally modified
690
644
 
691
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
692
645
  :type execution_context: int | str | None
693
646
  :type undo: bool | None
694
647
  :param lock: Lock Value, Lock/Unlock all layers
@@ -696,15 +649,14 @@ def layer_lock_all(
696
649
  """
697
650
 
698
651
  def layer_mask_add(
699
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
700
652
  execution_context: int | str | None = None,
701
653
  undo: bool | None = None,
654
+ /,
702
655
  *,
703
656
  name: str = "",
704
657
  ):
705
658
  """Add new layer as masking
706
659
 
707
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
708
660
  :type execution_context: int | str | None
709
661
  :type undo: bool | None
710
662
  :param name: Layer, Name of the layer
@@ -712,27 +664,23 @@ def layer_mask_add(
712
664
  """
713
665
 
714
666
  def layer_mask_remove(
715
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
716
- execution_context: int | str | None = None,
717
- undo: bool | None = None,
667
+ execution_context: int | str | None = None, undo: bool | None = None
718
668
  ):
719
669
  """Remove Layer Mask
720
670
 
721
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
722
671
  :type execution_context: int | str | None
723
672
  :type undo: bool | None
724
673
  """
725
674
 
726
675
  def layer_mask_reorder(
727
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
728
676
  execution_context: int | str | None = None,
729
677
  undo: bool | None = None,
678
+ /,
730
679
  *,
731
680
  direction: typing.Literal["UP", "DOWN"] | None = "UP",
732
681
  ):
733
682
  """Reorder the active Grease Pencil mask layer up/down in the list
734
683
 
735
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
736
684
  :type execution_context: int | str | None
737
685
  :type undo: bool | None
738
686
  :param direction: Direction
@@ -740,15 +688,14 @@ def layer_mask_reorder(
740
688
  """
741
689
 
742
690
  def layer_merge(
743
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
744
691
  execution_context: int | str | None = None,
745
692
  undo: bool | None = None,
693
+ /,
746
694
  *,
747
695
  mode: typing.Literal["ACTIVE", "GROUP", "ALL"] | None = "ACTIVE",
748
696
  ):
749
697
  """Combine layers based on the mode into one layer
750
698
 
751
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
752
699
  :type execution_context: int | str | None
753
700
  :type undo: bool | None
754
701
  :param mode: Mode
@@ -765,44 +712,37 @@ def layer_merge(
765
712
  """
766
713
 
767
714
  def layer_move(
768
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
769
715
  execution_context: int | str | None = None,
770
716
  undo: bool | None = None,
717
+ /,
771
718
  *,
772
719
  direction: typing.Literal["UP", "DOWN"] | None = "UP",
773
720
  ):
774
721
  """Move the active Grease Pencil layer or Group
775
722
 
776
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
777
723
  :type execution_context: int | str | None
778
724
  :type undo: bool | None
779
725
  :param direction: Direction
780
726
  :type direction: typing.Literal['UP','DOWN'] | None
781
727
  """
782
728
 
783
- def layer_remove(
784
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
785
- execution_context: int | str | None = None,
786
- undo: bool | None = None,
787
- ):
729
+ def layer_remove(execution_context: int | str | None = None, undo: bool | None = None):
788
730
  """Remove the active Grease Pencil layer
789
731
 
790
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
791
732
  :type execution_context: int | str | None
792
733
  :type undo: bool | None
793
734
  """
794
735
 
795
736
  def layer_reorder(
796
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
797
737
  execution_context: int | str | None = None,
798
738
  undo: bool | None = None,
739
+ /,
799
740
  *,
800
741
  target_layer_name: str = "Layer",
801
742
  location: typing.Literal["ABOVE", "BELOW"] | None = "ABOVE",
802
743
  ):
803
744
  """Reorder the active Grease Pencil layer
804
745
 
805
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
806
746
  :type execution_context: int | str | None
807
747
  :type undo: bool | None
808
748
  :param target_layer_name: Target Name, Name of the target layer
@@ -811,28 +751,22 @@ def layer_reorder(
811
751
  :type location: typing.Literal['ABOVE','BELOW'] | None
812
752
  """
813
753
 
814
- def layer_reveal(
815
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
816
- execution_context: int | str | None = None,
817
- undo: bool | None = None,
818
- ):
754
+ def layer_reveal(execution_context: int | str | None = None, undo: bool | None = None):
819
755
  """Show all Grease Pencil layers
820
756
 
821
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
822
757
  :type execution_context: int | str | None
823
758
  :type undo: bool | None
824
759
  """
825
760
 
826
761
  def material_copy_to_object(
827
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
828
762
  execution_context: int | str | None = None,
829
763
  undo: bool | None = None,
764
+ /,
830
765
  *,
831
766
  only_active: bool | None = True,
832
767
  ):
833
768
  """Append Materials of the active Grease Pencil to other object
834
769
 
835
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
836
770
  :type execution_context: int | str | None
837
771
  :type undo: bool | None
838
772
  :param only_active: Only Active, Append only active material, uncheck to append all materials
@@ -840,15 +774,14 @@ def material_copy_to_object(
840
774
  """
841
775
 
842
776
  def material_hide(
843
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
844
777
  execution_context: int | str | None = None,
845
778
  undo: bool | None = None,
779
+ /,
846
780
  *,
847
781
  invert: bool | None = False,
848
782
  ):
849
783
  """Hide active/inactive Grease Pencil material(s)
850
784
 
851
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
852
785
  :type execution_context: int | str | None
853
786
  :type undo: bool | None
854
787
  :param invert: Invert, Hide inactive materials instead of the active one
@@ -856,15 +789,14 @@ def material_hide(
856
789
  """
857
790
 
858
791
  def material_isolate(
859
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
860
792
  execution_context: int | str | None = None,
861
793
  undo: bool | None = None,
794
+ /,
862
795
  *,
863
796
  affect_visibility: bool | None = False,
864
797
  ):
865
798
  """Toggle whether the active material is the only one that is editable and/or visible
866
799
 
867
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
868
800
  :type execution_context: int | str | None
869
801
  :type undo: bool | None
870
802
  :param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
@@ -872,63 +804,50 @@ def material_isolate(
872
804
  """
873
805
 
874
806
  def material_lock_all(
875
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
876
- execution_context: int | str | None = None,
877
- undo: bool | None = None,
807
+ execution_context: int | str | None = None, undo: bool | None = None
878
808
  ):
879
809
  """Lock all Grease Pencil materials to prevent them from being accidentally modified
880
810
 
881
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
882
811
  :type execution_context: int | str | None
883
812
  :type undo: bool | None
884
813
  """
885
814
 
886
815
  def material_lock_unselected(
887
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
888
- execution_context: int | str | None = None,
889
- undo: bool | None = None,
816
+ execution_context: int | str | None = None, undo: bool | None = None
890
817
  ):
891
818
  """Lock any material not used in any selected stroke
892
819
 
893
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
894
820
  :type execution_context: int | str | None
895
821
  :type undo: bool | None
896
822
  """
897
823
 
898
824
  def material_lock_unused(
899
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
900
- execution_context: int | str | None = None,
901
- undo: bool | None = None,
825
+ execution_context: int | str | None = None, undo: bool | None = None
902
826
  ):
903
827
  """Lock and hide any material not used
904
828
 
905
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
906
829
  :type execution_context: int | str | None
907
830
  :type undo: bool | None
908
831
  """
909
832
 
910
833
  def material_reveal(
911
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
912
- execution_context: int | str | None = None,
913
- undo: bool | None = None,
834
+ execution_context: int | str | None = None, undo: bool | None = None
914
835
  ):
915
836
  """Unhide all hidden Grease Pencil materials
916
837
 
917
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
918
838
  :type execution_context: int | str | None
919
839
  :type undo: bool | None
920
840
  """
921
841
 
922
842
  def material_select(
923
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
924
843
  execution_context: int | str | None = None,
925
844
  undo: bool | None = None,
845
+ /,
926
846
  *,
927
847
  deselect: bool | None = False,
928
848
  ):
929
849
  """Select/Deselect all Grease Pencil strokes using current material
930
850
 
931
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
932
851
  :type execution_context: int | str | None
933
852
  :type undo: bool | None
934
853
  :param deselect: Deselect, Unselect strokes
@@ -936,28 +855,24 @@ def material_select(
936
855
  """
937
856
 
938
857
  def material_unlock_all(
939
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
940
- execution_context: int | str | None = None,
941
- undo: bool | None = None,
858
+ execution_context: int | str | None = None, undo: bool | None = None
942
859
  ):
943
860
  """Unlock all Grease Pencil materials so that they can be edited
944
861
 
945
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
946
862
  :type execution_context: int | str | None
947
863
  :type undo: bool | None
948
864
  """
949
865
 
950
866
  def move_to_layer(
951
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
952
867
  execution_context: int | str | None = None,
953
868
  undo: bool | None = None,
869
+ /,
954
870
  *,
955
871
  target_layer_name: str = "",
956
872
  add_new_layer: bool | None = False,
957
873
  ):
958
874
  """Move selected strokes to another layer
959
875
 
960
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
961
876
  :type execution_context: int | str | None
962
877
  :type undo: bool | None
963
878
  :param target_layer_name: Name, Target Grease Pencil Layer
@@ -967,15 +882,14 @@ def move_to_layer(
967
882
  """
968
883
 
969
884
  def paintmode_toggle(
970
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
971
885
  execution_context: int | str | None = None,
972
886
  undo: bool | None = None,
887
+ /,
973
888
  *,
974
889
  back: bool | None = False,
975
890
  ):
976
891
  """Enter/Exit paint mode for Grease Pencil strokes
977
892
 
978
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
979
893
  :type execution_context: int | str | None
980
894
  :type undo: bool | None
981
895
  :param back: Return to Previous Mode, Return to previous mode
@@ -983,16 +897,15 @@ def paintmode_toggle(
983
897
  """
984
898
 
985
899
  def paste(
986
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
987
900
  execution_context: int | str | None = None,
988
901
  undo: bool | None = None,
902
+ /,
989
903
  *,
990
904
  paste_back: bool | None = False,
991
905
  keep_world_transform: bool | None = False,
992
906
  ):
993
907
  """Paste Grease Pencil points or strokes from the internal clipboard to the active layer
994
908
 
995
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
996
909
  :type execution_context: int | str | None
997
910
  :type undo: bool | None
998
911
  :param paste_back: Paste on Back, Add pasted strokes behind all strokes
@@ -1002,9 +915,9 @@ def paste(
1002
915
  """
1003
916
 
1004
917
  def primitive_arc(
1005
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1006
918
  execution_context: int | str | None = None,
1007
919
  undo: bool | None = None,
920
+ /,
1008
921
  *,
1009
922
  subdivision: int | None = 62,
1010
923
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
@@ -1012,7 +925,6 @@ def primitive_arc(
1012
925
  ):
1013
926
  """Create predefined Grease Pencil stroke arcs
1014
927
 
1015
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1016
928
  :type execution_context: int | str | None
1017
929
  :type undo: bool | None
1018
930
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1022,9 +934,9 @@ def primitive_arc(
1022
934
  """
1023
935
 
1024
936
  def primitive_box(
1025
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1026
937
  execution_context: int | str | None = None,
1027
938
  undo: bool | None = None,
939
+ /,
1028
940
  *,
1029
941
  subdivision: int | None = 3,
1030
942
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
@@ -1032,7 +944,6 @@ def primitive_box(
1032
944
  ):
1033
945
  """Create predefined Grease Pencil stroke boxes
1034
946
 
1035
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1036
947
  :type execution_context: int | str | None
1037
948
  :type undo: bool | None
1038
949
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1042,9 +953,9 @@ def primitive_box(
1042
953
  """
1043
954
 
1044
955
  def primitive_circle(
1045
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1046
956
  execution_context: int | str | None = None,
1047
957
  undo: bool | None = None,
958
+ /,
1048
959
  *,
1049
960
  subdivision: int | None = 94,
1050
961
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
@@ -1052,7 +963,6 @@ def primitive_circle(
1052
963
  ):
1053
964
  """Create predefined Grease Pencil stroke circles
1054
965
 
1055
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1056
966
  :type execution_context: int | str | None
1057
967
  :type undo: bool | None
1058
968
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1062,9 +972,9 @@ def primitive_circle(
1062
972
  """
1063
973
 
1064
974
  def primitive_curve(
1065
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1066
975
  execution_context: int | str | None = None,
1067
976
  undo: bool | None = None,
977
+ /,
1068
978
  *,
1069
979
  subdivision: int | None = 62,
1070
980
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
@@ -1072,7 +982,6 @@ def primitive_curve(
1072
982
  ):
1073
983
  """Create predefined Grease Pencil stroke curve shapes
1074
984
 
1075
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1076
985
  :type execution_context: int | str | None
1077
986
  :type undo: bool | None
1078
987
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1082,9 +991,9 @@ def primitive_curve(
1082
991
  """
1083
992
 
1084
993
  def primitive_line(
1085
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1086
994
  execution_context: int | str | None = None,
1087
995
  undo: bool | None = None,
996
+ /,
1088
997
  *,
1089
998
  subdivision: int | None = 6,
1090
999
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
@@ -1092,7 +1001,6 @@ def primitive_line(
1092
1001
  ):
1093
1002
  """Create predefined Grease Pencil stroke lines
1094
1003
 
1095
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1096
1004
  :type execution_context: int | str | None
1097
1005
  :type undo: bool | None
1098
1006
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1102,9 +1010,9 @@ def primitive_line(
1102
1010
  """
1103
1011
 
1104
1012
  def primitive_polyline(
1105
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1106
1013
  execution_context: int | str | None = None,
1107
1014
  undo: bool | None = None,
1015
+ /,
1108
1016
  *,
1109
1017
  subdivision: int | None = 6,
1110
1018
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
@@ -1112,7 +1020,6 @@ def primitive_polyline(
1112
1020
  ):
1113
1021
  """Create predefined Grease Pencil stroke polylines
1114
1022
 
1115
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1116
1023
  :type execution_context: int | str | None
1117
1024
  :type undo: bool | None
1118
1025
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1122,15 +1029,14 @@ def primitive_polyline(
1122
1029
  """
1123
1030
 
1124
1031
  def reorder(
1125
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1126
1032
  execution_context: int | str | None = None,
1127
1033
  undo: bool | None = None,
1034
+ /,
1128
1035
  *,
1129
1036
  direction: typing.Literal["TOP", "UP", "DOWN", "BOTTOM"] | None = "TOP",
1130
1037
  ):
1131
1038
  """Change the display order of the selected strokes
1132
1039
 
1133
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1134
1040
  :type execution_context: int | str | None
1135
1041
  :type undo: bool | None
1136
1042
  :param direction: Direction
@@ -1138,9 +1044,9 @@ def reorder(
1138
1044
  """
1139
1045
 
1140
1046
  def reproject(
1141
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1142
1047
  execution_context: int | str | None = None,
1143
1048
  undo: bool | None = None,
1049
+ /,
1144
1050
  *,
1145
1051
  type: typing.Literal["FRONT", "SIDE", "TOP", "VIEW", "SURFACE", "CURSOR"]
1146
1052
  | None = "VIEW",
@@ -1149,7 +1055,6 @@ def reproject(
1149
1055
  ):
1150
1056
  """Reproject the selected strokes from the current viewpoint as if they had been newly drawn (e.g. to fix problems from accidental 3D cursor movement or accidental viewport changes, or for matching deforming geometry)
1151
1057
 
1152
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1153
1058
  :type execution_context: int | str | None
1154
1059
  :type undo: bool | None
1155
1060
  :param type: Projection Type
@@ -1178,22 +1083,17 @@ def reproject(
1178
1083
  :type offset: float | None
1179
1084
  """
1180
1085
 
1181
- def reset_uvs(
1182
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1183
- execution_context: int | str | None = None,
1184
- undo: bool | None = None,
1185
- ):
1086
+ def reset_uvs(execution_context: int | str | None = None, undo: bool | None = None):
1186
1087
  """Reset UV transformation to default values
1187
1088
 
1188
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1189
1089
  :type execution_context: int | str | None
1190
1090
  :type undo: bool | None
1191
1091
  """
1192
1092
 
1193
1093
  def sculpt_paint(
1194
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1195
1094
  execution_context: int | str | None = None,
1196
1095
  undo: bool | None = None,
1096
+ /,
1197
1097
  *,
1198
1098
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1199
1099
  | None = None,
@@ -1202,7 +1102,6 @@ def sculpt_paint(
1202
1102
  ):
1203
1103
  """Sculpt strokes in the active Grease Pencil object
1204
1104
 
1205
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1206
1105
  :type execution_context: int | str | None
1207
1106
  :type undo: bool | None
1208
1107
  :param stroke: Stroke
@@ -1226,15 +1125,14 @@ def sculpt_paint(
1226
1125
  """
1227
1126
 
1228
1127
  def sculptmode_toggle(
1229
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1230
1128
  execution_context: int | str | None = None,
1231
1129
  undo: bool | None = None,
1130
+ /,
1232
1131
  *,
1233
1132
  back: bool | None = False,
1234
1133
  ):
1235
1134
  """Enter/Exit sculpt mode for Grease Pencil strokes
1236
1135
 
1237
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1238
1136
  :type execution_context: int | str | None
1239
1137
  :type undo: bool | None
1240
1138
  :param back: Return to Previous Mode, Return to previous mode
@@ -1242,15 +1140,14 @@ def sculptmode_toggle(
1242
1140
  """
1243
1141
 
1244
1142
  def select_all(
1245
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1246
1143
  execution_context: int | str | None = None,
1247
1144
  undo: bool | None = None,
1145
+ /,
1248
1146
  *,
1249
1147
  action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
1250
1148
  ):
1251
1149
  """(De)select all visible strokes
1252
1150
 
1253
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1254
1151
  :type execution_context: int | str | None
1255
1152
  :type undo: bool | None
1256
1153
  :param action: Action, Selection action to execute
@@ -1270,15 +1167,14 @@ def select_all(
1270
1167
  """
1271
1168
 
1272
1169
  def select_alternate(
1273
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1274
1170
  execution_context: int | str | None = None,
1275
1171
  undo: bool | None = None,
1172
+ /,
1276
1173
  *,
1277
1174
  deselect_ends: bool | None = False,
1278
1175
  ):
1279
1176
  """Select alternated points in strokes with already selected points
1280
1177
 
1281
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1282
1178
  :type execution_context: int | str | None
1283
1179
  :type undo: bool | None
1284
1180
  :param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
@@ -1286,16 +1182,15 @@ def select_alternate(
1286
1182
  """
1287
1183
 
1288
1184
  def select_ends(
1289
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1290
1185
  execution_context: int | str | None = None,
1291
1186
  undo: bool | None = None,
1187
+ /,
1292
1188
  *,
1293
1189
  amount_start: int | None = 0,
1294
1190
  amount_end: int | None = 1,
1295
1191
  ):
1296
1192
  """Select end points of strokes
1297
1193
 
1298
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1299
1194
  :type execution_context: int | str | None
1300
1195
  :type undo: bool | None
1301
1196
  :param amount_start: Amount Start, Number of points to select from the start
@@ -1304,46 +1199,31 @@ def select_ends(
1304
1199
  :type amount_end: int | None
1305
1200
  """
1306
1201
 
1307
- def select_less(
1308
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1309
- execution_context: int | str | None = None,
1310
- undo: bool | None = None,
1311
- ):
1202
+ def select_less(execution_context: int | str | None = None, undo: bool | None = None):
1312
1203
  """Shrink the selection by one point
1313
1204
 
1314
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1315
1205
  :type execution_context: int | str | None
1316
1206
  :type undo: bool | None
1317
1207
  """
1318
1208
 
1319
- def select_linked(
1320
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1321
- execution_context: int | str | None = None,
1322
- undo: bool | None = None,
1323
- ):
1209
+ def select_linked(execution_context: int | str | None = None, undo: bool | None = None):
1324
1210
  """Select all points in curves with any point selection
1325
1211
 
1326
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1327
1212
  :type execution_context: int | str | None
1328
1213
  :type undo: bool | None
1329
1214
  """
1330
1215
 
1331
- def select_more(
1332
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1333
- execution_context: int | str | None = None,
1334
- undo: bool | None = None,
1335
- ):
1216
+ def select_more(execution_context: int | str | None = None, undo: bool | None = None):
1336
1217
  """Grow the selection by one point
1337
1218
 
1338
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1339
1219
  :type execution_context: int | str | None
1340
1220
  :type undo: bool | None
1341
1221
  """
1342
1222
 
1343
1223
  def select_random(
1344
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1345
1224
  execution_context: int | str | None = None,
1346
1225
  undo: bool | None = None,
1226
+ /,
1347
1227
  *,
1348
1228
  ratio: float | None = 0.5,
1349
1229
  seed: int | None = 0,
@@ -1351,7 +1231,6 @@ def select_random(
1351
1231
  ):
1352
1232
  """Selects random points from the current strokes selection
1353
1233
 
1354
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1355
1234
  :type execution_context: int | str | None
1356
1235
  :type undo: bool | None
1357
1236
  :param ratio: Ratio, Portion of items to select randomly
@@ -1369,9 +1248,9 @@ def select_random(
1369
1248
  """
1370
1249
 
1371
1250
  def select_similar(
1372
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1373
1251
  execution_context: int | str | None = None,
1374
1252
  undo: bool | None = None,
1253
+ /,
1375
1254
  *,
1376
1255
  mode: typing.Literal["LAYER", "MATERIAL", "VERTEX_COLOR", "RADIUS", "OPACITY"]
1377
1256
  | None = "LAYER",
@@ -1379,7 +1258,6 @@ def select_similar(
1379
1258
  ):
1380
1259
  """Select all strokes with similar characteristics
1381
1260
 
1382
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1383
1261
  :type execution_context: int | str | None
1384
1262
  :type undo: bool | None
1385
1263
  :param mode: Mode
@@ -1389,15 +1267,14 @@ def select_similar(
1389
1267
  """
1390
1268
 
1391
1269
  def separate(
1392
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1393
1270
  execution_context: int | str | None = None,
1394
1271
  undo: bool | None = None,
1272
+ /,
1395
1273
  *,
1396
1274
  mode: typing.Literal["SELECTED", "MATERIAL", "LAYER"] | None = "SELECTED",
1397
1275
  ):
1398
1276
  """Separate the selected geometry into a new Grease Pencil object
1399
1277
 
1400
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1401
1278
  :type execution_context: int | str | None
1402
1279
  :type undo: bool | None
1403
1280
  :param mode: Mode
@@ -1414,27 +1291,23 @@ def separate(
1414
1291
  """
1415
1292
 
1416
1293
  def set_active_material(
1417
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1418
- execution_context: int | str | None = None,
1419
- undo: bool | None = None,
1294
+ execution_context: int | str | None = None, undo: bool | None = None
1420
1295
  ):
1421
1296
  """Set the selected stroke material as the active material
1422
1297
 
1423
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1424
1298
  :type execution_context: int | str | None
1425
1299
  :type undo: bool | None
1426
1300
  """
1427
1301
 
1428
1302
  def set_curve_resolution(
1429
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1430
1303
  execution_context: int | str | None = None,
1431
1304
  undo: bool | None = None,
1305
+ /,
1432
1306
  *,
1433
1307
  resolution: int | None = 12,
1434
1308
  ):
1435
1309
  """Set resolution of selected curves
1436
1310
 
1437
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1438
1311
  :type execution_context: int | str | None
1439
1312
  :type undo: bool | None
1440
1313
  :param resolution: Resolution, The resolution to use for each curve segment
@@ -1442,16 +1315,15 @@ def set_curve_resolution(
1442
1315
  """
1443
1316
 
1444
1317
  def set_curve_type(
1445
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1446
1318
  execution_context: int | str | None = None,
1447
1319
  undo: bool | None = None,
1320
+ /,
1448
1321
  *,
1449
1322
  type: bpy.typing.CurvesTypeItems | None = "POLY",
1450
1323
  use_handles: bool | None = False,
1451
1324
  ):
1452
1325
  """Set type of selected curves
1453
1326
 
1454
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1455
1327
  :type execution_context: int | str | None
1456
1328
  :type undo: bool | None
1457
1329
  :param type: Type, Curve type
@@ -1461,15 +1333,14 @@ def set_curve_type(
1461
1333
  """
1462
1334
 
1463
1335
  def set_handle_type(
1464
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1465
1336
  execution_context: int | str | None = None,
1466
1337
  undo: bool | None = None,
1338
+ /,
1467
1339
  *,
1468
1340
  type: bpy.typing.CurvesHandleTypeItems | None = "AUTO",
1469
1341
  ):
1470
1342
  """Set the handle type for bezier curves
1471
1343
 
1472
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1473
1344
  :type execution_context: int | str | None
1474
1345
  :type undo: bool | None
1475
1346
  :param type: Type
@@ -1477,15 +1348,14 @@ def set_handle_type(
1477
1348
  """
1478
1349
 
1479
1350
  def set_material(
1480
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1481
1351
  execution_context: int | str | None = None,
1482
1352
  undo: bool | None = None,
1353
+ /,
1483
1354
  *,
1484
1355
  slot: str | None = "DEFAULT",
1485
1356
  ):
1486
1357
  """Set active material
1487
1358
 
1488
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1489
1359
  :type execution_context: int | str | None
1490
1360
  :type undo: bool | None
1491
1361
  :param slot: Material Slot
@@ -1493,15 +1363,14 @@ def set_material(
1493
1363
  """
1494
1364
 
1495
1365
  def set_selection_mode(
1496
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1497
1366
  execution_context: int | str | None = None,
1498
1367
  undo: bool | None = None,
1368
+ /,
1499
1369
  *,
1500
1370
  mode: bpy.typing.GreasePencilSelectmodeItems | None = "POINT",
1501
1371
  ):
1502
1372
  """Change the selection mode for Grease Pencil strokes
1503
1373
 
1504
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1505
1374
  :type execution_context: int | str | None
1506
1375
  :type undo: bool | None
1507
1376
  :param mode: Mode
@@ -1509,15 +1378,14 @@ def set_selection_mode(
1509
1378
  """
1510
1379
 
1511
1380
  def set_uniform_opacity(
1512
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1513
1381
  execution_context: int | str | None = None,
1514
1382
  undo: bool | None = None,
1383
+ /,
1515
1384
  *,
1516
1385
  opacity: float | None = 1.0,
1517
1386
  ):
1518
1387
  """Set all stroke points to same opacity
1519
1388
 
1520
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1521
1389
  :type execution_context: int | str | None
1522
1390
  :type undo: bool | None
1523
1391
  :param opacity: Opacity
@@ -1525,15 +1393,14 @@ def set_uniform_opacity(
1525
1393
  """
1526
1394
 
1527
1395
  def set_uniform_thickness(
1528
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1529
1396
  execution_context: int | str | None = None,
1530
1397
  undo: bool | None = None,
1398
+ /,
1531
1399
  *,
1532
1400
  thickness: float | None = 0.1,
1533
1401
  ):
1534
1402
  """Set all stroke points to same thickness
1535
1403
 
1536
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1537
1404
  :type execution_context: int | str | None
1538
1405
  :type undo: bool | None
1539
1406
  :param thickness: Thickness, Thickness
@@ -1541,55 +1408,45 @@ def set_uniform_thickness(
1541
1408
  """
1542
1409
 
1543
1410
  def snap_cursor_to_selected(
1544
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1545
- execution_context: int | str | None = None,
1546
- undo: bool | None = None,
1411
+ execution_context: int | str | None = None, undo: bool | None = None
1547
1412
  ):
1548
1413
  """Snap cursor to center of selected points
1549
1414
 
1550
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1551
1415
  :type execution_context: int | str | None
1552
1416
  :type undo: bool | None
1553
1417
  """
1554
1418
 
1555
1419
  def snap_to_cursor(
1556
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1557
1420
  execution_context: int | str | None = None,
1558
1421
  undo: bool | None = None,
1422
+ /,
1559
1423
  *,
1560
1424
  use_offset: bool | None = True,
1561
1425
  ):
1562
1426
  """Snap selected points/strokes to the cursor
1563
1427
 
1564
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1565
1428
  :type execution_context: int | str | None
1566
1429
  :type undo: bool | None
1567
1430
  :param use_offset: With Offset, Offset the entire stroke instead of selected points only
1568
1431
  :type use_offset: bool | None
1569
1432
  """
1570
1433
 
1571
- def snap_to_grid(
1572
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1573
- execution_context: int | str | None = None,
1574
- undo: bool | None = None,
1575
- ):
1434
+ def snap_to_grid(execution_context: int | str | None = None, undo: bool | None = None):
1576
1435
  """Snap selected points to the nearest grid points
1577
1436
 
1578
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1579
1437
  :type execution_context: int | str | None
1580
1438
  :type undo: bool | None
1581
1439
  """
1582
1440
 
1583
1441
  def stroke_material_set(
1584
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1585
1442
  execution_context: int | str | None = None,
1586
1443
  undo: bool | None = None,
1444
+ /,
1587
1445
  *,
1588
1446
  material: str = "",
1589
1447
  ):
1590
1448
  """Assign the active material slot to the selected strokes
1591
1449
 
1592
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1593
1450
  :type execution_context: int | str | None
1594
1451
  :type undo: bool | None
1595
1452
  :param material: Material, Name of the material
@@ -1597,16 +1454,15 @@ def stroke_material_set(
1597
1454
  """
1598
1455
 
1599
1456
  def stroke_merge_by_distance(
1600
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1601
1457
  execution_context: int | str | None = None,
1602
1458
  undo: bool | None = None,
1459
+ /,
1603
1460
  *,
1604
1461
  threshold: float | None = 0.001,
1605
1462
  use_unselected: bool | None = False,
1606
1463
  ):
1607
1464
  """Merge points by distance
1608
1465
 
1609
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1610
1466
  :type execution_context: int | str | None
1611
1467
  :type undo: bool | None
1612
1468
  :param threshold: Threshold
@@ -1616,15 +1472,14 @@ def stroke_merge_by_distance(
1616
1472
  """
1617
1473
 
1618
1474
  def stroke_reset_vertex_color(
1619
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1620
1475
  execution_context: int | str | None = None,
1621
1476
  undo: bool | None = None,
1477
+ /,
1622
1478
  *,
1623
1479
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1624
1480
  ):
1625
1481
  """Reset vertex color for all or selected strokes
1626
1482
 
1627
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1628
1483
  :type execution_context: int | str | None
1629
1484
  :type undo: bool | None
1630
1485
  :param mode: Mode
@@ -1632,9 +1487,9 @@ def stroke_reset_vertex_color(
1632
1487
  """
1633
1488
 
1634
1489
  def stroke_simplify(
1635
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1636
1490
  execution_context: int | str | None = None,
1637
1491
  undo: bool | None = None,
1492
+ /,
1638
1493
  *,
1639
1494
  factor: float | None = 0.01,
1640
1495
  length: float | None = 0.05,
@@ -1644,7 +1499,6 @@ def stroke_simplify(
1644
1499
  ):
1645
1500
  """Simplify selected strokes
1646
1501
 
1647
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1648
1502
  :type execution_context: int | str | None
1649
1503
  :type undo: bool | None
1650
1504
  :param factor: Factor
@@ -1672,9 +1526,9 @@ def stroke_simplify(
1672
1526
  """
1673
1527
 
1674
1528
  def stroke_smooth(
1675
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1676
1529
  execution_context: int | str | None = None,
1677
1530
  undo: bool | None = None,
1531
+ /,
1678
1532
  *,
1679
1533
  iterations: int | None = 10,
1680
1534
  factor: float | None = 1.0,
@@ -1686,7 +1540,6 @@ def stroke_smooth(
1686
1540
  ):
1687
1541
  """Smooth selected strokes
1688
1542
 
1689
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1690
1543
  :type execution_context: int | str | None
1691
1544
  :type undo: bool | None
1692
1545
  :param iterations: Iterations
@@ -1706,16 +1559,15 @@ def stroke_smooth(
1706
1559
  """
1707
1560
 
1708
1561
  def stroke_subdivide(
1709
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1710
1562
  execution_context: int | str | None = None,
1711
1563
  undo: bool | None = None,
1564
+ /,
1712
1565
  *,
1713
1566
  number_cuts: int | None = 1,
1714
1567
  only_selected: bool | None = True,
1715
1568
  ):
1716
1569
  """Subdivide between continuous selected points of the stroke adding a point half way between them
1717
1570
 
1718
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1719
1571
  :type execution_context: int | str | None
1720
1572
  :type undo: bool | None
1721
1573
  :param number_cuts: Number of Cuts
@@ -1725,16 +1577,15 @@ def stroke_subdivide(
1725
1577
  """
1726
1578
 
1727
1579
  def stroke_subdivide_smooth(
1728
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1729
1580
  execution_context: int | str | None = None,
1730
1581
  undo: bool | None = None,
1582
+ /,
1731
1583
  *,
1732
1584
  GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None = None,
1733
1585
  GREASE_PENCIL_OT_stroke_smooth: typing.Any | None = None,
1734
1586
  ):
1735
1587
  """Subdivide strokes and smooth them
1736
1588
 
1737
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1738
1589
  :type execution_context: int | str | None
1739
1590
  :type undo: bool | None
1740
1591
  :param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
@@ -1744,21 +1595,18 @@ def stroke_subdivide_smooth(
1744
1595
  """
1745
1596
 
1746
1597
  def stroke_switch_direction(
1747
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1748
- execution_context: int | str | None = None,
1749
- undo: bool | None = None,
1598
+ execution_context: int | str | None = None, undo: bool | None = None
1750
1599
  ):
1751
1600
  """Change direction of the points of the selected strokes
1752
1601
 
1753
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1754
1602
  :type execution_context: int | str | None
1755
1603
  :type undo: bool | None
1756
1604
  """
1757
1605
 
1758
1606
  def stroke_trim(
1759
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1760
1607
  execution_context: int | str | None = None,
1761
1608
  undo: bool | None = None,
1609
+ /,
1762
1610
  *,
1763
1611
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
1764
1612
  use_smooth_stroke: bool | None = False,
@@ -1767,7 +1615,6 @@ def stroke_trim(
1767
1615
  ):
1768
1616
  """Delete stroke points in between intersecting strokes
1769
1617
 
1770
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1771
1618
  :type execution_context: int | str | None
1772
1619
  :type undo: bool | None
1773
1620
  :param path: Path
@@ -1781,9 +1628,9 @@ def stroke_trim(
1781
1628
  """
1782
1629
 
1783
1630
  def texture_gradient(
1784
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1785
1631
  execution_context: int | str | None = None,
1786
1632
  undo: bool | None = None,
1633
+ /,
1787
1634
  *,
1788
1635
  xstart: int | None = 0,
1789
1636
  xend: int | None = 0,
@@ -1794,7 +1641,6 @@ def texture_gradient(
1794
1641
  ):
1795
1642
  """Draw a line to set the fill material gradient for the selected strokes
1796
1643
 
1797
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1798
1644
  :type execution_context: int | str | None
1799
1645
  :type undo: bool | None
1800
1646
  :param xstart: X Start
@@ -1812,9 +1658,9 @@ def texture_gradient(
1812
1658
  """
1813
1659
 
1814
1660
  def trace_image(
1815
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1816
1661
  execution_context: int | str | None = None,
1817
1662
  undo: bool | None = None,
1663
+ /,
1818
1664
  *,
1819
1665
  target: typing.Literal["NEW", "SELECTED"] | None = "NEW",
1820
1666
  radius: float | None = 0.01,
@@ -1829,7 +1675,6 @@ def trace_image(
1829
1675
  ):
1830
1676
  """Extract Grease Pencil strokes from image
1831
1677
 
1832
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1833
1678
  :type execution_context: int | str | None
1834
1679
  :type undo: bool | None
1835
1680
  :param target: Target Object, Target Grease Pencil
@@ -1876,9 +1721,9 @@ def trace_image(
1876
1721
  """
1877
1722
 
1878
1723
  def vertex_brush_stroke(
1879
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1880
1724
  execution_context: int | str | None = None,
1881
1725
  undo: bool | None = None,
1726
+ /,
1882
1727
  *,
1883
1728
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1884
1729
  | None = None,
@@ -1887,7 +1732,6 @@ def vertex_brush_stroke(
1887
1732
  ):
1888
1733
  """Draw on vertex colors in the active Grease Pencil object
1889
1734
 
1890
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1891
1735
  :type execution_context: int | str | None
1892
1736
  :type undo: bool | None
1893
1737
  :param stroke: Stroke
@@ -1911,9 +1755,9 @@ def vertex_brush_stroke(
1911
1755
  """
1912
1756
 
1913
1757
  def vertex_color_brightness_contrast(
1914
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1915
1758
  execution_context: int | str | None = None,
1916
1759
  undo: bool | None = None,
1760
+ /,
1917
1761
  *,
1918
1762
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1919
1763
  brightness: float | None = 0.0,
@@ -1921,7 +1765,6 @@ def vertex_color_brightness_contrast(
1921
1765
  ):
1922
1766
  """Adjust vertex color brightness/contrast
1923
1767
 
1924
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1925
1768
  :type execution_context: int | str | None
1926
1769
  :type undo: bool | None
1927
1770
  :param mode: Mode
@@ -1933,9 +1776,9 @@ def vertex_color_brightness_contrast(
1933
1776
  """
1934
1777
 
1935
1778
  def vertex_color_hsv(
1936
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1937
1779
  execution_context: int | str | None = None,
1938
1780
  undo: bool | None = None,
1781
+ /,
1939
1782
  *,
1940
1783
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1941
1784
  h: float | None = 0.5,
@@ -1944,7 +1787,6 @@ def vertex_color_hsv(
1944
1787
  ):
1945
1788
  """Adjust vertex color HSV values
1946
1789
 
1947
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1948
1790
  :type execution_context: int | str | None
1949
1791
  :type undo: bool | None
1950
1792
  :param mode: Mode
@@ -1958,15 +1800,14 @@ def vertex_color_hsv(
1958
1800
  """
1959
1801
 
1960
1802
  def vertex_color_invert(
1961
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1962
1803
  execution_context: int | str | None = None,
1963
1804
  undo: bool | None = None,
1805
+ /,
1964
1806
  *,
1965
1807
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1966
1808
  ):
1967
1809
  """Invert RGB values
1968
1810
 
1969
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1970
1811
  :type execution_context: int | str | None
1971
1812
  :type undo: bool | None
1972
1813
  :param mode: Mode
@@ -1974,9 +1815,9 @@ def vertex_color_invert(
1974
1815
  """
1975
1816
 
1976
1817
  def vertex_color_levels(
1977
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1978
1818
  execution_context: int | str | None = None,
1979
1819
  undo: bool | None = None,
1820
+ /,
1980
1821
  *,
1981
1822
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1982
1823
  offset: float | None = 0.0,
@@ -1984,7 +1825,6 @@ def vertex_color_levels(
1984
1825
  ):
1985
1826
  """Adjust levels of vertex colors
1986
1827
 
1987
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1988
1828
  :type execution_context: int | str | None
1989
1829
  :type undo: bool | None
1990
1830
  :param mode: Mode
@@ -1996,16 +1836,15 @@ def vertex_color_levels(
1996
1836
  """
1997
1837
 
1998
1838
  def vertex_color_set(
1999
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2000
1839
  execution_context: int | str | None = None,
2001
1840
  undo: bool | None = None,
1841
+ /,
2002
1842
  *,
2003
1843
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
2004
1844
  factor: float | None = 1.0,
2005
1845
  ):
2006
1846
  """Set active color to all selected vertex
2007
1847
 
2008
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2009
1848
  :type execution_context: int | str | None
2010
1849
  :type undo: bool | None
2011
1850
  :param mode: Mode
@@ -2015,27 +1854,23 @@ def vertex_color_set(
2015
1854
  """
2016
1855
 
2017
1856
  def vertex_group_normalize(
2018
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2019
- execution_context: int | str | None = None,
2020
- undo: bool | None = None,
1857
+ execution_context: int | str | None = None, undo: bool | None = None
2021
1858
  ):
2022
1859
  """Normalize weights of the active vertex group
2023
1860
 
2024
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2025
1861
  :type execution_context: int | str | None
2026
1862
  :type undo: bool | None
2027
1863
  """
2028
1864
 
2029
1865
  def vertex_group_normalize_all(
2030
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2031
1866
  execution_context: int | str | None = None,
2032
1867
  undo: bool | None = None,
1868
+ /,
2033
1869
  *,
2034
1870
  lock_active: bool | None = True,
2035
1871
  ):
2036
1872
  """Normalize the weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
2037
1873
 
2038
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2039
1874
  :type execution_context: int | str | None
2040
1875
  :type undo: bool | None
2041
1876
  :param lock_active: Lock Active, Keep the values of the active group while normalizing others
@@ -2043,16 +1878,15 @@ def vertex_group_normalize_all(
2043
1878
  """
2044
1879
 
2045
1880
  def vertex_group_smooth(
2046
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2047
1881
  execution_context: int | str | None = None,
2048
1882
  undo: bool | None = None,
1883
+ /,
2049
1884
  *,
2050
1885
  factor: float | None = 0.5,
2051
1886
  repeat: int | None = 1,
2052
1887
  ):
2053
1888
  """Smooth the weights of the active vertex group
2054
1889
 
2055
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2056
1890
  :type execution_context: int | str | None
2057
1891
  :type undo: bool | None
2058
1892
  :param factor: Factor
@@ -2062,15 +1896,14 @@ def vertex_group_smooth(
2062
1896
  """
2063
1897
 
2064
1898
  def vertexmode_toggle(
2065
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2066
1899
  execution_context: int | str | None = None,
2067
1900
  undo: bool | None = None,
1901
+ /,
2068
1902
  *,
2069
1903
  back: bool | None = False,
2070
1904
  ):
2071
1905
  """Enter/Exit vertex paint mode for Grease Pencil strokes
2072
1906
 
2073
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2074
1907
  :type execution_context: int | str | None
2075
1908
  :type undo: bool | None
2076
1909
  :param back: Return to Previous Mode, Return to previous mode
@@ -2078,9 +1911,9 @@ def vertexmode_toggle(
2078
1911
  """
2079
1912
 
2080
1913
  def weight_brush_stroke(
2081
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2082
1914
  execution_context: int | str | None = None,
2083
1915
  undo: bool | None = None,
1916
+ /,
2084
1917
  *,
2085
1918
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
2086
1919
  | None = None,
@@ -2089,7 +1922,6 @@ def weight_brush_stroke(
2089
1922
  ):
2090
1923
  """Draw weight on stroke points in the active Grease Pencil object
2091
1924
 
2092
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2093
1925
  :type execution_context: int | str | None
2094
1926
  :type undo: bool | None
2095
1927
  :param stroke: Stroke
@@ -2112,52 +1944,38 @@ def weight_brush_stroke(
2112
1944
  :type pen_flip: bool | None
2113
1945
  """
2114
1946
 
2115
- def weight_invert(
2116
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2117
- execution_context: int | str | None = None,
2118
- undo: bool | None = None,
2119
- ):
1947
+ def weight_invert(execution_context: int | str | None = None, undo: bool | None = None):
2120
1948
  """Invert the weight of active vertex group
2121
1949
 
2122
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2123
1950
  :type execution_context: int | str | None
2124
1951
  :type undo: bool | None
2125
1952
  """
2126
1953
 
2127
- def weight_sample(
2128
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2129
- execution_context: int | str | None = None,
2130
- undo: bool | None = None,
2131
- ):
1954
+ def weight_sample(execution_context: int | str | None = None, undo: bool | None = None):
2132
1955
  """Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
2133
1956
 
2134
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2135
1957
  :type execution_context: int | str | None
2136
1958
  :type undo: bool | None
2137
1959
  """
2138
1960
 
2139
1961
  def weight_toggle_direction(
2140
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2141
- execution_context: int | str | None = None,
2142
- undo: bool | None = None,
1962
+ execution_context: int | str | None = None, undo: bool | None = None
2143
1963
  ):
2144
1964
  """Toggle Add/Subtract for the weight paint draw tool
2145
1965
 
2146
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2147
1966
  :type execution_context: int | str | None
2148
1967
  :type undo: bool | None
2149
1968
  """
2150
1969
 
2151
1970
  def weightmode_toggle(
2152
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2153
1971
  execution_context: int | str | None = None,
2154
1972
  undo: bool | None = None,
1973
+ /,
2155
1974
  *,
2156
1975
  back: bool | None = False,
2157
1976
  ):
2158
1977
  """Enter/Exit weight paint mode for Grease Pencil strokes
2159
1978
 
2160
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2161
1979
  :type execution_context: int | str | None
2162
1980
  :type undo: bool | None
2163
1981
  :param back: Return to Previous Mode, Return to previous mode