fake-bpy-module 20240811__py3-none-any.whl → 20240813__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 (83) hide show
  1. bl_ui/space_view3d/__init__.pyi +31 -0
  2. bpy/ops/action/__init__.pyi +76 -76
  3. bpy/ops/anim/__init__.pyi +110 -110
  4. bpy/ops/armature/__init__.pyi +96 -96
  5. bpy/ops/asset/__init__.pyi +32 -32
  6. bpy/ops/boid/__init__.pyi +16 -16
  7. bpy/ops/brush/__init__.pyi +26 -26
  8. bpy/ops/buttons/__init__.pyi +12 -12
  9. bpy/ops/cachefile/__init__.pyi +10 -10
  10. bpy/ops/camera/__init__.pyi +4 -4
  11. bpy/ops/clip/__init__.pyi +184 -184
  12. bpy/ops/cloth/__init__.pyi +2 -2
  13. bpy/ops/collection/__init__.pyi +18 -18
  14. bpy/ops/console/__init__.pyi +42 -42
  15. bpy/ops/constraint/__init__.pyi +36 -36
  16. bpy/ops/curve/__init__.pyi +102 -102
  17. bpy/ops/curves/__init__.pyi +54 -54
  18. bpy/ops/cycles/__init__.pyi +6 -6
  19. bpy/ops/dpaint/__init__.pyi +10 -10
  20. bpy/ops/ed/__init__.pyi +24 -24
  21. bpy/ops/export_anim/__init__.pyi +2 -2
  22. bpy/ops/export_scene/__init__.pyi +4 -4
  23. bpy/ops/extensions/__init__.pyi +68 -68
  24. bpy/ops/file/__init__.pyi +80 -80
  25. bpy/ops/fluid/__init__.pyi +28 -28
  26. bpy/ops/font/__init__.pyi +46 -46
  27. bpy/ops/geometry/__init__.pyi +20 -20
  28. bpy/ops/gizmogroup/__init__.pyi +4 -4
  29. bpy/ops/gpencil/__init__.pyi +284 -284
  30. bpy/ops/graph/__init__.pyi +130 -130
  31. bpy/ops/grease_pencil/__init__.pyi +166 -166
  32. bpy/ops/image/__init__.pyi +98 -98
  33. bpy/ops/import_anim/__init__.pyi +2 -2
  34. bpy/ops/import_curve/__init__.pyi +2 -2
  35. bpy/ops/import_scene/__init__.pyi +4 -4
  36. bpy/ops/info/__init__.pyi +14 -14
  37. bpy/ops/lattice/__init__.pyi +16 -16
  38. bpy/ops/marker/__init__.pyi +22 -22
  39. bpy/ops/mask/__init__.pyi +78 -78
  40. bpy/ops/material/__init__.pyi +6 -6
  41. bpy/ops/mball/__init__.pyi +16 -16
  42. bpy/ops/mesh/__init__.pyi +326 -326
  43. bpy/ops/nla/__init__.pyi +78 -78
  44. bpy/ops/node/__init__.pyi +208 -208
  45. bpy/ops/object/__init__.pyi +473 -473
  46. bpy/ops/outliner/__init__.pyi +142 -142
  47. bpy/ops/paint/__init__.pyi +108 -108
  48. bpy/ops/paintcurve/__init__.pyi +16 -16
  49. bpy/ops/palette/__init__.pyi +14 -14
  50. bpy/ops/particle/__init__.pyi +72 -72
  51. bpy/ops/pose/__init__.pyi +102 -102
  52. bpy/ops/poselib/__init__.pyi +18 -18
  53. bpy/ops/preferences/__init__.pyi +70 -70
  54. bpy/ops/ptcache/__init__.pyi +14 -14
  55. bpy/ops/render/__init__.pyi +26 -26
  56. bpy/ops/rigidbody/__init__.pyi +26 -26
  57. bpy/ops/scene/__init__.pyi +74 -74
  58. bpy/ops/screen/__init__.pyi +78 -78
  59. bpy/ops/script/__init__.pyi +6 -6
  60. bpy/ops/sculpt/__init__.pyi +72 -72
  61. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  62. bpy/ops/sequencer/__init__.pyi +174 -174
  63. bpy/ops/sound/__init__.pyi +14 -14
  64. bpy/ops/spreadsheet/__init__.pyi +8 -8
  65. bpy/ops/surface/__init__.pyi +12 -12
  66. bpy/ops/text/__init__.pyi +86 -86
  67. bpy/ops/text_editor/__init__.pyi +2 -2
  68. bpy/ops/texture/__init__.pyi +8 -8
  69. bpy/ops/transform/__init__.pyi +54 -54
  70. bpy/ops/ui/__init__.pyi +64 -64
  71. bpy/ops/uilist/__init__.pyi +6 -6
  72. bpy/ops/uv/__init__.pyi +98 -98
  73. bpy/ops/view2d/__init__.pyi +28 -28
  74. bpy/ops/view3d/__init__.pyi +134 -134
  75. bpy/ops/wm/__init__.pyi +226 -226
  76. bpy/ops/workspace/__init__.pyi +14 -14
  77. bpy/ops/world/__init__.pyi +4 -4
  78. bpy/types/__init__.pyi +76 -64
  79. {fake_bpy_module-20240811.dist-info → fake_bpy_module-20240813.dist-info}/METADATA +1 -1
  80. {fake_bpy_module-20240811.dist-info → fake_bpy_module-20240813.dist-info}/RECORD +83 -83
  81. freestyle/utils/__init__.pyi +1 -1
  82. {fake_bpy_module-20240811.dist-info → fake_bpy_module-20240813.dist-info}/WHEEL +0 -0
  83. {fake_bpy_module-20240811.dist-info → fake_bpy_module-20240813.dist-info}/top_level.txt +0 -0
@@ -9,13 +9,13 @@ GenericType1 = typing.TypeVar("GenericType1")
9
9
  GenericType2 = typing.TypeVar("GenericType2")
10
10
 
11
11
  def active_frame_delete(
12
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
12
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
13
13
  execution_context: int | str | None = None,
14
14
  undo: bool | None = None,
15
15
  ):
16
16
  """Delete the active frame for the active Grease Pencil Layer
17
17
 
18
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
18
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
19
19
  :type execution_context: int | str | None
20
20
  :type undo: bool | None
21
21
  """
