fake-bpy-module 20240928__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 (84) hide show
  1. bl_ui/generic_ui_list/__init__.pyi +2 -2
  2. bpy/__init__.pyi +1 -1
  3. bpy/ops/action/__init__.pyi +76 -76
  4. bpy/ops/anim/__init__.pyi +124 -124
  5. bpy/ops/armature/__init__.pyi +96 -96
  6. bpy/ops/asset/__init__.pyi +32 -32
  7. bpy/ops/boid/__init__.pyi +16 -16
  8. bpy/ops/brush/__init__.pyi +26 -26
  9. bpy/ops/buttons/__init__.pyi +12 -12
  10. bpy/ops/cachefile/__init__.pyi +10 -10
  11. bpy/ops/camera/__init__.pyi +4 -4
  12. bpy/ops/clip/__init__.pyi +184 -184
  13. bpy/ops/cloth/__init__.pyi +2 -2
  14. bpy/ops/collection/__init__.pyi +18 -18
  15. bpy/ops/console/__init__.pyi +42 -42
  16. bpy/ops/constraint/__init__.pyi +36 -36
  17. bpy/ops/curve/__init__.pyi +102 -102
  18. bpy/ops/curves/__init__.pyi +54 -54
  19. bpy/ops/cycles/__init__.pyi +6 -6
  20. bpy/ops/dpaint/__init__.pyi +10 -10
  21. bpy/ops/ed/__init__.pyi +24 -24
  22. bpy/ops/export_anim/__init__.pyi +2 -2
  23. bpy/ops/export_scene/__init__.pyi +4 -4
  24. bpy/ops/extensions/__init__.pyi +68 -68
  25. bpy/ops/file/__init__.pyi +80 -80
  26. bpy/ops/fluid/__init__.pyi +28 -28
  27. bpy/ops/font/__init__.pyi +46 -46
  28. bpy/ops/geometry/__init__.pyi +20 -20
  29. bpy/ops/gizmogroup/__init__.pyi +4 -4
  30. bpy/ops/gpencil/__init__.pyi +284 -284
  31. bpy/ops/graph/__init__.pyi +130 -130
  32. bpy/ops/grease_pencil/__init__.pyi +202 -202
  33. bpy/ops/image/__init__.pyi +98 -98
  34. bpy/ops/import_anim/__init__.pyi +2 -2
  35. bpy/ops/import_curve/__init__.pyi +2 -2
  36. bpy/ops/import_scene/__init__.pyi +4 -4
  37. bpy/ops/info/__init__.pyi +14 -14
  38. bpy/ops/lattice/__init__.pyi +16 -16
  39. bpy/ops/marker/__init__.pyi +22 -22
  40. bpy/ops/mask/__init__.pyi +78 -78
  41. bpy/ops/material/__init__.pyi +6 -6
  42. bpy/ops/mball/__init__.pyi +16 -16
  43. bpy/ops/mesh/__init__.pyi +326 -326
  44. bpy/ops/nla/__init__.pyi +78 -78
  45. bpy/ops/node/__init__.pyi +230 -230
  46. bpy/ops/object/__init__.pyi +476 -476
  47. bpy/ops/outliner/__init__.pyi +142 -142
  48. bpy/ops/paint/__init__.pyi +108 -108
  49. bpy/ops/paintcurve/__init__.pyi +16 -16
  50. bpy/ops/palette/__init__.pyi +14 -14
  51. bpy/ops/particle/__init__.pyi +72 -72
  52. bpy/ops/pose/__init__.pyi +102 -102
  53. bpy/ops/poselib/__init__.pyi +18 -18
  54. bpy/ops/preferences/__init__.pyi +70 -70
  55. bpy/ops/ptcache/__init__.pyi +14 -14
  56. bpy/ops/render/__init__.pyi +26 -26
  57. bpy/ops/rigidbody/__init__.pyi +26 -26
  58. bpy/ops/scene/__init__.pyi +74 -74
  59. bpy/ops/screen/__init__.pyi +78 -78
  60. bpy/ops/script/__init__.pyi +6 -6
  61. bpy/ops/sculpt/__init__.pyi +74 -74
  62. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  63. bpy/ops/sequencer/__init__.pyi +178 -178
  64. bpy/ops/sound/__init__.pyi +14 -14
  65. bpy/ops/spreadsheet/__init__.pyi +8 -8
  66. bpy/ops/surface/__init__.pyi +12 -12
  67. bpy/ops/text/__init__.pyi +86 -86
  68. bpy/ops/text_editor/__init__.pyi +2 -2
  69. bpy/ops/texture/__init__.pyi +8 -8
  70. bpy/ops/transform/__init__.pyi +54 -54
  71. bpy/ops/ui/__init__.pyi +68 -68
  72. bpy/ops/uilist/__init__.pyi +6 -6
  73. bpy/ops/uv/__init__.pyi +98 -98
  74. bpy/ops/view2d/__init__.pyi +28 -28
  75. bpy/ops/view3d/__init__.pyi +134 -134
  76. bpy/ops/wm/__init__.pyi +232 -232
  77. bpy/ops/workspace/__init__.pyi +14 -14
  78. bpy/ops/world/__init__.pyi +4 -4
  79. bpy/types/__init__.pyi +254 -219
  80. bpy_extras/object_utils/__init__.pyi +4 -4
  81. {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240929.dist-info}/METADATA +1 -1
  82. {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240929.dist-info}/RECORD +84 -84
  83. {fake_bpy_module-20240928.dist-info → fake_bpy_module-20240929.dist-info}/WHEEL +0 -0
  84. {fake_bpy_module-20240928.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
@@ -1268,7 +1268,7 @@ def select_random(
1268
1268
  """
1269
1269
 
1270
1270
  def select_similar(
1271
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1271
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1272
1272
  execution_context: int | str | None = None,
1273
1273
  undo: bool | None = None,
1274
1274
  *,
@@ -1278,7 +1278,7 @@ def select_similar(
1278
1278
  ):
1279
1279
  """Select all strokes with similar characteristics
1280
1280
 
1281
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1281
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1282
1282
  :type execution_context: int | str | None
1283
1283
  :type undo: bool | None
1284
1284
  :param mode: Mode
@@ -1288,7 +1288,7 @@ def select_similar(
1288
1288
  """
1289
1289
 
1290
1290
  def separate(
1291
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1291
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1292
1292
  execution_context: int | str | None = None,
1293
1293
  undo: bool | None = None,
1294
1294
  *,
@@ -1296,7 +1296,7 @@ def separate(
1296
1296
  ):
1297
1297
  """Separate the selected geometry into a new grease pencil object
1298
1298
 
1299
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1299
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1300
1300
  :type execution_context: int | str | None
1301
1301
  :type undo: bool | None
1302
1302
  :param mode: Mode
@@ -1313,19 +1313,19 @@ def separate(
1313
1313
  """
1314
1314
 
1315
1315
  def set_active_material(
1316
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1316
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1317
1317
  execution_context: int | str | None = None,
1318
1318
  undo: bool | None = None,
1319
1319
  ):
1320
1320
  """Set the selected stroke material as the active material
1321
1321
 
1322
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1322
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1323
1323
  :type execution_context: int | str | None
1324
1324
  :type undo: bool | None
1325
1325
  """
1326
1326
 
1327
1327
  def set_curve_resolution(
1328
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1328
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1329
1329
  execution_context: int | str | None = None,
1330
1330
  undo: bool | None = None,
1331
1331
  *,
@@ -1333,7 +1333,7 @@ def set_curve_resolution(
1333
1333
  ):
1334
1334
  """Set resolution of selected curves
1335
1335
 
1336
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1336
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1337
1337
  :type execution_context: int | str | None
1338
1338
  :type undo: bool | None
1339
1339
  :param resolution: Resolution, The resolution to use for each curve segment
@@ -1341,7 +1341,7 @@ def set_curve_resolution(
1341
1341
  """
1342
1342
 
1343
1343
  def set_curve_type(
1344
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1344
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1345
1345
  execution_context: int | str | None = None,
1346
1346
  undo: bool | None = None,
1347
1347
  *,
@@ -1350,7 +1350,7 @@ def set_curve_type(
1350
1350
  ):
1351
1351
  """Set type of selected curves
1352
1352
 
1353
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1353
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1354
1354
  :type execution_context: int | str | None
1355
1355
  :type undo: bool | None
1356
1356
  :param type: Type, Curve type
@@ -1360,7 +1360,7 @@ def set_curve_type(
1360
1360
  """
1361
1361
 
1362
1362
  def set_handle_type(
1363
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1363
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1364
1364
  execution_context: int | str | None = None,
1365
1365
  undo: bool | None = None,
1366
1366
  *,
@@ -1368,7 +1368,7 @@ def set_handle_type(
1368
1368
  ):
1369
1369
  """Set the handle type for bezier curves
1370
1370
 
1371
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1371
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1372
1372
  :type execution_context: int | str | None
1373
1373
  :type undo: bool | None
1374
1374
  :param type: Type
@@ -1376,7 +1376,7 @@ def set_handle_type(
1376
1376
  """
1377
1377
 
1378
1378
  def set_material(
1379
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1379
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1380
1380
  execution_context: int | str | None = None,
1381
1381
  undo: bool | None = None,
1382
1382
  *,
@@ -1384,7 +1384,7 @@ def set_material(
1384
1384
  ):
1385
1385
  """Set active material
1386
1386
 
1387
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1387
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1388
1388
  :type execution_context: int | str | None
1389
1389
  :type undo: bool | None
1390
1390
  :param slot: Material Slot
@@ -1392,7 +1392,7 @@ def set_material(
1392
1392
  """
1393
1393
 
1394
1394
  def set_selection_mode(
1395
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1395
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1396
1396
  execution_context: int | str | None = None,
1397
1397
  undo: bool | None = None,
1398
1398
  *,
@@ -1400,7 +1400,7 @@ def set_selection_mode(
1400
1400
  ):
1401
1401
  """Change the selection mode for Grease Pencil strokes
1402
1402
 
1403
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1403
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1404
1404
  :type execution_context: int | str | None
1405
1405
  :type undo: bool | None
1406
1406
  :param mode: Mode
@@ -1408,7 +1408,7 @@ def set_selection_mode(
1408
1408
  """
1409
1409
 
1410
1410
  def set_uniform_opacity(
1411
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1411
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1412
1412
  execution_context: int | str | None = None,
1413
1413
  undo: bool | None = None,
1414
1414
  *,
@@ -1416,7 +1416,7 @@ def set_uniform_opacity(
1416
1416
  ):
1417
1417
  """Set all stroke points to same opacity
1418
1418
 
1419
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1419
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1420
1420
  :type execution_context: int | str | None
1421
1421
  :type undo: bool | None
1422
1422
  :param opacity: Opacity
@@ -1424,7 +1424,7 @@ def set_uniform_opacity(
1424
1424
  """
1425
1425
 
1426
1426
  def set_uniform_thickness(
1427
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1427
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1428
1428
  execution_context: int | str | None = None,
1429
1429
  undo: bool | None = None,
1430
1430
  *,
@@ -1432,7 +1432,7 @@ def set_uniform_thickness(
1432
1432
  ):
1433
1433
  """Set all stroke points to same thickness
1434
1434
 
1435
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1435
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1436
1436
  :type execution_context: int | str | None
1437
1437
  :type undo: bool | None
1438
1438
  :param thickness: Thickness, Thickness
@@ -1440,19 +1440,19 @@ def set_uniform_thickness(
1440
1440
  """
1441
1441
 
1442
1442
  def snap_cursor_to_selected(
1443
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1443
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1444
1444
  execution_context: int | str | None = None,
1445
1445
  undo: bool | None = None,
1446
1446
  ):
1447
1447
  """Snap cursor to center of selected points
1448
1448
 
1449
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1449
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1450
1450
  :type execution_context: int | str | None
1451
1451
  :type undo: bool | None
1452
1452
  """
1453
1453
 
1454
1454
  def snap_to_cursor(
1455
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1455
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1456
1456
  execution_context: int | str | None = None,
1457
1457
  undo: bool | None = None,
1458
1458
  *,
@@ -1460,7 +1460,7 @@ def snap_to_cursor(
1460
1460
  ):
1461
1461
  """Snap selected points/strokes to the cursor
1462
1462
 
1463
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1463
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1464
1464
  :type execution_context: int | str | None
1465
1465
  :type undo: bool | None
1466
1466
  :param use_offset: With Offset, Offset the entire stroke instead of selected points only
@@ -1468,19 +1468,19 @@ def snap_to_cursor(
1468
1468
  """
1469
1469
 
1470
1470
  def snap_to_grid(
1471
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1471
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1472
1472
  execution_context: int | str | None = None,
1473
1473
  undo: bool | None = None,
1474
1474
  ):
1475
1475
  """Snap selected points to the nearest grid points
1476
1476
 
1477
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1477
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1478
1478
  :type execution_context: int | str | None
1479
1479
  :type undo: bool | None
1480
1480
  """
1481
1481
 
1482
1482
  def stroke_material_set(
1483
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1483
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1484
1484
  execution_context: int | str | None = None,
1485
1485
  undo: bool | None = None,
1486
1486
  *,
@@ -1488,7 +1488,7 @@ def stroke_material_set(
1488
1488
  ):
1489
1489
  """Assign the active material slot to the selected strokes
1490
1490
 
1491
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1491
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1492
1492
  :type execution_context: int | str | None
1493
1493
  :type undo: bool | None
1494
1494
  :param material: Material, Name of the material
@@ -1496,7 +1496,7 @@ def stroke_material_set(
1496
1496
  """
1497
1497
 
1498
1498
  def stroke_merge_by_distance(
1499
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1499
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1500
1500
  execution_context: int | str | None = None,
1501
1501
  undo: bool | None = None,
1502
1502
  *,
@@ -1505,7 +1505,7 @@ def stroke_merge_by_distance(
1505
1505
  ):
1506
1506
  """Merge points by distance
1507
1507
 
1508
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1508
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1509
1509
  :type execution_context: int | str | None
1510
1510
  :type undo: bool | None
1511
1511
  :param threshold: Threshold
@@ -1515,7 +1515,7 @@ def stroke_merge_by_distance(
1515
1515
  """
1516
1516
 
1517
1517
  def stroke_reset_vertex_color(
1518
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1518
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1519
1519
  execution_context: int | str | None = None,
1520
1520
  undo: bool | None = None,
1521
1521
  *,
@@ -1523,7 +1523,7 @@ def stroke_reset_vertex_color(
1523
1523
  ):
1524
1524
  """Reset vertex color for all or selected strokes
1525
1525
 
1526
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1526
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1527
1527
  :type execution_context: int | str | None
1528
1528
  :type undo: bool | None
1529
1529
  :param mode: Mode
@@ -1531,7 +1531,7 @@ def stroke_reset_vertex_color(
1531
1531
  """
1532
1532
 
1533
1533
  def stroke_simplify(
1534
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1534
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1535
1535
  execution_context: int | str | None = None,
1536
1536
  undo: bool | None = None,
1537
1537
  *,
@@ -1539,7 +1539,7 @@ def stroke_simplify(
1539
1539
  ):
1540
1540
  """Simplify selected strokes
1541
1541
 
1542
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1542
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1543
1543
  :type execution_context: int | str | None
1544
1544
  :type undo: bool | None
1545
1545
  :param factor: Factor
@@ -1547,7 +1547,7 @@ def stroke_simplify(
1547
1547
  """
1548
1548
 
1549
1549
  def stroke_smooth(
1550
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1550
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1551
1551
  execution_context: int | str | None = None,
1552
1552
  undo: bool | None = None,
1553
1553
  *,
@@ -1561,7 +1561,7 @@ def stroke_smooth(
1561
1561
  ):
1562
1562
  """Smooth selected strokes
1563
1563
 
1564
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1564
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1565
1565
  :type execution_context: int | str | None
1566
1566
  :type undo: bool | None
1567
1567
  :param iterations: Iterations
@@ -1581,7 +1581,7 @@ def stroke_smooth(
1581
1581
  """
1582
1582
 
1583
1583
  def stroke_subdivide(
1584
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1584
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1585
1585
  execution_context: int | str | None = None,
1586
1586
  undo: bool | None = None,
1587
1587
  *,
@@ -1590,7 +1590,7 @@ def stroke_subdivide(
1590
1590
  ):
1591
1591
  """Subdivide between continuous selected points of the stroke adding a point half way between them
1592
1592
 
1593
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1593
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1594
1594
  :type execution_context: int | str | None
1595
1595
  :type undo: bool | None
1596
1596
  :param number_cuts: Number of Cuts
@@ -1600,7 +1600,7 @@ def stroke_subdivide(
1600
1600
  """
1601
1601
 
1602
1602
  def stroke_subdivide_smooth(
1603
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1603
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1604
1604
  execution_context: int | str | None = None,
1605
1605
  undo: bool | None = None,
1606
1606
  *,
@@ -1609,7 +1609,7 @@ def stroke_subdivide_smooth(
1609
1609
  ):
1610
1610
  """Subdivide strokes and smooth them
1611
1611
 
1612
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1612
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1613
1613
  :type execution_context: int | str | None
1614
1614
  :type undo: bool | None
1615
1615
  :param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
@@ -1619,19 +1619,19 @@ def stroke_subdivide_smooth(
1619
1619
  """
1620
1620
 
1621
1621
  def stroke_switch_direction(
1622
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1622
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1623
1623
  execution_context: int | str | None = None,
1624
1624
  undo: bool | None = None,
1625
1625
  ):
1626
1626
  """Change direction of the points of the selected strokes
1627
1627
 
1628
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1628
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1629
1629
  :type execution_context: int | str | None
1630
1630
  :type undo: bool | None
1631
1631
  """
1632
1632
 
1633
1633
  def stroke_trim(
1634
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1634
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1635
1635
  execution_context: int | str | None = None,
1636
1636
  undo: bool | None = None,
1637
1637
  *,
@@ -1642,7 +1642,7 @@ def stroke_trim(
1642
1642
  ):
1643
1643
  """Delete stroke points in between intersecting strokes
1644
1644
 
1645
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1645
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1646
1646
  :type execution_context: int | str | None
1647
1647
  :type undo: bool | None
1648
1648
  :param path: Path
@@ -1656,7 +1656,7 @@ def stroke_trim(
1656
1656
  """
1657
1657
 
1658
1658
  def texture_gradient(
1659
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1659
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1660
1660
  execution_context: int | str | None = None,
1661
1661
  undo: bool | None = None,
1662
1662
  *,
@@ -1669,7 +1669,7 @@ def texture_gradient(
1669
1669
  ):
1670
1670
  """Draw a line to set the fill material gradient for the selected strokes
1671
1671
 
1672
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1672
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1673
1673
  :type execution_context: int | str | None
1674
1674
  :type undo: bool | None
1675
1675
  :param xstart: X Start
@@ -1687,7 +1687,7 @@ def texture_gradient(
1687
1687
  """
1688
1688
 
1689
1689
  def trace_image(
1690
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1690
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1691
1691
  execution_context: int | str | None = None,
1692
1692
  undo: bool | None = None,
1693
1693
  *,
@@ -1704,7 +1704,7 @@ def trace_image(
1704
1704
  ):
1705
1705
  """Extract Grease Pencil strokes from image
1706
1706
 
1707
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1707
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1708
1708
  :type execution_context: int | str | None
1709
1709
  :type undo: bool | None
1710
1710
  :param target: Target Object, Target grease pencil
@@ -1751,7 +1751,7 @@ def trace_image(
1751
1751
  """
1752
1752
 
1753
1753
  def vertex_brush_stroke(
1754
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1754
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1755
1755
  execution_context: int | str | None = None,
1756
1756
  undo: bool | None = None,
1757
1757
  *,
@@ -1761,7 +1761,7 @@ def vertex_brush_stroke(
1761
1761
  ):
1762
1762
  """Draw on vertex colors in the active Grease Pencil object
1763
1763
 
1764
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1764
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1765
1765
  :type execution_context: int | str | None
1766
1766
  :type undo: bool | None
1767
1767
  :param stroke: Stroke
@@ -1783,7 +1783,7 @@ def vertex_brush_stroke(
1783
1783
  """
1784
1784
 
1785
1785
  def vertex_color_brightness_contrast(
1786
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1786
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1787
1787
  execution_context: int | str | None = None,
1788
1788
  undo: bool | None = None,
1789
1789
  *,
@@ -1793,7 +1793,7 @@ def vertex_color_brightness_contrast(
1793
1793
  ):
1794
1794
  """Adjust vertex color brightness/contrast
1795
1795
 
1796
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1796
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1797
1797
  :type execution_context: int | str | None
1798
1798
  :type undo: bool | None
1799
1799
  :param mode: Mode
@@ -1805,7 +1805,7 @@ def vertex_color_brightness_contrast(
1805
1805
  """
1806
1806
 
1807
1807
  def vertex_color_hsv(
1808
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1808
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1809
1809
  execution_context: int | str | None = None,
1810
1810
  undo: bool | None = None,
1811
1811
  *,
@@ -1816,7 +1816,7 @@ def vertex_color_hsv(
1816
1816
  ):
1817
1817
  """Adjust vertex color HSV values
1818
1818
 
1819
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1819
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1820
1820
  :type execution_context: int | str | None
1821
1821
  :type undo: bool | None
1822
1822
  :param mode: Mode
@@ -1830,7 +1830,7 @@ def vertex_color_hsv(
1830
1830
  """
1831
1831
 
1832
1832
  def vertex_color_invert(
1833
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1833
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1834
1834
  execution_context: int | str | None = None,
1835
1835
  undo: bool | None = None,
1836
1836
  *,
@@ -1838,7 +1838,7 @@ def vertex_color_invert(
1838
1838
  ):
1839
1839
  """Invert RGB values
1840
1840
 
1841
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1841
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1842
1842
  :type execution_context: int | str | None
1843
1843
  :type undo: bool | None
1844
1844
  :param mode: Mode
@@ -1846,7 +1846,7 @@ def vertex_color_invert(
1846
1846
  """
1847
1847
 
1848
1848
  def vertex_color_levels(
1849
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1849
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1850
1850
  execution_context: int | str | None = None,
1851
1851
  undo: bool | None = None,
1852
1852
  *,
@@ -1856,7 +1856,7 @@ def vertex_color_levels(
1856
1856
  ):
1857
1857
  """Adjust levels of vertex colors
1858
1858
 
1859
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1859
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1860
1860
  :type execution_context: int | str | None
1861
1861
  :type undo: bool | None
1862
1862
  :param mode: Mode
@@ -1868,7 +1868,7 @@ def vertex_color_levels(
1868
1868
  """
1869
1869
 
1870
1870
  def vertex_color_set(
1871
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1871
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1872
1872
  execution_context: int | str | None = None,
1873
1873
  undo: bool | None = None,
1874
1874
  *,
@@ -1877,7 +1877,7 @@ def vertex_color_set(
1877
1877
  ):
1878
1878
  """Set active color to all selected vertex
1879
1879
 
1880
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1880
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1881
1881
  :type execution_context: int | str | None
1882
1882
  :type undo: bool | None
1883
1883
  :param mode: Mode
@@ -1887,19 +1887,19 @@ def vertex_color_set(
1887
1887
  """
1888
1888
 
1889
1889
  def vertex_group_normalize(
1890
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1890
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1891
1891
  execution_context: int | str | None = None,
1892
1892
  undo: bool | None = None,
1893
1893
  ):
1894
1894
  """Normalize weights of the active vertex group
1895
1895
 
1896
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1896
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1897
1897
  :type execution_context: int | str | None
1898
1898
  :type undo: bool | None
1899
1899
  """
1900
1900
 
1901
1901
  def vertex_group_normalize_all(
1902
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1902
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1903
1903
  execution_context: int | str | None = None,
1904
1904
  undo: bool | None = None,
1905
1905
  *,
@@ -1907,7 +1907,7 @@ def vertex_group_normalize_all(
1907
1907
  ):
1908
1908
  """Normalize the weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
1909
1909
 
1910
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1910
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1911
1911
  :type execution_context: int | str | None
1912
1912
  :type undo: bool | None
1913
1913
  :param lock_active: Lock Active, Keep the values of the active group while normalizing others
@@ -1915,7 +1915,7 @@ def vertex_group_normalize_all(
1915
1915
  """
1916
1916
 
1917
1917
  def vertex_group_smooth(
1918
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1918
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1919
1919
  execution_context: int | str | None = None,
1920
1920
  undo: bool | None = None,
1921
1921
  *,
@@ -1924,7 +1924,7 @@ def vertex_group_smooth(
1924
1924
  ):
1925
1925
  """Smooth the weights of the active vertex group
1926
1926
 
1927
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1927
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1928
1928
  :type execution_context: int | str | None
1929
1929
  :type undo: bool | None
1930
1930
  :param factor: Factor
@@ -1934,7 +1934,7 @@ def vertex_group_smooth(
1934
1934
  """
1935
1935
 
1936
1936
  def weight_brush_stroke(
1937
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1937
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1938
1938
  execution_context: int | str | None = None,
1939
1939
  undo: bool | None = None,
1940
1940
  *,
@@ -1944,7 +1944,7 @@ def weight_brush_stroke(
1944
1944
  ):
1945
1945
  """Draw weight on stroke points in the active Grease Pencil object
1946
1946
 
1947
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1947
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1948
1948
  :type execution_context: int | str | None
1949
1949
  :type undo: bool | None
1950
1950
  :param stroke: Stroke
@@ -1966,37 +1966,37 @@ def weight_brush_stroke(
1966
1966
  """
1967
1967
 
1968
1968
  def weight_invert(
1969
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1969
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1970
1970
  execution_context: int | str | None = None,
1971
1971
  undo: bool | None = None,
1972
1972
  ):
1973
1973
  """Invert the weight of active vertex group
1974
1974
 
1975
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1975
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1976
1976
  :type execution_context: int | str | None
1977
1977
  :type undo: bool | None
1978
1978
  """
1979
1979
 
1980
1980
  def weight_sample(
1981
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1981
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1982
1982
  execution_context: int | str | None = None,
1983
1983
  undo: bool | None = None,
1984
1984
  ):
1985
1985
  """Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
1986
1986
 
1987
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1987
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1988
1988
  :type execution_context: int | str | None
1989
1989
  :type undo: bool | None
1990
1990
  """
1991
1991
 
1992
1992
  def weight_toggle_direction(
1993
- override_context: bpy.types.Context | dict[str, typing.Any] = None,
1993
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1994
1994
  execution_context: int | str | None = None,
1995
1995
  undo: bool | None = None,
1996
1996
  ):
1997
1997
  """Toggle Add/Subtract for the weight paint draw tool
1998
1998
 
1999
- :type override_context: bpy.types.Context | dict[str, typing.Any]
1999
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2000
2000
  :type execution_context: int | str | None
2001
2001
  :type undo: bool | None
2002
2002
  """