fake-bpy-module 20240927__py3-none-any.whl → 20240929__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 (87) hide show
  1. bl_ui/generic_ui_list/__init__.pyi +2 -2
  2. bl_ui/space_dopesheet/__init__.pyi +25 -0
  3. bl_ui/space_view3d/__init__.pyi +36 -0
  4. bpy/__init__.pyi +1 -1
  5. bpy/ops/action/__init__.pyi +76 -76
  6. bpy/ops/anim/__init__.pyi +144 -120
  7. bpy/ops/armature/__init__.pyi +96 -96
  8. bpy/ops/asset/__init__.pyi +32 -32
  9. bpy/ops/boid/__init__.pyi +16 -16
  10. bpy/ops/brush/__init__.pyi +26 -26
  11. bpy/ops/buttons/__init__.pyi +12 -12
  12. bpy/ops/cachefile/__init__.pyi +10 -10
  13. bpy/ops/camera/__init__.pyi +4 -4
  14. bpy/ops/clip/__init__.pyi +184 -184
  15. bpy/ops/cloth/__init__.pyi +2 -2
  16. bpy/ops/collection/__init__.pyi +18 -18
  17. bpy/ops/console/__init__.pyi +42 -42
  18. bpy/ops/constraint/__init__.pyi +36 -36
  19. bpy/ops/curve/__init__.pyi +102 -102
  20. bpy/ops/curves/__init__.pyi +54 -54
  21. bpy/ops/cycles/__init__.pyi +6 -6
  22. bpy/ops/dpaint/__init__.pyi +10 -10
  23. bpy/ops/ed/__init__.pyi +24 -24
  24. bpy/ops/export_anim/__init__.pyi +2 -2
  25. bpy/ops/export_scene/__init__.pyi +4 -4
  26. bpy/ops/extensions/__init__.pyi +68 -68
  27. bpy/ops/file/__init__.pyi +80 -80
  28. bpy/ops/fluid/__init__.pyi +28 -28
  29. bpy/ops/font/__init__.pyi +46 -46
  30. bpy/ops/geometry/__init__.pyi +20 -20
  31. bpy/ops/gizmogroup/__init__.pyi +4 -4
  32. bpy/ops/gpencil/__init__.pyi +284 -284
  33. bpy/ops/graph/__init__.pyi +130 -130
  34. bpy/ops/grease_pencil/__init__.pyi +220 -200
  35. bpy/ops/image/__init__.pyi +98 -98
  36. bpy/ops/import_anim/__init__.pyi +2 -2
  37. bpy/ops/import_curve/__init__.pyi +2 -2
  38. bpy/ops/import_scene/__init__.pyi +4 -4
  39. bpy/ops/info/__init__.pyi +14 -14
  40. bpy/ops/lattice/__init__.pyi +16 -16
  41. bpy/ops/marker/__init__.pyi +22 -22
  42. bpy/ops/mask/__init__.pyi +78 -78
  43. bpy/ops/material/__init__.pyi +6 -6
  44. bpy/ops/mball/__init__.pyi +16 -16
  45. bpy/ops/mesh/__init__.pyi +326 -326
  46. bpy/ops/nla/__init__.pyi +78 -78
  47. bpy/ops/node/__init__.pyi +230 -230
  48. bpy/ops/object/__init__.pyi +476 -476
  49. bpy/ops/outliner/__init__.pyi +142 -142
  50. bpy/ops/paint/__init__.pyi +108 -108
  51. bpy/ops/paintcurve/__init__.pyi +16 -16
  52. bpy/ops/palette/__init__.pyi +14 -14
  53. bpy/ops/particle/__init__.pyi +72 -72
  54. bpy/ops/pose/__init__.pyi +102 -102
  55. bpy/ops/poselib/__init__.pyi +18 -18
  56. bpy/ops/preferences/__init__.pyi +70 -70
  57. bpy/ops/ptcache/__init__.pyi +14 -14
  58. bpy/ops/render/__init__.pyi +26 -26
  59. bpy/ops/rigidbody/__init__.pyi +26 -26
  60. bpy/ops/scene/__init__.pyi +74 -74
  61. bpy/ops/screen/__init__.pyi +78 -78
  62. bpy/ops/script/__init__.pyi +6 -6
  63. bpy/ops/sculpt/__init__.pyi +74 -74
  64. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  65. bpy/ops/sequencer/__init__.pyi +178 -178
  66. bpy/ops/sound/__init__.pyi +14 -14
  67. bpy/ops/spreadsheet/__init__.pyi +8 -8
  68. bpy/ops/surface/__init__.pyi +12 -12
  69. bpy/ops/text/__init__.pyi +86 -86
  70. bpy/ops/text_editor/__init__.pyi +2 -2
  71. bpy/ops/texture/__init__.pyi +8 -8
  72. bpy/ops/transform/__init__.pyi +54 -54
  73. bpy/ops/ui/__init__.pyi +68 -68
  74. bpy/ops/uilist/__init__.pyi +6 -6
  75. bpy/ops/uv/__init__.pyi +98 -98
  76. bpy/ops/view2d/__init__.pyi +28 -28
  77. bpy/ops/view3d/__init__.pyi +134 -134
  78. bpy/ops/wm/__init__.pyi +232 -232
  79. bpy/ops/workspace/__init__.pyi +14 -14
  80. bpy/ops/world/__init__.pyi +4 -4
  81. bpy/types/__init__.pyi +449 -226
  82. bpy/typing/__init__.pyi +1 -0
  83. bpy_extras/object_utils/__init__.pyi +4 -4
  84. {fake_bpy_module-20240927.dist-info → fake_bpy_module-20240929.dist-info}/METADATA +1 -1
  85. {fake_bpy_module-20240927.dist-info → fake_bpy_module-20240929.dist-info}/RECORD +87 -87
  86. {fake_bpy_module-20240927.dist-info → fake_bpy_module-20240929.dist-info}/WHEEL +0 -0
  87. {fake_bpy_module-20240927.dist-info → fake_bpy_module-20240929.dist-info}/top_level.txt +0 -0
@@ -6,7 +6,7 @@ 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,
9
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
10
10
  execution_context: int | str | None = None,
11
11
  undo: bool | None = None,
12
12
  *,
@@ -14,7 +14,7 @@ def active_frame_delete(
14
14
  ):
15
15
  """Delete the active Grease Pencil frame(s)
16
16
 
17
- :type override_context: bpy.types.Context | dict[str, typing.Any]
17
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
18
18
  :type execution_context: int | str | None
19
19
  :type undo: bool | None
20
20
  :param all: Delete all, Delete active keyframes of all layer
@@ -22,7 +22,7 @@ def active_frame_delete(
22
22
  """
23
23
 