@@ -23,13 +23,13 @@ def active_frame_delete(
23
23
  ...
24
24
 
25
25
  def active_frames_delete_all(
26
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
26
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
27
27
  execution_context: int | str | None = None,
28
28
  undo: bool | None = None,
29
29
  ):
30
30
  """Delete the active frame(s) of all editable Grease Pencil layers
31
31
 
32
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
32
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
33
33
  :type execution_context: int | str | None
34
34
  :type undo: bool | None
35
35
  """
@@ -37,7 +37,7 @@ def active_frames_delete_all(
37
37
  ...
38
38
 
39
39
  def annotate(
40
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
40
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
41
41
  execution_context: int | str | None = None,
42
42
  undo: bool | None = None,
43
43
  *,
@@ -60,7 +60,7 @@ def annotate(
60
60
  ):
61
61
  """Make annotations on the active data
62
62
 
63
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
63
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
64
64
  :type execution_context: int | str | None
65
65
  :type undo: bool | None
66
66
  :param mode: Mode, Way to interpret mouse movements
@@ -126,13 +126,13 @@ def annotate(
126
126
  ...
127
127
 
128
128
  def annotation_active_frame_delete(
129
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
129
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
130
130
  execution_context: int | str | None = None,
131
131
  undo: bool | None = None,
132
132
  ):
133
133
  """Delete the active frame for the active Annotation Layer
134
134
 
135
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
135
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
136
136
  :type execution_context: int | str | None
137
137
  :type undo: bool | None
138
138
  """
@@ -140,13 +140,13 @@ def annotation_active_frame_delete(
140
140
  ...
141
141
 
142
142
  def annotation_add(
143
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
143
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
144
144
  execution_context: int | str | None = None,
145
145
  undo: bool | None = None,
146
146
  ):
147
147
  """Add new Annotation data-block
148
148
 
149
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
149
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
150
150
  :type execution_context: int | str | None
151
151
  :type undo: bool | None
152
152
  """
@@ -154,7 +154,7 @@ def annotation_add(
154
154
  ...
155
155
 
156
156
  def bake_grease_pencil_animation(
157
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
157
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
158
158
  execution_context: int | str | None = None,
159
159
  undo: bool | None = None,
160
160
  *,
@@ -168,7 +168,7 @@ def bake_grease_pencil_animation(
168
168
  ):
169
169
  """Bake grease pencil object transform to grease pencil keyframes
170
170
 
171
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
171
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
172
172
  :type execution_context: int | str | None
173
173
  :type undo: bool | None
174
174
  :param frame_start: Start Frame, The start frame
@@ -206,7 +206,7 @@ def bake_grease_pencil_animation(
206
206
  ...
207
207
 
208
208
  def bake_mesh_animation(
209
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
209
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
210
210
  execution_context: int | str | None = None,
211
211
  undo: bool | None = None,
212
212
  *,
@@ -226,7 +226,7 @@ def bake_mesh_animation(
226
226
  ):
227
227
  """Bake mesh animation to grease pencil strokes
228
228
 
229
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
229
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
230
230
  :type execution_context: int | str | None
231
231
  :type undo: bool | None
232
232
  :param target: Target Object, Target grease pencil
@@ -276,7 +276,7 @@ def bake_mesh_animation(
276
276
  ...
277
277
 
278
278
  def blank_frame_add(
279
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
279
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
280
280
  execution_context: int | str | None = None,
281
281
  undo: bool | None = None,
282
282
  *,
@@ -284,7 +284,7 @@ def blank_frame_add(
284
284
  ):
285
285
  """Insert a blank frame on the current frame (all subsequently existing frames, if any, are shifted right by one frame)
286
286
 
287
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
287
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
288
288
  :type execution_context: int | str | None
289
289
  :type undo: bool | None
290
290
  :param all_layers: All Layers, Create blank frame in all layers, not only active
@@ -294,7 +294,7 @@ def blank_frame_add(
294
294
  ...
295
295
 
296
296
  def convert(
297
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
297
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
298
298
  execution_context: int | str | None = None,
299
299
  undo: bool | None = None,
300
300
  *,
@@ -316,7 +316,7 @@ def convert(
316
316
  ):
317
317
  """Convert the active Grease Pencil layer to a new Curve Object
318
318
 
319
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
319
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
320
320
  :type execution_context: int | str | None
321
321
  :type undo: bool | None
322
322
  :param type: Type, Which type of curve to convert to
@@ -375,7 +375,7 @@ def convert(
375
375
  ...
376
376
 
377
377
  def convert_old_files(
378
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
378
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
379
379
  execution_context: int | str | None = None,
380
380
  undo: bool | None = None,
381
381
  *,
@@ -383,7 +383,7 @@ def convert_old_files(
383
383
  ):
384
384
  """Convert 2.7x grease pencil files to 2.80
385
385
 
386
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
386
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
387
387
  :type execution_context: int | str | None
388
388
  :type undo: bool | None
389
389
  :param annotation: Annotation, Convert to Annotations
@@ -393,13 +393,13 @@ def convert_old_files(
393
393
  ...
394
394
 
395
395
  def copy(
396
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
396
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
397
397
  execution_context: int | str | None = None,
398
398
  undo: bool | None = None,
399
399
  ):
400
400
  """Copy selected Grease Pencil points and strokes
401
401
 
402
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
402
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
403
403
  :type execution_context: int | str | None
404
404
  :type undo: bool | None
405
405
  """
@@ -407,13 +407,13 @@ def copy(
407
407
  ...
408
408
 
409
409
  def data_unlink(
410
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
410
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
411
411
  execution_context: int | str | None = None,
412
412
  undo: bool | None = None,
413
413
  ):
414
414
  """Unlink active Annotation data-block
415
415
 
416
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
416
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
417
417
  :type execution_context: int | str | None
418
418
  :type undo: bool | None
419
419
  """
@@ -421,7 +421,7 @@ def data_unlink(
421
421
  ...
422
422
 
423
423
  def delete(
424
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
424
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
425
425
  execution_context: int | str | None = None,
426
426
  undo: bool | None = None,
427
427
  *,
@@ -429,7 +429,7 @@ def delete(
429
429
  ):
430
430
  """Delete selected Grease Pencil strokes, vertices, or frames
431
431
 
432
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
432
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
433
433
  :type execution_context: int | str | None
434
434
  :type undo: bool | None
435
435
  :param type: Type, Method used for deleting Grease Pencil data
@@ -448,7 +448,7 @@ def delete(
448
448
  ...
449
449
 
450
450
  def dissolve(
451
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
451
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
452
452
  execution_context: int | str | None = None,
453
453
  undo: bool | None = None,
454
454
  *,
@@ -456,7 +456,7 @@ def dissolve(
456
456
  ):
457
457
  """Delete selected points without splitting strokes
458
458
 
459
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
459
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
460
460
  :type execution_context: int | str | None
461
461
  :type undo: bool | None
462
462
  :param type: Type, Method used for dissolving stroke points
@@ -475,7 +475,7 @@ def dissolve(
475
475
  ...
476
476
 
477
477
  def draw(
478
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
478
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
479
479
  execution_context: int | str | None = None,
480
480
  undo: bool | None = None,
481
481
  *,
@@ -490,7 +490,7 @@ def draw(
490
490
  ):
491
491
  """Draw a new stroke in the active Grease Pencil object
492
492
 
493
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
493
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
494
494
  :type execution_context: int | str | None
495
495
  :type undo: bool | None
496
496
  :param mode: Mode, Way to interpret mouse movements
@@ -521,13 +521,13 @@ def draw(
521
521
  ...
522
522
 
523
523
  def duplicate(
524
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
524
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
525
525
  execution_context: int | str | None = None,
526
526
  undo: bool | None = None,
527
527
  ):
528
528
  """Duplicate the selected Grease Pencil strokes
529
529
 
530
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
530
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
531
531
  :type execution_context: int | str | None
532
532
  :type undo: bool | None
533
533
  """
@@ -535,7 +535,7 @@ def duplicate(
535
535
  ...
536
536
 
537
537
  def duplicate_move(
538
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
538
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
539
539
  execution_context: int | str | None = None,
540
540
  undo: bool | None = None,
541
541
  *,
@@ -544,7 +544,7 @@ def duplicate_move(
544
544
  ):
545
545
  """Make copies of the selected Grease Pencil strokes and move them
546
546
 
547
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
547
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
548
548
  :type execution_context: int | str | None
549
549
  :type undo: bool | None
550
550
  :param GPENCIL_OT_duplicate: Duplicate Strokes, Duplicate the selected Grease Pencil strokes
@@ -556,7 +556,7 @@ def duplicate_move(
556
556
  ...
557
557
 
558
558
  def editmode_toggle(
559
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
559
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
560
560
  execution_context: int | str | None = None,
561
561
  undo: bool | None = None,
562
562
  *,
@@ -564,7 +564,7 @@ def editmode_toggle(
564
564
  ):
565
565
  """Enter/Exit edit mode for Grease Pencil strokes
566
566
 
567
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
567
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
568
568
  :type execution_context: int | str | None
569
569
  :type undo: bool | None
570
570
  :param back: Return to Previous Mode, Return to previous mode
@@ -574,7 +574,7 @@ def editmode_toggle(
574
574
  ...
575
575
 
576
576
  def extract_palette_vertex(
577
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
577
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
578
578
  execution_context: int | str | None = None,
579
579
  undo: bool | None = None,
580
580
  *,
@@ -583,7 +583,7 @@ def extract_palette_vertex(
583
583
  ):
584
584
  """Extract all colors used in Grease Pencil Vertex and create a Palette
585
585
 
586
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
586
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
587
587
  :type execution_context: int | str | None
588
588
  :type undo: bool | None
589
589
  :param selected: Only Selected, Convert only selected strokes
@@ -595,13 +595,13 @@ def extract_palette_vertex(
595
595
  ...
596
596
 
597
597
  def extrude(
598
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
598
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
599
599
  execution_context: int | str | None = None,
600
600
  undo: bool | None = None,
601
601
  ):
602
602
  """Extrude the selected Grease Pencil points
603
603
 
604
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
604
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
605
605
  :type execution_context: int | str | None
606
606
  :type undo: bool | None
607
607
  """
@@ -609,7 +609,7 @@ def extrude(
609
609
  ...
610
610
 
611
611
  def extrude_move(
612
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
612
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
613
613
  execution_context: int | str | None = None,
614
614
  undo: bool | None = None,
615
615
  *,
@@ -618,7 +618,7 @@ def extrude_move(
618
618
  ):
619
619
  """Extrude selected points and move them
620
620
 
621
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
621
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
622
622
  :type execution_context: int | str | None
623
623
  :type undo: bool | None
624
624
  :param GPENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected Grease Pencil points
@@ -630,7 +630,7 @@ def extrude_move(
630
630
  ...
631
631
 
632
632
  def fill(
633
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
633
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
634
634
  execution_context: int | str | None = None,
635
635
  undo: bool | None = None,
636
636
  *,
@@ -638,7 +638,7 @@ def fill(
638
638
  ):
639
639
  """Fill with color the shape formed by strokes
640
640
 
641
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
641
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
642
642
  :type execution_context: int | str | None
643
643
  :type undo: bool | None
644
644
  :param on_back: Draw on Back, Send new stroke to back
@@ -648,7 +648,7 @@ def fill(
648
648
  ...
649
649
 
650
650
  def frame_clean_duplicate(
651
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
651
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
652
652
  execution_context: int | str | None = None,
653
653
  undo: bool | None = None,
654
654
  *,
@@ -656,7 +656,7 @@ def frame_clean_duplicate(
656
656
  ):
657
657
  """Remove duplicate keyframes
658
658
 
659
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
659
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
660
660
  :type execution_context: int | str | None
661
661
  :type undo: bool | None
662
662
  :param type: Type
@@ -666,7 +666,7 @@ def frame_clean_duplicate(
666
666
  ...
667
667
 
668
668
  def frame_clean_fill(
669
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
669
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
670
670
  execution_context: int | str | None = None,
671
671
  undo: bool | None = None,
672
672
  *,
@@ -674,7 +674,7 @@ def frame_clean_fill(
674
674
  ):
675
675
  """Remove 'no fill' boundary strokes
676
676
 
677
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
677
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
678
678
  :type execution_context: int | str | None
679
679
  :type undo: bool | None
680
680
  :param mode: Mode
@@ -690,7 +690,7 @@ def frame_clean_fill(
690
690
  ...
691
691
 
692
692
  def frame_clean_loose(
693
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
693
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
694
694
  execution_context: int | str | None = None,
695
695
  undo: bool | None = None,
696
696
  *,
@@ -698,7 +698,7 @@ def frame_clean_loose(
698
698
  ):
699
699
  """Remove loose points
700
700
 
701
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
701
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
702
702
  :type execution_context: int | str | None
703
703
  :type undo: bool | None
704
704
  :param limit: Limit, Number of points to consider stroke as loose
@@ -708,7 +708,7 @@ def frame_clean_loose(
708
708
  ...
709
709
 
710
710
  def frame_duplicate(
711
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
711
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
712
712
  execution_context: int | str | None = None,
713
713
  undo: bool | None = None,
714
714
  *,
@@ -716,7 +716,7 @@ def frame_duplicate(
716
716
  ):
717
717
  """Make a copy of the active Grease Pencil Frame
718
718
 
719
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
719
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
720
720
  :type execution_context: int | str | None
721
721
  :type undo: bool | None
722
722
  :param mode: Mode
@@ -732,7 +732,7 @@ def frame_duplicate(
732
732
  ...
733
733
 
734
734
  def generate_weights(
735
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
735
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
736
736
  execution_context: int | str | None = None,
737
737
  undo: bool | None = None,
738
738
  *,
@@ -743,7 +743,7 @@ def generate_weights(
743
743
  ):
744
744
  """Generate automatic weights for armatures (requires armature modifier)
745
745
 
746
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
746
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
747
747
  :type execution_context: int | str | None
748
748
  :type undo: bool | None
749
749
  :param mode: Mode
@@ -759,7 +759,7 @@ def generate_weights(
759
759
  ...
760
760
 
761
761
  def guide_rotate(
762
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
762
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
763
763
  execution_context: int | str | None = None,
764
764
  undo: bool | None = None,
765
765
  *,
@@ -768,7 +768,7 @@ def guide_rotate(
768
768
  ):
769
769
  """Rotate guide angle
770
770
 
771
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
771
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
772
772
  :type execution_context: int | str | None
773
773
  :type undo: bool | None
774
774
  :param increment: Increment, Increment angle
@@ -780,7 +780,7 @@ def guide_rotate(
780
780
  ...
781
781
 
782
782
  def hide(
783
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
783
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
784
784
  execution_context: int | str | None = None,
785
785
  undo: bool | None = None,
786
786
  *,
@@ -788,7 +788,7 @@ def hide(
788
788
  ):
789
789
  """Hide selected/unselected Grease Pencil layers
790
790
 
791
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
791
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
792
792
  :type execution_context: int | str | None
793
793
  :type undo: bool | None
794
794
  :param unselected: Unselected, Hide unselected rather than selected layers
@@ -798,7 +798,7 @@ def hide(
798
798
  ...
799
799
 
800
800
  def image_to_grease_pencil(
801
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
801
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
802
802
  execution_context: int | str | None = None,
803
803
  undo: bool | None = None,
804
804
  *,
@@ -807,7 +807,7 @@ def image_to_grease_pencil(
807
807
  ):
808
808
  """Generate a Grease Pencil Object using Image as source
809
809
 
810
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
810
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
811
811
  :type execution_context: int | str | None
812
812
  :type undo: bool | None
813
813
  :param size: Point Size, Size used for grease pencil points
@@ -819,7 +819,7 @@ def image_to_grease_pencil(
819
819
  ...
820
820
 
821
821
  def interpolate(
822
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
822
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
823
823
  execution_context: int | str | None = None,
824
824
  undo: bool | None = None,
825
825
  *,
@@ -834,7 +834,7 @@ def interpolate(
834
834
  ):
835
835
  """Interpolate grease pencil strokes between frames
836
836
 
837
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
837
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
838
838
  :type execution_context: int | str | None
839
839
  :type undo: bool | None
840
840
  :param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
@@ -858,13 +858,13 @@ def interpolate(
858
858
  ...
859
859
 
860
860
  def interpolate_reverse(
861
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
861
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
862
862
  execution_context: int | str | None = None,
863
863
  undo: bool | None = None,
864
864
  ):
865
865
  """Remove breakdown frames generated by interpolating between two Grease Pencil frames
866
866
 
867
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
867
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
868
868
  :type execution_context: int | str | None
869
869
  :type undo: bool | None
870
870
  """
@@ -872,7 +872,7 @@ def interpolate_reverse(
872
872
  ...
873
873
 
874
874
  def interpolate_sequence(
875
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
875
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
876
876
  execution_context: int | str | None = None,
877
877
  undo: bool | None = None,
878
878
  *,
@@ -906,7 +906,7 @@ def interpolate_sequence(
906
906
  ):
907
907
  """Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
908
908
 
909
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
909
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
910
910
  :type execution_context: int | str | None
911
911
  :type undo: bool | None
912
912
  :param step: Step, Number of frames between generated interpolated frames
@@ -986,7 +986,7 @@ def interpolate_sequence(
986
986
  ...
987
987
 
988
988
  def layer_active(
989
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
989
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
990
990
  execution_context: int | str | None = None,
991
991
  undo: bool | None = None,
992
992
  *,
@@ -994,7 +994,7 @@ def layer_active(
994
994
  ):
995
995
  """Active Grease Pencil layer
996
996
 
997
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
997
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
998
998
  :type execution_context: int | str | None
999
999
  :type undo: bool | None
1000
1000
  :param layer: Grease Pencil Layer
@@ -1004,7 +1004,7 @@ def layer_active(
1004
1004
  ...
1005
1005
 
1006
1006
  def layer_add(
1007
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1007
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1008
1008
  execution_context: int | str | None = None,
1009
1009
  undo: bool | None = None,
1010
1010
  *,
@@ -1013,7 +1013,7 @@ def layer_add(
1013
1013
  ):
1014
1014
  """Add new layer or note for the active data-block
1015
1015
 
1016
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1016
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1017
1017
  :type execution_context: int | str | None
1018
1018
  :type undo: bool | None
1019
1019
  :param layer: Grease Pencil Layer
@@ -1025,13 +1025,13 @@ def layer_add(
1025
1025
  ...
1026
1026
 
1027
1027
  def layer_annotation_add(
1028
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1028
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1029
1029
  execution_context: int | str | None = None,
1030
1030
  undo: bool | None = None,
1031
1031
  ):
1032
1032
  """Add new Annotation layer or note for the active data-block
1033
1033
 
1034
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1034
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1035
1035
  :type execution_context: int | str | None
1036
1036
  :type undo: bool | None
1037
1037
  """
@@ -1039,7 +1039,7 @@ def layer_annotation_add(
1039
1039
  ...
1040
1040
 
1041
1041
  def layer_annotation_move(
1042
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1042
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1043
1043
  execution_context: int | str | None = None,
1044
1044
  undo: bool | None = None,
1045
1045
  *,
@@ -1047,7 +1047,7 @@ def layer_annotation_move(
1047
1047
  ):
1048
1048
  """Move the active Annotation layer up/down in the list
1049
1049
 
1050
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1050
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1051
1051
  :type execution_context: int | str | None
1052
1052
  :type undo: bool | None
1053
1053
  :param type: Type
@@ -1057,13 +1057,13 @@ def layer_annotation_move(
1057
1057
  ...
1058
1058
 
1059
1059
  def layer_annotation_remove(
1060
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1060
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1061
1061
  execution_context: int | str | None = None,
1062
1062
  undo: bool | None = None,
1063
1063
  ):
1064
1064
  """Remove active Annotation layer
1065
1065
 
1066
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1066
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1067
1067
  :type execution_context: int | str | None
1068
1068
  :type undo: bool | None
1069
1069
  """
@@ -1071,7 +1071,7 @@ def layer_annotation_remove(
1071
1071
  ...
1072
1072
 
1073
1073
  def layer_change(
1074
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1074
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1075
1075
  execution_context: int | str | None = None,
1076
1076
  undo: bool | None = None,
1077
1077
  *,
@@ -1079,7 +1079,7 @@ def layer_change(
1079
1079
  ):
1080
1080
  """Change active Grease Pencil layer
1081
1081
 
1082
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1082
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1083
1083
  :type execution_context: int | str | None
1084
1084
  :type undo: bool | None
1085
1085
  :param layer: Grease Pencil Layer
@@ -1089,7 +1089,7 @@ def layer_change(
1089
1089
  ...
1090
1090
 
1091
1091
  def layer_duplicate(
1092
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1092
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1093
1093
  execution_context: int | str | None = None,
1094
1094
  undo: bool | None = None,
1095
1095
  *,
@@ -1097,7 +1097,7 @@ def layer_duplicate(
1097
1097
  ):
1098
1098
  """Make a copy of the active Grease Pencil layer
1099
1099
 
1100
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1100
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1101
1101
  :type execution_context: int | str | None
1102
1102
  :type undo: bool | None
1103
1103
  :param mode: Mode
@@ -1107,7 +1107,7 @@ def layer_duplicate(
1107
1107
  ...
1108
1108
 
1109
1109
  def layer_duplicate_object(
1110
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1110
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1111
1111
  execution_context: int | str | None = None,
1112
1112
  undo: bool | None = None,
1113
1113
  *,
@@ -1116,7 +1116,7 @@ def layer_duplicate_object(
1116
1116
  ):
1117
1117
  """Make a copy of the active Grease Pencil layer to selected object
1118
1118
 
1119
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1119
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1120
1120
  :type execution_context: int | str | None
1121
1121
  :type undo: bool | None
1122
1122
  :param mode: Mode
@@ -1128,7 +1128,7 @@ def layer_duplicate_object(
1128
1128
  ...
1129
1129
 
1130
1130
  def layer_isolate(
1131
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1131
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1132
1132
  execution_context: int | str | None = None,
1133
1133
  undo: bool | None = None,
1134
1134
  *,
@@ -1136,7 +1136,7 @@ def layer_isolate(
1136
1136
  ):
1137
1137
  """Toggle whether the active layer is the only one that can be edited and/or visible
1138
1138
 
1139
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1139
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1140
1140
  :type execution_context: int | str | None
1141
1141
  :type undo: bool | None
1142
1142
  :param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
@@ -1146,7 +1146,7 @@ def layer_isolate(
1146
1146
  ...
1147
1147
 
1148
1148
  def layer_mask_add(
1149
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1149
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1150
1150
  execution_context: int | str | None = None,
1151
1151
  undo: bool | None = None,
1152
1152
  *,
@@ -1154,7 +1154,7 @@ def layer_mask_add(
1154
1154
  ):
1155
1155
  """Add new layer as masking
1156
1156
 
1157
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1157
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1158
1158
  :type execution_context: int | str | None
1159
1159
  :type undo: bool | None
1160
1160
  :param name: Layer, Name of the layer
@@ -1164,7 +1164,7 @@ def layer_mask_add(
1164
1164
  ...
1165
1165
 
1166
1166
  def layer_mask_move(
1167
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1167
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1168
1168
  execution_context: int | str | None = None,
1169
1169
  undo: bool | None = None,
1170
1170
  *,
@@ -1172,7 +1172,7 @@ def layer_mask_move(
1172
1172
  ):
1173
1173
  """Move the active Grease Pencil mask layer up/down in the list
1174
1174
 
1175
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1175
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1176
1176
  :type execution_context: int | str | None
1177
1177
  :type undo: bool | None
1178
1178
  :param type: Type
@@ -1182,13 +1182,13 @@ def layer_mask_move(
1182
1182
  ...
1183
1183
 
1184
1184
  def layer_mask_remove(
1185
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1185
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1186
1186
  execution_context: int | str | None = None,
1187
1187
  undo: bool | None = None,
1188
1188
  ):
1189
1189
  """Remove Layer Mask
1190
1190
 
1191
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1191
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1192
1192
  :type execution_context: int | str | None
1193
1193
  :type undo: bool | None
1194
1194
  """
@@ -1196,7 +1196,7 @@ def layer_mask_remove(
1196
1196
  ...
1197
1197
 
1198
1198
  def layer_merge(
1199
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1199
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1200
1200
  execution_context: int | str | None = None,
1201
1201
  undo: bool | None = None,
1202
1202
  *,
@@ -1204,7 +1204,7 @@ def layer_merge(
1204
1204
  ):
1205
1205
  """Combine Layers
1206
1206
 
1207
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1207
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1208
1208
  :type execution_context: int | str | None
1209
1209
  :type undo: bool | None
1210
1210
  :param mode: Mode
@@ -1220,7 +1220,7 @@ def layer_merge(
1220
1220
  ...
1221
1221
 
1222
1222
  def layer_move(
1223
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1223
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1224
1224
  execution_context: int | str | None = None,
1225
1225
  undo: bool | None = None,
1226
1226
  *,
@@ -1228,7 +1228,7 @@ def layer_move(
1228
1228
  ):
1229
1229
  """Move the active Grease Pencil layer up/down in the list
1230
1230
 
1231
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1231
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1232
1232
  :type execution_context: int | str | None
1233
1233
  :type undo: bool | None
1234
1234
  :param type: Type
@@ -1238,13 +1238,13 @@ def layer_move(
1238
1238
  ...
1239
1239
 
1240
1240
  def layer_remove(
1241
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1241
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1242
1242
  execution_context: int | str | None = None,
1243
1243
  undo: bool | None = None,
1244
1244
  ):
1245
1245
  """Remove active Grease Pencil layer
1246
1246
 
1247
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1247
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1248
1248
  :type execution_context: int | str | None
1249
1249
  :type undo: bool | None
1250
1250
  """
@@ -1252,13 +1252,13 @@ def layer_remove(
1252
1252
  ...
1253
1253
 
1254
1254
  def lock_all(
1255
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1255
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1256
1256
  execution_context: int | str | None = None,
1257
1257
  undo: bool | None = None,
1258
1258
  ):
1259
1259
  """Lock all Grease Pencil layers to prevent them from being accidentally modified
1260
1260
 
1261
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1261
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1262
1262
  :type execution_context: int | str | None
1263
1263
  :type undo: bool | None
1264
1264
  """
@@ -1266,13 +1266,13 @@ def lock_all(
1266
1266
  ...
1267
1267
 
1268
1268
  def lock_layer(
1269
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1269
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1270
1270
  execution_context: int | str | None = None,
1271
1271
  undo: bool | None = None,
1272
1272
  ):
1273
1273
  """Lock and hide any color not used in any layer
1274
1274
 
1275
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1275
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1276
1276
  :type execution_context: int | str | None
1277
1277
  :type undo: bool | None
1278
1278
  """
@@ -1280,7 +1280,7 @@ def lock_layer(
1280
1280
  ...
1281
1281
 
1282
1282
  def material_hide(
1283
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1283
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1284
1284
  execution_context: int | str | None = None,
1285
1285
  undo: bool | None = None,
1286
1286
  *,
@@ -1288,7 +1288,7 @@ def material_hide(
1288
1288
  ):
1289
1289
  """Hide selected/unselected Grease Pencil materials
1290
1290
 
1291
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1291
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1292
1292
  :type execution_context: int | str | None
1293
1293
  :type undo: bool | None
1294
1294
  :param unselected: Unselected, Hide unselected rather than selected colors
@@ -1298,7 +1298,7 @@ def material_hide(
1298
1298
  ...
1299
1299
 
1300
1300
  def material_isolate(
1301
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1301
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1302
1302
  execution_context: int | str | None = None,
1303
1303
  undo: bool | None = None,
1304
1304
  *,
@@ -1306,7 +1306,7 @@ def material_isolate(
1306
1306
  ):
1307
1307
  """Toggle whether the active material is the only one that is editable and/or visible
1308
1308
 
1309
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1309
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1310
1310
  :type execution_context: int | str | None
1311
1311
  :type undo: bool | None
1312
1312
  :param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
@@ -1316,13 +1316,13 @@ def material_isolate(
1316
1316
  ...
1317
1317
 
1318
1318
  def material_lock_all(
1319
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1319
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1320
1320
  execution_context: int | str | None = None,
1321
1321
  undo: bool | None = None,
1322
1322
  ):
1323
1323
  """Lock all Grease Pencil materials to prevent them from being accidentally modified
1324
1324
 
1325
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1325
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1326
1326
  :type execution_context: int | str | None
1327
1327
  :type undo: bool | None
1328
1328
  """
@@ -1330,13 +1330,13 @@ def material_lock_all(
1330
1330
  ...
1331
1331
 
1332
1332
  def material_lock_unused(
1333
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1333
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1334
1334
  execution_context: int | str | None = None,
1335
1335
  undo: bool | None = None,
1336
1336
  ):
1337
1337
  """Lock any material not used in any selected stroke
1338
1338
 
1339
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1339
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1340
1340
  :type execution_context: int | str | None
1341
1341
  :type undo: bool | None
1342
1342
  """
@@ -1344,13 +1344,13 @@ def material_lock_unused(
1344
1344
  ...
1345
1345
 
1346
1346
  def material_reveal(
1347
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1347
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1348
1348
  execution_context: int | str | None = None,
1349
1349
  undo: bool | None = None,
1350
1350
  ):
1351
1351
  """Unhide all hidden Grease Pencil materials
1352
1352
 
1353
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1353
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1354
1354
  :type execution_context: int | str | None
1355
1355
  :type undo: bool | None
1356
1356
  """
@@ -1358,7 +1358,7 @@ def material_reveal(
1358
1358
  ...
1359
1359
 
1360
1360
  def material_select(
1361
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1361
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1362
1362
  execution_context: int | str | None = None,
1363
1363
  undo: bool | None = None,
1364
1364
  *,
@@ -1366,7 +1366,7 @@ def material_select(
1366
1366
  ):
1367
1367
  """Select/Deselect all Grease Pencil strokes using current material
1368
1368
 
1369
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1369
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1370
1370
  :type execution_context: int | str | None
1371
1371
  :type undo: bool | None
1372
1372
  :param deselect: Deselect, Unselect strokes
@@ -1376,7 +1376,7 @@ def material_select(
1376
1376
  ...
1377
1377
 
1378
1378
  def material_set(
1379
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1379
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1380
1380
  execution_context: int | str | None = None,
1381
1381
  undo: bool | None = None,
1382
1382
  *,
@@ -1384,7 +1384,7 @@ def material_set(
1384
1384
  ):
1385
1385
  """Set active material
1386
1386
 
1387
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1387
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1388
1388
  :type execution_context: int | str | None
1389
1389
  :type undo: bool | None
1390
1390
  :param slot: Material Slot
@@ -1394,7 +1394,7 @@ def material_set(
1394
1394
  ...
1395
1395
 
1396
1396
  def material_to_vertex_color(
1397
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1397
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1398
1398
  execution_context: int | str | None = None,
1399
1399
  undo: bool | None = None,
1400
1400
  *,
@@ -1405,7 +1405,7 @@ def material_to_vertex_color(
1405
1405
  ):
1406
1406
  """Replace materials in strokes with Vertex Color
1407
1407
 
1408
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1408
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1409
1409
  :type execution_context: int | str | None
1410
1410
  :type undo: bool | None
1411
1411
  :param remove: Remove Unused Materials, Remove any unused material after the conversion
@@ -1421,13 +1421,13 @@ def material_to_vertex_color(
1421
1421
  ...
1422
1422
 
1423
1423
  def material_unlock_all(
1424
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1424
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1425
1425
  execution_context: int | str | None = None,
1426
1426
  undo: bool | None = None,
1427
1427
  ):
1428
1428
  """Unlock all Grease Pencil materials so that they can be edited
1429
1429
 
1430
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1430
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1431
1431
  :type execution_context: int | str | None
1432
1432
  :type undo: bool | None
1433
1433
  """
@@ -1435,7 +1435,7 @@ def material_unlock_all(
1435
1435
  ...
1436
1436
 
1437
1437
  def materials_copy_to_object(
1438
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1438
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1439
1439
  execution_context: int | str | None = None,
1440
1440
  undo: bool | None = None,
1441
1441
  *,
@@ -1443,7 +1443,7 @@ def materials_copy_to_object(
1443
1443
  ):
1444
1444
  """Append Materials of the active Grease Pencil to other object
1445
1445
 
1446
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1446
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1447
1447
  :type execution_context: int | str | None
1448
1448
  :type undo: bool | None
1449
1449
  :param only_active: Only Active, Append only active material, uncheck to append all materials
@@ -1453,7 +1453,7 @@ def materials_copy_to_object(
1453
1453
  ...
1454
1454
 
1455
1455
  def move_to_layer(
1456
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1456
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1457
1457
  execution_context: int | str | None = None,
1458
1458
  undo: bool | None = None,
1459
1459
  *,
@@ -1462,7 +1462,7 @@ def move_to_layer(
1462
1462
  ):
1463
1463
  """Move selected strokes to another layer
1464
1464
 
1465
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1465
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1466
1466
  :type execution_context: int | str | None
1467
1467
  :type undo: bool | None
1468
1468
  :param layer: Grease Pencil Layer
@@ -1474,7 +1474,7 @@ def move_to_layer(
1474
1474
  ...
1475
1475
 
1476
1476
  def paintmode_toggle(
1477
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1477
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1478
1478
  execution_context: int | str | None = None,
1479
1479
  undo: bool | None = None,
1480
1480
  *,
@@ -1482,7 +1482,7 @@ def paintmode_toggle(
1482
1482
  ):
1483
1483
  """Enter/Exit paint mode for Grease Pencil strokes
1484
1484
 
1485
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1485
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1486
1486
  :type execution_context: int | str | None
1487
1487
  :type undo: bool | None
1488
1488
  :param back: Return to Previous Mode, Return to previous mode
@@ -1492,7 +1492,7 @@ def paintmode_toggle(
1492
1492
  ...
1493
1493
 
1494
1494
  def paste(
1495
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1495
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1496
1496
  execution_context: int | str | None = None,
1497
1497
  undo: bool | None = None,
1498
1498
  *,
@@ -1501,7 +1501,7 @@ def paste(
1501
1501
  ):
1502
1502
  """Paste previously copied strokes to active layer or to original layer
1503
1503
 
1504
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1504
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1505
1505
  :type execution_context: int | str | None
1506
1506
  :type undo: bool | None
1507
1507
  :param type: Type
@@ -1513,7 +1513,7 @@ def paste(
1513
1513
  ...
1514
1514
 
1515
1515
  def primitive_box(
1516
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1516
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1517
1517
  execution_context: int | str | None = None,
1518
1518
  undo: bool | None = None,
1519
1519
  *,
@@ -1525,7 +1525,7 @@ def primitive_box(
1525
1525
  ):
1526
1526
  """Create predefined grease pencil stroke box shapes
1527
1527
 
1528
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1528
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1529
1529
  :type execution_context: int | str | None
1530
1530
  :type undo: bool | None
1531
1531
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1541,7 +1541,7 @@ def primitive_box(
1541
1541
  ...
1542
1542
 
1543
1543
  def primitive_circle(
1544
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1544
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1545
1545
  execution_context: int | str | None = None,
1546
1546
  undo: bool | None = None,
1547
1547
  *,
@@ -1553,7 +1553,7 @@ def primitive_circle(
1553
1553
  ):
1554
1554
  """Create predefined grease pencil stroke circle shapes
1555
1555
 
1556
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1556
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1557
1557
  :type execution_context: int | str | None
1558
1558
  :type undo: bool | None
1559
1559
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1569,7 +1569,7 @@ def primitive_circle(
1569
1569
  ...
1570
1570
 
1571
1571
  def primitive_curve(
1572
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1572
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1573
1573
  execution_context: int | str | None = None,
1574
1574
  undo: bool | None = None,
1575
1575
  *,
@@ -1581,7 +1581,7 @@ def primitive_curve(
1581
1581
  ):
1582
1582
  """Create predefined grease pencil stroke curve shapes
1583
1583
 
1584
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1584
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1585
1585
  :type execution_context: int | str | None
1586
1586
  :type undo: bool | None
1587
1587
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1597,7 +1597,7 @@ def primitive_curve(
1597
1597
  ...
1598
1598
 
1599
1599
  def primitive_line(
1600
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1600
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1601
1601
  execution_context: int | str | None = None,
1602
1602
  undo: bool | None = None,
1603
1603
  *,
@@ -1609,7 +1609,7 @@ def primitive_line(
1609
1609
  ):
1610
1610
  """Create predefined grease pencil stroke lines
1611
1611
 
1612
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1612
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1613
1613
  :type execution_context: int | str | None
1614
1614
  :type undo: bool | None
1615
1615
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1625,7 +1625,7 @@ def primitive_line(
1625
1625
  ...
1626
1626
 
1627
1627
  def primitive_polyline(
1628
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1628
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1629
1629
  execution_context: int | str | None = None,
1630
1630
  undo: bool | None = None,
1631
1631
  *,
@@ -1637,7 +1637,7 @@ def primitive_polyline(
1637
1637
  ):
1638
1638
  """Create predefined grease pencil stroke polylines
1639
1639
 
1640
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1640
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1641
1641
  :type execution_context: int | str | None
1642
1642
  :type undo: bool | None
1643
1643
  :param subdivision: Subdivisions, Number of subdivisions per segment
@@ -1653,13 +1653,13 @@ def primitive_polyline(
1653
1653
  ...
1654
1654
 
1655
1655
  def recalc_geometry(
1656
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1656
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1657
1657
  execution_context: int | str | None = None,
1658
1658
  undo: bool | None = None,
1659
1659
  ):
1660
1660
  """Update all internal geometry data
1661
1661
 
1662
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1662
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1663
1663
  :type execution_context: int | str | None
1664
1664
  :type undo: bool | None
1665
1665
  """
@@ -1667,7 +1667,7 @@ def recalc_geometry(
1667
1667
  ...
1668
1668
 
1669
1669
  def reproject(
1670
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1670
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1671
1671
  execution_context: int | str | None = None,
1672
1672
  undo: bool | None = None,
1673
1673
  *,
@@ -1678,7 +1678,7 @@ def reproject(
1678
1678
  ):
1679
1679
  """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)
1680
1680
 
1681
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1681
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1682
1682
  :type execution_context: int | str | None
1683
1683
  :type undo: bool | None
1684
1684
  :param type: Projection Type
@@ -1710,7 +1710,7 @@ def reproject(
1710
1710
  ...
1711
1711
 
1712
1712
  def reset_transform_fill(
1713
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1713
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1714
1714
  execution_context: int | str | None = None,
1715
1715
  undo: bool | None = None,
1716
1716
  *,
@@ -1718,7 +1718,7 @@ def reset_transform_fill(
1718
1718
  ):
1719
1719
  """Reset any UV transformation and back to default values
1720
1720
 
1721
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1721
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1722
1722
  :type execution_context: int | str | None
1723
1723
  :type undo: bool | None
1724
1724
  :param mode: Mode
@@ -1728,7 +1728,7 @@ def reset_transform_fill(
1728
1728
  ...
1729
1729
 
1730
1730
  def reveal(
1731
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1731
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1732
1732
  execution_context: int | str | None = None,
1733
1733
  undo: bool | None = None,
1734
1734
  *,
@@ -1736,7 +1736,7 @@ def reveal(
1736
1736
  ):
1737
1737
  """Show all Grease Pencil layers
1738
1738
 
1739
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1739
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1740
1740
  :type execution_context: int | str | None
1741
1741
  :type undo: bool | None
1742
1742
  :param select: Select
@@ -1746,7 +1746,7 @@ def reveal(
1746
1746
  ...
1747
1747
 
1748
1748
  def sculpt_paint(
1749
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1749
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1750
1750
  execution_context: int | str | None = None,
1751
1751
  undo: bool | None = None,
1752
1752
  *,
@@ -1756,7 +1756,7 @@ def sculpt_paint(
1756
1756
  ):
1757
1757
  """Apply tweaks to strokes by painting over the strokes
1758
1758
 
1759
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1759
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1760
1760
  :type execution_context: int | str | None
1761
1761
  :type undo: bool | None
1762
1762
  :param stroke: Stroke
@@ -1768,7 +1768,7 @@ def sculpt_paint(
1768
1768
  ...
1769
1769
 
1770
1770
  def sculptmode_toggle(
1771
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1771
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1772
1772
  execution_context: int | str | None = None,
1773
1773
  undo: bool | None = None,
1774
1774
  *,
@@ -1776,7 +1776,7 @@ def sculptmode_toggle(
1776
1776
  ):
1777
1777
  """Enter/Exit sculpt mode for Grease Pencil strokes
1778
1778
 
1779
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1779
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1780
1780
  :type execution_context: int | str | None
1781
1781
  :type undo: bool | None
1782
1782
  :param back: Return to Previous Mode, Return to previous mode
@@ -1786,7 +1786,7 @@ def sculptmode_toggle(
1786
1786
  ...
1787
1787
 
1788
1788
  def select(
1789
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1789
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1790
1790
  execution_context: int | str | None = None,
1791
1791
  undo: bool | None = None,
1792
1792
  *,
@@ -1801,7 +1801,7 @@ def select(
1801
1801
  ):
1802
1802
  """Select Grease Pencil strokes and/or stroke points
1803
1803
 
1804
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1804
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1805
1805
  :type execution_context: int | str | None
1806
1806
  :type undo: bool | None
1807
1807
  :param extend: Extend, Extend selection instead of deselecting everything first
@@ -1825,7 +1825,7 @@ def select(
1825
1825
  ...
1826
1826
 
1827
1827
  def select_all(
1828
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1828
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1829
1829
  execution_context: int | str | None = None,
1830
1830
  undo: bool | None = None,
1831
1831
  *,
@@ -1833,7 +1833,7 @@ def select_all(
1833
1833
  ):
1834
1834
  """Change selection of all Grease Pencil strokes currently visible
1835
1835
 
1836
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1836
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1837
1837
  :type execution_context: int | str | None
1838
1838
  :type undo: bool | None
1839
1839
  :param action: Action, Selection action to execute
@@ -1855,7 +1855,7 @@ def select_all(
1855
1855
  ...
1856
1856
 
1857
1857
  def select_alternate(
1858
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1858
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1859
1859
  execution_context: int | str | None = None,
1860
1860
  undo: bool | None = None,
1861
1861
  *,
@@ -1863,7 +1863,7 @@ def select_alternate(
1863
1863
  ):
1864
1864
  """Select alternative points in same strokes as already selected points
1865
1865
 
1866
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1866
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1867
1867
  :type execution_context: int | str | None
1868
1868
  :type undo: bool | None
1869
1869
  :param unselect_ends: Unselect Ends, Do not select the first and last point of the stroke
@@ -1873,7 +1873,7 @@ def select_alternate(
1873
1873
  ...
1874
1874
 
1875
1875
  def select_box(
1876
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1876
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1877
1877
  execution_context: int | str | None = None,
1878
1878
  undo: bool | None = None,
1879
1879
  *,
@@ -1886,7 +1886,7 @@ def select_box(
1886
1886
  ):
1887
1887
  """Select Grease Pencil strokes within a rectangular region
1888
1888
 
1889
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1889
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1890
1890
  :type execution_context: int | str | None
1891
1891
  :type undo: bool | None
1892
1892
  :param xmin: X Min
@@ -1921,7 +1921,7 @@ def select_box(
1921
1921
  ...
1922
1922
 
1923
1923
  def select_circle(
1924
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1924
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1925
1925
  execution_context: int | str | None = None,
1926
1926
  undo: bool | None = None,
1927
1927
  *,
@@ -1933,7 +1933,7 @@ def select_circle(
1933
1933
  ):
1934
1934
  """Select Grease Pencil strokes using brush selection
1935
1935
 
1936
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1936
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1937
1937
  :type execution_context: int | str | None
1938
1938
  :type undo: bool | None
1939
1939
  :param x: X
@@ -1960,7 +1960,7 @@ def select_circle(
1960
1960
  ...
1961
1961
 
1962
1962
  def select_first(
1963
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1963
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1964
1964
  execution_context: int | str | None = None,
1965
1965
  undo: bool | None = None,
1966
1966
  *,
@@ -1969,7 +1969,7 @@ def select_first(
1969
1969
  ):
1970
1970
  """Select first point in Grease Pencil strokes
1971
1971
 
1972
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1972
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1973
1973
  :type execution_context: int | str | None
1974
1974
  :type undo: bool | None
1975
1975
  :param only_selected_strokes: Selected Strokes Only, Only select the first point of strokes that already have points selected
@@ -1981,7 +1981,7 @@ def select_first(
1981
1981
  ...
1982
1982
 
1983
1983
  def select_grouped(
1984
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1984
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1985
1985
  execution_context: int | str | None = None,
1986
1986
  undo: bool | None = None,
1987
1987
  *,
@@ -1989,7 +1989,7 @@ def select_grouped(
1989
1989
  ):
1990
1990
  """Select all strokes with similar characteristics
1991
1991
 
1992
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1992
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1993
1993
  :type execution_context: int | str | None
1994
1994
  :type undo: bool | None
1995
1995
  :param type: Type
@@ -2005,7 +2005,7 @@ def select_grouped(
2005
2005
  ...
2006
2006
 
2007
2007
  def select_lasso(
2008
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2008
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2009
2009
  execution_context: int | str | None = None,
2010
2010
  undo: bool | None = None,
2011
2011
  *,
@@ -2017,7 +2017,7 @@ def select_lasso(
2017
2017
  ):
2018
2018
  """Select Grease Pencil strokes using lasso selection
2019
2019
 
2020
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2020
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2021
2021
  :type execution_context: int | str | None
2022
2022
  :type undo: bool | None
2023
2023
  :param mode: Mode
@@ -2050,7 +2050,7 @@ def select_lasso(
2050
2050
  ...
2051
2051
 
2052
2052
  def select_last(
2053
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2053
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2054
2054
  execution_context: int | str | None = None,
2055
2055
  undo: bool | None = None,
2056
2056
  *,
@@ -2059,7 +2059,7 @@ def select_last(
2059
2059
  ):
2060
2060
  """Select last point in Grease Pencil strokes
2061
2061
 
2062
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2062
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2063
2063
  :type execution_context: int | str | None
2064
2064
  :type undo: bool | None
2065
2065
  :param only_selected_strokes: Selected Strokes Only, Only select the last point of strokes that already have points selected
@@ -2071,13 +2071,13 @@ def select_last(
2071
2071
  ...
2072
2072
 
2073
2073
  def select_less(
2074
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2074
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2075
2075
  execution_context: int | str | None = None,
2076
2076
  undo: bool | None = None,
2077
2077
  ):
2078
2078
  """Shrink sets of selected Grease Pencil points
2079
2079
 
2080
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2080
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2081
2081
  :type execution_context: int | str | None
2082
2082
  :type undo: bool | None
2083
2083
  """
@@ -2085,13 +2085,13 @@ def select_less(
2085
2085
  ...
2086
2086
 
2087
2087
  def select_linked(
2088
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2088
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2089
2089
  execution_context: int | str | None = None,
2090
2090
  undo: bool | None = None,
2091
2091
  ):
2092
2092
  """Select all points in same strokes as already selected points
2093
2093
 
2094
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2094
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2095
2095
  :type execution_context: int | str | None
2096
2096
  :type undo: bool | None
2097
2097
  """
@@ -2099,13 +2099,13 @@ def select_linked(
2099
2099
  ...
2100
2100
 
2101
2101
  def select_more(
2102
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2102
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2103
2103
  execution_context: int | str | None = None,
2104
2104
  undo: bool | None = None,
2105
2105
  ):
2106
2106
  """Grow sets of selected Grease Pencil points
2107
2107
 
2108
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2108
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2109
2109
  :type execution_context: int | str | None
2110
2110
  :type undo: bool | None
2111
2111
  """
@@ -2113,7 +2113,7 @@ def select_more(
2113
2113
  ...
2114
2114
 
2115
2115
  def select_random(
2116
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2116
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2117
2117
  execution_context: int | str | None = None,
2118
2118
  undo: bool | None = None,
2119
2119
  *,
@@ -2124,7 +2124,7 @@ def select_random(
2124
2124
  ):
2125
2125
  """Select random points for non selected strokes
2126
2126
 
2127
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2127
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2128
2128
  :type execution_context: int | str | None
2129
2129
  :type undo: bool | None
2130
2130
  :param ratio: Ratio, Portion of items to select randomly
@@ -2146,7 +2146,7 @@ def select_random(
2146
2146
  ...
2147
2147
 
2148
2148
  def select_vertex_color(
2149
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2149
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2150
2150
  execution_context: int | str | None = None,
2151
2151
  undo: bool | None = None,
2152
2152
  *,
@@ -2154,7 +2154,7 @@ def select_vertex_color(
2154
2154
  ):
2155
2155
  """Select all points with similar vertex color of current selected
2156
2156
 
2157
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2157
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2158
2158
  :type execution_context: int | str | None
2159
2159
  :type undo: bool | None
2160
2160
  :param threshold: Threshold, Tolerance of the selection. Higher values select a wider range of similar colors
@@ -2164,13 +2164,13 @@ def select_vertex_color(
2164
2164
  ...
2165
2165
 
2166
2166
  def selection_opacity_toggle(
2167
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2167
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2168
2168
  execution_context: int | str | None = None,
2169
2169
  undo: bool | None = None,
2170
2170
  ):
2171
2171
  """Hide/Unhide selected points for Grease Pencil strokes setting alpha factor
2172
2172
 
2173
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2173
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2174
2174
  :type execution_context: int | str | None
2175
2175
  :type undo: bool | None
2176
2176
  """
@@ -2178,7 +2178,7 @@ def selection_opacity_toggle(
2178
2178
  ...
2179
2179
 
2180
2180
  def selectmode_toggle(
2181
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2181
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2182
2182
  execution_context: int | str | None = None,
2183
2183
  undo: bool | None = None,
2184
2184
  *,
@@ -2186,7 +2186,7 @@ def selectmode_toggle(
2186
2186
  ):
2187
2187
  """Set selection mode for Grease Pencil strokes
2188
2188
 
2189
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2189
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2190
2190
  :type execution_context: int | str | None
2191
2191
  :type undo: bool | None
2192
2192
  :param mode: Select Mode, Select mode
@@ -2196,13 +2196,13 @@ def selectmode_toggle(
2196
2196
  ...
2197
2197
 
2198
2198
  def set_active_material(
2199
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2199
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2200
2200
  execution_context: int | str | None = None,
2201
2201
  undo: bool | None = None,
2202
2202
  ):
2203
2203
  """Set the selected stroke material as the active material
2204
2204
 
2205
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2205
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2206
2206
  :type execution_context: int | str | None
2207
2207
  :type undo: bool | None
2208
2208
  """
@@ -2210,13 +2210,13 @@ def set_active_material(
2210
2210
  ...
2211
2211
 
2212
2212
  def snap_cursor_to_selected(
2213
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2213
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2214
2214
  execution_context: int | str | None = None,
2215
2215
  undo: bool | None = None,
2216
2216
  ):
2217
2217
  """Snap cursor to center of selected points
2218
2218
 
2219
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2219
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2220
2220
  :type execution_context: int | str | None
2221
2221
  :type undo: bool | None
2222
2222
  """
@@ -2224,7 +2224,7 @@ def snap_cursor_to_selected(
2224
2224
  ...
2225
2225
 
2226
2226
  def snap_to_cursor(
2227
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2227
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2228
2228
  execution_context: int | str | None = None,
2229
2229
  undo: bool | None = None,
2230
2230
  *,
@@ -2232,7 +2232,7 @@ def snap_to_cursor(
2232
2232
  ):
2233
2233
  """Snap selected points/strokes to the cursor
2234
2234
 
2235
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2235
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2236
2236
  :type execution_context: int | str | None
2237
2237
  :type undo: bool | None
2238
2238
  :param use_offset: With Offset, Offset the entire stroke instead of selected points only
@@ -2242,13 +2242,13 @@ def snap_to_cursor(
2242
2242
  ...
2243
2243
 
2244
2244
  def snap_to_grid(
2245
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2245
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2246
2246
  execution_context: int | str | None = None,
2247
2247
  undo: bool | None = None,
2248
2248
  ):
2249
2249
  """Snap selected points to the nearest grid points
2250
2250
 
2251
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2251
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2252
2252
  :type execution_context: int | str | None
2253
2253
  :type undo: bool | None
2254
2254
  """
@@ -2256,13 +2256,13 @@ def snap_to_grid(
2256
2256
  ...
2257
2257
 
2258
2258
  def stroke_apply_thickness(
2259
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2259
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2260
2260
  execution_context: int | str | None = None,
2261
2261
  undo: bool | None = None,
2262
2262
  ):
2263
2263
  """Apply the thickness change of the layer to its strokes
2264
2264
 
2265
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2265
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2266
2266
  :type execution_context: int | str | None
2267
2267
  :type undo: bool | None
2268
2268
  """
@@ -2270,7 +2270,7 @@ def stroke_apply_thickness(
2270
2270
  ...
2271
2271
 
2272
2272
  def stroke_arrange(
2273
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2273
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2274
2274
  execution_context: int | str | None = None,
2275
2275
  undo: bool | None = None,
2276
2276
  *,
@@ -2278,7 +2278,7 @@ def stroke_arrange(
2278
2278
  ):
2279
2279
  """Arrange selected strokes up/down in the display order of the active layer
2280
2280
 
2281
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2281
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2282
2282
  :type execution_context: int | str | None
2283
2283
  :type undo: bool | None
2284
2284
  :param direction: Direction
@@ -2288,7 +2288,7 @@ def stroke_arrange(
2288
2288
  ...
2289
2289
 
2290
2290
  def stroke_caps_set(
2291
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2291
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2292
2292
  execution_context: int | str | None = None,
2293
2293
  undo: bool | None = None,
2294
2294
  *,
@@ -2296,7 +2296,7 @@ def stroke_caps_set(
2296
2296
  ):
2297
2297
  """Change stroke caps mode (rounded or flat)
2298
2298
 
2299
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2299
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2300
2300
  :type execution_context: int | str | None
2301
2301
  :type undo: bool | None
2302
2302
  :param type: Type
@@ -2318,7 +2318,7 @@ def stroke_caps_set(
2318
2318
  ...
2319
2319
 
2320
2320
  def stroke_change_color(
2321
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2321
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2322
2322
  execution_context: int | str | None = None,
2323
2323
  undo: bool | None = None,
2324
2324
  *,
@@ -2326,7 +2326,7 @@ def stroke_change_color(
2326
2326
  ):
2327
2327
  """Move selected strokes to active material
2328
2328
 
2329
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2329
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2330
2330
  :type execution_context: int | str | None
2331
2331
  :type undo: bool | None
2332
2332
  :param material: Material, Name of the material
@@ -2336,7 +2336,7 @@ def stroke_change_color(
2336
2336
  ...
2337
2337
 
2338
2338
  def stroke_cutter(
2339
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2339
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2340
2340
  execution_context: int | str | None = None,
2341
2341
  undo: bool | None = None,
2342
2342
  *,
@@ -2348,7 +2348,7 @@ def stroke_cutter(
2348
2348
  ):
2349
2349
  """Select section and cut
2350
2350
 
2351
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2351
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2352
2352
  :type execution_context: int | str | None
2353
2353
  :type undo: bool | None
2354
2354
  :param path: Path
@@ -2366,7 +2366,7 @@ def stroke_cutter(
2366
2366
  ...
2367
2367
 
2368
2368
  def stroke_cyclical_set(
2369
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2369
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2370
2370
  execution_context: int | str | None = None,
2371
2371
  undo: bool | None = None,
2372
2372
  *,
@@ -2375,7 +2375,7 @@ def stroke_cyclical_set(
2375
2375
  ):
2376
2376
  """Close or open the selected stroke adding a segment from last to first point
2377
2377
 
2378
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2378
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2379
2379
  :type execution_context: int | str | None
2380
2380
  :type undo: bool | None
2381
2381
  :param type: Type
@@ -2387,7 +2387,7 @@ def stroke_cyclical_set(
2387
2387
  ...
2388
2388
 
2389
2389
  def stroke_editcurve_set_handle_type(
2390
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2390
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2391
2391
  execution_context: int | str | None = None,
2392
2392
  undo: bool | None = None,
2393
2393
  *,
@@ -2395,7 +2395,7 @@ def stroke_editcurve_set_handle_type(
2395
2395
  ):
2396
2396
  """Set the type of an edit curve handle
2397
2397
 
2398
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2398
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2399
2399
  :type execution_context: int | str | None
2400
2400
  :type undo: bool | None
2401
2401
  :param type: Type, Spline type
@@ -2405,7 +2405,7 @@ def stroke_editcurve_set_handle_type(
2405
2405
  ...
2406
2406
 
2407
2407
  def stroke_enter_editcurve_mode(
2408
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2408
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2409
2409
  execution_context: int | str | None = None,
2410
2410
  undo: bool | None = None,
2411
2411
  *,
@@ -2413,7 +2413,7 @@ def stroke_enter_editcurve_mode(
2413
2413
  ):
2414
2414
  """Called to transform a stroke into a curve
2415
2415
 
2416
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2416
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2417
2417
  :type execution_context: int | str | None
2418
2418
  :type undo: bool | None
2419
2419
  :param error_threshold: Error Threshold, Threshold on the maximum deviation from the actual stroke
@@ -2423,13 +2423,13 @@ def stroke_enter_editcurve_mode(
2423
2423
  ...
2424
2424
 
2425
2425
  def stroke_flip(
2426
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2426
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2427
2427
  execution_context: int | str | None = None,
2428
2428
  undo: bool | None = None,
2429
2429
  ):
2430
2430
  """Change direction of the points of the selected strokes
2431
2431
 
2432
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2432
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2433
2433
  :type execution_context: int | str | None
2434
2434
  :type undo: bool | None
2435
2435
  """
@@ -2437,7 +2437,7 @@ def stroke_flip(
2437
2437
  ...
2438
2438
 
2439
2439
  def stroke_join(
2440
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2440
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2441
2441
  execution_context: int | str | None = None,
2442
2442
  undo: bool | None = None,
2443
2443
  *,
@@ -2446,7 +2446,7 @@ def stroke_join(
2446
2446
  ):
2447
2447
  """Join selected strokes (optionally as new stroke)
2448
2448
 
2449
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2449
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2450
2450
  :type execution_context: int | str | None
2451
2451
  :type undo: bool | None
2452
2452
  :param type: Type
@@ -2458,7 +2458,7 @@ def stroke_join(
2458
2458
  ...
2459
2459
 
2460
2460
  def stroke_merge(
2461
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2461
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2462
2462
  execution_context: int | str | None = None,
2463
2463
  undo: bool | None = None,
2464
2464
  *,
@@ -2471,7 +2471,7 @@ def stroke_merge(
2471
2471
  ):
2472
2472
  """Create a new stroke with the selected stroke points
2473
2473
 
2474
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2474
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2475
2475
  :type execution_context: int | str | None
2476
2476
  :type undo: bool | None
2477
2477
  :param mode: Mode
@@ -2491,7 +2491,7 @@ def stroke_merge(
2491
2491
  ...
2492
2492
 
2493
2493
  def stroke_merge_by_distance(
2494
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2494
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2495
2495
  execution_context: int | str | None = None,
2496
2496
  undo: bool | None = None,
2497
2497
  *,
@@ -2500,7 +2500,7 @@ def stroke_merge_by_distance(
2500
2500
  ):
2501
2501
  """Merge points by distance
2502
2502
 
2503
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2503
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2504
2504
  :type execution_context: int | str | None
2505
2505
  :type undo: bool | None
2506
2506
  :param threshold: Threshold
@@ -2512,7 +2512,7 @@ def stroke_merge_by_distance(
2512
2512
  ...
2513
2513
 
2514
2514
  def stroke_merge_material(
2515
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2515
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2516
2516
  execution_context: int | str | None = None,
2517
2517
  undo: bool | None = None,
2518
2518
  *,
@@ -2522,7 +2522,7 @@ def stroke_merge_material(
2522
2522
  ):
2523
2523
  """Replace materials in strokes merging similar
2524
2524
 
2525
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2525
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2526
2526
  :type execution_context: int | str | None
2527
2527
  :type undo: bool | None
2528
2528
  :param hue_threshold: Hue Threshold
@@ -2536,7 +2536,7 @@ def stroke_merge_material(
2536
2536
  ...
2537
2537
 
2538
2538
  def stroke_normalize(
2539
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2539
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2540
2540
  execution_context: int | str | None = None,
2541
2541
  undo: bool | None = None,
2542
2542
  *,
@@ -2546,7 +2546,7 @@ def stroke_normalize(
2546
2546
  ):
2547
2547
  """Normalize stroke attributes
2548
2548
 
2549
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2549
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2550
2550
  :type execution_context: int | str | None
2551
2551
  :type undo: bool | None
2552
2552
  :param mode: Mode, Attribute to be normalized
@@ -2566,7 +2566,7 @@ def stroke_normalize(
2566
2566
  ...
2567
2567
 
2568
2568
  def stroke_outline(
2569
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2569
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2570
2570
  execution_context: int | str | None = None,
2571
2571
  undo: bool | None = None,
2572
2572
  *,
@@ -2579,7 +2579,7 @@ def stroke_outline(
2579
2579
  ):
2580
2580
  """Convert stroke to perimeter
2581
2581
 
2582
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2582
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2583
2583
  :type execution_context: int | str | None
2584
2584
  :type undo: bool | None
2585
2585
  :param view_mode: View
@@ -2608,7 +2608,7 @@ def stroke_outline(
2608
2608
  ...
2609
2609
 
2610
2610
  def stroke_reset_vertex_color(
2611
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2611
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2612
2612
  execution_context: int | str | None = None,
2613
2613
  undo: bool | None = None,
2614
2614
  *,
@@ -2616,7 +2616,7 @@ def stroke_reset_vertex_color(
2616
2616
  ):
2617
2617
  """Reset vertex color for all or selected strokes
2618
2618
 
2619
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2619
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2620
2620
  :type execution_context: int | str | None
2621
2621
  :type undo: bool | None
2622
2622
  :param mode: Mode
@@ -2635,7 +2635,7 @@ def stroke_reset_vertex_color(
2635
2635
  ...
2636
2636
 
2637
2637
  def stroke_sample(
2638
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2638
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2639
2639
  execution_context: int | str | None = None,
2640
2640
  undo: bool | None = None,
2641
2641
  *,
@@ -2644,7 +2644,7 @@ def stroke_sample(
2644
2644
  ):
2645
2645
  """Sample stroke points to predefined segment length
2646
2646
 
2647
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2647
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2648
2648
  :type execution_context: int | str | None
2649
2649
  :type undo: bool | None
2650
2650
  :param length: Length
@@ -2656,7 +2656,7 @@ def stroke_sample(
2656
2656
  ...
2657
2657
 
2658
2658
  def stroke_separate(
2659
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2659
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2660
2660
  execution_context: int | str | None = None,
2661
2661
  undo: bool | None = None,
2662
2662
  *,
@@ -2664,7 +2664,7 @@ def stroke_separate(
2664
2664
  ):
2665
2665
  """Separate the selected strokes or layer in a new grease pencil object
2666
2666
 
2667
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2667
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2668
2668
  :type execution_context: int | str | None
2669
2669
  :type undo: bool | None
2670
2670
  :param mode: Mode
@@ -2683,7 +2683,7 @@ def stroke_separate(
2683
2683
  ...
2684
2684
 
2685
2685
  def stroke_simplify(
2686
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2686
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2687
2687
  execution_context: int | str | None = None,
2688
2688
  undo: bool | None = None,
2689
2689
  *,
@@ -2691,7 +2691,7 @@ def stroke_simplify(
2691
2691
  ):
2692
2692
  """Simplify selected strokes, reducing number of points
2693
2693
 
2694
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2694
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2695
2695
  :type execution_context: int | str | None
2696
2696
  :type undo: bool | None
2697
2697
  :param factor: Factor
@@ -2701,7 +2701,7 @@ def stroke_simplify(
2701
2701
  ...
2702
2702
 
2703
2703
  def stroke_simplify_fixed(
2704
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2704
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2705
2705
  execution_context: int | str | None = None,
2706
2706
  undo: bool | None = None,
2707
2707
  *,
@@ -2709,7 +2709,7 @@ def stroke_simplify_fixed(
2709
2709
  ):
2710
2710
  """Simplify selected strokes, reducing number of points using fixed algorithm
2711
2711
 
2712
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2712
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2713
2713
  :type execution_context: int | str | None
2714
2714
  :type undo: bool | None
2715
2715
  :param step: Steps, Number of simplify steps
@@ -2719,7 +2719,7 @@ def stroke_simplify_fixed(
2719
2719
  ...
2720
2720
 
2721
2721
  def stroke_smooth(
2722
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2722
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2723
2723
  execution_context: int | str | None = None,
2724
2724
  undo: bool | None = None,
2725
2725
  *,
@@ -2733,7 +2733,7 @@ def stroke_smooth(
2733
2733
  ):
2734
2734
  """Smooth selected strokes
2735
2735
 
2736
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2736
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2737
2737
  :type execution_context: int | str | None
2738
2738
  :type undo: bool | None
2739
2739
  :param repeat: Repeat
@@ -2755,13 +2755,13 @@ def stroke_smooth(
2755
2755
  ...
2756
2756
 
2757
2757
  def stroke_split(
2758
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2758
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2759
2759
  execution_context: int | str | None = None,
2760
2760
  undo: bool | None = None,
2761
2761
  ):
2762
2762
  """Split selected points as new stroke on same frame
2763
2763
 
2764
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2764
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2765
2765
  :type execution_context: int | str | None
2766
2766
  :type undo: bool | None
2767
2767
  """
@@ -2769,13 +2769,13 @@ def stroke_split(
2769
2769
  ...
2770
2770
 
2771
2771
  def stroke_start_set(
2772
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2772
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2773
2773
  execution_context: int | str | None = None,
2774
2774
  undo: bool | None = None,
2775
2775
  ):
2776
2776
  """Set start point for cyclic strokes
2777
2777
 
2778
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2778
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2779
2779
  :type execution_context: int | str | None
2780
2780
  :type undo: bool | None
2781
2781
  """
@@ -2783,7 +2783,7 @@ def stroke_start_set(
2783
2783
  ...
2784
2784
 
2785
2785
  def stroke_subdivide(
2786
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2786
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2787
2787
  execution_context: int | str | None = None,
2788
2788
  undo: bool | None = None,
2789
2789
  *,
@@ -2798,7 +2798,7 @@ def stroke_subdivide(
2798
2798
  ):
2799
2799
  """Subdivide between continuous selected points of the stroke adding a point half way between them
2800
2800
 
2801
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2801
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2802
2802
  :type execution_context: int | str | None
2803
2803
  :type undo: bool | None
2804
2804
  :param number_cuts: Number of Cuts
@@ -2822,13 +2822,13 @@ def stroke_subdivide(
2822
2822
  ...
2823
2823
 
2824
2824
  def stroke_trim(
2825
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2825
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2826
2826
  execution_context: int | str | None = None,
2827
2827
  undo: bool | None = None,
2828
2828
  ):
2829
2829
  """Trim selected stroke to first loop or intersection
2830
2830
 
2831
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2831
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2832
2832
  :type execution_context: int | str | None
2833
2833
  :type undo: bool | None
2834
2834
  """
@@ -2836,13 +2836,13 @@ def stroke_trim(
2836
2836
  ...
2837
2837
 
2838
2838
  def tint_flip(
2839
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2839
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2840
2840
  execution_context: int | str | None = None,
2841
2841
  undo: bool | None = None,
2842
2842
  ):
2843
2843
  """Switch tint colors
2844
2844
 
2845
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2845
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2846
2846
  :type execution_context: int | str | None
2847
2847
  :type undo: bool | None
2848
2848
  """
@@ -2850,7 +2850,7 @@ def tint_flip(
2850
2850
  ...
2851
2851
 
2852
2852
  def trace_image(
2853
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2853
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2854
2854
  execution_context: int | str | None = None,
2855
2855
  undo: bool | None = None,
2856
2856
  *,
@@ -2870,7 +2870,7 @@ def trace_image(
2870
2870
  ):
2871
2871
  """Extract Grease Pencil strokes from image
2872
2872
 
2873
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2873
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2874
2874
  :type execution_context: int | str | None
2875
2875
  :type undo: bool | None
2876
2876
  :param target: Target Object, Target grease pencil
@@ -2925,7 +2925,7 @@ def trace_image(
2925
2925
  ...
2926
2926
 
2927
2927
  def transform_fill(
2928
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2928
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2929
2929
  execution_context: int | str | None = None,
2930
2930
  undo: bool | None = None,
2931
2931
  *,
@@ -2937,7 +2937,7 @@ def transform_fill(
2937
2937
  ):
2938
2938
  """Transform grease pencil stroke fill
2939
2939
 
2940
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2940
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2941
2941
  :type execution_context: int | str | None
2942
2942
  :type undo: bool | None
2943
2943
  :param mode: Mode
@@ -2955,13 +2955,13 @@ def transform_fill(
2955
2955
  ...
2956
2956
 
2957
2957
  def unlock_all(
2958
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2958
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2959
2959
  execution_context: int | str | None = None,
2960
2960
  undo: bool | None = None,
2961
2961
  ):
2962
2962
  """Unlock all Grease Pencil layers so that they can be edited
2963
2963
 
2964
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2964
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2965
2965
  :type execution_context: int | str | None
2966
2966
  :type undo: bool | None
2967
2967
  """
@@ -2969,7 +2969,7 @@ def unlock_all(
2969
2969
  ...
2970
2970
 
2971
2971
  def vertex_color_brightness_contrast(
2972
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2972
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2973
2973
  execution_context: int | str | None = None,
2974
2974
  undo: bool | None = None,
2975
2975
  *,
@@ -2979,7 +2979,7 @@ def vertex_color_brightness_contrast(
2979
2979
  ):
2980
2980
  """Adjust vertex color brightness/contrast
2981
2981
 
2982
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2982
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
2983
2983
  :type execution_context: int | str | None
2984
2984
  :type undo: bool | None
2985
2985
  :param mode: Mode
@@ -2993,7 +2993,7 @@ def vertex_color_brightness_contrast(
2993
2993
  ...
2994
2994
 
2995
2995
  def vertex_color_hsv(
2996
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2996
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
2997
2997
  execution_context: int | str | None = None,
2998
2998
  undo: bool | None = None,
2999
2999
  *,
@@ -3004,7 +3004,7 @@ def vertex_color_hsv(
3004
3004
  ):
3005
3005
  """Adjust vertex color HSV values
3006
3006
 
3007
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3007
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3008
3008
  :type execution_context: int | str | None
3009
3009
  :type undo: bool | None
3010
3010
  :param mode: Mode
@@ -3020,7 +3020,7 @@ def vertex_color_hsv(
3020
3020
  ...
3021
3021
 
3022
3022
  def vertex_color_invert(
3023
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3023
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3024
3024
  execution_context: int | str | None = None,
3025
3025
  undo: bool | None = None,
3026
3026
  *,
@@ -3028,7 +3028,7 @@ def vertex_color_invert(
3028
3028
  ):
3029
3029
  """Invert RGB values
3030
3030
 
3031
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3031
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3032
3032
  :type execution_context: int | str | None
3033
3033
  :type undo: bool | None
3034
3034
  :param mode: Mode
@@ -3038,7 +3038,7 @@ def vertex_color_invert(
3038
3038
  ...
3039
3039
 
3040
3040
  def vertex_color_levels(
3041
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3041
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3042
3042
  execution_context: int | str | None = None,
3043
3043
  undo: bool | None = None,
3044
3044
  *,
@@ -3048,7 +3048,7 @@ def vertex_color_levels(
3048
3048
  ):
3049
3049
  """Adjust levels of vertex colors
3050
3050
 
3051
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3051
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3052
3052
  :type execution_context: int | str | None
3053
3053
  :type undo: bool | None
3054
3054
  :param mode: Mode
@@ -3062,7 +3062,7 @@ def vertex_color_levels(
3062
3062
  ...
3063
3063
 
3064
3064
  def vertex_color_set(
3065
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3065
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3066
3066
  execution_context: int | str | None = None,
3067
3067
  undo: bool | None = None,
3068
3068
  *,
@@ -3071,7 +3071,7 @@ def vertex_color_set(
3071
3071
  ):
3072
3072
  """Set active color to all selected vertex
3073
3073
 
3074
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3074
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3075
3075
  :type execution_context: int | str | None
3076
3076
  :type undo: bool | None
3077
3077
  :param mode: Mode
@@ -3083,13 +3083,13 @@ def vertex_color_set(
3083
3083
  ...
3084
3084
 
3085
3085
  def vertex_group_assign(
3086
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3086
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3087
3087
  execution_context: int | str | None = None,
3088
3088
  undo: bool | None = None,
3089
3089
  ):
3090
3090
  """Assign the selected vertices to the active vertex group
3091
3091
 
3092
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3092
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3093
3093
  :type execution_context: int | str | None
3094
3094
  :type undo: bool | None
3095
3095
  """
@@ -3097,13 +3097,13 @@ def vertex_group_assign(
3097
3097
  ...
3098
3098
 
3099
3099
  def vertex_group_deselect(
3100
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3100
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3101
3101
  execution_context: int | str | None = None,
3102
3102
  undo: bool | None = None,
3103
3103
  ):
3104
3104
  """Deselect all selected vertices assigned to the active vertex group
3105
3105
 
3106
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3106
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3107
3107
  :type execution_context: int | str | None
3108
3108
  :type undo: bool | None
3109
3109
  """
@@ -3111,13 +3111,13 @@ def vertex_group_deselect(
3111
3111
  ...
3112
3112
 
3113
3113
  def vertex_group_invert(
3114
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3114
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3115
3115
  execution_context: int | str | None = None,
3116
3116
  undo: bool | None = None,
3117
3117
  ):
3118
3118
  """Invert weights to the active vertex group
3119
3119
 
3120
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3120
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3121
3121
  :type execution_context: int | str | None
3122
3122
  :type undo: bool | None
3123
3123
  """
@@ -3125,13 +3125,13 @@ def vertex_group_invert(
3125
3125
  ...
3126
3126
 
3127
3127
  def vertex_group_normalize(
3128
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3128
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3129
3129
  execution_context: int | str | None = None,
3130
3130
  undo: bool | None = None,
3131
3131
  ):
3132
3132
  """Normalize weights to the active vertex group
3133
3133
 
3134
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3134
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3135
3135
  :type execution_context: int | str | None
3136
3136
  :type undo: bool | None
3137
3137
  """
@@ -3139,7 +3139,7 @@ def vertex_group_normalize(
3139
3139
  ...
3140
3140
 
3141
3141
  def vertex_group_normalize_all(
3142
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3142
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3143
3143
  execution_context: int | str | None = None,
3144
3144
  undo: bool | None = None,
3145
3145
  *,
@@ -3147,7 +3147,7 @@ def vertex_group_normalize_all(
3147
3147
  ):
3148
3148
  """Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
3149
3149
 
3150
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3150
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3151
3151
  :type execution_context: int | str | None
3152
3152
  :type undo: bool | None
3153
3153
  :param lock_active: Lock Active, Keep the values of the active group while normalizing others
@@ -3157,13 +3157,13 @@ def vertex_group_normalize_all(
3157
3157
  ...
3158
3158
 
3159
3159
  def vertex_group_remove_from(
3160
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3160
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3161
3161
  execution_context: int | str | None = None,
3162
3162
  undo: bool | None = None,
3163
3163
  ):
3164
3164
  """Remove the selected vertices from active or all vertex group(s)
3165
3165
 
3166
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3166
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3167
3167
  :type execution_context: int | str | None
3168
3168
  :type undo: bool | None
3169
3169
  """
@@ -3171,13 +3171,13 @@ def vertex_group_remove_from(
3171
3171
  ...
3172
3172
 
3173
3173
  def vertex_group_select(
3174
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3174
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3175
3175
  execution_context: int | str | None = None,
3176
3176
  undo: bool | None = None,
3177
3177
  ):
3178
3178
  """Select all the vertices assigned to the active vertex group
3179
3179
 
3180
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3180
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3181
3181
  :type execution_context: int | str | None
3182
3182
  :type undo: bool | None
3183
3183
  """
@@ -3185,7 +3185,7 @@ def vertex_group_select(
3185
3185
  ...
3186
3186
 
3187
3187
  def vertex_group_smooth(
3188
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3188
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3189
3189
  execution_context: int | str | None = None,
3190
3190
  undo: bool | None = None,
3191
3191
  *,
@@ -3194,7 +3194,7 @@ def vertex_group_smooth(
3194
3194
  ):
3195
3195
  """Smooth weights to the active vertex group
3196
3196
 
3197
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3197
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3198
3198
  :type execution_context: int | str | None
3199
3199
  :type undo: bool | None
3200
3200
  :param factor: Factor
@@ -3206,7 +3206,7 @@ def vertex_group_smooth(
3206
3206
  ...
3207
3207
 
3208
3208
  def vertex_paint(
3209
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3209
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3210
3210
  execution_context: int | str | None = None,
3211
3211
  undo: bool | None = None,
3212
3212
  *,
@@ -3216,7 +3216,7 @@ def vertex_paint(
3216
3216
  ):
3217
3217
  """Paint stroke points with a color
3218
3218
 
3219
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3219
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3220
3220
  :type execution_context: int | str | None
3221
3221
  :type undo: bool | None
3222
3222
  :param stroke: Stroke
@@ -3228,7 +3228,7 @@ def vertex_paint(
3228
3228
  ...
3229
3229
 
3230
3230
  def vertexmode_toggle(
3231
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3231
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3232
3232
  execution_context: int | str | None = None,
3233
3233
  undo: bool | None = None,
3234
3234
  *,
@@ -3236,7 +3236,7 @@ def vertexmode_toggle(
3236
3236
  ):
3237
3237
  """Enter/Exit vertex paint mode for Grease Pencil strokes
3238
3238
 
3239
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3239
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3240
3240
  :type execution_context: int | str | None
3241
3241
  :type undo: bool | None
3242
3242
  :param back: Return to Previous Mode, Return to previous mode
@@ -3246,7 +3246,7 @@ def vertexmode_toggle(
3246
3246
  ...
3247
3247
 
3248
3248
  def weight_paint(
3249
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3249
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3250
3250
  execution_context: int | str | None = None,
3251
3251
  undo: bool | None = None,
3252
3252
  *,
@@ -3256,7 +3256,7 @@ def weight_paint(
3256
3256
  ):
3257
3257
  """Draw weight on stroke points
3258
3258
 
3259
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3259
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3260
3260
  :type execution_context: int | str | None
3261
3261
  :type undo: bool | None
3262
3262
  :param stroke: Stroke
@@ -3268,13 +3268,13 @@ def weight_paint(
3268
3268
  ...
3269
3269
 
3270
3270
  def weight_sample(
3271
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3271
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3272
3272
  execution_context: int | str | None = None,
3273
3273
  undo: bool | None = None,
3274
3274
  ):
3275
3275
  """Use the mouse to sample a weight in the 3D view
3276
3276
 
3277
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3277
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3278
3278
  :type execution_context: int | str | None
3279
3279
  :type undo: bool | None
3280
3280
  """
@@ -3282,13 +3282,13 @@ def weight_sample(
3282
3282
  ...
3283
3283
 
3284
3284
  def weight_toggle_direction(
3285
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3285
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3286
3286
  execution_context: int | str | None = None,
3287
3287
  undo: bool | None = None,
3288
3288
  ):
3289
3289
  """Toggle Add/Subtract for the weight paint draw tool
3290
3290
 
3291
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3291
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3292
3292
  :type execution_context: int | str | None
3293
3293
  :type undo: bool | None
3294
3294
  """
@@ -3296,7 +3296,7 @@ def weight_toggle_direction(
3296
3296
  ...
3297
3297
 
3298
3298
  def weightmode_toggle(
3299
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3299
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
3300
3300
  execution_context: int | str | None = None,
3301
3301
  undo: bool | None = None,
3302
3302
  *,
@@ -3304,7 +3304,7 @@ def weightmode_toggle(
3304
3304
  ):
3305
3305
  """Enter/Exit weight paint mode for Grease Pencil strokes
3306
3306
 
3307
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3307
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
3308
3308
  :type execution_context: int | str | None
3309
3309
  :type undo: bool | None
3310
3310
  :param back: Return to Previous Mode, Return to previous mode