fake-bpy-module 20240803__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 (72) 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 +78 -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 +28064 -2857
  63. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240804.dist-info}/METADATA +1 -1
  64. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240804.dist-info}/RECORD +72 -72
  65. freestyle/chainingiterators/__init__.pyi +4 -4
  66. freestyle/types/__init__.pyi +76 -63
  67. idprop/types/__init__.pyi +2 -2
  68. imbuf/types/__init__.pyi +2 -2
  69. mathutils/__init__.pyi +1004 -970
  70. mathutils/bvhtree/__init__.pyi +2 -2
  71. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240804.dist-info}/WHEEL +0 -0
  72. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240804.dist-info}/top_level.txt +0 -0
@@ -56,7 +56,17 @@ def bend(
56
56
  value: collections.abc.Iterable[float] | None = 0.0,
57
57
  mirror: bool | None = False,
58
58
  use_proportional_edit: bool | None = False,
59
- proportional_edit_falloff: str | None = "SMOOTH",
59
+ proportional_edit_falloff: typing.Literal[
60
+ "SMOOTH",
61
+ "SPHERE",
62
+ "ROOT",
63
+ "INVERSE_SQUARE",
64
+ "SHARP",
65
+ "LINEAR",
66
+ "CONSTANT",
67
+ "RANDOM",
68
+ ]
69
+ | None = "SMOOTH",
60
70
  proportional_size: float | None = 1.0,
61
71
  use_proportional_connected: bool | None = False,
62
72
  use_proportional_projected: bool | None = False,
@@ -82,7 +92,7 @@ def bend(
82
92
  :param use_proportional_edit: Proportional Editing
83
93
  :type use_proportional_edit: bool | None
84
94
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
85
- :type proportional_edit_falloff: str | None
95
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
86
96
  :param proportional_size: Proportional Size
87
97
  :type proportional_size: float | None
88
98
  :param use_proportional_connected: Connected
@@ -210,9 +220,24 @@ def edge_slide(
210
220
  use_clamp: bool | None = True,
211
221
  mirror: bool | None = False,
212
222
  snap: bool | None = False,
213
- snap_elements: set[str] | None = {"INCREMENT"},
223
+ snap_elements: set[
224
+ typing.Literal[
225
+ "INCREMENT",
226
+ "GRID",
227
+ "VERTEX",
228
+ "EDGE",
229
+ "FACE",
230
+ "VOLUME",
231
+ "EDGE_MIDPOINT",
232
+ "EDGE_PERPENDICULAR",
233
+ "FACE_PROJECT",
234
+ "FACE_NEAREST",
235
+ ]
236
+ ]
237
+ | None = {"INCREMENT"},
214
238
  use_snap_project: bool | None = False,
215
- snap_target: str | None = "CLOSEST",
239
+ snap_target: typing.Literal["CLOSEST", "CENTER", "MEDIAN", "ACTIVE"]
240
+ | None = "CLOSEST",
216
241
  use_snap_self: bool | None = True,
217
242
  use_snap_edit: bool | None = True,
218
243
  use_snap_nonedit: bool | None = True,
@@ -246,11 +271,11 @@ def edge_slide(
246
271
  :param snap: Use Snapping Options
247
272
  :type snap: bool | None
248
273
  :param snap_elements: Snap to Elements
249
- :type snap_elements: set[str] | None
274
+ :type snap_elements: set[typing.Literal['INCREMENT', 'GRID', 'VERTEX', 'EDGE', 'FACE', 'VOLUME', 'EDGE_MIDPOINT', 'EDGE_PERPENDICULAR', 'FACE_PROJECT', 'FACE_NEAREST']] | None
250
275
  :param use_snap_project: Project Individual Elements
251
276
  :type use_snap_project: bool | None
252
277
  :param snap_target: Snap Base, Point on source that will snap to target
253
- :type snap_target: str | None
278
+ :type snap_target: typing.Literal['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'] | None
254
279
  :param use_snap_self: Target: Include Active
255
280
  :type use_snap_self: bool | None
256
281
  :param use_snap_edit: Target: Include Edit
@@ -338,7 +363,17 @@ def push_pull(
338
363
  value: float | None = 0.0,
339
364
  mirror: bool | None = False,
340
365
  use_proportional_edit: bool | None = False,
341
- proportional_edit_falloff: str | None = "SMOOTH",
366
+ proportional_edit_falloff: typing.Literal[
367
+ "SMOOTH",
368
+ "SPHERE",
369
+ "ROOT",
370
+ "INVERSE_SQUARE",
371
+ "SHARP",
372
+ "LINEAR",
373
+ "CONSTANT",
374
+ "RANDOM",
375
+ ]
376
+ | None = "SMOOTH",
342
377
  proportional_size: float | None = 1.0,
343
378
  use_proportional_connected: bool | None = False,
344
379
  use_proportional_projected: bool | None = False,
@@ -363,7 +398,7 @@ def push_pull(
363
398
  :param use_proportional_edit: Proportional Editing
364
399
  :type use_proportional_edit: bool | None
365
400
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
366
- :type proportional_edit_falloff: str | None
401
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
367
402
  :param proportional_size: Proportional Size
368
403
  :type proportional_size: float | None
369
404
  :param use_proportional_connected: Connected
@@ -401,14 +436,39 @@ def resize(
401
436
  constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
402
437
  mirror: bool | None = False,
403
438
  use_proportional_edit: bool | None = False,
404
- proportional_edit_falloff: str | None = "SMOOTH",
439
+ proportional_edit_falloff: typing.Literal[
440
+ "SMOOTH",
441
+ "SPHERE",
442
+ "ROOT",
443
+ "INVERSE_SQUARE",
444
+ "SHARP",
445
+ "LINEAR",
446
+ "CONSTANT",
447
+ "RANDOM",
448
+ ]
449
+ | None = "SMOOTH",
405
450
  proportional_size: float | None = 1.0,
406
451
  use_proportional_connected: bool | None = False,
407
452
  use_proportional_projected: bool | None = False,
408
453
  snap: bool | None = False,
409
- snap_elements: set[str] | None = {"INCREMENT"},
454
+ snap_elements: set[
455
+ typing.Literal[
456
+ "INCREMENT",
457
+ "GRID",
458
+ "VERTEX",
459
+ "EDGE",
460
+ "FACE",
461
+ "VOLUME",
462
+ "EDGE_MIDPOINT",
463
+ "EDGE_PERPENDICULAR",
464
+ "FACE_PROJECT",
465
+ "FACE_NEAREST",
466
+ ]
467
+ ]
468
+ | None = {"INCREMENT"},
410
469
  use_snap_project: bool | None = False,
411
- snap_target: str | None = "CLOSEST",
470
+ snap_target: typing.Literal["CLOSEST", "CENTER", "MEDIAN", "ACTIVE"]
471
+ | None = "CLOSEST",
412
472
  use_snap_self: bool | None = True,
413
473
  use_snap_edit: bool | None = True,
414
474
  use_snap_nonedit: bool | None = True,
@@ -452,7 +512,7 @@ def resize(
452
512
  :param use_proportional_edit: Proportional Editing
453
513
  :type use_proportional_edit: bool | None
454
514
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
455
- :type proportional_edit_falloff: str | None
515
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
456
516
  :param proportional_size: Proportional Size
457
517
  :type proportional_size: float | None
458
518
  :param use_proportional_connected: Connected
@@ -462,11 +522,11 @@ def resize(
462
522
  :param snap: Use Snapping Options
463
523
  :type snap: bool | None
464
524
  :param snap_elements: Snap to Elements
465
- :type snap_elements: set[str] | None
525
+ :type snap_elements: set[typing.Literal['INCREMENT', 'GRID', 'VERTEX', 'EDGE', 'FACE', 'VOLUME', 'EDGE_MIDPOINT', 'EDGE_PERPENDICULAR', 'FACE_PROJECT', 'FACE_NEAREST']] | None
466
526
  :param use_snap_project: Project Individual Elements
467
527
  :type use_snap_project: bool | None
468
528
  :param snap_target: Snap Base, Point on source that will snap to target
469
- :type snap_target: str | None
529
+ :type snap_target: typing.Literal['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'] | None
470
530
  :param use_snap_self: Target: Include Active
471
531
  :type use_snap_self: bool | None
472
532
  :param use_snap_edit: Target: Include Edit
@@ -501,7 +561,7 @@ def rotate(
501
561
  undo: bool | None = None,
502
562
  *,
503
563
  value: float | None = 0.0,
504
- orient_axis: str | None = "Z",
564
+ orient_axis: typing.Literal["X", "Y", "Z"] | None = "Z",
505
565
  orient_type: str | None = "GLOBAL",
506
566
  orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
507
567
  | mathutils.Matrix
@@ -510,14 +570,39 @@ def rotate(
510
570
  constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
511
571
  mirror: bool | None = False,
512
572
  use_proportional_edit: bool | None = False,
513
- proportional_edit_falloff: str | None = "SMOOTH",
573
+ proportional_edit_falloff: typing.Literal[
574
+ "SMOOTH",
575
+ "SPHERE",
576
+ "ROOT",
577
+ "INVERSE_SQUARE",
578
+ "SHARP",
579
+ "LINEAR",
580
+ "CONSTANT",
581
+ "RANDOM",
582
+ ]
583
+ | None = "SMOOTH",
514
584
  proportional_size: float | None = 1.0,
515
585
  use_proportional_connected: bool | None = False,
516
586
  use_proportional_projected: bool | None = False,
517
587
  snap: bool | None = False,
518
- snap_elements: set[str] | None = {"INCREMENT"},
588
+ snap_elements: set[
589
+ typing.Literal[
590
+ "INCREMENT",
591
+ "GRID",
592
+ "VERTEX",
593
+ "EDGE",
594
+ "FACE",
595
+ "VOLUME",
596
+ "EDGE_MIDPOINT",
597
+ "EDGE_PERPENDICULAR",
598
+ "FACE_PROJECT",
599
+ "FACE_NEAREST",
600
+ ]
601
+ ]
602
+ | None = {"INCREMENT"},
519
603
  use_snap_project: bool | None = False,
520
- snap_target: str | None = "CLOSEST",
604
+ snap_target: typing.Literal["CLOSEST", "CENTER", "MEDIAN", "ACTIVE"]
605
+ | None = "CLOSEST",
521
606
  use_snap_self: bool | None = True,
522
607
  use_snap_edit: bool | None = True,
523
608
  use_snap_nonedit: bool | None = True,
@@ -544,7 +629,7 @@ def rotate(
544
629
  :param value: Angle
545
630
  :type value: float | None
546
631
  :param orient_axis: Axis
547
- :type orient_axis: str | None
632
+ :type orient_axis: typing.Literal['X', 'Y', 'Z'] | None
548
633
  :param orient_type: Orientation, Transformation orientation
549
634
  :type orient_type: str | None
550
635
  :param orient_matrix: Matrix
@@ -558,7 +643,7 @@ def rotate(
558
643
  :param use_proportional_edit: Proportional Editing
559
644
  :type use_proportional_edit: bool | None
560
645
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
561
- :type proportional_edit_falloff: str | None
646
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
562
647
  :param proportional_size: Proportional Size
563
648
  :type proportional_size: float | None
564
649
  :param use_proportional_connected: Connected
@@ -568,11 +653,11 @@ def rotate(
568
653
  :param snap: Use Snapping Options
569
654
  :type snap: bool | None
570
655
  :param snap_elements: Snap to Elements
571
- :type snap_elements: set[str] | None
656
+ :type snap_elements: set[typing.Literal['INCREMENT', 'GRID', 'VERTEX', 'EDGE', 'FACE', 'VOLUME', 'EDGE_MIDPOINT', 'EDGE_PERPENDICULAR', 'FACE_PROJECT', 'FACE_NEAREST']] | None
572
657
  :param use_snap_project: Project Individual Elements
573
658
  :type use_snap_project: bool | None
574
659
  :param snap_target: Snap Base, Point on source that will snap to target
575
- :type snap_target: str | None
660
+ :type snap_target: typing.Literal['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'] | None
576
661
  :param use_snap_self: Target: Include Active
577
662
  :type use_snap_self: bool | None
578
663
  :param use_snap_edit: Target: Include Edit
@@ -601,7 +686,7 @@ def rotate_normal(
601
686
  undo: bool | None = None,
602
687
  *,
603
688
  value: float | None = 0.0,
604
- orient_axis: str | None = "Z",
689
+ orient_axis: typing.Literal["X", "Y", "Z"] | None = "Z",
605
690
  orient_type: str | None = "GLOBAL",
606
691
  orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
607
692
  | mathutils.Matrix
@@ -620,7 +705,7 @@ def rotate_normal(
620
705
  :param value: Angle
621
706
  :type value: float | None
622
707
  :param orient_axis: Axis
623
- :type orient_axis: str | None
708
+ :type orient_axis: typing.Literal['X', 'Y', 'Z'] | None
624
709
  :param orient_type: Orientation, Transformation orientation
625
710
  :type orient_type: str | None
626
711
  :param orient_matrix: Matrix
@@ -696,8 +781,8 @@ def shear(
696
781
  undo: bool | None = None,
697
782
  *,
698
783
  value: float | None = 0.0,
699
- orient_axis: str | None = "Z",
700
- orient_axis_ortho: str | None = "X",
784
+ orient_axis: typing.Literal["X", "Y", "Z"] | None = "Z",
785
+ orient_axis_ortho: typing.Literal["X", "Y", "Z"] | None = "X",
701
786
  orient_type: str | None = "GLOBAL",
702
787
  orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
703
788
  | mathutils.Matrix
@@ -705,7 +790,17 @@ def shear(
705
790
  orient_matrix_type: str | None = "GLOBAL",
706
791
  mirror: bool | None = False,
707
792
  use_proportional_edit: bool | None = False,
708
- proportional_edit_falloff: str | None = "SMOOTH",
793
+ proportional_edit_falloff: typing.Literal[
794
+ "SMOOTH",
795
+ "SPHERE",
796
+ "ROOT",
797
+ "INVERSE_SQUARE",
798
+ "SHARP",
799
+ "LINEAR",
800
+ "CONSTANT",
801
+ "RANDOM",
802
+ ]
803
+ | None = "SMOOTH",
709
804
  proportional_size: float | None = 1.0,
710
805
  use_proportional_connected: bool | None = False,
711
806
  use_proportional_projected: bool | None = False,
@@ -722,9 +817,9 @@ def shear(
722
817
  :param value: Offset
723
818
  :type value: float | None
724
819
  :param orient_axis: Axis
725
- :type orient_axis: str | None
820
+ :type orient_axis: typing.Literal['X', 'Y', 'Z'] | None
726
821
  :param orient_axis_ortho: Axis Ortho
727
- :type orient_axis_ortho: str | None
822
+ :type orient_axis_ortho: typing.Literal['X', 'Y', 'Z'] | None
728
823
  :param orient_type: Orientation, Transformation orientation
729
824
  :type orient_type: str | None
730
825
  :param orient_matrix: Matrix
@@ -736,7 +831,7 @@ def shear(
736
831
  :param use_proportional_edit: Proportional Editing
737
832
  :type use_proportional_edit: bool | None
738
833
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
739
- :type proportional_edit_falloff: str | None
834
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
740
835
  :param proportional_size: Proportional Size
741
836
  :type proportional_size: float | None
742
837
  :param use_proportional_connected: Connected
@@ -764,7 +859,17 @@ def shrink_fatten(
764
859
  use_even_offset: bool | None = False,
765
860
  mirror: bool | None = False,
766
861
  use_proportional_edit: bool | None = False,
767
- proportional_edit_falloff: str | None = "SMOOTH",
862
+ proportional_edit_falloff: typing.Literal[
863
+ "SMOOTH",
864
+ "SPHERE",
865
+ "ROOT",
866
+ "INVERSE_SQUARE",
867
+ "SHARP",
868
+ "LINEAR",
869
+ "CONSTANT",
870
+ "RANDOM",
871
+ ]
872
+ | None = "SMOOTH",
768
873
  proportional_size: float | None = 1.0,
769
874
  use_proportional_connected: bool | None = False,
770
875
  use_proportional_projected: bool | None = False,
@@ -786,7 +891,7 @@ def shrink_fatten(
786
891
  :param use_proportional_edit: Proportional Editing
787
892
  :type use_proportional_edit: bool | None
788
893
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
789
- :type proportional_edit_falloff: str | None
894
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
790
895
  :param proportional_size: Proportional Size
791
896
  :type proportional_size: float | None
792
897
  :param use_proportional_connected: Connected
@@ -817,14 +922,39 @@ def skin_resize(
817
922
  constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
818
923
  mirror: bool | None = False,
819
924
  use_proportional_edit: bool | None = False,
820
- proportional_edit_falloff: str | None = "SMOOTH",
925
+ proportional_edit_falloff: typing.Literal[
926
+ "SMOOTH",
927
+ "SPHERE",
928
+ "ROOT",
929
+ "INVERSE_SQUARE",
930
+ "SHARP",
931
+ "LINEAR",
932
+ "CONSTANT",
933
+ "RANDOM",
934
+ ]
935
+ | None = "SMOOTH",
821
936
  proportional_size: float | None = 1.0,
822
937
  use_proportional_connected: bool | None = False,
823
938
  use_proportional_projected: bool | None = False,
824
939
  snap: bool | None = False,
825
- snap_elements: set[str] | None = {"INCREMENT"},
940
+ snap_elements: set[
941
+ typing.Literal[
942
+ "INCREMENT",
943
+ "GRID",
944
+ "VERTEX",
945
+ "EDGE",
946
+ "FACE",
947
+ "VOLUME",
948
+ "EDGE_MIDPOINT",
949
+ "EDGE_PERPENDICULAR",
950
+ "FACE_PROJECT",
951
+ "FACE_NEAREST",
952
+ ]
953
+ ]
954
+ | None = {"INCREMENT"},
826
955
  use_snap_project: bool | None = False,
827
- snap_target: str | None = "CLOSEST",
956
+ snap_target: typing.Literal["CLOSEST", "CENTER", "MEDIAN", "ACTIVE"]
957
+ | None = "CLOSEST",
828
958
  use_snap_self: bool | None = True,
829
959
  use_snap_edit: bool | None = True,
830
960
  use_snap_nonedit: bool | None = True,
@@ -857,7 +987,7 @@ def skin_resize(
857
987
  :param use_proportional_edit: Proportional Editing
858
988
  :type use_proportional_edit: bool | None
859
989
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
860
- :type proportional_edit_falloff: str | None
990
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
861
991
  :param proportional_size: Proportional Size
862
992
  :type proportional_size: float | None
863
993
  :param use_proportional_connected: Connected
@@ -867,11 +997,11 @@ def skin_resize(
867
997
  :param snap: Use Snapping Options
868
998
  :type snap: bool | None
869
999
  :param snap_elements: Snap to Elements
870
- :type snap_elements: set[str] | None
1000
+ :type snap_elements: set[typing.Literal['INCREMENT', 'GRID', 'VERTEX', 'EDGE', 'FACE', 'VOLUME', 'EDGE_MIDPOINT', 'EDGE_PERPENDICULAR', 'FACE_PROJECT', 'FACE_NEAREST']] | None
871
1001
  :param use_snap_project: Project Individual Elements
872
1002
  :type use_snap_project: bool | None
873
1003
  :param snap_target: Snap Base, Point on source that will snap to target
874
- :type snap_target: str | None
1004
+ :type snap_target: typing.Literal['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'] | None
875
1005
  :param use_snap_self: Target: Include Active
876
1006
  :type use_snap_self: bool | None
877
1007
  :param use_snap_edit: Target: Include Edit
@@ -898,7 +1028,17 @@ def tilt(
898
1028
  value: float | None = 0.0,
899
1029
  mirror: bool | None = False,
900
1030
  use_proportional_edit: bool | None = False,
901
- proportional_edit_falloff: str | None = "SMOOTH",
1031
+ proportional_edit_falloff: typing.Literal[
1032
+ "SMOOTH",
1033
+ "SPHERE",
1034
+ "ROOT",
1035
+ "INVERSE_SQUARE",
1036
+ "SHARP",
1037
+ "LINEAR",
1038
+ "CONSTANT",
1039
+ "RANDOM",
1040
+ ]
1041
+ | None = "SMOOTH",
902
1042
  proportional_size: float | None = 1.0,
903
1043
  use_proportional_connected: bool | None = False,
904
1044
  use_proportional_projected: bool | None = False,
@@ -918,7 +1058,7 @@ def tilt(
918
1058
  :param use_proportional_edit: Proportional Editing
919
1059
  :type use_proportional_edit: bool | None
920
1060
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
921
- :type proportional_edit_falloff: str | None
1061
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
922
1062
  :param proportional_size: Proportional Size
923
1063
  :type proportional_size: float | None
924
1064
  :param use_proportional_connected: Connected
@@ -943,7 +1083,17 @@ def tosphere(
943
1083
  value: float | None = 0.0,
944
1084
  mirror: bool | None = False,
945
1085
  use_proportional_edit: bool | None = False,
946
- proportional_edit_falloff: str | None = "SMOOTH",
1086
+ proportional_edit_falloff: typing.Literal[
1087
+ "SMOOTH",
1088
+ "SPHERE",
1089
+ "ROOT",
1090
+ "INVERSE_SQUARE",
1091
+ "SHARP",
1092
+ "LINEAR",
1093
+ "CONSTANT",
1094
+ "RANDOM",
1095
+ ]
1096
+ | None = "SMOOTH",
947
1097
  proportional_size: float | None = 1.0,
948
1098
  use_proportional_connected: bool | None = False,
949
1099
  use_proportional_projected: bool | None = False,
@@ -969,7 +1119,7 @@ def tosphere(
969
1119
  :param use_proportional_edit: Proportional Editing
970
1120
  :type use_proportional_edit: bool | None
971
1121
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
972
- :type proportional_edit_falloff: str | None
1122
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
973
1123
  :param proportional_size: Proportional Size
974
1124
  :type proportional_size: float | None
975
1125
  :param use_proportional_connected: Connected
@@ -998,7 +1148,17 @@ def trackball(
998
1148
  value: collections.abc.Iterable[float] | None = (0.0, 0.0),
999
1149
  mirror: bool | None = False,
1000
1150
  use_proportional_edit: bool | None = False,
1001
- proportional_edit_falloff: str | None = "SMOOTH",
1151
+ proportional_edit_falloff: typing.Literal[
1152
+ "SMOOTH",
1153
+ "SPHERE",
1154
+ "ROOT",
1155
+ "INVERSE_SQUARE",
1156
+ "SHARP",
1157
+ "LINEAR",
1158
+ "CONSTANT",
1159
+ "RANDOM",
1160
+ ]
1161
+ | None = "SMOOTH",
1002
1162
  proportional_size: float | None = 1.0,
1003
1163
  use_proportional_connected: bool | None = False,
1004
1164
  use_proportional_projected: bool | None = False,
@@ -1024,7 +1184,7 @@ def trackball(
1024
1184
  :param use_proportional_edit: Proportional Editing
1025
1185
  :type use_proportional_edit: bool | None
1026
1186
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
1027
- :type proportional_edit_falloff: str | None
1187
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
1028
1188
  :param proportional_size: Proportional Size
1029
1189
  :type proportional_size: float | None
1030
1190
  :param use_proportional_connected: Connected
@@ -1050,30 +1210,96 @@ def transform(
1050
1210
  execution_context: int | str | None = None,
1051
1211
  undo: bool | None = None,
1052
1212
  *,
1053
- mode: str | None = "TRANSLATION",
1213
+ mode: typing.Literal[
1214
+ "INIT",
1215
+ "DUMMY",
1216
+ "TRANSLATION",
1217
+ "ROTATION",
1218
+ "RESIZE",
1219
+ "SKIN_RESIZE",
1220
+ "TOSPHERE",
1221
+ "SHEAR",
1222
+ "BEND",
1223
+ "SHRINKFATTEN",
1224
+ "TILT",
1225
+ "TRACKBALL",
1226
+ "PUSHPULL",
1227
+ "CREASE",
1228
+ "VERTEX_CREASE",
1229
+ "MIRROR",
1230
+ "BONE_SIZE",
1231
+ "BONE_ENVELOPE",
1232
+ "BONE_ENVELOPE_DIST",
1233
+ "CURVE_SHRINKFATTEN",
1234
+ "MASK_SHRINKFATTEN",
1235
+ "GPENCIL_SHRINKFATTEN",
1236
+ "BONE_ROLL",
1237
+ "TIME_TRANSLATE",
1238
+ "TIME_SLIDE",
1239
+ "TIME_SCALE",
1240
+ "TIME_EXTEND",
1241
+ "BAKE_TIME",
1242
+ "BWEIGHT",
1243
+ "ALIGN",
1244
+ "EDGESLIDE",
1245
+ "SEQSLIDE",
1246
+ "GPENCIL_OPACITY",
1247
+ ]
1248
+ | None = "TRANSLATION",
1054
1249
  value: collections.abc.Sequence[float] | mathutils.Vector | None = (
1055
1250
  0.0,
1056
1251
  0.0,
1057
1252
  0.0,
1058
1253
  0.0,
1059
1254
  ),
1060
- orient_axis: str | None = "Z",
1061
- orient_type: str | None = "GLOBAL",
1255
+ orient_axis: typing.Literal["X", "Y", "Z"] | None = "Z",
1256
+ orient_type: typing.Literal[
1257
+ "GLOBAL", "LOCAL", "NORMAL", "GIMBAL", "VIEW", "CURSOR", "PARENT"
1258
+ ]
1259
+ | None = "GLOBAL",
1062
1260
  orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
1063
1261
  | mathutils.Matrix
1064
1262
  | None = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
1065
- orient_matrix_type: str | None = "GLOBAL",
1263
+ orient_matrix_type: typing.Literal[
1264
+ "GLOBAL", "LOCAL", "NORMAL", "GIMBAL", "VIEW", "CURSOR", "PARENT"
1265
+ ]
1266
+ | None = "GLOBAL",
1066
1267
  constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
1067
1268
  mirror: bool | None = False,
1068
1269
  use_proportional_edit: bool | None = False,
1069
- proportional_edit_falloff: str | None = "SMOOTH",
1270
+ proportional_edit_falloff: typing.Literal[
1271
+ "SMOOTH",
1272
+ "SPHERE",
1273
+ "ROOT",
1274
+ "INVERSE_SQUARE",
1275
+ "SHARP",
1276
+ "LINEAR",
1277
+ "CONSTANT",
1278
+ "RANDOM",
1279
+ ]
1280
+ | None = "SMOOTH",
1070
1281
  proportional_size: float | None = 1.0,
1071
1282
  use_proportional_connected: bool | None = False,
1072
1283
  use_proportional_projected: bool | None = False,
1073
1284
  snap: bool | None = False,
1074
- snap_elements: set[str] | None = {"INCREMENT"},
1285
+ snap_elements: set[
1286
+ typing.Literal[
1287
+ "INCREMENT",
1288
+ "GRID",
1289
+ "VERTEX",
1290
+ "EDGE",
1291
+ "FACE",
1292
+ "VOLUME",
1293
+ "EDGE_MIDPOINT",
1294
+ "EDGE_PERPENDICULAR",
1295
+ "FACE_PROJECT",
1296
+ "FACE_NEAREST",
1297
+ ]
1298
+ ]
1299
+ | None = {"INCREMENT"},
1075
1300
  use_snap_project: bool | None = False,
1076
- snap_target: str | None = "CLOSEST",
1301
+ snap_target: typing.Literal["CLOSEST", "CENTER", "MEDIAN", "ACTIVE"]
1302
+ | None = "CLOSEST",
1077
1303
  use_snap_self: bool | None = True,
1078
1304
  use_snap_edit: bool | None = True,
1079
1305
  use_snap_nonedit: bool | None = True,
@@ -1108,17 +1334,17 @@ def transform(
1108
1334
  :type execution_context: int | str | None
1109
1335
  :type undo: bool | None
1110
1336
  :param mode: Mode
1111
- :type mode: str | None
1337
+ :type mode: typing.Literal['INIT', 'DUMMY', 'TRANSLATION', 'ROTATION', 'RESIZE', 'SKIN_RESIZE', 'TOSPHERE', 'SHEAR', 'BEND', 'SHRINKFATTEN', 'TILT', 'TRACKBALL', 'PUSHPULL', 'CREASE', 'VERTEX_CREASE', 'MIRROR', 'BONE_SIZE', 'BONE_ENVELOPE', 'BONE_ENVELOPE_DIST', 'CURVE_SHRINKFATTEN', 'MASK_SHRINKFATTEN', 'GPENCIL_SHRINKFATTEN', 'BONE_ROLL', 'TIME_TRANSLATE', 'TIME_SLIDE', 'TIME_SCALE', 'TIME_EXTEND', 'BAKE_TIME', 'BWEIGHT', 'ALIGN', 'EDGESLIDE', 'SEQSLIDE', 'GPENCIL_OPACITY'] | None
1112
1338
  :param value: Values
1113
1339
  :type value: collections.abc.Sequence[float] | mathutils.Vector | None
1114
1340
  :param orient_axis: Axis
1115
- :type orient_axis: str | None
1341
+ :type orient_axis: typing.Literal['X', 'Y', 'Z'] | None
1116
1342
  :param orient_type: Orientation, Transformation orientation
1117
- :type orient_type: str | None
1343
+ :type orient_type: typing.Literal['GLOBAL', 'LOCAL', 'NORMAL', 'GIMBAL', 'VIEW', 'CURSOR', 'PARENT'] | None
1118
1344
  :param orient_matrix: Matrix
1119
1345
  :type orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
1120
1346
  :param orient_matrix_type: Matrix Orientation
1121
- :type orient_matrix_type: str | None
1347
+ :type orient_matrix_type: typing.Literal['GLOBAL', 'LOCAL', 'NORMAL', 'GIMBAL', 'VIEW', 'CURSOR', 'PARENT'] | None
1122
1348
  :param constraint_axis: Constraint Axis
1123
1349
  :type constraint_axis: collections.abc.Iterable[bool] | None
1124
1350
  :param mirror: Mirror Editing
@@ -1126,7 +1352,7 @@ def transform(
1126
1352
  :param use_proportional_edit: Proportional Editing
1127
1353
  :type use_proportional_edit: bool | None
1128
1354
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
1129
- :type proportional_edit_falloff: str | None
1355
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
1130
1356
  :param proportional_size: Proportional Size
1131
1357
  :type proportional_size: float | None
1132
1358
  :param use_proportional_connected: Connected
@@ -1136,11 +1362,11 @@ def transform(
1136
1362
  :param snap: Use Snapping Options
1137
1363
  :type snap: bool | None
1138
1364
  :param snap_elements: Snap to Elements
1139
- :type snap_elements: set[str] | None
1365
+ :type snap_elements: set[typing.Literal['INCREMENT', 'GRID', 'VERTEX', 'EDGE', 'FACE', 'VOLUME', 'EDGE_MIDPOINT', 'EDGE_PERPENDICULAR', 'FACE_PROJECT', 'FACE_NEAREST']] | None
1140
1366
  :param use_snap_project: Project Individual Elements
1141
1367
  :type use_snap_project: bool | None
1142
1368
  :param snap_target: Snap Base, Point on source that will snap to target
1143
- :type snap_target: str | None
1369
+ :type snap_target: typing.Literal['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'] | None
1144
1370
  :param use_snap_self: Target: Include Active
1145
1371
  :type use_snap_self: bool | None
1146
1372
  :param use_snap_edit: Target: Include Edit
@@ -1181,22 +1407,53 @@ def translate(
1181
1407
  undo: bool | None = None,
1182
1408
  *,
1183
1409
  value: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
1184
- orient_type: str | None = "GLOBAL",
1410
+ orient_type: typing.Literal[
1411
+ "GLOBAL", "LOCAL", "NORMAL", "GIMBAL", "VIEW", "CURSOR", "PARENT"
1412
+ ]
1413
+ | None = "GLOBAL",
1185
1414
  orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
1186
1415
  | mathutils.Matrix
1187
1416
  | None = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
1188
- orient_matrix_type: str | None = "GLOBAL",
1417
+ orient_matrix_type: typing.Literal[
1418
+ "GLOBAL", "LOCAL", "NORMAL", "GIMBAL", "VIEW", "CURSOR", "PARENT"
1419
+ ]
1420
+ | None = "GLOBAL",
1189
1421
  constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
1190
1422
  mirror: bool | None = False,
1191
1423
  use_proportional_edit: bool | None = False,
1192
- proportional_edit_falloff: str | None = "SMOOTH",
1424
+ proportional_edit_falloff: typing.Literal[
1425
+ "SMOOTH",
1426
+ "SPHERE",
1427
+ "ROOT",
1428
+ "INVERSE_SQUARE",
1429
+ "SHARP",
1430
+ "LINEAR",
1431
+ "CONSTANT",
1432
+ "RANDOM",
1433
+ ]
1434
+ | None = "SMOOTH",
1193
1435
  proportional_size: float | None = 1.0,
1194
1436
  use_proportional_connected: bool | None = False,
1195
1437
  use_proportional_projected: bool | None = False,
1196
1438
  snap: bool | None = False,
1197
- snap_elements: set[str] | None = {"INCREMENT"},
1439
+ snap_elements: set[
1440
+ typing.Literal[
1441
+ "INCREMENT",
1442
+ "GRID",
1443
+ "VERTEX",
1444
+ "EDGE",
1445
+ "FACE",
1446
+ "VOLUME",
1447
+ "EDGE_MIDPOINT",
1448
+ "EDGE_PERPENDICULAR",
1449
+ "FACE_PROJECT",
1450
+ "FACE_NEAREST",
1451
+ ]
1452
+ ]
1453
+ | None = {"INCREMENT"},
1198
1454
  use_snap_project: bool | None = False,
1199
- snap_target: str | None = "CLOSEST",
1455
+ snap_target: typing.Literal["CLOSEST", "CENTER", "MEDIAN", "ACTIVE"]
1456
+ | None = "CLOSEST",
1200
1457
  use_snap_self: bool | None = True,
1201
1458
  use_snap_edit: bool | None = True,
1202
1459
  use_snap_nonedit: bool | None = True,
@@ -1230,11 +1487,11 @@ def translate(
1230
1487
  :param value: Move
1231
1488
  :type value: collections.abc.Sequence[float] | mathutils.Vector | None
1232
1489
  :param orient_type: Orientation, Transformation orientation
1233
- :type orient_type: str | None
1490
+ :type orient_type: typing.Literal['GLOBAL', 'LOCAL', 'NORMAL', 'GIMBAL', 'VIEW', 'CURSOR', 'PARENT'] | None
1234
1491
  :param orient_matrix: Matrix
1235
1492
  :type orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
1236
1493
  :param orient_matrix_type: Matrix Orientation
1237
- :type orient_matrix_type: str | None
1494
+ :type orient_matrix_type: typing.Literal['GLOBAL', 'LOCAL', 'NORMAL', 'GIMBAL', 'VIEW', 'CURSOR', 'PARENT'] | None
1238
1495
  :param constraint_axis: Constraint Axis
1239
1496
  :type constraint_axis: collections.abc.Iterable[bool] | None
1240
1497
  :param mirror: Mirror Editing
@@ -1242,7 +1499,7 @@ def translate(
1242
1499
  :param use_proportional_edit: Proportional Editing
1243
1500
  :type use_proportional_edit: bool | None
1244
1501
  :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
1245
- :type proportional_edit_falloff: str | None
1502
+ :type proportional_edit_falloff: typing.Literal['SMOOTH', 'SPHERE', 'ROOT', 'INVERSE_SQUARE', 'SHARP', 'LINEAR', 'CONSTANT', 'RANDOM'] | None
1246
1503
  :param proportional_size: Proportional Size
1247
1504
  :type proportional_size: float | None
1248
1505
  :param use_proportional_connected: Connected
@@ -1252,11 +1509,11 @@ def translate(
1252
1509
  :param snap: Use Snapping Options
1253
1510
  :type snap: bool | None
1254
1511
  :param snap_elements: Snap to Elements
1255
- :type snap_elements: set[str] | None
1512
+ :type snap_elements: set[typing.Literal['INCREMENT', 'GRID', 'VERTEX', 'EDGE', 'FACE', 'VOLUME', 'EDGE_MIDPOINT', 'EDGE_PERPENDICULAR', 'FACE_PROJECT', 'FACE_NEAREST']] | None
1256
1513
  :param use_snap_project: Project Individual Elements
1257
1514
  :type use_snap_project: bool | None
1258
1515
  :param snap_target: Snap Base, Point on source that will snap to target
1259
- :type snap_target: str | None
1516
+ :type snap_target: typing.Literal['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'] | None
1260
1517
  :param use_snap_self: Target: Include Active
1261
1518
  :type use_snap_self: bool | None
1262
1519
  :param use_snap_edit: Target: Include Edit
@@ -1331,9 +1588,24 @@ def vert_slide(
1331
1588
  use_clamp: bool | None = True,
1332
1589
  mirror: bool | None = False,
1333
1590
  snap: bool | None = False,
1334
- snap_elements: set[str] | None = {"INCREMENT"},
1591
+ snap_elements: set[
1592
+ typing.Literal[
1593
+ "INCREMENT",
1594
+ "GRID",
1595
+ "VERTEX",
1596
+ "EDGE",
1597
+ "FACE",
1598
+ "VOLUME",
1599
+ "EDGE_MIDPOINT",
1600
+ "EDGE_PERPENDICULAR",
1601
+ "FACE_PROJECT",
1602
+ "FACE_NEAREST",
1603
+ ]
1604
+ ]
1605
+ | None = {"INCREMENT"},
1335
1606
  use_snap_project: bool | None = False,
1336
- snap_target: str | None = "CLOSEST",
1607
+ snap_target: typing.Literal["CLOSEST", "CENTER", "MEDIAN", "ACTIVE"]
1608
+ | None = "CLOSEST",
1337
1609
  use_snap_self: bool | None = True,
1338
1610
  use_snap_edit: bool | None = True,
1339
1611
  use_snap_nonedit: bool | None = True,
@@ -1365,11 +1637,11 @@ def vert_slide(
1365
1637
  :param snap: Use Snapping Options
1366
1638
  :type snap: bool | None
1367
1639
  :param snap_elements: Snap to Elements
1368
- :type snap_elements: set[str] | None
1640
+ :type snap_elements: set[typing.Literal['INCREMENT', 'GRID', 'VERTEX', 'EDGE', 'FACE', 'VOLUME', 'EDGE_MIDPOINT', 'EDGE_PERPENDICULAR', 'FACE_PROJECT', 'FACE_NEAREST']] | None
1369
1641
  :param use_snap_project: Project Individual Elements
1370
1642
  :type use_snap_project: bool | None
1371
1643
  :param snap_target: Snap Base, Point on source that will snap to target
1372
- :type snap_target: str | None
1644
+ :type snap_target: typing.Literal['CLOSEST', 'CENTER', 'MEDIAN', 'ACTIVE'] | None
1373
1645
  :param use_snap_self: Target: Include Active
1374
1646
  :type use_snap_self: bool | None
1375
1647
  :param use_snap_edit: Target: Include Edit