fake-bpy-module 20240802__py3-none-any.whl → 20240804__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 (73) hide show
  1. aud/__init__.pyi +77 -77
  2. bmesh/ops/__init__.pyi +54 -36
  3. bmesh/types/__init__.pyi +24 -24
  4. bpy/ops/action/__init__.pyi +55 -32
  5. bpy/ops/anim/__init__.pyi +22 -22
  6. bpy/ops/armature/__init__.pyi +47 -20
  7. bpy/ops/asset/__init__.pyi +5 -2
  8. bpy/ops/boid/__init__.pyi +12 -2
  9. bpy/ops/brush/__init__.pyi +18 -12
  10. bpy/ops/buttons/__init__.pyi +10 -4
  11. bpy/ops/cachefile/__init__.pyi +12 -6
  12. bpy/ops/clip/__init__.pyi +54 -38
  13. bpy/ops/console/__init__.pyi +17 -6
  14. bpy/ops/constraint/__init__.pyi +28 -28
  15. bpy/ops/curve/__init__.pyi +72 -34
  16. bpy/ops/curves/__init__.pyi +16 -16
  17. bpy/ops/dpaint/__init__.pyi +4 -4
  18. bpy/ops/ed/__init__.pyi +5 -2
  19. bpy/ops/export_anim/__init__.pyi +3 -2
  20. bpy/ops/export_scene/__init__.pyi +55 -45
  21. bpy/ops/file/__init__.pyi +40 -16
  22. bpy/ops/font/__init__.pyi +59 -16
  23. bpy/ops/geometry/__init__.pyi +55 -20
  24. bpy/ops/gpencil/__init__.pyi +155 -122
  25. bpy/ops/graph/__init__.pyi +131 -52
  26. bpy/ops/grease_pencil/__init__.pyi +96 -58
  27. bpy/ops/image/__init__.pyi +77 -54
  28. bpy/ops/import_anim/__init__.pyi +11 -8
  29. bpy/ops/import_scene/__init__.pyi +20 -18
  30. bpy/ops/info/__init__.pyi +4 -4
  31. bpy/ops/lattice/__init__.pyi +8 -8
  32. bpy/ops/marker/__init__.pyi +6 -6
  33. bpy/ops/mask/__init__.pyi +13 -12
  34. bpy/ops/mball/__init__.pyi +6 -6
  35. bpy/ops/mesh/__init__.pyi +290 -150
  36. bpy/ops/nla/__init__.pyi +28 -20
  37. bpy/ops/node/__init__.pyi +43 -32
  38. bpy/ops/object/__init__.pyi +651 -210
  39. bpy/ops/outliner/__init__.pyi +113 -32
  40. bpy/ops/paint/__init__.pyi +65 -56
  41. bpy/ops/palette/__init__.pyi +4 -4
  42. bpy/ops/particle/__init__.pyi +14 -14
  43. bpy/ops/pose/__init__.pyi +121 -44
  44. bpy/ops/preferences/__init__.pyi +9 -6
  45. bpy/ops/render/__init__.pyi +3 -2
  46. bpy/ops/rigidbody/__init__.pyi +45 -14
  47. bpy/ops/scene/__init__.pyi +69 -22
  48. bpy/ops/screen/__init__.pyi +78 -16
  49. bpy/ops/sculpt/__init__.pyi +131 -74
  50. bpy/ops/sculpt_curves/__init__.pyi +2 -2
  51. bpy/ops/sequencer/__init__.pyi +156 -60
  52. bpy/ops/sound/__init__.pyi +40 -16
  53. bpy/ops/surface/__init__.pyi +12 -12
  54. bpy/ops/text/__init__.pyi +65 -20
  55. bpy/ops/texture/__init__.pyi +2 -2
  56. bpy/ops/transform/__init__.pyi +344 -72
  57. bpy/ops/ui/__init__.pyi +9 -6
  58. bpy/ops/uilist/__init__.pyi +2 -2
  59. bpy/ops/uv/__init__.pyi +90 -66
  60. bpy/ops/view3d/__init__.pyi +36 -30
  61. bpy/ops/wm/__init__.pyi +443 -156
  62. bpy/types/__init__.pyi +56103 -30890
  63. {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/METADATA +1 -1
  64. {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/RECORD +73 -73
  65. freestyle/chainingiterators/__init__.pyi +4 -4
  66. freestyle/types/__init__.pyi +76 -63
  67. freestyle/utils/__init__.pyi +1 -1
  68. idprop/types/__init__.pyi +2 -2
  69. imbuf/types/__init__.pyi +2 -2
  70. mathutils/__init__.pyi +1004 -970
  71. mathutils/bvhtree/__init__.pyi +2 -2
  72. {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/WHEEL +0 -0
  73. {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/top_level.txt +0 -0
@@ -26,17 +26,26 @@ def add_texture_paint_slot(
26
26
  execution_context: int | str | None = None,
27
27
  undo: bool | None = None,
28
28
  *,
29
- type: str | None = "BASE_COLOR",
30
- slot_type: str | None = "IMAGE",
29
+ type: typing.Literal[
30
+ "BASE_COLOR",
31
+ "SPECULAR",
32
+ "ROUGHNESS",
33
+ "METALLIC",
34
+ "NORMAL",
35
+ "BUMP",
36
+ "DISPLACEMENT",
37
+ ]
38
+ | None = "BASE_COLOR",
39
+ slot_type: typing.Literal["IMAGE", "COLOR_ATTRIBUTE"] | None = "IMAGE",
31
40
  name: str = "Untitled",
32
41
  color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
33
42
  width: int | None = 1024,
34
43
  height: int | None = 1024,
35
44
  alpha: bool | None = True,
36
- generated_type: str | None = "BLANK",
45
+ generated_type: typing.Literal["BLANK", "UV_GRID", "COLOR_GRID"] | None = "BLANK",
37
46
  float: bool | None = False,
38
- domain: str | None = "POINT",
39
- data_type: str | None = "FLOAT_COLOR",
47
+ domain: typing.Literal["POINT", "CORNER"] | None = "POINT",
48
+ data_type: typing.Literal["FLOAT_COLOR", "BYTE_COLOR"] | None = "FLOAT_COLOR",
40
49
  ):
41
50
  """Add a paint slot
42
51
 
@@ -44,9 +53,9 @@ def add_texture_paint_slot(
44
53
  :type execution_context: int | str | None
45
54
  :type undo: bool | None
46
55
  :param type: Material Layer Type, Material layer type of new paint slot
47
- :type type: str | None
56
+ :type type: typing.Literal['BASE_COLOR','SPECULAR','ROUGHNESS','METALLIC','NORMAL','BUMP','DISPLACEMENT'] | None
48
57
  :param slot_type: Slot Type, Type of new paint slot
49
- :type slot_type: str | None
58
+ :type slot_type: typing.Literal['IMAGE','COLOR_ATTRIBUTE'] | None
50
59
  :param name: Name, Name for new paint slot source
51
60
  :type name: str
52
61
  :param color: Color, Default fill color
@@ -58,13 +67,13 @@ def add_texture_paint_slot(
58
67
  :param alpha: Alpha, Create an image with an alpha channel
59
68
  :type alpha: bool | None
60
69
  :param generated_type: Generated Type, Fill the image with a grid for UV map testing
61
- :type generated_type: str | None
70
+ :type generated_type: typing.Literal['BLANK', 'UV_GRID', 'COLOR_GRID'] | None
62
71
  :param float: 32-bit Float, Create image with 32-bit floating-point bit depth
63
72
  :type float: bool | None
64
73
  :param domain: Domain, Type of element that attribute is stored on
65
- :type domain: str | None
74
+ :type domain: typing.Literal['POINT', 'CORNER'] | None
66
75
  :param data_type: Data Type, Type of data stored in attribute
67
- :type data_type: str | None
76
+ :type data_type: typing.Literal['FLOAT_COLOR', 'BYTE_COLOR'] | None
68
77
  """
69
78
 
70
79
  ...
@@ -88,7 +97,7 @@ def face_select_all(
88
97
  execution_context: int | str | None = None,
89
98
  undo: bool | None = None,
90
99
  *,
91
- action: str | None = "TOGGLE",
100
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
92
101
  ):
93
102
  """Change selection for all faces
94
103
 
@@ -108,7 +117,7 @@ def face_select_all(
108
117
 
109
118
  INVERT
110
119
  Invert -- Invert selection of all elements.
111
- :type action: str | None
120
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
112
121
  """
113
122
 
114
123
  ...
@@ -266,8 +275,8 @@ def hide_show(
266
275
  ymin: int | None = 0,
267
276
  ymax: int | None = 0,
268
277
  wait_for_input: bool | None = True,
269
- action: str | None = "HIDE",
270
- area: str | None = "Inside",
278
+ action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
279
+ area: typing.Literal["OUTSIDE", "Inside"] | None = "Inside",
271
280
  use_front_faces_only: bool | None = False,
272
281
  ):
273
282
  """Hide/show some vertices
@@ -292,7 +301,7 @@ def hide_show(
292
301
 
293
302
  SHOW
294
303
  Show -- Show vertices.
295
- :type action: str | None
304
+ :type action: typing.Literal['HIDE','SHOW'] | None
296
305
  :param area: Visibility Area, Which vertices to hide or show
297
306
 
298
307
  OUTSIDE
@@ -300,7 +309,7 @@ def hide_show(
300
309
 
301
310
  Inside
302
311
  Inside -- Hide or show vertices inside the selection.
303
- :type area: str | None
312
+ :type area: typing.Literal['OUTSIDE','Inside'] | None
304
313
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
305
314
  :type use_front_faces_only: bool | None
306
315
  """
@@ -312,7 +321,7 @@ def hide_show_all(
312
321
  execution_context: int | str | None = None,
313
322
  undo: bool | None = None,
314
323
  *,
315
- action: str | None = "HIDE",
324
+ action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
316
325
  ):
317
326
  """Hide/show all vertices
318
327
 
@@ -326,7 +335,7 @@ def hide_show_all(
326
335
 
327
336
  SHOW
328
337
  Show -- Show vertices.
329
- :type action: str | None
338
+ :type action: typing.Literal['HIDE','SHOW'] | None
330
339
  """
331
340
 
332
341
  ...
@@ -340,8 +349,8 @@ def hide_show_lasso_gesture(
340
349
  use_smooth_stroke: bool | None = False,
341
350
  smooth_stroke_factor: float | None = 0.75,
342
351
  smooth_stroke_radius: int | None = 35,
343
- action: str | None = "HIDE",
344
- area: str | None = "Inside",
352
+ action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
353
+ area: typing.Literal["OUTSIDE", "Inside"] | None = "Inside",
345
354
  use_front_faces_only: bool | None = False,
346
355
  ):
347
356
  """Hide/show some vertices
@@ -364,7 +373,7 @@ def hide_show_lasso_gesture(
364
373
 
365
374
  SHOW
366
375
  Show -- Show vertices.
367
- :type action: str | None
376
+ :type action: typing.Literal['HIDE','SHOW'] | None
368
377
  :param area: Visibility Area, Which vertices to hide or show
369
378
 
370
379
  OUTSIDE
@@ -372,7 +381,7 @@ def hide_show_lasso_gesture(
372
381
 
373
382
  Inside
374
383
  Inside -- Hide or show vertices inside the selection.
375
- :type area: str | None
384
+ :type area: typing.Literal['OUTSIDE','Inside'] | None
376
385
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
377
386
  :type use_front_faces_only: bool | None
378
387
  """
@@ -390,8 +399,8 @@ def hide_show_line_gesture(
390
399
  yend: int | None = 0,
391
400
  flip: bool | None = False,
392
401
  cursor: int | None = 5,
393
- action: str | None = "HIDE",
394
- area: str | None = "Inside",
402
+ action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
403
+ area: typing.Literal["OUTSIDE", "Inside"] | None = "Inside",
395
404
  use_front_faces_only: bool | None = False,
396
405
  use_limit_to_segment: bool | None = False,
397
406
  ):
@@ -419,7 +428,7 @@ def hide_show_line_gesture(
419
428
 
420
429
  SHOW
421
430
  Show -- Show vertices.
422
- :type action: str | None
431
+ :type action: typing.Literal['HIDE','SHOW'] | None
423
432
  :param area: Visibility Area, Which vertices to hide or show
424
433
 
425
434
  OUTSIDE
@@ -427,7 +436,7 @@ def hide_show_line_gesture(
427
436
 
428
437
  Inside
429
438
  Inside -- Hide or show vertices inside the selection.
430
- :type area: str | None
439
+ :type area: typing.Literal['OUTSIDE','Inside'] | None
431
440
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
432
441
  :type use_front_faces_only: bool | None
433
442
  :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
@@ -441,7 +450,7 @@ def hide_show_masked(
441
450
  execution_context: int | str | None = None,
442
451
  undo: bool | None = None,
443
452
  *,
444
- action: str | None = "HIDE",
453
+ action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
445
454
  ):
446
455
  """Hide/show all masked vertices above a threshold
447
456
 
@@ -455,7 +464,7 @@ def hide_show_masked(
455
464
 
456
465
  SHOW
457
466
  Show -- Show vertices.
458
- :type action: str | None
467
+ :type action: typing.Literal['HIDE','SHOW'] | None
459
468
  """
460
469
 
461
470
  ...
@@ -466,8 +475,8 @@ def hide_show_polyline_gesture(
466
475
  undo: bool | None = None,
467
476
  *,
468
477
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
469
- action: str | None = "HIDE",
470
- area: str | None = "Inside",
478
+ action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
479
+ area: typing.Literal["OUTSIDE", "Inside"] | None = "Inside",
471
480
  use_front_faces_only: bool | None = False,
472
481
  ):
473
482
  """Hide/show some vertices
@@ -484,7 +493,7 @@ def hide_show_polyline_gesture(
484
493
 
485
494
  SHOW
486
495
  Show -- Show vertices.
487
- :type action: str | None
496
+ :type action: typing.Literal['HIDE','SHOW'] | None
488
497
  :param area: Visibility Area, Which vertices to hide or show
489
498
 
490
499
  OUTSIDE
@@ -492,7 +501,7 @@ def hide_show_polyline_gesture(
492
501
 
493
502
  Inside
494
503
  Inside -- Hide or show vertices inside the selection.
495
- :type area: str | None
504
+ :type area: typing.Literal['OUTSIDE','Inside'] | None
496
505
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
497
506
  :type use_front_faces_only: bool | None
498
507
  """
@@ -524,7 +533,7 @@ def image_paint(
524
533
  *,
525
534
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
526
535
  | None = None,
527
- mode: str | None = "NORMAL",
536
+ mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
528
537
  ):
529
538
  """Paint a stroke into the image
530
539
 
@@ -546,7 +555,7 @@ def image_paint(
546
555
 
547
556
  ERASE
548
557
  Erase -- Switch brush to erase mode for duration of stroke.
549
- :type mode: str | None
558
+ :type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
550
559
  """
551
560
 
552
561
  ...
@@ -562,7 +571,7 @@ def mask_box_gesture(
562
571
  ymax: int | None = 0,
563
572
  wait_for_input: bool | None = True,
564
573
  use_front_faces_only: bool | None = False,
565
- mode: str | None = "VALUE",
574
+ mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
566
575
  value: float | None = 1.0,
567
576
  ):
568
577
  """Mask within a rectangle defined by the cursor
@@ -592,7 +601,7 @@ def mask_box_gesture(
592
601
 
593
602
  INVERT
594
603
  Invert -- Invert the mask.
595
- :type mode: str | None
604
+ :type mode: typing.Literal['VALUE','VALUE_INVERSE','INVERT'] | None
596
605
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
597
606
  :type value: float | None
598
607
  """
@@ -604,7 +613,7 @@ def mask_flood_fill(
604
613
  execution_context: int | str | None = None,
605
614
  undo: bool | None = None,
606
615
  *,
607
- mode: str | None = "VALUE",
616
+ mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
608
617
  value: float | None = 0.0,
609
618
  ):
610
619
  """Fill the whole mask with a given value, or invert its values
@@ -622,7 +631,7 @@ def mask_flood_fill(
622
631
 
623
632
  INVERT
624
633
  Invert -- Invert the mask.
625
- :type mode: str | None
634
+ :type mode: typing.Literal['VALUE','VALUE_INVERSE','INVERT'] | None
626
635
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
627
636
  :type value: float | None
628
637
  """
@@ -639,7 +648,7 @@ def mask_lasso_gesture(
639
648
  smooth_stroke_factor: float | None = 0.75,
640
649
  smooth_stroke_radius: int | None = 35,
641
650
  use_front_faces_only: bool | None = False,
642
- mode: str | None = "VALUE",
651
+ mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
643
652
  value: float | None = 1.0,
644
653
  ):
645
654
  """Mask within a shape defined by the cursor
@@ -667,7 +676,7 @@ def mask_lasso_gesture(
667
676
 
668
677
  INVERT
669
678
  Invert -- Invert the mask.
670
- :type mode: str | None
679
+ :type mode: typing.Literal['VALUE','VALUE_INVERSE','INVERT'] | None
671
680
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
672
681
  :type value: float | None
673
682
  """
@@ -687,7 +696,7 @@ def mask_line_gesture(
687
696
  cursor: int | None = 5,
688
697
  use_front_faces_only: bool | None = False,
689
698
  use_limit_to_segment: bool | None = False,
690
- mode: str | None = "VALUE",
699
+ mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
691
700
  value: float | None = 1.0,
692
701
  ):
693
702
  """Mask to one side of a line defined by the cursor
@@ -721,7 +730,7 @@ def mask_line_gesture(
721
730
 
722
731
  INVERT
723
732
  Invert -- Invert the mask.
724
- :type mode: str | None
733
+ :type mode: typing.Literal['VALUE','VALUE_INVERSE','INVERT'] | None
725
734
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
726
735
  :type value: float | None
727
736
  """
@@ -735,7 +744,7 @@ def mask_polyline_gesture(
735
744
  *,
736
745
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
737
746
  use_front_faces_only: bool | None = False,
738
- mode: str | None = "VALUE",
747
+ mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
739
748
  value: float | None = 1.0,
740
749
  ):
741
750
  """Mask within a shape defined by the cursor
@@ -757,7 +766,7 @@ def mask_polyline_gesture(
757
766
 
758
767
  INVERT
759
768
  Invert -- Invert the mask.
760
- :type mode: str | None
769
+ :type mode: typing.Literal['VALUE','VALUE_INVERSE','INVERT'] | None
761
770
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
762
771
  :type value: float | None
763
772
  """
@@ -825,7 +834,7 @@ def vert_select_all(
825
834
  execution_context: int | str | None = None,
826
835
  undo: bool | None = None,
827
836
  *,
828
- action: str | None = "TOGGLE",
837
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
829
838
  ):
830
839
  """Change selection for all vertices
831
840
 
@@ -845,7 +854,7 @@ def vert_select_all(
845
854
 
846
855
  INVERT
847
856
  Invert -- Invert selection of all elements.
848
- :type action: str | None
857
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
849
858
  """
850
859
 
851
860
  ...
@@ -1120,7 +1129,7 @@ def vertex_paint(
1120
1129
  *,
1121
1130
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1122
1131
  | None = None,
1123
- mode: str | None = "NORMAL",
1132
+ mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
1124
1133
  ):
1125
1134
  """Paint a stroke in the active color attribute layer
1126
1135
 
@@ -1142,7 +1151,7 @@ def vertex_paint(
1142
1151
 
1143
1152
  ERASE
1144
1153
  Erase -- Switch brush to erase mode for duration of stroke.
1145
- :type mode: str | None
1154
+ :type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
1146
1155
  """
1147
1156
 
1148
1157
  ...
@@ -1166,7 +1175,7 @@ def visibility_filter(
1166
1175
  execution_context: int | str | None = None,
1167
1176
  undo: bool | None = None,
1168
1177
  *,
1169
- action: str | None = "GROW",
1178
+ action: typing.Literal["GROW", "SHRINK"] | None = "GROW",
1170
1179
  iterations: int | None = 1,
1171
1180
  auto_iteration_count: bool | None = True,
1172
1181
  ):
@@ -1182,7 +1191,7 @@ def visibility_filter(
1182
1191
 
1183
1192
  SHRINK
1184
1193
  Shrink Visibility -- Shrink the visibility by one face based on mesh topology.
1185
- :type action: str | None
1194
+ :type action: typing.Literal['GROW','SHRINK'] | None
1186
1195
  :param iterations: Iterations, Number of times that the filter is going to be applied
1187
1196
  :type iterations: int | None
1188
1197
  :param auto_iteration_count: Auto Iteration Count, Use an automatic number of iterations based on the number of vertices of the sculpt
@@ -1210,7 +1219,7 @@ def weight_from_bones(
1210
1219
  execution_context: int | str | None = None,
1211
1220
  undo: bool | None = None,
1212
1221
  *,
1213
- type: str | None = "AUTOMATIC",
1222
+ type: typing.Literal["AUTOMATIC", "ENVELOPES"] | None = "AUTOMATIC",
1214
1223
  ):
1215
1224
  """Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
1216
1225
 
@@ -1224,7 +1233,7 @@ def weight_from_bones(
1224
1233
 
1225
1234
  ENVELOPES
1226
1235
  From Envelopes -- Weights from envelopes with user defined radius.
1227
- :type type: str | None
1236
+ :type type: typing.Literal['AUTOMATIC','ENVELOPES'] | None
1228
1237
  """
1229
1238
 
1230
1239
  ...
@@ -1234,7 +1243,7 @@ def weight_gradient(
1234
1243
  execution_context: int | str | None = None,
1235
1244
  undo: bool | None = None,
1236
1245
  *,
1237
- type: str | None = "LINEAR",
1246
+ type: typing.Literal["LINEAR", "RADIAL"] | None = "LINEAR",
1238
1247
  xstart: int | None = 0,
1239
1248
  xend: int | None = 0,
1240
1249
  ystart: int | None = 0,
@@ -1248,7 +1257,7 @@ def weight_gradient(
1248
1257
  :type execution_context: int | str | None
1249
1258
  :type undo: bool | None
1250
1259
  :param type: Type
1251
- :type type: str | None
1260
+ :type type: typing.Literal['LINEAR','RADIAL'] | None
1252
1261
  :param xstart: X Start
1253
1262
  :type xstart: int | None
1254
1263
  :param xend: X End
@@ -1272,7 +1281,7 @@ def weight_paint(
1272
1281
  *,
1273
1282
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1274
1283
  | None = None,
1275
- mode: str | None = "NORMAL",
1284
+ mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
1276
1285
  ):
1277
1286
  """Paint a stroke in the current vertex group's weights
1278
1287
 
@@ -1294,7 +1303,7 @@ def weight_paint(
1294
1303
 
1295
1304
  ERASE
1296
1305
  Erase -- Switch brush to erase mode for duration of stroke.
1297
- :type mode: str | None
1306
+ :type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
1298
1307
  """
1299
1308
 
1300
1309
  ...
@@ -39,7 +39,7 @@ def color_move(
39
39
  execution_context: int | str | None = None,
40
40
  undo: bool | None = None,
41
41
  *,
42
- type: str | None = "UP",
42
+ type: typing.Literal["UP", "DOWN"] | None = "UP",
43
43
  ):
44
44
  """Move the active Color up/down in the list
45
45
 
@@ -47,7 +47,7 @@ def color_move(
47
47
  :type execution_context: int | str | None
48
48
  :type undo: bool | None
49
49
  :param type: Type
50
- :type type: str | None
50
+ :type type: typing.Literal['UP','DOWN'] | None
51
51
  """
52
52
 
53
53
  ...
@@ -107,7 +107,7 @@ def sort(
107
107
  execution_context: int | str | None = None,
108
108
  undo: bool | None = None,
109
109
  *,
110
- type: str | None = "HSV",
110
+ type: typing.Literal["HSV", "SVH", "VHS", "LUMINANCE"] | None = "HSV",
111
111
  ):
112
112
  """Sort Palette Colors
113
113
 
@@ -115,7 +115,7 @@ def sort(
115
115
  :type execution_context: int | str | None
116
116
  :type undo: bool | None
117
117
  :param type: Type
118
- :type type: str | None
118
+ :type type: typing.Literal['HSV','SVH','VHS','LUMINANCE'] | None
119
119
  """
120
120
 
121
121
  ...
@@ -48,7 +48,7 @@ def copy_particle_systems(
48
48
  execution_context: int | str | None = None,
49
49
  undo: bool | None = None,
50
50
  *,
51
- space: str | None = "OBJECT",
51
+ space: typing.Literal["OBJECT", "WORLD"] | None = "OBJECT",
52
52
  remove_target_particles: bool | None = True,
53
53
  use_active: bool | None = False,
54
54
  ):
@@ -64,7 +64,7 @@ def copy_particle_systems(
64
64
 
65
65
  WORLD
66
66
  World -- Copy in world space.
67
- :type space: str | None
67
+ :type space: typing.Literal['OBJECT','WORLD'] | None
68
68
  :param remove_target_particles: Remove Target Particles, Remove particle systems on the target objects
69
69
  :type remove_target_particles: bool | None
70
70
  :param use_active: Use Active, Use the active particle system from the context
@@ -78,7 +78,7 @@ def delete(
78
78
  execution_context: int | str | None = None,
79
79
  undo: bool | None = None,
80
80
  *,
81
- type: str | None = "PARTICLE",
81
+ type: typing.Literal["PARTICLE", "KEY"] | None = "PARTICLE",
82
82
  ):
83
83
  """Delete selected particles or keys
84
84
 
@@ -86,7 +86,7 @@ def delete(
86
86
  :type execution_context: int | str | None
87
87
  :type undo: bool | None
88
88
  :param type: Type, Delete a full particle or only keys
89
- :type type: str | None
89
+ :type type: typing.Literal['PARTICLE','KEY'] | None
90
90
  """
91
91
 
92
92
  ...
@@ -368,7 +368,7 @@ def select_all(
368
368
  execution_context: int | str | None = None,
369
369
  undo: bool | None = None,
370
370
  *,
371
- action: str | None = "TOGGLE",
371
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
372
372
  ):
373
373
  """(De)select all particles' keys
374
374
 
@@ -388,7 +388,7 @@ def select_all(
388
388
 
389
389
  INVERT
390
390
  Invert -- Invert selection of all elements.
391
- :type action: str | None
391
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
392
392
  """
393
393
 
394
394
  ...
@@ -463,8 +463,8 @@ def select_random(
463
463
  *,
464
464
  ratio: float | None = 0.5,
465
465
  seed: int | None = 0,
466
- action: str | None = "SELECT",
467
- type: str | None = "HAIR",
466
+ action: typing.Literal["SELECT", "DESELECT"] | None = "SELECT",
467
+ type: typing.Literal["HAIR", "POINTS"] | None = "HAIR",
468
468
  ):
469
469
  """Select a randomly distributed set of hair or points
470
470
 
@@ -482,9 +482,9 @@ def select_random(
482
482
 
483
483
  DESELECT
484
484
  Deselect -- Deselect all elements.
485
- :type action: str | None
485
+ :type action: typing.Literal['SELECT','DESELECT'] | None
486
486
  :param type: Type, Select either hair or points
487
- :type type: str | None
487
+ :type type: typing.Literal['HAIR','POINTS'] | None
488
488
  """
489
489
 
490
490
  ...
@@ -494,7 +494,7 @@ def select_roots(
494
494
  execution_context: int | str | None = None,
495
495
  undo: bool | None = None,
496
496
  *,
497
- action: str | None = "SELECT",
497
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "SELECT",
498
498
  ):
499
499
  """Select roots of all visible particles
500
500
 
@@ -514,7 +514,7 @@ def select_roots(
514
514
 
515
515
  INVERT
516
516
  Invert -- Invert selection of all elements.
517
- :type action: str | None
517
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
518
518
  """
519
519
 
520
520
  ...
@@ -524,7 +524,7 @@ def select_tips(
524
524
  execution_context: int | str | None = None,
525
525
  undo: bool | None = None,
526
526
  *,
527
- action: str | None = "SELECT",
527
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "SELECT",
528
528
  ):
529
529
  """Select tips of all visible particles
530
530
 
@@ -544,7 +544,7 @@ def select_tips(
544
544
 
545
545
  INVERT
546
546
  Invert -- Invert selection of all elements.
547
- :type action: str | None
547
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
548
548
  """
549
549
 
550
550
  ...