fake-bpy-module 20240528__py3-none-any.whl → 20240529__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 (92) hide show
  1. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -3
  2. bl_operators/__init__.pyi +2 -0
  3. bl_operators/connect_to_output/__init__.pyi +325 -0
  4. bl_operators/image_as_planes/__init__.pyi +11 -5
  5. bl_operators/node_editor/__init__.pyi +6 -0
  6. bl_operators/node_editor/node_functions/__init__.pyi +23 -0
  7. bl_operators/presets/__init__.pyi +12 -12
  8. bl_operators/wm/__init__.pyi +24 -24
  9. bl_ui/__init__.pyi +12 -12
  10. bl_ui/anim/__init__.pyi +6 -6
  11. bl_ui/node_add_menu/__init__.pyi +6 -6
  12. bl_ui/node_add_menu_compositor/__init__.pyi +108 -108
  13. bl_ui/node_add_menu_geometry/__init__.pyi +288 -288
  14. bl_ui/node_add_menu_shader/__init__.pyi +60 -60
  15. bl_ui/node_add_menu_texture/__init__.pyi +54 -54
  16. bl_ui/properties_collection/__init__.pyi +6 -6
  17. bl_ui/properties_data_armature/__init__.pyi +12 -12
  18. bl_ui/properties_data_camera/__init__.pyi +12 -12
  19. bl_ui/properties_data_curves/__init__.pyi +6 -6
  20. bl_ui/properties_data_gpencil/__init__.pyi +12 -12
  21. bl_ui/properties_data_grease_pencil/__init__.pyi +18 -18
  22. bl_ui/properties_data_mesh/__init__.pyi +24 -24
  23. bl_ui/properties_data_modifier/__init__.pyi +42 -42
  24. bl_ui/properties_data_pointcloud/__init__.pyi +6 -6
  25. bl_ui/properties_freestyle/__init__.pyi +6 -6
  26. bl_ui/properties_grease_pencil_common/__init__.pyi +72 -72
  27. bl_ui/properties_mask_common/__init__.pyi +36 -36
  28. bl_ui/properties_material/__init__.pyi +6 -6
  29. bl_ui/properties_material_gpencil/__init__.pyi +12 -12
  30. bl_ui/properties_object/__init__.pyi +6 -6
  31. bl_ui/properties_output/__init__.pyi +18 -18
  32. bl_ui/properties_paint_common/__init__.pyi +6 -6
  33. bl_ui/properties_particle/__init__.pyi +12 -12
  34. bl_ui/properties_physics_cloth/__init__.pyi +6 -6
  35. bl_ui/properties_physics_fluid/__init__.pyi +6 -6
  36. bl_ui/properties_render/__init__.pyi +6 -6
  37. bl_ui/properties_texture/__init__.pyi +6 -6
  38. bl_ui/properties_view_layer/__init__.pyi +6 -6
  39. bl_ui/space_clip/__init__.pyi +186 -186
  40. bl_ui/space_console/__init__.pyi +30 -30
  41. bl_ui/space_dopesheet/__init__.pyi +84 -84
  42. bl_ui/space_filebrowser/__init__.pyi +78 -78
  43. bl_ui/space_graph/__init__.pyi +96 -96
  44. bl_ui/space_image/__init__.pyi +138 -138
  45. bl_ui/space_info/__init__.pyi +30 -30
  46. bl_ui/space_nla/__init__.pyi +78 -78
  47. bl_ui/space_node/__init__.pyi +72 -72
  48. bl_ui/space_outliner/__init__.pyi +72 -72
  49. bl_ui/space_sequencer/__init__.pyi +204 -204
  50. bl_ui/space_text/__init__.pyi +72 -72
  51. bl_ui/space_time/__init__.pyi +24 -24
  52. bl_ui/space_toolsystem_toolbar/__init__.pyi +4 -0
  53. bl_ui/space_topbar/__init__.pyi +114 -114
  54. bl_ui/space_userpref/__init__.pyi +36 -36
  55. bl_ui/space_view3d/__init__.pyi +1446 -1176
  56. bl_ui/space_view3d_toolbar/__init__.pyi +30 -30
  57. bl_ui/utils/__init__.pyi +6 -6
  58. bmesh/geometry/__init__.pyi +2 -2
  59. bmesh/ops/__init__.pyi +55 -54
  60. bmesh/types/__init__.pyi +43 -33
  61. bmesh/utils/__init__.pyi +2 -2
  62. bpy/app/handlers/__init__.pyi +37 -37
  63. bpy/app/icons/__init__.pyi +4 -4
  64. bpy/app/timers/__init__.pyi +6 -6
  65. bpy/ops/bl_pkg/__init__.pyi +4 -4
  66. bpy/ops/image/__init__.pyi +55 -55
  67. bpy/ops/node/__init__.pyi +18 -0
  68. bpy/ops/paint/__init__.pyi +66 -0
  69. bpy/ops/preferences/__init__.pyi +2 -2
  70. bpy/ops/sculpt/__init__.pyi +126 -0
  71. bpy/props/__init__.pyi +16 -14
  72. bpy/types/__init__.pyi +269 -54
  73. bpy/utils/__init__.pyi +2 -2
  74. bpy_extras/anim_utils/__init__.pyi +4 -4
  75. bpy_extras/io_utils/__init__.pyi +4 -4
  76. bpy_extras/mesh_utils/__init__.pyi +4 -4
  77. bpy_extras/object_utils/__init__.pyi +8 -8
  78. bpy_types/__init__.pyi +12 -12
  79. {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/METADATA +1 -1
  80. {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/RECORD +92 -89
  81. freestyle/shaders/__init__.pyi +2 -2
  82. freestyle/types/__init__.pyi +64 -56
  83. gpu/matrix/__init__.pyi +6 -6
  84. gpu/types/__init__.pyi +10 -8
  85. imbuf/__init__.pyi +2 -2
  86. mathutils/__init__.pyi +176 -137
  87. mathutils/bvhtree/__init__.pyi +4 -4
  88. mathutils/geometry/__init__.pyi +139 -139
  89. mathutils/kdtree/__init__.pyi +14 -10
  90. mathutils/noise/__init__.pyi +26 -26
  91. {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/WHEEL +0 -0
  92. {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/top_level.txt +0 -0
mathutils/__init__.pyi CHANGED
@@ -58,10 +58,10 @@ class Color:
58
58
  :type: float
59
59
  """
60
60
 
61
- hsv: typing.Sequence[float] | Vector
61
+ hsv: collections.abc.Sequence[float] | Vector
62
62
  """ HSV Values in [0, 1].
63
63
 
64
- :type: typing.Sequence[float] | Vector
64
+ :type: collections.abc.Sequence[float] | Vector
65
65
  """
66
66
 
67
67
  is_frozen: bool
@@ -190,21 +190,21 @@ class Color:
190
190
  """
191
191
  ...
192
192
 
193
- def __add__(self, other: typing.Sequence[float] | Color) -> Color:
193
+ def __add__(self, other: collections.abc.Sequence[float] | Color) -> Color:
194
194
  """
195
195
 
196
196
  :param other:
197
- :type other: typing.Sequence[float] | Color
197
+ :type other: collections.abc.Sequence[float] | Color
198
198
  :return:
199
199
  :rtype: Color
200
200
  """
201
201
  ...
202
202
 
203
- def __sub__(self, other: typing.Sequence[float] | Color) -> Color:
203
+ def __sub__(self, other: collections.abc.Sequence[float] | Color) -> Color:
204
204
  """
205
205
 
206
206
  :param other:
207
- :type other: typing.Sequence[float] | Color
207
+ :type other: collections.abc.Sequence[float] | Color
208
208
  :return:
209
209
  :rtype: Color
210
210
  """
@@ -230,21 +230,21 @@ class Color:
230
230
  """
231
231
  ...
232
232
 
233
- def __radd__(self, other: typing.Sequence[float] | Color) -> Color:
233
+ def __radd__(self, other: collections.abc.Sequence[float] | Color) -> Color:
234
234
  """
235
235
 
236
236
  :param other:
237
- :type other: typing.Sequence[float] | Color
237
+ :type other: collections.abc.Sequence[float] | Color
238
238
  :return:
239
239
  :rtype: Color
240
240
  """
241
241
  ...
242
242
 
243
- def __rsub__(self, other: typing.Sequence[float] | Color) -> Color:
243
+ def __rsub__(self, other: collections.abc.Sequence[float] | Color) -> Color:
244
244
  """
245
245
 
246
246
  :param other:
247
- :type other: typing.Sequence[float] | Color
247
+ :type other: collections.abc.Sequence[float] | Color
248
248
  :return:
249
249
  :rtype: Color
250
250
  """
@@ -270,21 +270,21 @@ class Color:
270
270
  """
271
271
  ...
272
272
 
273
- def __iadd__(self, other: typing.Sequence[float] | Color) -> Color:
273
+ def __iadd__(self, other: collections.abc.Sequence[float] | Color) -> Color:
274
274
  """
275
275
 
276
276
  :param other:
277
- :type other: typing.Sequence[float] | Color
277
+ :type other: collections.abc.Sequence[float] | Color
278
278
  :return:
279
279
  :rtype: Color
280
280
  """
281
281
  ...
282
282
 
283
- def __isub__(self, other: typing.Sequence[float] | Color) -> Color:
283
+ def __isub__(self, other: collections.abc.Sequence[float] | Color) -> Color:
284
284
  """
285
285
 
286
286
  :param other:
287
- :type other: typing.Sequence[float] | Color
287
+ :type other: collections.abc.Sequence[float] | Color
288
288
  :return:
289
289
  :rtype: Color
290
290
  """
@@ -391,17 +391,17 @@ class Euler:
391
391
 
392
392
  def rotate(
393
393
  self,
394
- other: typing.Sequence[float]
394
+ other: collections.abc.Sequence[float]
395
395
  | Euler
396
- | typing.Sequence[float]
396
+ | collections.abc.Sequence[float]
397
397
  | Quaternion
398
- | typing.Sequence[float]
398
+ | collections.abc.Sequence[float]
399
399
  | Matrix,
400
400
  ):
401
401
  """Rotates the euler by another mathutils value.
402
402
 
403
403
  :param other: rotation component of mathutils value
404
- :type other: typing.Sequence[float] | Euler | typing.Sequence[float] | Quaternion | typing.Sequence[float] | Matrix
404
+ :type other: collections.abc.Sequence[float] | Euler | collections.abc.Sequence[float] | Quaternion | collections.abc.Sequence[float] | Matrix
405
405
  """
406
406
  ...
407
407
 
@@ -523,11 +523,11 @@ class Matrix:
523
523
  """
524
524
 
525
525
  @classmethod
526
- def Diagonal(cls, vector: typing.Sequence[float] | Vector) -> Matrix:
526
+ def Diagonal(cls, vector: collections.abc.Sequence[float] | Vector) -> Matrix:
527
527
  """Create a diagonal (scaling) matrix using the values from the vector.
528
528
 
529
529
  :param vector: The vector of values for the diagonal.
530
- :type vector: typing.Sequence[float] | Vector
530
+ :type vector: collections.abc.Sequence[float] | Vector
531
531
  :return: A diagonal matrix.
532
532
  :rtype: Matrix
533
533
  """
@@ -547,23 +547,23 @@ class Matrix:
547
547
  @classmethod
548
548
  def LocRotScale(
549
549
  cls,
550
- location: typing.Sequence[float] | Vector | None,
551
- rotation: typing.Sequence[float]
550
+ location: collections.abc.Sequence[float] | Vector | None,
551
+ rotation: collections.abc.Sequence[float]
552
552
  | Quaternion
553
- | typing.Sequence[float]
553
+ | collections.abc.Sequence[float]
554
554
  | Euler
555
555
  | None,
556
- scale: typing.Sequence[float] | Vector | None,
556
+ scale: collections.abc.Sequence[float] | Vector | None,
557
557
  ) -> Matrix:
558
558
  """Create a matrix combining translation, rotation and scale,
559
559
  acting as the inverse of the decompose() method.Any of the inputs may be replaced with None if not needed.
560
560
 
561
561
  :param location: The translation component.
562
- :type location: typing.Sequence[float] | Vector | None
562
+ :type location: collections.abc.Sequence[float] | Vector | None
563
563
  :param rotation: The rotation component.
564
- :type rotation: typing.Sequence[float] | Quaternion | typing.Sequence[float] | Euler | None
564
+ :type rotation: collections.abc.Sequence[float] | Quaternion | collections.abc.Sequence[float] | Euler | None
565
565
  :param scale: The scale component.
566
- :type scale: typing.Sequence[float] | Vector | None
566
+ :type scale: collections.abc.Sequence[float] | Vector | None
567
567
  :return: Combined transformation matrix.
568
568
  :rtype: Matrix
569
569
  """
@@ -571,14 +571,14 @@ class Matrix:
571
571
 
572
572
  @classmethod
573
573
  def OrthoProjection(
574
- cls, axis: str | typing.Sequence[float] | Vector, size: int
574
+ cls, axis: str | collections.abc.Sequence[float] | Vector, size: int
575
575
  ) -> Matrix:
576
576
  """Create a matrix to represent an orthographic projection.
577
577
 
578
578
  :param axis: Can be any of the following: ['X', 'Y', 'XY', 'XZ', 'YZ'],
579
579
  where a single axis is for a 2D matrix.
580
580
  Or a vector for an arbitrary axis
581
- :type axis: str | typing.Sequence[float] | Vector
581
+ :type axis: str | collections.abc.Sequence[float] | Vector
582
582
  :param size: The size of the projection matrix to construct [2, 4].
583
583
  :type size: int
584
584
  :return: A new projection matrix.
@@ -588,7 +588,10 @@ class Matrix:
588
588
 
589
589
  @classmethod
590
590
  def Rotation(
591
- cls, angle: float, size: int, axis: str | typing.Sequence[float] | Vector
591
+ cls,
592
+ angle: float,
593
+ size: int,
594
+ axis: str | collections.abc.Sequence[float] | Vector | None,
592
595
  ) -> Matrix:
593
596
  """Create a matrix representing a rotation.
594
597
 
@@ -598,7 +601,7 @@ class Matrix:
598
601
  :type size: int
599
602
  :param axis: a string in ['X', 'Y', 'Z'] or a 3D Vector Object
600
603
  (optional when size is 2).
601
- :type axis: str | typing.Sequence[float] | Vector
604
+ :type axis: str | collections.abc.Sequence[float] | Vector | None
602
605
  :return: A new rotation matrix.
603
606
  :rtype: Matrix
604
607
  """
@@ -606,7 +609,10 @@ class Matrix:
606
609
 
607
610
  @classmethod
608
611
  def Scale(
609
- cls, factor: float, size: int, axis: typing.Sequence[float] | Vector
612
+ cls,
613
+ factor: float,
614
+ size: int,
615
+ axis: collections.abc.Sequence[float] | Vector | None,
610
616
  ) -> Matrix:
611
617
  """Create a matrix representing a scaling.
612
618
 
@@ -615,7 +621,7 @@ class Matrix:
615
621
  :param size: The size of the scale matrix to construct [2, 4].
616
622
  :type size: int
617
623
  :param axis: Direction to influence scale. (optional).
618
- :type axis: typing.Sequence[float] | Vector
624
+ :type axis: collections.abc.Sequence[float] | Vector | None
619
625
  :return: A new scale matrix.
620
626
  :rtype: Matrix
621
627
  """
@@ -639,11 +645,11 @@ class Matrix:
639
645
  ...
640
646
 
641
647
  @classmethod
642
- def Translation(cls, vector: typing.Sequence[float] | Vector) -> Matrix:
648
+ def Translation(cls, vector: collections.abc.Sequence[float] | Vector) -> Matrix:
643
649
  """Create a matrix representing a translation.
644
650
 
645
651
  :param vector: The translation vector.
646
- :type vector: typing.Sequence[float] | Vector
652
+ :type vector: collections.abc.Sequence[float] | Vector
647
653
  :return: An identity matrix with a translation.
648
654
  :rtype: Matrix
649
655
  """
@@ -697,12 +703,12 @@ class Matrix:
697
703
  """Set the matrix to the identity matrix.`Identity matrix <https://en.wikipedia.org/wiki/Identity_matrix>`__ on Wikipedia."""
698
704
  ...
699
705
 
700
- def invert(self, fallback: typing.Sequence[float] | Matrix = None):
706
+ def invert(self, fallback: collections.abc.Sequence[float] | Matrix = None):
701
707
  """Set the matrix to its inverse.`Inverse matrix <https://en.wikipedia.org/wiki/Inverse_matrix>`__ on Wikipedia.
702
708
 
703
709
  :param fallback: Set the matrix to this value when the inverse cannot be calculated
704
710
  (instead of raising a `ValueError` exception).
705
- :type fallback: typing.Sequence[float] | Matrix
711
+ :type fallback: collections.abc.Sequence[float] | Matrix
706
712
  """
707
713
  ...
708
714
 
@@ -735,11 +741,13 @@ class Matrix:
735
741
  """
736
742
  ...
737
743
 
738
- def lerp(self, other: typing.Sequence[float] | Matrix, factor: float) -> Matrix:
744
+ def lerp(
745
+ self, other: collections.abc.Sequence[float] | Matrix, factor: float
746
+ ) -> Matrix:
739
747
  """Returns the interpolation of two matrices. Uses polar decomposition, see "Matrix Animation and Polar Decomposition", Shoemake and Duff, 1992.
740
748
 
741
749
  :param other: value to interpolate with.
742
- :type other: typing.Sequence[float] | Matrix
750
+ :type other: collections.abc.Sequence[float] | Matrix
743
751
  :param factor: The interpolation value in [0.0, 1.0].
744
752
  :type factor: float
745
753
  :return: The interpolated matrix.
@@ -765,17 +773,17 @@ class Matrix:
765
773
 
766
774
  def rotate(
767
775
  self,
768
- other: typing.Sequence[float]
776
+ other: collections.abc.Sequence[float]
769
777
  | Euler
770
- | typing.Sequence[float]
778
+ | collections.abc.Sequence[float]
771
779
  | Quaternion
772
- | typing.Sequence[float]
780
+ | collections.abc.Sequence[float]
773
781
  | Matrix,
774
782
  ):
775
783
  """Rotates the matrix by another mathutils value.
776
784
 
777
785
  :param other: rotation component of mathutils value
778
- :type other: typing.Sequence[float] | Euler | typing.Sequence[float] | Quaternion | typing.Sequence[float] | Matrix
786
+ :type other: collections.abc.Sequence[float] | Euler | collections.abc.Sequence[float] | Quaternion | collections.abc.Sequence[float] | Matrix
779
787
  """
780
788
  ...
781
789
 
@@ -804,18 +812,20 @@ class Matrix:
804
812
  ...
805
813
 
806
814
  def to_euler(
807
- self, order: str, euler_compat: typing.Sequence[float] | Euler
815
+ self,
816
+ order: str | None,
817
+ euler_compat: collections.abc.Sequence[float] | Euler | None,
808
818
  ) -> Euler:
809
819
  """Return an Euler representation of the rotation matrix
810
820
  (3x3 or 4x4 matrix only).
811
821
 
812
822
  :param order: Optional rotation order argument in
813
823
  ['XYZ', 'XZY', 'YXZ', 'YZX', 'ZXY', 'ZYX'].
814
- :type order: str
824
+ :type order: str | None
815
825
  :param euler_compat: Optional euler argument the new euler will be made
816
826
  compatible with (no axis flipping between them).
817
827
  Useful for converting a series of matrices to animation curves.
818
- :type euler_compat: typing.Sequence[float] | Euler
828
+ :type euler_compat: collections.abc.Sequence[float] | Euler | None
819
829
  :return: Euler representation of the matrix.
820
830
  :rtype: Euler
821
831
  """
@@ -894,21 +904,21 @@ class Matrix:
894
904
  """
895
905
  ...
896
906
 
897
- def __add__(self, other: typing.Sequence[float] | Matrix) -> Matrix:
907
+ def __add__(self, other: collections.abc.Sequence[float] | Matrix) -> Matrix:
898
908
  """
899
909
 
900
910
  :param other:
901
- :type other: typing.Sequence[float] | Matrix
911
+ :type other: collections.abc.Sequence[float] | Matrix
902
912
  :return:
903
913
  :rtype: Matrix
904
914
  """
905
915
  ...
906
916
 
907
- def __sub__(self, other: typing.Sequence[float] | Matrix) -> Matrix:
917
+ def __sub__(self, other: collections.abc.Sequence[float] | Matrix) -> Matrix:
908
918
  """
909
919
 
910
920
  :param other:
911
- :type other: typing.Sequence[float] | Matrix
921
+ :type other: collections.abc.Sequence[float] | Matrix
912
922
  :return:
913
923
  :rtype: Matrix
914
924
  """
@@ -925,54 +935,58 @@ class Matrix:
925
935
  ...
926
936
 
927
937
  @typing.overload
928
- def __matmul__(self, other: typing.Sequence[float] | Matrix) -> Matrix:
938
+ def __matmul__(self, other: collections.abc.Sequence[float] | Matrix) -> Matrix:
929
939
  """
930
940
 
931
941
  :param other:
932
- :type other: typing.Sequence[float] | Matrix
942
+ :type other: collections.abc.Sequence[float] | Matrix
933
943
  :return:
934
944
  :rtype: Matrix
935
945
  """
936
946
  ...
937
947
 
938
948
  @typing.overload
939
- def __matmul__(self, other: typing.Sequence[float] | Vector) -> Vector:
949
+ def __matmul__(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
940
950
  """
941
951
 
942
952
  :param other:
943
- :type other: typing.Sequence[float] | Vector
953
+ :type other: collections.abc.Sequence[float] | Vector
944
954
  :return:
945
955
  :rtype: Vector
946
956
  """
947
957
  ...
948
958
 
949
959
  def __matmul__(
950
- self, other: typing.Sequence[float] | Matrix | typing.Sequence[float] | Vector
960
+ self,
961
+ other: collections.abc.Sequence[float]
962
+ | Matrix
963
+ | collections.abc.Sequence[float]
964
+ | Vector,
951
965
  ) -> Matrix | Vector:
952
966
  """
953
967
 
954
968
  :param other:
955
- :type other: typing.Sequence[float] | Matrix | typing.Sequence[float] | Vector
969
+ :type other: collections.abc.Sequence[float] | Matrix | collections.abc.Sequence[float] | Vector
956
970
  :return:
957
971
  :rtype: Matrix | Vector
958
972
  """
959
973
  ...
960
974
 
961
- def __radd__(self, other: typing.Sequence[float] | Matrix) -> Matrix:
975
+ def __radd__(self, other: collections.abc.Sequence[float] | Matrix) -> Matrix:
962
976
  """
963
977
 
964
978
  :param other:
965
- :type other: typing.Sequence[float] | Matrix
979
+ :type other: collections.abc.Sequence[float] | Matrix
966
980
  :return:
967
981
  :rtype: Matrix
968
982
  """
969
983
  ...
970
984
 
971
- def __rsub__(self, other: typing.Sequence[float] | Matrix) -> Matrix:
985
+ def __rsub__(self, other: collections.abc.Sequence[float] | Matrix) -> Matrix:
972
986
  """
973
987
 
974
988
  :param other:
975
- :type other: typing.Sequence[float] | Matrix
989
+ :type other: collections.abc.Sequence[float] | Matrix
976
990
  :return:
977
991
  :rtype: Matrix
978
992
  """
@@ -1007,10 +1021,10 @@ class Quaternion:
1007
1021
  :type: float
1008
1022
  """
1009
1023
 
1010
- axis: typing.Sequence[float] | Vector
1024
+ axis: collections.abc.Sequence[float] | Vector
1011
1025
  """ Quaternion axis as a vector.
1012
1026
 
1013
- :type: typing.Sequence[float] | Vector
1027
+ :type: collections.abc.Sequence[float] | Vector
1014
1028
  """
1015
1029
 
1016
1030
  is_frozen: bool
@@ -1084,21 +1098,21 @@ class Quaternion:
1084
1098
  """
1085
1099
  ...
1086
1100
 
1087
- def cross(self, other: typing.Sequence[float] | Quaternion) -> Quaternion:
1101
+ def cross(self, other: collections.abc.Sequence[float] | Quaternion) -> Quaternion:
1088
1102
  """Return the cross product of this quaternion and another.
1089
1103
 
1090
1104
  :param other: The other quaternion to perform the cross product with.
1091
- :type other: typing.Sequence[float] | Quaternion
1105
+ :type other: collections.abc.Sequence[float] | Quaternion
1092
1106
  :return: The cross product.
1093
1107
  :rtype: Quaternion
1094
1108
  """
1095
1109
  ...
1096
1110
 
1097
- def dot(self, other: typing.Sequence[float] | Quaternion) -> float:
1111
+ def dot(self, other: collections.abc.Sequence[float] | Quaternion) -> float:
1098
1112
  """Return the dot product of this quaternion and another.
1099
1113
 
1100
1114
  :param other: The other quaternion to perform the dot product with.
1101
- :type other: typing.Sequence[float] | Quaternion
1115
+ :type other: collections.abc.Sequence[float] | Quaternion
1102
1116
  :return: The dot product.
1103
1117
  :rtype: float
1104
1118
  """
@@ -1154,39 +1168,39 @@ class Quaternion:
1154
1168
 
1155
1169
  def rotate(
1156
1170
  self,
1157
- other: typing.Sequence[float]
1171
+ other: collections.abc.Sequence[float]
1158
1172
  | Euler
1159
- | typing.Sequence[float]
1173
+ | collections.abc.Sequence[float]
1160
1174
  | Quaternion
1161
- | typing.Sequence[float]
1175
+ | collections.abc.Sequence[float]
1162
1176
  | Matrix,
1163
1177
  ):
1164
1178
  """Rotates the quaternion by another mathutils value.
1165
1179
 
1166
1180
  :param other: rotation component of mathutils value
1167
- :type other: typing.Sequence[float] | Euler | typing.Sequence[float] | Quaternion | typing.Sequence[float] | Matrix
1181
+ :type other: collections.abc.Sequence[float] | Euler | collections.abc.Sequence[float] | Quaternion | collections.abc.Sequence[float] | Matrix
1168
1182
  """
1169
1183
  ...
1170
1184
 
1171
1185
  def rotation_difference(
1172
- self, other: typing.Sequence[float] | Quaternion
1186
+ self, other: collections.abc.Sequence[float] | Quaternion
1173
1187
  ) -> Quaternion:
1174
1188
  """Returns a quaternion representing the rotational difference.
1175
1189
 
1176
1190
  :param other: second quaternion.
1177
- :type other: typing.Sequence[float] | Quaternion
1191
+ :type other: collections.abc.Sequence[float] | Quaternion
1178
1192
  :return: the rotational difference between the two quat rotations.
1179
1193
  :rtype: Quaternion
1180
1194
  """
1181
1195
  ...
1182
1196
 
1183
1197
  def slerp(
1184
- self, other: typing.Sequence[float] | Quaternion, factor: float
1198
+ self, other: collections.abc.Sequence[float] | Quaternion, factor: float
1185
1199
  ) -> Quaternion:
1186
1200
  """Returns the interpolation of two quaternions.
1187
1201
 
1188
1202
  :param other: value to interpolate with.
1189
- :type other: typing.Sequence[float] | Quaternion
1203
+ :type other: collections.abc.Sequence[float] | Quaternion
1190
1204
  :param factor: The interpolation value in [0.0, 1.0].
1191
1205
  :type factor: float
1192
1206
  :return: The interpolated rotation.
@@ -1203,17 +1217,19 @@ class Quaternion:
1203
1217
  ...
1204
1218
 
1205
1219
  def to_euler(
1206
- self, order: str, euler_compat: typing.Sequence[float] | Euler
1220
+ self,
1221
+ order: str | None,
1222
+ euler_compat: collections.abc.Sequence[float] | Euler | None,
1207
1223
  ) -> Euler:
1208
1224
  """Return Euler representation of the quaternion.
1209
1225
 
1210
1226
  :param order: Optional rotation order argument in
1211
1227
  ['XYZ', 'XZY', 'YXZ', 'YZX', 'ZXY', 'ZYX'].
1212
- :type order: str
1228
+ :type order: str | None
1213
1229
  :param euler_compat: Optional euler argument the new euler will be made
1214
1230
  compatible with (no axis flipping between them).
1215
1231
  Useful for converting a series of matrices to animation curves.
1216
- :type euler_compat: typing.Sequence[float] | Euler
1232
+ :type euler_compat: collections.abc.Sequence[float] | Euler | None
1217
1233
  :return: Euler representation of the quaternion.
1218
1234
  :rtype: Euler
1219
1235
  """
@@ -1282,55 +1298,61 @@ class Quaternion:
1282
1298
  """
1283
1299
  ...
1284
1300
 
1285
- def __add__(self, other: typing.Sequence[float] | Quaternion) -> Quaternion:
1301
+ def __add__(
1302
+ self, other: collections.abc.Sequence[float] | Quaternion
1303
+ ) -> Quaternion:
1286
1304
  """
1287
1305
 
1288
1306
  :param other:
1289
- :type other: typing.Sequence[float] | Quaternion
1307
+ :type other: collections.abc.Sequence[float] | Quaternion
1290
1308
  :return:
1291
1309
  :rtype: Quaternion
1292
1310
  """
1293
1311
  ...
1294
1312
 
1295
- def __sub__(self, other: typing.Sequence[float] | Quaternion) -> Quaternion:
1313
+ def __sub__(
1314
+ self, other: collections.abc.Sequence[float] | Quaternion
1315
+ ) -> Quaternion:
1296
1316
  """
1297
1317
 
1298
1318
  :param other:
1299
- :type other: typing.Sequence[float] | Quaternion
1319
+ :type other: collections.abc.Sequence[float] | Quaternion
1300
1320
  :return:
1301
1321
  :rtype: Quaternion
1302
1322
  """
1303
1323
  ...
1304
1324
 
1305
1325
  def __mul__(
1306
- self, other: int | float | typing.Sequence[float] | Quaternion
1326
+ self, other: int | float | collections.abc.Sequence[float] | Quaternion
1307
1327
  ) -> Quaternion:
1308
1328
  """
1309
1329
 
1310
1330
  :param other:
1311
- :type other: int | float | typing.Sequence[float] | Quaternion
1331
+ :type other: int | float | collections.abc.Sequence[float] | Quaternion
1312
1332
  :return:
1313
1333
  :rtype: Quaternion
1314
1334
  """
1315
1335
  ...
1316
1336
 
1317
1337
  @typing.overload
1318
- def __matmul__(self, other: typing.Sequence[float] | Quaternion) -> Quaternion:
1338
+ def __matmul__(
1339
+ self, other: collections.abc.Sequence[float] | Quaternion
1340
+ ) -> Quaternion:
1319
1341
  """
1320
1342
 
1321
1343
  :param other:
1322
- :type other: typing.Sequence[float] | Quaternion
1344
+ :type other: collections.abc.Sequence[float] | Quaternion
1323
1345
  :return:
1324
1346
  :rtype: Quaternion
1325
1347
  """
1326
1348
  ...
1327
1349
 
1328
1350
  @typing.overload
1329
- def __matmul__(self, other: typing.Sequence[float] | Vector) -> Vector:
1351
+ def __matmul__(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
1330
1352
  """
1331
1353
 
1332
1354
  :param other:
1333
- :type other: typing.Sequence[float] | Vector
1355
+ :type other: collections.abc.Sequence[float] | Vector
1334
1356
  :return:
1335
1357
  :rtype: Vector
1336
1358
  """
@@ -1338,56 +1360,63 @@ class Quaternion:
1338
1360
 
1339
1361
  def __matmul__(
1340
1362
  self,
1341
- other: typing.Sequence[float] | Vector | typing.Sequence[float] | Quaternion,
1363
+ other: collections.abc.Sequence[float]
1364
+ | Vector
1365
+ | collections.abc.Sequence[float]
1366
+ | Quaternion,
1342
1367
  ) -> Vector | Quaternion:
1343
1368
  """
1344
1369
 
1345
1370
  :param other:
1346
- :type other: typing.Sequence[float] | Vector | typing.Sequence[float] | Quaternion
1371
+ :type other: collections.abc.Sequence[float] | Vector | collections.abc.Sequence[float] | Quaternion
1347
1372
  :return:
1348
1373
  :rtype: Vector | Quaternion
1349
1374
  """
1350
1375
  ...
1351
1376
 
1352
- def __radd__(self, other: typing.Sequence[float] | Quaternion) -> Quaternion:
1377
+ def __radd__(
1378
+ self, other: collections.abc.Sequence[float] | Quaternion
1379
+ ) -> Quaternion:
1353
1380
  """
1354
1381
 
1355
1382
  :param other:
1356
- :type other: typing.Sequence[float] | Quaternion
1383
+ :type other: collections.abc.Sequence[float] | Quaternion
1357
1384
  :return:
1358
1385
  :rtype: Quaternion
1359
1386
  """
1360
1387
  ...
1361
1388
 
1362
- def __rsub__(self, other: typing.Sequence[float] | Quaternion) -> Quaternion:
1389
+ def __rsub__(
1390
+ self, other: collections.abc.Sequence[float] | Quaternion
1391
+ ) -> Quaternion:
1363
1392
  """
1364
1393
 
1365
1394
  :param other:
1366
- :type other: typing.Sequence[float] | Quaternion
1395
+ :type other: collections.abc.Sequence[float] | Quaternion
1367
1396
  :return:
1368
1397
  :rtype: Quaternion
1369
1398
  """
1370
1399
  ...
1371
1400
 
1372
1401
  def __rmul__(
1373
- self, other: int | float | typing.Sequence[float] | Quaternion
1402
+ self, other: int | float | collections.abc.Sequence[float] | Quaternion
1374
1403
  ) -> Quaternion:
1375
1404
  """
1376
1405
 
1377
1406
  :param other:
1378
- :type other: int | float | typing.Sequence[float] | Quaternion
1407
+ :type other: int | float | collections.abc.Sequence[float] | Quaternion
1379
1408
  :return:
1380
1409
  :rtype: Quaternion
1381
1410
  """
1382
1411
  ...
1383
1412
 
1384
1413
  def __imul__(
1385
- self, other: int | float | typing.Sequence[float] | Quaternion
1414
+ self, other: int | float | collections.abc.Sequence[float] | Quaternion
1386
1415
  ) -> Quaternion:
1387
1416
  """
1388
1417
 
1389
1418
  :param other:
1390
- :type other: int | float | typing.Sequence[float] | Quaternion
1419
+ :type other: int | float | collections.abc.Sequence[float] | Quaternion
1391
1420
  :return:
1392
1421
  :rtype: Quaternion
1393
1422
  """
@@ -2515,12 +2544,14 @@ class Vector:
2515
2544
  ...
2516
2545
 
2517
2546
  def angle(
2518
- self, other: typing.Sequence[float] | Vector, fallback: typing.Any = None
2547
+ self,
2548
+ other: collections.abc.Sequence[float] | Vector,
2549
+ fallback: typing.Any = None,
2519
2550
  ) -> float:
2520
2551
  """Return the angle between two vectors.
2521
2552
 
2522
2553
  :param other: another vector to compare the angle with
2523
- :type other: typing.Sequence[float] | Vector
2554
+ :type other: collections.abc.Sequence[float] | Vector
2524
2555
  :param fallback: return this when the angle can't be calculated (zero length vector),
2525
2556
  (instead of raising a `ValueError`).
2526
2557
  :type fallback: typing.Any
@@ -2530,12 +2561,12 @@ class Vector:
2530
2561
  ...
2531
2562
 
2532
2563
  def angle_signed(
2533
- self, other: typing.Sequence[float] | Vector, fallback: typing.Any
2564
+ self, other: collections.abc.Sequence[float] | Vector, fallback: typing.Any
2534
2565
  ) -> float:
2535
2566
  """Return the signed angle between two 2D vectors (clockwise is positive).
2536
2567
 
2537
2568
  :param other: another vector to compare the angle with
2538
- :type other: typing.Sequence[float] | Vector
2569
+ :type other: collections.abc.Sequence[float] | Vector
2539
2570
  :param fallback: return this when the angle can't be calculated (zero length vector),
2540
2571
  (instead of raising a `ValueError`).
2541
2572
  :type fallback: typing.Any
@@ -2552,21 +2583,21 @@ class Vector:
2552
2583
  """
2553
2584
  ...
2554
2585
 
2555
- def cross(self, other: typing.Sequence[float] | Vector) -> Vector:
2586
+ def cross(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
2556
2587
  """Return the cross product of this vector and another.
2557
2588
 
2558
2589
  :param other: The other vector to perform the cross product with.
2559
- :type other: typing.Sequence[float] | Vector
2590
+ :type other: collections.abc.Sequence[float] | Vector
2560
2591
  :return: The cross product.
2561
2592
  :rtype: Vector
2562
2593
  """
2563
2594
  ...
2564
2595
 
2565
- def dot(self, other: typing.Sequence[float] | Vector) -> float:
2596
+ def dot(self, other: collections.abc.Sequence[float] | Vector) -> float:
2566
2597
  """Return the dot product of this vector and another.
2567
2598
 
2568
2599
  :param other: The other vector to perform the dot product with.
2569
- :type other: typing.Sequence[float] | Vector
2600
+ :type other: collections.abc.Sequence[float] | Vector
2570
2601
  :return: The dot product.
2571
2602
  :rtype: float
2572
2603
  """
@@ -2580,11 +2611,13 @@ class Vector:
2580
2611
  """
2581
2612
  ...
2582
2613
 
2583
- def lerp(self, other: typing.Sequence[float] | Vector, factor: float) -> Vector:
2614
+ def lerp(
2615
+ self, other: collections.abc.Sequence[float] | Vector, factor: float
2616
+ ) -> Vector:
2584
2617
  """Returns the interpolation of two vectors.
2585
2618
 
2586
2619
  :param other: value to interpolate with.
2587
- :type other: typing.Sequence[float] | Vector
2620
+ :type other: collections.abc.Sequence[float] | Vector
2588
2621
  :param factor: The interpolation value in [0.0, 1.0].
2589
2622
  :type factor: float
2590
2623
  :return: The interpolated vector.
@@ -2616,21 +2649,21 @@ class Vector:
2616
2649
  """
2617
2650
  ...
2618
2651
 
2619
- def project(self, other: typing.Sequence[float] | Vector) -> Vector:
2652
+ def project(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
2620
2653
  """Return the projection of this vector onto the other.
2621
2654
 
2622
2655
  :param other: second vector.
2623
- :type other: typing.Sequence[float] | Vector
2656
+ :type other: collections.abc.Sequence[float] | Vector
2624
2657
  :return: the parallel projection vector
2625
2658
  :rtype: Vector
2626
2659
  """
2627
2660
  ...
2628
2661
 
2629
- def reflect(self, mirror: typing.Sequence[float] | Vector) -> Vector:
2662
+ def reflect(self, mirror: collections.abc.Sequence[float] | Vector) -> Vector:
2630
2663
  """Return the reflection vector from the mirror argument.
2631
2664
 
2632
2665
  :param mirror: This vector could be a normal from the reflecting surface.
2633
- :type mirror: typing.Sequence[float] | Vector
2666
+ :type mirror: collections.abc.Sequence[float] | Vector
2634
2667
  :return: The reflected vector matching the size of this vector.
2635
2668
  :rtype: Vector
2636
2669
  """
@@ -2666,26 +2699,28 @@ class Vector:
2666
2699
 
2667
2700
  def rotate(
2668
2701
  self,
2669
- other: typing.Sequence[float]
2702
+ other: collections.abc.Sequence[float]
2670
2703
  | Euler
2671
- | typing.Sequence[float]
2704
+ | collections.abc.Sequence[float]
2672
2705
  | Quaternion
2673
- | typing.Sequence[float]
2706
+ | collections.abc.Sequence[float]
2674
2707
  | Matrix,
2675
2708
  ):
2676
2709
  """Rotate the vector by a rotation value.
2677
2710
 
2678
2711
  :param other: rotation component of mathutils value
2679
- :type other: typing.Sequence[float] | Euler | typing.Sequence[float] | Quaternion | typing.Sequence[float] | Matrix
2712
+ :type other: collections.abc.Sequence[float] | Euler | collections.abc.Sequence[float] | Quaternion | collections.abc.Sequence[float] | Matrix
2680
2713
  """
2681
2714
  ...
2682
2715
 
2683
- def rotation_difference(self, other: typing.Sequence[float] | Vector) -> Quaternion:
2716
+ def rotation_difference(
2717
+ self, other: collections.abc.Sequence[float] | Vector
2718
+ ) -> Quaternion:
2684
2719
  """Returns a quaternion representing the rotational difference between this
2685
2720
  vector and another.
2686
2721
 
2687
2722
  :param other: second vector.
2688
- :type other: typing.Sequence[float] | Vector
2723
+ :type other: collections.abc.Sequence[float] | Vector
2689
2724
  :return: the rotational difference between the two vectors.
2690
2725
  :rtype: Quaternion
2691
2726
  """
@@ -2693,14 +2728,14 @@ class Vector:
2693
2728
 
2694
2729
  def slerp(
2695
2730
  self,
2696
- other: typing.Sequence[float] | Vector,
2731
+ other: collections.abc.Sequence[float] | Vector,
2697
2732
  factor: float,
2698
2733
  fallback: typing.Any = None,
2699
2734
  ) -> Vector:
2700
2735
  """Returns the interpolation of two non-zero vectors (spherical coordinates).
2701
2736
 
2702
2737
  :param other: value to interpolate with.
2703
- :type other: typing.Sequence[float] | Vector
2738
+ :type other: collections.abc.Sequence[float] | Vector
2704
2739
  :param factor: The interpolation value typically in [0.0, 1.0].
2705
2740
  :type factor: float
2706
2741
  :param fallback: return this when the vector can't be calculated (zero length vector or direct opposites),
@@ -2806,21 +2841,21 @@ class Vector:
2806
2841
  """
2807
2842
  ...
2808
2843
 
2809
- def __add__(self, other: typing.Sequence[float] | Vector) -> Vector:
2844
+ def __add__(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
2810
2845
  """
2811
2846
 
2812
2847
  :param other:
2813
- :type other: typing.Sequence[float] | Vector
2848
+ :type other: collections.abc.Sequence[float] | Vector
2814
2849
  :return:
2815
2850
  :rtype: Vector
2816
2851
  """
2817
2852
  ...
2818
2853
 
2819
- def __sub__(self, other: typing.Sequence[float] | Vector) -> Vector:
2854
+ def __sub__(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
2820
2855
  """
2821
2856
 
2822
2857
  :param other:
2823
- :type other: typing.Sequence[float] | Vector
2858
+ :type other: collections.abc.Sequence[float] | Vector
2824
2859
  :return:
2825
2860
  :rtype: Vector
2826
2861
  """
@@ -2847,54 +2882,58 @@ class Vector:
2847
2882
  ...
2848
2883
 
2849
2884
  @typing.overload
2850
- def __matmul__(self, other: typing.Sequence[float] | Vector) -> float:
2885
+ def __matmul__(self, other: collections.abc.Sequence[float] | Vector) -> float:
2851
2886
  """
2852
2887
 
2853
2888
  :param other:
2854
- :type other: typing.Sequence[float] | Vector
2889
+ :type other: collections.abc.Sequence[float] | Vector
2855
2890
  :return:
2856
2891
  :rtype: float
2857
2892
  """
2858
2893
  ...
2859
2894
 
2860
2895
  @typing.overload
2861
- def __matmul__(self, other: typing.Sequence[float] | Matrix) -> Vector:
2896
+ def __matmul__(self, other: collections.abc.Sequence[float] | Matrix) -> Vector:
2862
2897
  """
2863
2898
 
2864
2899
  :param other:
2865
- :type other: typing.Sequence[float] | Matrix
2900
+ :type other: collections.abc.Sequence[float] | Matrix
2866
2901
  :return:
2867
2902
  :rtype: Vector
2868
2903
  """
2869
2904
  ...
2870
2905
 
2871
2906
  def __matmul__(
2872
- self, other: typing.Sequence[float] | Vector | typing.Sequence[float] | Matrix
2907
+ self,
2908
+ other: collections.abc.Sequence[float]
2909
+ | Vector
2910
+ | collections.abc.Sequence[float]
2911
+ | Matrix,
2873
2912
  ) -> Vector | float:
2874
2913
  """
2875
2914
 
2876
2915
  :param other:
2877
- :type other: typing.Sequence[float] | Vector | typing.Sequence[float] | Matrix
2916
+ :type other: collections.abc.Sequence[float] | Vector | collections.abc.Sequence[float] | Matrix
2878
2917
  :return:
2879
2918
  :rtype: Vector | float
2880
2919
  """
2881
2920
  ...
2882
2921
 
2883
- def __radd__(self, other: typing.Sequence[float] | Vector) -> Vector:
2922
+ def __radd__(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
2884
2923
  """
2885
2924
 
2886
2925
  :param other:
2887
- :type other: typing.Sequence[float] | Vector
2926
+ :type other: collections.abc.Sequence[float] | Vector
2888
2927
  :return:
2889
2928
  :rtype: Vector
2890
2929
  """
2891
2930
  ...
2892
2931
 
2893
- def __rsub__(self, other: typing.Sequence[float] | Vector) -> Vector:
2932
+ def __rsub__(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
2894
2933
  """
2895
2934
 
2896
2935
  :param other:
2897
- :type other: typing.Sequence[float] | Vector
2936
+ :type other: collections.abc.Sequence[float] | Vector
2898
2937
  :return:
2899
2938
  :rtype: Vector
2900
2939
  """
@@ -2920,21 +2959,21 @@ class Vector:
2920
2959
  """
2921
2960
  ...
2922
2961
 
2923
- def __iadd__(self, other: typing.Sequence[float] | Vector) -> Vector:
2962
+ def __iadd__(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
2924
2963
  """
2925
2964
 
2926
2965
  :param other:
2927
- :type other: typing.Sequence[float] | Vector
2966
+ :type other: collections.abc.Sequence[float] | Vector
2928
2967
  :return:
2929
2968
  :rtype: Vector
2930
2969
  """
2931
2970
  ...
2932
2971
 
2933
- def __isub__(self, other: typing.Sequence[float] | Vector) -> Vector:
2972
+ def __isub__(self, other: collections.abc.Sequence[float] | Vector) -> Vector:
2934
2973
  """
2935
2974
 
2936
2975
  :param other:
2937
- :type other: typing.Sequence[float] | Vector
2976
+ :type other: collections.abc.Sequence[float] | Vector
2938
2977
  :return:
2939
2978
  :rtype: Vector
2940
2979
  """