24
24
  def bake_grease_pencil_animation(
25
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
25
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
26
26
  execution_context: int | str | None = None,
27
27
  undo: bool | None = None,
28
28
  *,
@@ -36,7 +36,7 @@ def bake_grease_pencil_animation(
36
36
  ):
37
37
  """Bake grease pencil object transform to grease pencil keyframes
38
38
 
39
- :type override_context: bpy.types.Context | dict[str, typing.Any]
39
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
40
40
  :type execution_context: int | str | None
41
41
  :type undo: bool | None
42
42
  :param frame_start: Start Frame, The start frame
@@ -72,7 +72,7 @@ def bake_grease_pencil_animation(
72
72
  """
73
73
 
74
74
  def brush_stroke(
75
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
75
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
76
76
  execution_context: int | str | None = None,
77
77
  undo: bool | None = None,
78
78
  *,
@@ -82,7 +82,7 @@ def brush_stroke(
82
82
  ):
83
83
  """Draw a new stroke in the active Grease Pencil object
84
84
 
85
- :type override_context: bpy.types.Context | dict[str, typing.Any]
85
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
86
86
  :type execution_context: int | str | None
87
87
  :type undo: bool | None
88
88
  :param stroke: Stroke
@@ -104,7 +104,7 @@ def brush_stroke(
104
104
  """
105
105
 
106
106
  def caps_set(
107
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
107
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
108
108
  execution_context: int | str | None = None,
109
109
  undo: bool | None = None,
110
110
  *,
@@ -112,7 +112,7 @@ def caps_set(
112
112
  ):
113
113
  """Change curve caps mode (rounded or flat)
114
114
 
115
- :type override_context: bpy.types.Context | dict[str, typing.Any]
115
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
116
116
  :type execution_context: int | str | None
117
117
  :type undo: bool | None
118
118
  :param type: Type
@@ -132,7 +132,7 @@ def caps_set(
132
132
  """
133
133
 
134
134
  def clean_loose(
135
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
135
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
136
136
  execution_context: int | str | None = None,
137
137
  undo: bool | None = None,
138
138
  *,
@@ -140,7 +140,7 @@ def clean_loose(
140
140
  ):
141
141
  """Remove loose points
142
142
 
143
- :type override_context: bpy.types.Context | dict[str, typing.Any]
143
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
144
144
  :type execution_context: int | str | None
145
145
  :type undo: bool | None
146
146
  :param limit: Limit, Number of points to consider stroke as loose
@@ -148,19 +148,19 @@ def clean_loose(
148
148
  """
149
149
 
150
150
  def copy(
151
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
151
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
152
152
  execution_context: int | str | None = None,
153
153
  undo: bool | None = None,
154
154
  ):
155
155
  """Copy the selected Grease Pencil points or strokes to the internal clipboard
156
156
 
157
- :type override_context: bpy.types.Context | dict[str, typing.Any]
157
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
158
158
  :type execution_context: int | str | None
159
159
  :type undo: bool | None
160
160
  """
161
161
 
162
162
  def cyclical_set(
163
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
163
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
164
164
  execution_context: int | str | None = None,
165
165
  undo: bool | None = None,
166
166
  *,
@@ -168,7 +168,7 @@ def cyclical_set(
168
168
  ):
169
169
  """Close or open the selected stroke adding a segment from last to first point
170
170
 
171
- :type override_context: bpy.types.Context | dict[str, typing.Any]
171
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
172
172
  :type execution_context: int | str | None
173
173
  :type undo: bool | None
174
174
  :param type: Type
@@ -176,19 +176,19 @@ def cyclical_set(
176
176
  """
177
177
 
178
178
  def delete(
179
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
179
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
180
180
  execution_context: int | str | None = None,
181
181
  undo: bool | None = None,
182
182
  ):
183
183
  """Delete selected strokes or points
184
184
 
185
- :type override_context: bpy.types.Context | dict[str, typing.Any]
185
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
186
186
  :type execution_context: int | str | None
187
187
  :type undo: bool | None
188
188
  """
189
189
 
190
190
  def delete_frame(
191
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
191
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
192
192
  execution_context: int | str | None = None,
193
193
  undo: bool | None = None,
194
194
  *,
@@ -196,7 +196,7 @@ def delete_frame(
196
196
  ):
197
197
  """Delete Grease Pencil Frame(s)
198
198
 
199
- :type override_context: bpy.types.Context | dict[str, typing.Any]
199
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
200
200
  :type execution_context: int | str | None
201
201
  :type undo: bool | None
202
202
  :param type: Type, Method used for deleting Grease Pencil frames
@@ -210,7 +210,7 @@ def delete_frame(
210
210
  """
211
211
 
212
212
  def dissolve(
213
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
213
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
214
214
  execution_context: int | str | None = None,
215
215
  undo: bool | None = None,
216
216
  *,
@@ -218,7 +218,7 @@ def dissolve(
218
218
  ):
219
219
  """Delete selected points without splitting strokes
220
220
 
221
- :type override_context: bpy.types.Context | dict[str, typing.Any]
221
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
222
222
  :type execution_context: int | str | None
223
223
  :type undo: bool | None
224
224
  :param type: Type, Method used for dissolving stroke points
@@ -235,19 +235,19 @@ def dissolve(
235
235
  """
236
236
 
237
237
  def duplicate(
238
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
238
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
239
239
  execution_context: int | str | None = None,
240
240
  undo: bool | None = None,
241
241
  ):
242
242
  """Duplicate the selected points
243
243
 
244
- :type override_context: bpy.types.Context | dict[str, typing.Any]
244
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
245
245
  :type execution_context: int | str | None
246
246
  :type undo: bool | None
247
247
  """
248
248
 
249
249
  def duplicate_move(
250
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
250
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
251
251
  execution_context: int | str | None = None,
252
252
  undo: bool | None = None,
253
253
  *,
@@ -256,7 +256,7 @@ def duplicate_move(
256
256
  ):
257
257
  """Make copies of the selected Grease Pencil strokes and move them
258
258
 
259
- :type override_context: bpy.types.Context | dict[str, typing.Any]
259
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
260
260
  :type execution_context: int | str | None
261
261
  :type undo: bool | None
262
262
  :param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
@@ -266,19 +266,19 @@ def duplicate_move(
266
266
  """
267
267
 
268
268
  def extrude(
269
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
269
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
270
270
  execution_context: int | str | None = None,
271
271
  undo: bool | None = None,
272
272
  ):
273
273
  """Extrude the selected points
274
274
 
275
- :type override_context: bpy.types.Context | dict[str, typing.Any]
275
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
276
276
  :type execution_context: int | str | None
277
277
  :type undo: bool | None
278
278
  """
279
279
 
280
280
  def extrude_move(
281
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
281
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
282
282
  execution_context: int | str | None = None,
283
283
  undo: bool | None = None,
284
284
  *,
@@ -287,7 +287,7 @@ def extrude_move(
287
287
  ):
288
288
  """Extrude selected points and move them
289
289
 
290
- :type override_context: bpy.types.Context | dict[str, typing.Any]
290
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
291
291
  :type execution_context: int | str | None
292
292
  :type undo: bool | None
293
293
  :param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
@@ -297,7 +297,7 @@ def extrude_move(
297
297
  """
298
298
 
299
299
  def fill(
300
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
300
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
301
301
  execution_context: int | str | None = None,
302
302
  undo: bool | None = None,
303
303
  *,
@@ -306,7 +306,7 @@ def fill(
306
306
  ):
307
307
  """Fill with color the shape formed by strokes
308
308
 
309
- :type override_context: bpy.types.Context | dict[str, typing.Any]
309
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
310
310
  :type execution_context: int | str | None
311
311
  :type undo: bool | None
312
312
  :param invert: Invert, Find boundary of unfilled instead of filled regions
@@ -316,7 +316,7 @@ def fill(
316
316
  """
317
317
 
318
318
  def frame_clean_duplicate(
319
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
319
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
320
320
  execution_context: int | str | None = None,
321
321
  undo: bool | None = None,
322
322
  *,
@@ -324,7 +324,7 @@ def frame_clean_duplicate(
324
324
  ):
325
325
  """Remove any keyframe that is a duplicate of the previous one
326
326
 
327
- :type override_context: bpy.types.Context | dict[str, typing.Any]
327
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
328
328
  :type execution_context: int | str | None
329
329
  :type undo: bool | None
330
330
  :param selected: Selected, Only delete selected keyframes
@@ -332,7 +332,7 @@ def frame_clean_duplicate(
332
332
  """
333
333
 
334
334
  def frame_duplicate(
335
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
335
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
336
336
  execution_context: int | str | None = None,
337
337
  undo: bool | None = None,
338
338
  *,
@@ -340,7 +340,7 @@ def frame_duplicate(
340
340
  ):
341
341
  """Make a copy of the active Grease Pencil frame(s)
342
342
 
343
- :type override_context: bpy.types.Context | dict[str, typing.Any]
343
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
344
344
  :type execution_context: int | str | None
345
345
  :type undo: bool | None
346
346
  :param all: Duplicate all, Duplicate active keyframes of all layer
@@ -348,7 +348,7 @@ def frame_duplicate(
348
348
  """
349
349
 
350
350
  def insert_blank_frame(
351
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
351
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
352
352
  execution_context: int | str | None = None,
353
353
  undo: bool | None = None,
354
354
  *,
@@ -357,7 +357,7 @@ def insert_blank_frame(
357
357
  ):
358
358
  """Insert a blank frame on the current scene frame
359
359
 
360
- :type override_context: bpy.types.Context | dict[str, typing.Any]
360
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
361
361
  :type execution_context: int | str | None
362
362
  :type undo: bool | None
363
363
  :param all_layers: All Layers, Insert a blank frame in all editable layers
@@ -367,7 +367,7 @@ def insert_blank_frame(
367
367
  """
368
368
 
369
369
  def interpolate(
370
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
370
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
371
371
  execution_context: int | str | None = None,
372
372
  undo: bool | None = None,
373
373
  *,
@@ -380,7 +380,7 @@ def interpolate(
380
380
  ):
381
381
  """Interpolate grease pencil strokes between frames
382
382
 
383
- :type override_context: bpy.types.Context | dict[str, typing.Any]
383
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
384
384
  :type execution_context: int | str | None
385
385
  :type undo: bool | None
386
386
  :param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
@@ -398,7 +398,7 @@ def interpolate(
398
398
  """
399
399
 
400
400
  def interpolate_sequence(
401
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
401
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
402
402
  execution_context: int | str | None = None,
403
403
  undo: bool | None = None,
404
404
  *,
@@ -431,7 +431,7 @@ def interpolate_sequence(
431
431
  ):
432
432
  """Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
433
433
 
434
- :type override_context: bpy.types.Context | dict[str, typing.Any]
434
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
435
435
  :type execution_context: int | str | None
436
436
  :type undo: bool | None
437
437
  :param step: Step, Number of frames between generated interpolated frames
@@ -497,7 +497,7 @@ def interpolate_sequence(
497
497
  """
498
498
 
499
499
  def layer_active(
500
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
500
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
501
501
  execution_context: int | str | None = None,
502
502
  undo: bool | None = None,
503
503
  *,
@@ -505,7 +505,7 @@ def layer_active(
505
505
  ):
506
506
  """Set the active Grease Pencil layer
507
507
 
508
- :type override_context: bpy.types.Context | dict[str, typing.Any]
508
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
509
509
  :type execution_context: int | str | None
510
510
  :type undo: bool | None
511
511
  :param layer: Grease Pencil Layer
@@ -513,7 +513,7 @@ def layer_active(
513
513
  """
514
514
 
515
515
  def layer_add(
516
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
516
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
517
517
  execution_context: int | str | None = None,
518
518
  undo: bool | None = None,
519
519
  *,
@@ -521,7 +521,7 @@ def layer_add(
521
521
  ):
522
522
  """Add a new Grease Pencil layer in the active object
523
523
 
524
- :type override_context: bpy.types.Context | dict[str, typing.Any]
524
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
525
525
  :type execution_context: int | str | None
526
526
  :type undo: bool | None
527
527
  :param new_layer_name: Name, Name of the new layer
@@ -529,7 +529,7 @@ def layer_add(
529
529
  """
530
530
 
531
531
  def layer_duplicate(
532
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
532
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
533
533
  execution_context: int | str | None = None,
534
534
  undo: bool | None = None,
535
535
  *,
@@ -537,7 +537,7 @@ def layer_duplicate(
537
537
  ):
538
538
  """Make a copy of the active Grease Pencil layer
539
539
 
540
- :type override_context: bpy.types.Context | dict[str, typing.Any]
540
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
541
541
  :type execution_context: int | str | None
542
542
  :type undo: bool | None
543
543
  :param empty_keyframes: Empty Keyframes, Add Empty Keyframes
@@ -545,7 +545,7 @@ def layer_duplicate(
545
545
  """
546
546
 
547
547
  def layer_duplicate_object(
548
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
548
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
549
549
  execution_context: int | str | None = None,
550
550
  undo: bool | None = None,
551
551
  *,
@@ -554,7 +554,7 @@ def layer_duplicate_object(
554
554
  ):
555
555
  """Make a copy of the active Grease Pencil layer to selected object
556
556
 
557
- :type override_context: bpy.types.Context | dict[str, typing.Any]
557
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
558
558
  :type execution_context: int | str | None
559
559
  :type undo: bool | None
560
560
  :param only_active: Only Active, Copy only active Layer, uncheck to append all layers
@@ -564,7 +564,7 @@ def layer_duplicate_object(
564
564
  """
565
565
 
566
566
  def layer_group_add(
567
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
567
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
568
568
  execution_context: int | str | None = None,
569
569
  undo: bool | None = None,
570
570
  *,
@@ -572,7 +572,7 @@ def layer_group_add(
572
572
  ):
573
573
  """Add a new Grease Pencil layer group in the active object
574
574
 
575
- :type override_context: bpy.types.Context | dict[str, typing.Any]
575
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
576
576
  :type execution_context: int | str | None
577
577
  :type undo: bool | None
578
578
  :param new_layer_group_name: Name, Name of the new layer group
@@ -580,7 +580,7 @@ def layer_group_add(
580
580
  """
581
581
 
582
582
  def layer_group_color_tag(
583
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
583
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
584
584
  execution_context: int | str | None = None,
585
585
  undo: bool | None = None,
586
586
  *,
@@ -599,7 +599,7 @@ def layer_group_color_tag(
599
599
  ):
600
600
  """Change layer group icon
601
601
 
602
- :type override_context: bpy.types.Context | dict[str, typing.Any]
602
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
603
603
  :type execution_context: int | str | None
604
604
  :type undo: bool | None
605
605
  :param color_tag: color tag
@@ -607,7 +607,7 @@ def layer_group_color_tag(
607
607
  """
608
608
 
609
609
  def layer_group_remove(
610
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
610
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
611
611
  execution_context: int | str | None = None,
612
612
  undo: bool | None = None,
613
613
  *,
@@ -615,7 +615,7 @@ def layer_group_remove(
615
615
  ):
616
616
  """Remove Grease Pencil layer group in the active object
617
617
 
618
- :type override_context: bpy.types.Context | dict[str, typing.Any]
618
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
619
619
  :type execution_context: int | str | None
620
620
  :type undo: bool | None
621
621
  :param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
@@ -623,7 +623,7 @@ def layer_group_remove(
623
623
  """
624
624
 
625
625
  def layer_hide(
626
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
626
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
627
627
  execution_context: int | str | None = None,
628
628
  undo: bool | None = None,
629
629
  *,
@@ -631,7 +631,7 @@ def layer_hide(
631
631
  ):
632
632
  """Hide selected/unselected Grease Pencil layers
633
633
 
634
- :type override_context: bpy.types.Context | dict[str, typing.Any]
634
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
635
635
  :type execution_context: int | str | None
636
636
  :type undo: bool | None
637
637
  :param unselected: Unselected, Hide unselected rather than selected layers
@@ -639,7 +639,7 @@ def layer_hide(
639
639
  """
640
640
 
641
641
  def layer_isolate(
642
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
642
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
643
643
  execution_context: int | str | None = None,
644
644
  undo: bool | None = None,
645
645
  *,
@@ -647,7 +647,7 @@ def layer_isolate(
647
647
  ):
648
648
  """Make only active layer visible/editable
649
649
 
650
- :type override_context: bpy.types.Context | dict[str, typing.Any]
650
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
651
651
  :type execution_context: int | str | None
652
652
  :type undo: bool | None
653
653
  :param affect_visibility: Affect Visibility, Also affect the visibility
@@ -655,7 +655,7 @@ def layer_isolate(
655
655
  """
656
656
 
657
657
  def layer_lock_all(
658
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
658
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
659
659
  execution_context: int | str | None = None,
660
660
  undo: bool | None = None,
661
661
  *,
@@ -663,7 +663,7 @@ def layer_lock_all(
663
663
  ):
664
664
  """Lock all Grease Pencil layers to prevent them from being accidentally modified
665
665
 
666
- :type override_context: bpy.types.Context | dict[str, typing.Any]
666
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
667
667
  :type execution_context: int | str | None
668
668
  :type undo: bool | None
669
669
  :param lock: Lock Value, Lock/Unlock all layers
@@ -671,7 +671,7 @@ def layer_lock_all(
671
671
  """
672
672
 
673
673
  def layer_mask_add(
674
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
674
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
675
675
  execution_context: int | str | None = None,
676
676
  undo: bool | None = None,
677
677
  *,
@@ -679,7 +679,7 @@ def layer_mask_add(
679
679
  ):
680
680
  """Add new layer as masking
681
681
 
682
- :type override_context: bpy.types.Context | dict[str, typing.Any]
682
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
683
683
  :type execution_context: int | str | None
684
684
  :type undo: bool | None
685
685
  :param name: Layer, Name of the layer
@@ -687,19 +687,19 @@ def layer_mask_add(
687
687
  """
688
688
 
689
689
  def layer_mask_remove(
690
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
690
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
691
691
  execution_context: int | str | None = None,
692
692
  undo: bool | None = None,
693
693
  ):
694
694
  """Remove Layer Mask
695
695
 
696
- :type override_context: bpy.types.Context | dict[str, typing.Any]
696
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
697
697
  :type execution_context: int | str | None
698
698
  :type undo: bool | None
699
699
  """
700
700
 
701
701
  def layer_mask_reorder(
702
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
702
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
703
703
  execution_context: int | str | None = None,
704
704
  undo: bool | None = None,
705
705
  *,
@@ -707,7 +707,7 @@ def layer_mask_reorder(
707
707
  ):
708
708
  """Reorder the active Grease Pencil mask layer up/down in the list
709
709
 
710
- :type override_context: bpy.types.Context | dict[str, typing.Any]
710
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
711
711
  :type execution_context: int | str | None
712
712
  :type undo: bool | None
713
713
  :param direction: Direction
@@ -715,7 +715,7 @@ def layer_mask_reorder(
715
715
  """
716
716
 
717
717
  def layer_move(
718
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
718
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
719
719
  execution_context: int | str | None = None,
720
720
  undo: bool | None = None,
721
721
  *,
@@ -723,7 +723,7 @@ def layer_move(
723
723
  ):
724
724
  """Move the active Grease Pencil layer or Group
725
725
 
726
- :type override_context: bpy.types.Context | dict[str, typing.Any]
726
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
727
727
  :type execution_context: int | str | None
728
728
  :type undo: bool | None
729
729
  :param direction: Direction
@@ -731,19 +731,19 @@ def layer_move(
731
731
  """
732
732
 
733
733
  def layer_remove(
734
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
734
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
735
735
  execution_context: int | str | None = None,
736
736
  undo: bool | None = None,
737
737
  ):
738
738
  """Remove the active Grease Pencil layer
739
739
 
740
- :type override_context: bpy.types.Context | dict[str, typing.Any]
740
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
741
741
  :type execution_context: int | str | None
742
742
  :type undo: bool | None
743
743
  """
744
744
 
745
745
  def layer_reorder(
746
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
746
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
747
747
  execution_context: int | str | None = None,
748
748
  undo: bool | None = None,
749
749
  *,
@@ -752,7 +752,7 @@ def layer_reorder(
752
752
  ):
753
753
  """Reorder the active Grease Pencil layer
754
754
 
755
- :type override_context: bpy.types.Context | dict[str, typing.Any]
755
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
756
756
  :type execution_context: int | str | None
757
757
  :type undo: bool | None
758
758
  :param target_layer_name: Target Name, Name of the target layer
@@ -762,19 +762,19 @@ def layer_reorder(
762
762
  """
763
763
 
764
764
  def layer_reveal(
765
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
765
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
766
766
  execution_context: int | str | None = None,
767
767
  undo: bool | None = None,
768
768
  ):
769
769
  """Show all Grease Pencil layers
770
770
 
771
- :type override_context: bpy.types.Context | dict[str, typing.Any]
771
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
772
772
  :type execution_context: int | str | None
773
773
  :type undo: bool | None
774
774
  """
775
775
 
776
776
  def material_copy_to_object(
777
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
777
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
778
778
  execution_context: int | str | None = None,
779
779
  undo: bool | None = None,
780
780
  *,
@@ -782,7 +782,7 @@ def material_copy_to_object(
782
782
  ):
783
783
  """Append Materials of the active Grease Pencil to other object
784
784
 
785
- :type override_context: bpy.types.Context | dict[str, typing.Any]
785
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
786
786
  :type execution_context: int | str | None
787
787
  :type undo: bool | None
788
788
  :param only_active: Only Active, Append only active material, uncheck to append all materials
@@ -790,7 +790,7 @@ def material_copy_to_object(
790
790
  """
791
791
 
792
792
  def material_hide(
793
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
793
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
794
794
  execution_context: int | str | None = None,
795
795
  undo: bool | None = None,
796
796
  *,
@@ -798,7 +798,7 @@ def material_hide(
798
798
  ):
799
799
  """Hide active/inactive Grease Pencil material(s)
800
800
 
801
- :type override_context: bpy.types.Context | dict[str, typing.Any]
801
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
802
802
  :type execution_context: int | str | None
803
803
  :type undo: bool | None
804
804
  :param invert: Invert, Hide inactive materials instead of the active one
@@ -806,55 +806,55 @@ def material_hide(
806
806
  """
807
807
 
808
808
  def material_lock_all(
809
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
809
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
810
810
  execution_context: int | str | None = None,
811
811
  undo: bool | None = None,
812
812
  ):
813
813
  """Lock all Grease Pencil materials to prevent them from being accidentally modified
814
814
 
815
- :type override_context: bpy.types.Context | dict[str, typing.Any]
815
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
816
816
  :type execution_context: int | str | None
817
817
  :type undo: bool | None
818
818
  """
819
819
 
820
820
  def material_lock_unselected(
821
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
821
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
822
822
  execution_context: int | str | None = None,
823
823
  undo: bool | None = None,
824
824
  ):
825
825
  """Lock any material not used in any selected stroke
826
826
 
827
- :type override_context: bpy.types.Context | dict[str, typing.Any]
827
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
828
828
  :type execution_context: int | str | None
829
829
  :type undo: bool | None
830
830
  """
831
831
 
832
832
  def material_lock_unused(
833
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
833
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
834
834
  execution_context: int | str | None = None,
835
835
  undo: bool | None = None,
836
836
  ):
837
837
  """Lock and hide any material not used
838
838
 
839
- :type override_context: bpy.types.Context | dict[str, typing.Any]
839
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
840
840
  :type execution_context: int | str | None
841
841
  :type undo: bool | None
842
842
  """
843
843
 
844
844
  def material_reveal(
845
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
845
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
846
846
  execution_context: int | str | None = None,
847
847
  undo: bool | None = None,
848
848
  ):
849
849
  """Unhide all hidden Grease Pencil materials
850
850
 
851
- :type override_context: bpy.types.Context | dict[str, typing.Any]
851
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
852
852
  :type execution_context: int | str | None
853
853
  :type undo: bool | None
854
854
  """
855
855
 
856
856
  def material_select(
857
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
857
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
858
858
  execution_context: int | str | None = None,
859
859
  undo: bool | None = None,
860
860
  *,
@@ -862,7 +862,7 @@ def material_select(
862
862
  ):
863
863
  """Select/Deselect all Grease Pencil strokes using current material
864
864
 
865
- :type override_context: bpy.types.Context | dict[str, typing.Any]
865
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
866
866
  :type execution_context: int | str | None
867
867
  :type undo: bool | None
868
868
  :param deselect: Deselect, Unselect strokes
@@ -870,19 +870,19 @@ def material_select(
870
870
  """
871
871
 
872
872
  def material_unlock_all(
873
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
873
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
874
874
  execution_context: int | str | None = None,
875
875
  undo: bool | None = None,
876
876
  ):
877
877
  """Unlock all Grease Pencil materials so that they can be edited
878
878
 
879
- :type override_context: bpy.types.Context | dict[str, typing.Any]
879
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
880
880
  :type execution_context: int | str | None
881
881
  :type undo: bool | None
882
882
  """
883
883
 
884
884
  def move_to_layer(
885
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
885
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
886
886
  execution_context: int | str | None = None,
887
887
  undo: bool | None = None,
888
888
  *,
@@ -891,7 +891,7 @@ def move_to_layer(
891
891
  ):
892
892
  """Move selected strokes to another layer
893
893
 
894
- :type override_context: bpy.types.Context | dict[str, typing.Any]
894
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
895
895
  :type execution_context: int | str | None
896
896
  :type undo: bool | None
897
897
  :param target_layer_name: Name, Target Grease Pencil Layer
@@ -901,7 +901,7 @@ def move_to_layer(
901
901
  """
902
902
 
903
903
  def paste(
904
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
904
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
905
905
  execution_context: int | str | None = None,
906
906
  undo: bool | None = None,
907
907
  *,
@@ -910,7 +910,7 @@ def paste(
910
910
  ):
911
911
  """Paste Grease Pencil points or strokes from the internal clipboard to the active layer
912
912
 
913
- :type override_context: bpy.types.Context | dict[str, typing.Any]
913
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
914
914
  :type execution_context: int | str | None
915
915
  :type undo: bool | None
916
916
  :param paste_back: Paste on Back, Add pasted strokes behind all strokes
@@ -920,7 +920,7 @@ def paste(
920
920
  """
921
921
 
922
922
  def primitive_arc(
923
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
923
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
924
924
  execution_context: int | str | None = None,
925
925
  undo: bool | None = None,
926
926
  *,
@@ -930,7 +930,7 @@ def primitive_arc(
930
930
  ):
931
931
  """Create predefined grease pencil stroke arcs
932
932
 
933
- :type override_context: bpy.types.Context | dict[str, typing.Any]
933
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
934
934
  :type execution_context: int | str | None
935
935
  :type undo: bool | None
936
936
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -940,7 +940,7 @@ def primitive_arc(
940
940
  """
941
941
 
942
942
  def primitive_box(
943
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
943
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
944
944
  execution_context: int | str | None = None,
945
945
  undo: bool | None = None,
946
946
  *,
@@ -950,7 +950,7 @@ def primitive_box(
950
950
  ):
951
951
  """Create predefined grease pencil stroke boxes
952
952
 
953
- :type override_context: bpy.types.Context | dict[str, typing.Any]
953
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
954
954
  :type execution_context: int | str | None
955
955
  :type undo: bool | None
956
956
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -960,7 +960,7 @@ def primitive_box(
960
960
  """
961
961
 
962
962
  def primitive_circle(
963
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
963
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
964
964
  execution_context: int | str | None = None,
965
965
  undo: bool | None = None,
966
966
  *,
@@ -970,7 +970,7 @@ def primitive_circle(
970
970
  ):
971
971
  """Create predefined grease pencil stroke circles
972
972
 
973
- :type override_context: bpy.types.Context | dict[str, typing.Any]
973
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
974
974
  :type execution_context: int | str | None
975
975
  :type undo: bool | None
976
976
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -980,7 +980,7 @@ def primitive_circle(
980
980
  """
981
981
 
982
982
  def primitive_curve(
983
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
983
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
984
984
  execution_context: int | str | None = None,
985
985
  undo: bool | None = None,
986
986
  *,
@@ -990,7 +990,7 @@ def primitive_curve(
990
990
  ):
991
991
  """Create predefined grease pencil stroke curve shapes
992
992
 
993
- :type override_context: bpy.types.Context | dict[str, typing.Any]
993
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
994
994
  :type execution_context: int | str | None
995
995
  :type undo: bool | None
996
996
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1000,7 +1000,7 @@ def primitive_curve(
1000
1000
  """
1001
1001
 
1002
1002
  def primitive_line(
1003
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1003
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1004
1004
  execution_context: int | str | None = None,
1005
1005
  undo: bool | None = None,
1006
1006
  *,
@@ -1010,7 +1010,7 @@ def primitive_line(
1010
1010
  ):
1011
1011
  """Create predefined grease pencil stroke lines
1012
1012
 
1013
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1013
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1014
1014
  :type execution_context: int | str | None
1015
1015
  :type undo: bool | None
1016
1016
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1020,7 +1020,7 @@ def primitive_line(
1020
1020
  """
1021
1021
 
1022
1022
  def primitive_polyline(
1023
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1023
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1024
1024
  execution_context: int | str | None = None,
1025
1025
  undo: bool | None = None,
1026
1026
  *,
@@ -1030,7 +1030,7 @@ def primitive_polyline(
1030
1030
  ):
1031
1031
  """Create predefined grease pencil stroke polylines
1032
1032
 
1033
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1033
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1034
1034
  :type execution_context: int | str | None
1035
1035
  :type undo: bool | None
1036
1036
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1040,7 +1040,7 @@ def primitive_polyline(
1040
1040
  """
1041
1041
 
1042
1042
  def reorder(
1043
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1043
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1044
1044
  execution_context: int | str | None = None,
1045
1045
  undo: bool | None = None,
1046
1046
  *,
@@ -1048,7 +1048,7 @@ def reorder(
1048
1048
  ):
1049
1049
  """Change the display order of the selected strokes
1050
1050
 
1051
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1051
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1052
1052
  :type execution_context: int | str | None
1053
1053
  :type undo: bool | None
1054
1054
  :param direction: Direction
@@ -1056,7 +1056,7 @@ def reorder(
1056
1056
  """
1057
1057
 
1058
1058
  def reproject(
1059
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1059
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1060
1060
  execution_context: int | str | None = None,
1061
1061
  undo: bool | None = None,
1062
1062
  *,
@@ -1067,7 +1067,7 @@ def reproject(
1067
1067
  ):
1068
1068
  """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)
1069
1069
 
1070
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1070
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1071
1071
  :type execution_context: int | str | None
1072
1072
  :type undo: bool | None
1073
1073
  :param type: Projection Type
@@ -1097,19 +1097,19 @@ def reproject(
1097
1097
  """
1098
1098
 
1099
1099
  def reset_uvs(
1100
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1100
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1101
1101
  execution_context: int | str | None = None,
1102
1102
  undo: bool | None = None,
1103
1103
  ):
1104
1104
  """Reset UV transformation to default values
1105
1105
 
1106
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1106
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1107
1107
  :type execution_context: int | str | None
1108
1108
  :type undo: bool | None
1109
1109
  """
1110
1110
 
1111
1111
  def sculpt_paint(
1112
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1112
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1113
1113
  execution_context: int | str | None = None,
1114
1114
  undo: bool | None = None,
1115
1115
  *,
@@ -1119,7 +1119,7 @@ def sculpt_paint(
1119
1119
  ):
1120
1120
  """Sculpt strokes in the active Grease Pencil object
1121
1121
 
1122
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1122
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1123
1123
  :type execution_context: int | str | None
1124
1124
  :type undo: bool | None
1125
1125
  :param stroke: Stroke
@@ -1141,7 +1141,7 @@ def sculpt_paint(
1141
1141
  """
1142
1142
 
1143
1143
  def select_all(
1144
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1144
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1145
1145
  execution_context: int | str | None = None,
1146
1146
  undo: bool | None = None,
1147
1147
  *,
@@ -1149,7 +1149,7 @@ def select_all(
1149
1149
  ):
1150
1150
  """(De)select all visible strokes
1151
1151
 
1152
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1152
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1153
1153
  :type execution_context: int | str | None
1154
1154
  :type undo: bool | None
1155
1155
  :param action: Action, Selection action to execute
@@ -1169,7 +1169,7 @@ def select_all(
1169
1169
  """
1170
1170
 
1171
1171
  def select_alternate(
1172
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1172
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1173
1173
  execution_context: int | str | None = None,
1174
1174
  undo: bool | None = None,
1175
1175
  *,
@@ -1177,7 +1177,7 @@ def select_alternate(
1177
1177
  ):
1178
1178
  """Select alternated points in strokes with already selected points
1179
1179
 
1180
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1180
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1181
1181
  :type execution_context: int | str | None
1182
1182
  :type undo: bool | None
1183
1183
  :param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
@@ -1185,7 +1185,7 @@ def select_alternate(
1185
1185
  """
1186
1186
 
1187
1187
  def select_ends(
1188
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1188
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1189
1189
  execution_context: int | str | None = None,
1190
1190
  undo: bool | None = None,
1191
1191
  *,
@@ -1194,7 +1194,7 @@ def select_ends(
1194
1194
  ):
1195
1195
  """Select end points of strokes
1196
1196
 
1197
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1197
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1198
1198
  :type execution_context: int | str | None
1199
1199
  :type undo: bool | None
1200
1200
  :param amount_start: Amount Start, Number of points to select from the start
@@ -1204,43 +1204,43 @@ def select_ends(
1204
1204
  """
1205
1205
 
1206
1206
  def select_less(
1207
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1207
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1208
1208
  execution_context: int | str | None = None,
1209
1209
  undo: bool | None = None,
1210
1210
  ):
1211
1211
  """Shrink the selection by one point
1212
1212
 
1213
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1213
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1214
1214
  :type execution_context: int | str | None
1215
1215
  :type undo: bool | None
1216
1216
  """
1217
1217
 
1218
1218
  def select_linked(
1219
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1219
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1220
1220
  execution_context: int | str | None = None,
1221
1221
  undo: bool | None = None,
1222
1222
  ):
1223
1223
  """Select all points in curves with any point selection
1224
1224
 
1225
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1225
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1226
1226
  :type execution_context: int | str | None
1227
1227
  :type undo: bool | None
1228
1228
  """
1229
1229
 
1230
1230
  def select_more(
1231
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1231
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1232
1232
  execution_context: int | str | None = None,
1233
1233
  undo: bool | None = None,
1234
1234
  ):
1235
1235
  """Grow the selection by one point
1236
1236
 
1237
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1237
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1238
1238
  :type execution_context: int | str | None
1239
1239
  :type undo: bool | None
1240
1240
  """
1241
1241
 
1242
1242
  def select_random(
1243
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1243
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1244
1244
  execution_context: int | str | None = None,
1245
1245
  undo: bool | None = None,
1246
1246
  *,
@@ -1250,7 +1250,7 @@ def select_random(
1250
1250
  ):
1251
1251
  """Selects random points from the current strokes selection
1252
1252
 
1253
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1253
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1254
1254
  :type execution_context: int | str | None
1255
1255
  :type undo: bool | None
1256
1256
  :param ratio: Ratio, Portion of items to select randomly
@@ -1267,8 +1267,28 @@ def select_random(
1267
1267
  :type action: typing.Literal['SELECT','DESELECT'] | None
1268
1268
  """
1269
1269
 
1270
+ def select_similar(
1271
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1272
+ execution_context: int | str | None = None,
1273
+ undo: bool | None = None,
1274
+ *,
1275
+ mode: typing.Literal["LAYER", "MATERIAL", "VERTEX_COLOR", "RADIUS", "OPACITY"]
1276
+ | None = "LAYER",
1277
+ threshold: float | None = 0.1,
1278
+ ):
1279
+ """Select all strokes with similar characteristics
1280
+
1281
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1282
+ :type execution_context: int | str | None
1283
+ :type undo: bool | None
1284
+ :param mode: Mode
1285
+ :type mode: typing.Literal['LAYER','MATERIAL','VERTEX_COLOR','RADIUS','OPACITY'] | None
1286
+ :param threshold: Threshold
1287
+ :type threshold: float | None
1288
+ """
1289
+
1270
1290
  def separate(
1271
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1291
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1272
1292
  execution_context: int | str | None = None,
1273
1293
  undo: bool | None = None,
1274
1294
  *,
@@ -1276,7 +1296,7 @@ def separate(
1276
1296
  ):
1277
1297
  """Separate the selected geometry into a new grease pencil object
1278
1298
 
1279
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1299
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1280
1300
  :type execution_context: int | str | None
1281
1301
  :type undo: bool | None
1282
1302
  :param mode: Mode
@@ -1293,19 +1313,19 @@ def separate(
1293
1313
  """
1294
1314
 
1295
1315
  def set_active_material(
1296
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1316
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1297
1317
  execution_context: int | str | None = None,
1298
1318
  undo: bool | None = None,
1299
1319
  ):
1300
1320
  """Set the selected stroke material as the active material
1301
1321
 
1302
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1322
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1303
1323
  :type execution_context: int | str | None
1304
1324
  :type undo: bool | None
1305
1325
  """
1306
1326
 
1307
1327
  def set_curve_resolution(
1308
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1328
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1309
1329
  execution_context: int | str | None = None,
1310
1330
  undo: bool | None = None,
1311
1331
  *,
@@ -1313,7 +1333,7 @@ def set_curve_resolution(
1313
1333
  ):
1314
1334
  """Set resolution of selected curves
1315
1335
 
1316
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1336
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1317
1337
  :type execution_context: int | str | None
1318
1338
  :type undo: bool | None
1319
1339
  :param resolution: Resolution, The resolution to use for each curve segment
@@ -1321,7 +1341,7 @@ def set_curve_resolution(
1321
1341
  """
1322
1342
 
1323
1343
  def set_curve_type(
1324
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1344
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1325
1345
  execution_context: int | str | None = None,
1326
1346
  undo: bool | None = None,
1327
1347
  *,
@@ -1330,7 +1350,7 @@ def set_curve_type(
1330
1350
  ):
1331
1351
  """Set type of selected curves
1332
1352
 
1333
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1353
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1334
1354
  :type execution_context: int | str | None
1335
1355
  :type undo: bool | None
1336
1356
  :param type: Type, Curve type
@@ -1340,7 +1360,7 @@ def set_curve_type(
1340
1360
  """
1341
1361
 
1342
1362
  def set_handle_type(
1343
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1363
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1344
1364
  execution_context: int | str | None = None,
1345
1365
  undo: bool | None = None,
1346
1366
  *,
@@ -1348,7 +1368,7 @@ def set_handle_type(
1348
1368
  ):
1349
1369
  """Set the handle type for bezier curves
1350
1370
 
1351
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1371
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1352
1372
  :type execution_context: int | str | None
1353
1373
  :type undo: bool | None
1354
1374
  :param type: Type
@@ -1356,7 +1376,7 @@ def set_handle_type(
1356
1376
  """
1357
1377
 
1358
1378
  def set_material(
1359
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1379
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1360
1380
  execution_context: int | str | None = None,
1361
1381
  undo: bool | None = None,
1362
1382
  *,
@@ -1364,7 +1384,7 @@ def set_material(
1364
1384
  ):
1365
1385
  """Set active material
1366
1386
 
1367
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1387
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1368
1388
  :type execution_context: int | str | None
1369
1389
  :type undo: bool | None
1370
1390
  :param slot: Material Slot
@@ -1372,7 +1392,7 @@ def set_material(
1372
1392
  """
1373
1393
 
1374
1394
  def set_selection_mode(
1375
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1395
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1376
1396
  execution_context: int | str | None = None,
1377
1397
  undo: bool | None = None,
1378
1398
  *,
@@ -1380,7 +1400,7 @@ def set_selection_mode(
1380
1400
  ):
1381
1401
  """Change the selection mode for Grease Pencil strokes
1382
1402
 
1383
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1403
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1384
1404
  :type execution_context: int | str | None
1385
1405
  :type undo: bool | None
1386
1406
  :param mode: Mode
@@ -1388,7 +1408,7 @@ def set_selection_mode(
1388
1408
  """
1389
1409
 
1390
1410
  def set_uniform_opacity(
1391
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1411
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1392
1412
  execution_context: int | str | None = None,
1393
1413
  undo: bool | None = None,
1394
1414
  *,
@@ -1396,7 +1416,7 @@ def set_uniform_opacity(
1396
1416
  ):
1397
1417
  """Set all stroke points to same opacity
1398
1418
 
1399
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1419
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1400
1420
  :type execution_context: int | str | None
1401
1421
  :type undo: bool | None
1402
1422
  :param opacity: Opacity
@@ -1404,7 +1424,7 @@ def set_uniform_opacity(
1404
1424
  """
1405
1425
 
1406
1426
  def set_uniform_thickness(
1407
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1427
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1408
1428
  execution_context: int | str | None = None,
1409
1429
  undo: bool | None = None,
1410
1430
  *,
@@ -1412,7 +1432,7 @@ def set_uniform_thickness(
1412
1432
  ):
1413
1433
  """Set all stroke points to same thickness
1414
1434
 
1415
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1435
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1416
1436
  :type execution_context: int | str | None
1417
1437
  :type undo: bool | None
1418
1438
  :param thickness: Thickness, Thickness
@@ -1420,19 +1440,19 @@ def set_uniform_thickness(
1420
1440
  """
1421
1441
 
1422
1442
  def snap_cursor_to_selected(
1423
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1443
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1424
1444
  execution_context: int | str | None = None,
1425
1445
  undo: bool | None = None,
1426
1446
  ):
1427
1447
  """Snap cursor to center of selected points
1428
1448
 
1429
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1449
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1430
1450
  :type execution_context: int | str | None
1431
1451
  :type undo: bool | None
1432
1452
  """
1433
1453
 
1434
1454
  def snap_to_cursor(
1435
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1455
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1436
1456
  execution_context: int | str | None = None,
1437
1457
  undo: bool | None = None,
1438
1458
  *,
@@ -1440,7 +1460,7 @@ def snap_to_cursor(
1440
1460
  ):
1441
1461
  """Snap selected points/strokes to the cursor
1442
1462
 
1443
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1463
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1444
1464
  :type execution_context: int | str | None
1445
1465
  :type undo: bool | None
1446
1466
  :param use_offset: With Offset, Offset the entire stroke instead of selected points only
@@ -1448,19 +1468,19 @@ def snap_to_cursor(
1448
1468
  """
1449
1469
 
1450
1470
  def snap_to_grid(
1451
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1471
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1452
1472
  execution_context: int | str | None = None,
1453
1473
  undo: bool | None = None,
1454
1474
  ):
1455
1475
  """Snap selected points to the nearest grid points
1456
1476
 
1457
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1477
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1458
1478
  :type execution_context: int | str | None
1459
1479
  :type undo: bool | None
1460
1480
  """
1461
1481
 
1462
1482
  def stroke_material_set(
1463
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1483
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1464
1484
  execution_context: int | str | None = None,
1465
1485
  undo: bool | None = None,
1466
1486
  *,
@@ -1468,7 +1488,7 @@ def stroke_material_set(
1468
1488
  ):
1469
1489
  """Assign the active material slot to the selected strokes
1470
1490
 
1471
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1491
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1472
1492
  :type execution_context: int | str | None
1473
1493
  :type undo: bool | None
1474
1494
  :param material: Material, Name of the material
@@ -1476,7 +1496,7 @@ def stroke_material_set(
1476
1496
  """
1477
1497
 
1478
1498
  def stroke_merge_by_distance(
1479
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1499
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1480
1500
  execution_context: int | str | None = None,
1481
1501
  undo: bool | None = None,
1482
1502
  *,
@@ -1485,7 +1505,7 @@ def stroke_merge_by_distance(
1485
1505
  ):
1486
1506
  """Merge points by distance
1487
1507
 
1488
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1508
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1489
1509
  :type execution_context: int | str | None
1490
1510
  :type undo: bool | None
1491
1511
  :param threshold: Threshold
@@ -1495,7 +1515,7 @@ def stroke_merge_by_distance(
1495
1515
  """
1496
1516
 
1497
1517
  def stroke_reset_vertex_color(
1498
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1518
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1499
1519
  execution_context: int | str | None = None,
1500
1520
  undo: bool | None = None,
1501
1521
  *,
@@ -1503,7 +1523,7 @@ def stroke_reset_vertex_color(
1503
1523
  ):
1504
1524
  """Reset vertex color for all or selected strokes
1505
1525
 
1506
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1526
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1507
1527
  :type execution_context: int | str | None
1508
1528
  :type undo: bool | None
1509
1529
  :param mode: Mode
@@ -1511,7 +1531,7 @@ def stroke_reset_vertex_color(
1511
1531
  """
1512
1532
 
1513
1533
  def stroke_simplify(
1514
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1534
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1515
1535
  execution_context: int | str | None = None,
1516
1536
  undo: bool | None = None,
1517
1537
  *,
@@ -1519,7 +1539,7 @@ def stroke_simplify(
1519
1539
  ):
1520
1540
  """Simplify selected strokes
1521
1541
 
1522
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1542
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1523
1543
  :type execution_context: int | str | None
1524
1544
  :type undo: bool | None
1525
1545
  :param factor: Factor
@@ -1527,7 +1547,7 @@ def stroke_simplify(
1527
1547
  """
1528
1548
 
1529
1549
  def stroke_smooth(
1530
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1550
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1531
1551
  execution_context: int | str | None = None,
1532
1552
  undo: bool | None = None,
1533
1553
  *,
@@ -1541,7 +1561,7 @@ def stroke_smooth(
1541
1561
  ):
1542
1562
  """Smooth selected strokes
1543
1563
 
1544
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1564
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1545
1565
  :type execution_context: int | str | None
1546
1566
  :type undo: bool | None
1547
1567
  :param iterations: Iterations
@@ -1561,7 +1581,7 @@ def stroke_smooth(
1561
1581
  """
1562
1582
 
1563
1583
  def stroke_subdivide(
1564
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1584
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1565
1585
  execution_context: int | str | None = None,
1566
1586
  undo: bool | None = None,
1567
1587
  *,
@@ -1570,7 +1590,7 @@ def stroke_subdivide(
1570
1590
  ):
1571
1591
  """Subdivide between continuous selected points of the stroke adding a point half way between them
1572
1592
 
1573
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1593
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1574
1594
  :type execution_context: int | str | None
1575
1595
  :type undo: bool | None
1576
1596
  :param number_cuts: Number of Cuts
@@ -1580,7 +1600,7 @@ def stroke_subdivide(
1580
1600
  """
1581
1601
 
1582
1602
  def stroke_subdivide_smooth(
1583
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1603
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1584
1604
  execution_context: int | str | None = None,
1585
1605
  undo: bool | None = None,
1586
1606
  *,
@@ -1589,7 +1609,7 @@ def stroke_subdivide_smooth(
1589
1609
  ):
1590
1610
  """Subdivide strokes and smooth them
1591
1611
 
1592
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1612
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1593
1613
  :type execution_context: int | str | None
1594
1614
  :type undo: bool | None
1595
1615
  :param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
@@ -1599,19 +1619,19 @@ def stroke_subdivide_smooth(
1599
1619
  """
1600
1620
 
1601
1621
  def stroke_switch_direction(
1602
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1622
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1603
1623
  execution_context: int | str | None = None,
1604
1624
  undo: bool | None = None,
1605
1625
  ):
1606
1626
  """Change direction of the points of the selected strokes
1607
1627
 
1608
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1628
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1609
1629
  :type execution_context: int | str | None
1610
1630
  :type undo: bool | None
1611
1631
  """
1612
1632
 
1613
1633
  def stroke_trim(
1614
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1634
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1615
1635
  execution_context: int | str | None = None,
1616
1636
  undo: bool | None = None,
1617
1637
  *,
@@ -1622,7 +1642,7 @@ def stroke_trim(
1622
1642
  ):
1623
1643
  """Delete stroke points in between intersecting strokes
1624
1644
 
1625
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1645
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1626
1646
  :type execution_context: int | str | None
1627
1647
  :type undo: bool | None
1628
1648
  :param path: Path
@@ -1636,7 +1656,7 @@ def stroke_trim(
1636
1656
  """
1637
1657
 
1638
1658
  def texture_gradient(
1639
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1659
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1640
1660
  execution_context: int | str | None = None,
1641
1661
  undo: bool | None = None,
1642
1662
  *,
@@ -1649,7 +1669,7 @@ def texture_gradient(
1649
1669
  ):
1650
1670
  """Draw a line to set the fill material gradient for the selected strokes
1651
1671
 
1652
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1672
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1653
1673
  :type execution_context: int | str | None
1654
1674
  :type undo: bool | None
1655
1675
  :param xstart: X Start
@@ -1667,7 +1687,7 @@ def texture_gradient(
1667
1687
  """
1668
1688
 
1669
1689
  def trace_image(
1670
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1690
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1671
1691
  execution_context: int | str | None = None,
1672
1692
  undo: bool | None = None,
1673
1693
  *,
@@ -1684,7 +1704,7 @@ def trace_image(
1684
1704
  ):
1685
1705
  """Extract Grease Pencil strokes from image
1686
1706
 
1687
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1707
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1688
1708
  :type execution_context: int | str | None
1689
1709
  :type undo: bool | None
1690
1710
  :param target: Target Object, Target grease pencil
@@ -1731,7 +1751,7 @@ def trace_image(
1731
1751
  """
1732
1752
 
1733
1753
  def vertex_brush_stroke(
1734
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1754
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1735
1755
  execution_context: int | str | None = None,
1736
1756
  undo: bool | None = None,
1737
1757
  *,
@@ -1741,7 +1761,7 @@ def vertex_brush_stroke(
1741
1761
  ):
1742
1762
  """Draw on vertex colors in the active Grease Pencil object
1743
1763
 
1744
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1764
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1745
1765
  :type execution_context: int | str | None
1746
1766
  :type undo: bool | None
1747
1767
  :param stroke: Stroke
@@ -1763,7 +1783,7 @@ def vertex_brush_stroke(
1763
1783
  """
1764
1784
 
1765
1785
  def vertex_color_brightness_contrast(
1766
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1786
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1767
1787
  execution_context: int | str | None = None,
1768
1788
  undo: bool | None = None,
1769
1789
  *,
@@ -1773,7 +1793,7 @@ def vertex_color_brightness_contrast(
1773
1793
  ):
1774
1794
  """Adjust vertex color brightness/contrast
1775
1795
 
1776
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1796
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1777
1797
  :type execution_context: int | str | None
1778
1798
  :type undo: bool | None
1779
1799
  :param mode: Mode
@@ -1785,7 +1805,7 @@ def vertex_color_brightness_contrast(
1785
1805
  """
1786
1806
 
1787
1807
  def vertex_color_hsv(
1788
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1808
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1789
1809
  execution_context: int | str | None = None,
1790
1810
  undo: bool | None = None,
1791
1811
  *,
@@ -1796,7 +1816,7 @@ def vertex_color_hsv(
1796
1816
  ):
1797
1817
  """Adjust vertex color HSV values
1798
1818
 
1799
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1819
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1800
1820
  :type execution_context: int | str | None
1801
1821
  :type undo: bool | None
1802
1822
  :param mode: Mode
@@ -1810,7 +1830,7 @@ def vertex_color_hsv(
1810
1830
  """
1811
1831
 
1812
1832
  def vertex_color_invert(
1813
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1833
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1814
1834
  execution_context: int | str | None = None,
1815
1835
  undo: bool | None = None,
1816
1836
  *,
@@ -1818,7 +1838,7 @@ def vertex_color_invert(
1818
1838
  ):
1819
1839
  """Invert RGB values
1820
1840
 
1821
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1841
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1822
1842
  :type execution_context: int | str | None
1823
1843
  :type undo: bool | None
1824
1844
  :param mode: Mode
@@ -1826,7 +1846,7 @@ def vertex_color_invert(
1826
1846
  """
1827
1847
 
1828
1848
  def vertex_color_levels(
1829
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1849
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1830
1850
  execution_context: int | str | None = None,
1831
1851
  undo: bool | None = None,
1832
1852
  *,
@@ -1836,7 +1856,7 @@ def vertex_color_levels(
1836
1856
  ):
1837
1857
  """Adjust levels of vertex colors
1838
1858
 
1839
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1859
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1840
1860
  :type execution_context: int | str | None
1841
1861
  :type undo: bool | None
1842
1862
  :param mode: Mode
@@ -1848,7 +1868,7 @@ def vertex_color_levels(
1848
1868
  """
1849
1869
 
1850
1870
  def vertex_color_set(
1851
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1871
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1852
1872
  execution_context: int | str | None = None,
1853
1873
  undo: bool | None = None,
1854
1874
  *,
@@ -1857,7 +1877,7 @@ def vertex_color_set(
1857
1877
  ):
1858
1878
  """Set active color to all selected vertex
1859
1879
 
1860
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1880
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1861
1881
  :type execution_context: int | str | None
1862
1882
  :type undo: bool | None
1863
1883
  :param mode: Mode
@@ -1867,19 +1887,19 @@ def vertex_color_set(
1867
1887
  """
1868
1888
 
1869
1889
  def vertex_group_normalize(
1870
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1890
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1871
1891
  execution_context: int | str | None = None,
1872
1892
  undo: bool | None = None,
1873
1893
  ):
1874
1894
  """Normalize weights of the active vertex group
1875
1895
 
1876
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1896
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1877
1897
  :type execution_context: int | str | None
1878
1898
  :type undo: bool | None
1879
1899
  """
1880
1900
 
1881
1901
  def vertex_group_normalize_all(
1882
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1902
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1883
1903
  execution_context: int | str | None = None,
1884
1904
  undo: bool | None = None,
1885
1905
  *,
@@ -1887,7 +1907,7 @@ def vertex_group_normalize_all(
1887
1907
  ):
1888
1908
  """Normalize the weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
1889
1909
 
1890
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1910
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1891
1911
  :type execution_context: int | str | None
1892
1912
  :type undo: bool | None
1893
1913
  :param lock_active: Lock Active, Keep the values of the active group while normalizing others
@@ -1895,7 +1915,7 @@ def vertex_group_normalize_all(
1895
1915
  """
1896
1916
 
1897
1917
  def vertex_group_smooth(
1898
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1918
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1899
1919
  execution_context: int | str | None = None,
1900
1920
  undo: bool | None = None,
1901
1921
  *,
@@ -1904,7 +1924,7 @@ def vertex_group_smooth(
1904
1924
  ):
1905
1925
  """Smooth the weights of the active vertex group
1906
1926
 
1907
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1927
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1908
1928
  :type execution_context: int | str | None
1909
1929
  :type undo: bool | None
1910
1930
  :param factor: Factor
@@ -1914,7 +1934,7 @@ def vertex_group_smooth(
1914
1934
  """
1915
1935
 
1916
1936
  def weight_brush_stroke(
1917
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1937
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1918
1938
  execution_context: int | str | None = None,
1919
1939
  undo: bool | None = None,
1920
1940
  *,
@@ -1924,7 +1944,7 @@ def weight_brush_stroke(
1924
1944
  ):
1925
1945
  """Draw weight on stroke points in the active Grease Pencil object
1926
1946
 
1927
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1947
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1928
1948
  :type execution_context: int | str | None
1929
1949
  :type undo: bool | None
1930
1950
  :param stroke: Stroke
@@ -1946,37 +1966,37 @@ def weight_brush_stroke(
1946
1966
  """
1947
1967
 
1948
1968
  def weight_invert(
1949
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1969
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1950
1970
  execution_context: int | str | None = None,
1951
1971
  undo: bool | None = None,
1952
1972
  ):
1953
1973
  """Invert the weight of active vertex group
1954
1974
 
1955
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1975
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1956
1976
  :type execution_context: int | str | None
1957
1977
  :type undo: bool | None
1958
1978
  """
1959
1979
 
1960
1980
  def weight_sample(
1961
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1981
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1962
1982
  execution_context: int | str | None = None,
1963
1983
  undo: bool | None = None,
1964
1984
  ):
1965
1985
  """Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
1966
1986
 
1967
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1987
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1968
1988
  :type execution_context: int | str | None
1969
1989
  :type undo: bool | None
1970
1990
  """
1971
1991
 
1972
1992
  def weight_toggle_direction(
1973
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1993
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1974
1994
  execution_context: int | str | None = None,
1975
1995
  undo: bool | None = None,
1976
1996
  ):
1977
1997
  """Toggle Add/Subtract for the weight paint draw tool
1978
1998
 
1979
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1999
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1980
2000
  :type execution_context: int | str | None
1981
2001
  :type undo: bool | None
1982
2002
  """