fake-bpy-module 20240327__py3-none-any.whl → 20240329__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 (114) hide show
  1. aud/__init__.pyi +34 -96
  2. bgl/__init__.pyi +1265 -2417
  3. bl_math/__init__.pyi +3 -14
  4. bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -0
  5. blf/__init__.pyi +13 -50
  6. bmesh/ops/__init__.pyi +68 -142
  7. bmesh/types/__init__.pyi +18 -44
  8. bmesh/utils/__init__.pyi +2 -6
  9. bpy/app/icons/__init__.pyi +2 -4
  10. bpy/app/timers/__init__.pyi +2 -6
  11. bpy/ops/action/__init__.pyi +92 -93
  12. bpy/ops/anim/__init__.pyi +104 -104
  13. bpy/ops/armature/__init__.pyi +108 -112
  14. bpy/ops/asset/__init__.pyi +32 -32
  15. bpy/ops/boid/__init__.pyi +18 -18
  16. bpy/ops/brush/__init__.pyi +18 -18
  17. bpy/ops/buttons/__init__.pyi +12 -12
  18. bpy/ops/cachefile/__init__.pyi +10 -10
  19. bpy/ops/camera/__init__.pyi +4 -4
  20. bpy/ops/clip/__init__.pyi +194 -195
  21. bpy/ops/cloth/__init__.pyi +2 -2
  22. bpy/ops/collection/__init__.pyi +10 -10
  23. bpy/ops/console/__init__.pyi +42 -42
  24. bpy/ops/constraint/__init__.pyi +36 -36
  25. bpy/ops/curve/__init__.pyi +114 -118
  26. bpy/ops/curves/__init__.pyi +55 -53
  27. bpy/ops/cycles/__init__.pyi +6 -6
  28. bpy/ops/dpaint/__init__.pyi +12 -12
  29. bpy/ops/ed/__init__.pyi +24 -24
  30. bpy/ops/export_anim/__init__.pyi +2 -2
  31. bpy/ops/export_mesh/__init__.pyi +2 -2
  32. bpy/ops/export_scene/__init__.pyi +7 -7
  33. bpy/ops/file/__init__.pyi +80 -83
  34. bpy/ops/fluid/__init__.pyi +28 -28
  35. bpy/ops/font/__init__.pyi +46 -46
  36. bpy/ops/geometry/__init__.pyi +38 -38
  37. bpy/ops/gizmogroup/__init__.pyi +4 -4
  38. bpy/ops/gpencil/__init__.pyi +308 -309
  39. bpy/ops/graph/__init__.pyi +150 -151
  40. bpy/ops/grease_pencil/__init__.pyi +114 -115
  41. bpy/ops/image/__init__.pyi +100 -100
  42. bpy/ops/import_anim/__init__.pyi +2 -2
  43. bpy/ops/import_curve/__init__.pyi +2 -2
  44. bpy/ops/import_mesh/__init__.pyi +2 -2
  45. bpy/ops/import_scene/__init__.pyi +6 -6
  46. bpy/ops/info/__init__.pyi +14 -14
  47. bpy/ops/lattice/__init__.pyi +16 -16
  48. bpy/ops/marker/__init__.pyi +22 -22
  49. bpy/ops/mask/__init__.pyi +90 -91
  50. bpy/ops/material/__init__.pyi +6 -6
  51. bpy/ops/mball/__init__.pyi +20 -21
  52. bpy/ops/mesh/__init__.pyi +429 -427
  53. bpy/ops/nla/__init__.pyi +90 -91
  54. bpy/ops/node/__init__.pyi +242 -243
  55. bpy/ops/object/__init__.pyi +572 -567
  56. bpy/ops/outliner/__init__.pyi +142 -142
  57. bpy/ops/paint/__init__.pyi +182 -126
  58. bpy/ops/paintcurve/__init__.pyi +20 -20
  59. bpy/ops/palette/__init__.pyi +14 -14
  60. bpy/ops/particle/__init__.pyi +72 -72
  61. bpy/ops/pose/__init__.pyi +90 -90
  62. bpy/ops/poselib/__init__.pyi +18 -18
  63. bpy/ops/preferences/__init__.pyi +76 -76
  64. bpy/ops/ptcache/__init__.pyi +14 -14
  65. bpy/ops/render/__init__.pyi +24 -24
  66. bpy/ops/rigidbody/__init__.pyi +34 -34
  67. bpy/ops/scene/__init__.pyi +86 -86
  68. bpy/ops/screen/__init__.pyi +84 -84
  69. bpy/ops/script/__init__.pyi +6 -6
  70. bpy/ops/sculpt/__init__.pyi +62 -62
  71. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  72. bpy/ops/sequencer/__init__.pyi +184 -185
  73. bpy/ops/sound/__init__.pyi +16 -16
  74. bpy/ops/spreadsheet/__init__.pyi +8 -8
  75. bpy/ops/surface/__init__.pyi +12 -12
  76. bpy/ops/text/__init__.pyi +86 -86
  77. bpy/ops/text_editor/__init__.pyi +2 -2
  78. bpy/ops/texture/__init__.pyi +8 -8
  79. bpy/ops/transform/__init__.pyi +112 -112
  80. bpy/ops/ui/__init__.pyi +64 -64
  81. bpy/ops/uilist/__init__.pyi +6 -6
  82. bpy/ops/uv/__init__.pyi +104 -105
  83. bpy/ops/view2d/__init__.pyi +28 -28
  84. bpy/ops/view3d/__init__.pyi +134 -134
  85. bpy/ops/wm/__init__.pyi +232 -232
  86. bpy/ops/workspace/__init__.pyi +14 -14
  87. bpy/ops/world/__init__.pyi +2 -2
  88. bpy/props/__init__.pyi +29 -52
  89. bpy/types/__init__.pyi +5257 -3766
  90. bpy/utils/__init__.pyi +3 -6
  91. bpy/utils/units/__init__.pyi +3 -6
  92. bpy_extras/io_utils/__init__.pyi +8 -0
  93. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/METADATA +1 -1
  94. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/RECORD +114 -114
  95. freestyle/chainingiterators/__init__.pyi +5 -12
  96. freestyle/functions/__init__.pyi +19 -73
  97. freestyle/predicates/__init__.pyi +8 -21
  98. freestyle/shaders/__init__.pyi +32 -81
  99. freestyle/types/__init__.pyi +100 -270
  100. freestyle/utils/ContextFunctions/__init__.pyi +7 -27
  101. freestyle/utils/__init__.pyi +1 -2
  102. gpu/capabilities/__init__.pyi +15 -32
  103. gpu/matrix/__init__.pyi +1 -2
  104. gpu/state/__init__.pyi +4 -10
  105. gpu/types/__init__.pyi +29 -87
  106. gpu_extras/presets/__init__.pyi +4 -16
  107. imbuf/types/__init__.pyi +4 -10
  108. mathutils/__init__.pyi +106 -257
  109. mathutils/bvhtree/__init__.pyi +7 -15
  110. mathutils/geometry/__init__.pyi +9 -18
  111. mathutils/kdtree/__init__.pyi +4 -11
  112. mathutils/noise/__init__.pyi +41 -82
  113. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/WHEEL +0 -0
  114. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/top_level.txt +0 -0
mathutils/__init__.pyi CHANGED
@@ -10,23 +10,14 @@ GenericType = typing.TypeVar("GenericType")
10
10
  class Color:
11
11
  """This object gives access to Colors in Blender.Most colors returned by Blender APIs are in scene linear color space, as defined by the OpenColorIO configuration. The notable exception is user interface theming colors, which are in sRGB color space."""
12
12
 
13
- b: float
14
- """ Blue color channel.
13
+ b: typing.Any
14
+ """ Blue color channel."""
15
15
 
16
- :type: float
17
- """
18
-
19
- g: float
20
- """ Green color channel.
21
-
22
- :type: float
23
- """
24
-
25
- h: float
26
- """ HSV Hue component in [0, 1].
16
+ g: typing.Any
17
+ """ Green color channel."""
27
18
 
28
- :type: float
29
- """
19
+ h: typing.Any
20
+ """ HSV Hue component in [0, 1]."""
30
21
 
31
22
  hsv: typing.Union[typing.Sequence[float], Vector]
32
23
  """ HSV Values in [0, 1].
@@ -55,25 +46,16 @@ class Color:
55
46
  owner: typing.Any
56
47
  """ The item this is wrapping or None (read-only)."""
57
48
 
58
- r: float
59
- """ Red color channel.
60
-
61
- :type: float
62
- """
63
-
64
- s: float
65
- """ HSV Saturation component in [0, 1].
66
-
67
- :type: float
68
- """
49
+ r: typing.Any
50
+ """ Red color channel."""
69
51
 
70
- v: float
71
- """ HSV Value component in [0, 1].
52
+ s: typing.Any
53
+ """ HSV Saturation component in [0, 1]."""
72
54
 
73
- :type: float
74
- """
55
+ v: typing.Any
56
+ """ HSV Value component in [0, 1]."""
75
57
 
76
- def copy(self) -> float:
58
+ def copy(self):
77
59
  """Returns a copy of this color.
78
60
 
79
61
  :return: A copy of the color.
@@ -183,21 +165,19 @@ class Color:
183
165
  """
184
166
  ...
185
167
 
186
- def __mul__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
168
+ def __mul__(self, other):
187
169
  """
188
170
 
189
171
  :param other:
190
- :type other: typing.Union[int, float]
191
172
  :return:
192
173
  :rtype: Color
193
174
  """
194
175
  ...
195
176
 
196
- def __truediv__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
177
+ def __truediv__(self, other):
197
178
  """
198
179
 
199
180
  :param other:
200
- :type other: typing.Union[int, float]
201
181
  :return:
202
182
  :rtype: Color
203
183
  """
@@ -227,21 +207,19 @@ class Color:
227
207
  """
228
208
  ...
229
209
 
230
- def __rmul__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
210
+ def __rmul__(self, other):
231
211
  """
232
212
 
233
213
  :param other:
234
- :type other: typing.Union[int, float]
235
214
  :return:
236
215
  :rtype: Color
237
216
  """
238
217
  ...
239
218
 
240
- def __rtruediv__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
219
+ def __rtruediv__(self, other):
241
220
  """
242
221
 
243
222
  :param other:
244
- :type other: typing.Union[int, float]
245
223
  :return:
246
224
  :rtype: Color
247
225
  """
@@ -271,21 +249,19 @@ class Color:
271
249
  """
272
250
  ...
273
251
 
274
- def __imul__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
252
+ def __imul__(self, other):
275
253
  """
276
254
 
277
255
  :param other:
278
- :type other: typing.Union[int, float]
279
256
  :return:
280
257
  :rtype: Color
281
258
  """
282
259
  ...
283
260
 
284
- def __itruediv__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
261
+ def __itruediv__(self, other):
285
262
  """
286
263
 
287
264
  :param other:
288
- :type other: typing.Union[int, float]
289
265
  :return:
290
266
  :rtype: Color
291
267
  """
@@ -318,25 +294,16 @@ class Euler:
318
294
  owner: typing.Any
319
295
  """ The item this is wrapping or None (read-only)."""
320
296
 
321
- x: float
322
- """ Euler axis angle in radians.
323
-
324
- :type: float
325
- """
326
-
327
- y: float
328
- """ Euler axis angle in radians.
297
+ x: typing.Any
298
+ """ Euler axis angle in radians."""
329
299
 
330
- :type: float
331
- """
332
-
333
- z: float
334
- """ Euler axis angle in radians.
300
+ y: typing.Any
301
+ """ Euler axis angle in radians."""
335
302
 
336
- :type: float
337
- """
303
+ z: typing.Any
304
+ """ Euler axis angle in radians."""
338
305
 
339
- def copy(self) -> float:
306
+ def copy(self):
340
307
  """Returns a copy of this euler.
341
308
 
342
309
  :return: A copy of the euler.
@@ -377,18 +344,17 @@ class Euler:
377
344
  """
378
345
  ...
379
346
 
380
- def rotate_axis(self, axis: str, angle: float):
347
+ def rotate_axis(self, axis: str, angle):
381
348
  """Rotates the euler a certain amount and returning a unique euler rotation
382
349
  (no 720 degree pitches).
383
350
 
384
351
  :param axis: single character in ['X, 'Y', 'Z'].
385
352
  :type axis: str
386
353
  :param angle: angle in radians.
387
- :type angle: float
388
354
  """
389
355
  ...
390
356
 
391
- def to_matrix(self) -> float:
357
+ def to_matrix(self):
392
358
  """Return a matrix representation of the euler.
393
359
 
394
360
  :return: A 3x3 rotation matrix representation of the euler.
@@ -466,11 +432,8 @@ class Matrix:
466
432
  :type: bool
467
433
  """
468
434
 
469
- median_scale: float
470
- """ The average scale applied to each axis (read-only).
471
-
472
- :type: float
473
- """
435
+ median_scale: typing.Any
436
+ """ The average scale applied to each axis (read-only)."""
474
437
 
475
438
  owner: typing.Any
476
439
  """ The item this is wrapping or None (read-only)."""
@@ -498,11 +461,10 @@ class Matrix:
498
461
  ...
499
462
 
500
463
  @classmethod
501
- def Identity(cls, size: int) -> int:
464
+ def Identity(cls, size):
502
465
  """Create an identity matrix.
503
466
 
504
467
  :param size: The size of the identity matrix to construct [2, 4].
505
- :type size: int
506
468
  :return: A new identity matrix.
507
469
  :rtype: Matrix
508
470
  """
@@ -530,8 +492,8 @@ class Matrix:
530
492
 
531
493
  @classmethod
532
494
  def OrthoProjection(
533
- cls, axis: typing.Union[str, typing.Sequence[float], Vector], size: int
534
- ) -> int:
495
+ cls, axis: typing.Union[str, typing.Sequence[float], Vector], size
496
+ ):
535
497
  """Create a matrix to represent an orthographic projection.
536
498
 
537
499
  :param axis: Can be any of the following: ['X', 'Y', 'XY', 'XZ', 'YZ'],
@@ -539,7 +501,6 @@ class Matrix:
539
501
  Or a vector for an arbitrary axis
540
502
  :type axis: typing.Union[str, typing.Sequence[float], Vector]
541
503
  :param size: The size of the projection matrix to construct [2, 4].
542
- :type size: int
543
504
  :return: A new projection matrix.
544
505
  :rtype: Matrix
545
506
  """
@@ -547,17 +508,12 @@ class Matrix:
547
508
 
548
509
  @classmethod
549
510
  def Rotation(
550
- cls,
551
- angle: float,
552
- size: int,
553
- axis: typing.Union[str, typing.Sequence[float], Vector],
511
+ cls, angle, size, axis: typing.Union[str, typing.Sequence[float], Vector]
554
512
  ) -> typing.Union[str, typing.Sequence[float], Vector]:
555
513
  """Create a matrix representing a rotation.
556
514
 
557
515
  :param angle: The angle of rotation desired, in radians.
558
- :type angle: float
559
516
  :param size: The size of the rotation matrix to construct [2, 4].
560
- :type size: int
561
517
  :param axis: a string in ['X', 'Y', 'Z'] or a 3D Vector Object
562
518
  (optional when size is 2).
563
519
  :type axis: typing.Union[str, typing.Sequence[float], Vector]
@@ -568,17 +524,12 @@ class Matrix:
568
524
 
569
525
  @classmethod
570
526
  def Scale(
571
- cls,
572
- factor: float,
573
- size: int,
574
- axis: typing.Union[typing.Sequence[float], Vector],
527
+ cls, factor, size, axis: typing.Union[typing.Sequence[float], Vector]
575
528
  ) -> typing.Union[typing.Sequence[float], Vector]:
576
529
  """Create a matrix representing a scaling.
577
530
 
578
531
  :param factor: The factor of scaling to apply.
579
- :type factor: float
580
532
  :param size: The size of the scale matrix to construct [2, 4].
581
- :type size: int
582
533
  :param axis: Direction to influence scale. (optional).
583
534
  :type axis: typing.Union[typing.Sequence[float], Vector]
584
535
  :return: A new scale matrix.
@@ -587,17 +538,15 @@ class Matrix:
587
538
  ...
588
539
 
589
540
  @classmethod
590
- def Shear(cls, plane: str, size: int, factor: float) -> float:
541
+ def Shear(cls, plane: str, size, factor):
591
542
  """Create a matrix to represent an shear transformation.
592
543
 
593
544
  :param plane: Can be any of the following: ['X', 'Y', 'XY', 'XZ', 'YZ'],
594
545
  where a single axis is for a 2D matrix only.
595
546
  :type plane: str
596
547
  :param size: The size of the shear matrix to construct [2, 4].
597
- :type size: int
598
548
  :param factor: The factor of shear to apply. For a 3 or 4 size matrix
599
549
  pass a pair of floats corresponding with the plane axis.
600
- :type factor: float
601
550
  :return: A new shear matrix.
602
551
  :rtype: Matrix
603
552
  """
@@ -648,11 +597,10 @@ class Matrix:
648
597
  """Return the determinant of a matrix.`Determinant <https://en.wikipedia.org/wiki/Determinant>`__ on Wikipedia.
649
598
 
650
599
  :return: Return the determinant of a matrix.
651
- :rtype: float
652
600
  """
653
601
  ...
654
602
 
655
- def freeze(self) -> float:
603
+ def freeze(self):
656
604
  """Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
657
605
 
658
606
  :return: An instance of this object.
@@ -701,15 +649,12 @@ class Matrix:
701
649
  """
702
650
  ...
703
651
 
704
- def lerp(
705
- self, other: typing.Union[typing.Sequence[float], Matrix], factor: float
706
- ) -> float:
652
+ def lerp(self, other: typing.Union[typing.Sequence[float], Matrix], factor):
707
653
  """Returns the interpolation of two matrices. Uses polar decomposition, see "Matrix Animation and Polar Decomposition", Shoemake and Duff, 1992.
708
654
 
709
655
  :param other: value to interpolate with.
710
656
  :type other: typing.Union[typing.Sequence[float], Matrix]
711
657
  :param factor: The interpolation value in [0.0, 1.0].
712
- :type factor: float
713
658
  :return: The interpolated matrix.
714
659
  :rtype: Matrix
715
660
  """
@@ -855,22 +800,17 @@ class Matrix:
855
800
  """
856
801
  ...
857
802
 
858
- def __getitem__(self, key: int) -> int:
803
+ def __getitem__(self, key):
859
804
  """
860
805
 
861
806
  :param key:
862
- :type key: int
863
807
  :return:
864
808
  :rtype: Vector
865
809
  """
866
810
  ...
867
811
 
868
- def __len__(self) -> Vector:
869
- """
870
-
871
- :return:
872
- :rtype: int
873
- """
812
+ def __len__(self):
813
+ """ """
874
814
  ...
875
815
 
876
816
  def __add__(
@@ -897,11 +837,10 @@ class Matrix:
897
837
  """
898
838
  ...
899
839
 
900
- def __mul__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
840
+ def __mul__(self, other):
901
841
  """
902
842
 
903
843
  :param other:
904
- :type other: typing.Union[int, float]
905
844
  :return:
906
845
  :rtype: Matrix
907
846
  """
@@ -946,11 +885,10 @@ class Matrix:
946
885
  """
947
886
  ...
948
887
 
949
- def __rmul__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
888
+ def __rmul__(self, other):
950
889
  """
951
890
 
952
891
  :param other:
953
- :type other: typing.Union[int, float]
954
892
  :return:
955
893
  :rtype: Matrix
956
894
  """
@@ -968,11 +906,10 @@ class Matrix:
968
906
  """
969
907
  ...
970
908
 
971
- def __imul__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
909
+ def __imul__(self, other):
972
910
  """
973
911
 
974
912
  :param other:
975
- :type other: typing.Union[int, float]
976
913
  :return:
977
914
  :rtype: Matrix
978
915
  """
@@ -993,11 +930,8 @@ class Matrix:
993
930
  class Quaternion:
994
931
  """This object gives access to Quaternions in Blender.The constructor takes arguments in various forms:"""
995
932
 
996
- angle: float
997
- """ Angle of the quaternion.
998
-
999
- :type: float
1000
- """
933
+ angle: typing.Any
934
+ """ Angle of the quaternion."""
1001
935
 
1002
936
  axis: typing.Union[typing.Sequence[float], Vector]
1003
937
  """ Quaternion axis as a vector.
@@ -1023,44 +957,29 @@ class Quaternion:
1023
957
  :type: bool
1024
958
  """
1025
959
 
1026
- magnitude: float
1027
- """ Size of the quaternion (read-only).
1028
-
1029
- :type: float
1030
- """
960
+ magnitude: typing.Any
961
+ """ Size of the quaternion (read-only)."""
1031
962
 
1032
963
  owner: typing.Any
1033
964
  """ The item this is wrapping or None (read-only)."""
1034
965
 
1035
- w: float
1036
- """ Quaternion axis value.
1037
-
1038
- :type: float
1039
- """
966
+ w: typing.Any
967
+ """ Quaternion axis value."""
1040
968
 
1041
- x: float
1042
- """ Quaternion axis value.
969
+ x: typing.Any
970
+ """ Quaternion axis value."""
1043
971
 
1044
- :type: float
1045
- """
1046
-
1047
- y: float
1048
- """ Quaternion axis value.
1049
-
1050
- :type: float
1051
- """
972
+ y: typing.Any
973
+ """ Quaternion axis value."""
1052
974
 
1053
- z: float
1054
- """ Quaternion axis value.
1055
-
1056
- :type: float
1057
- """
975
+ z: typing.Any
976
+ """ Quaternion axis value."""
1058
977
 
1059
978
  def conjugate(self):
1060
979
  """Set the quaternion to its conjugate (negate x, y, z)."""
1061
980
  ...
1062
981
 
1063
- def conjugated(self) -> float:
982
+ def conjugated(self):
1064
983
  """Return a new conjugated quaternion.
1065
984
 
1066
985
  :return: a new quaternion.
@@ -1096,11 +1015,10 @@ class Quaternion:
1096
1015
  :param other: The other quaternion to perform the dot product with.
1097
1016
  :type other: typing.Union[typing.Sequence[float], Quaternion]
1098
1017
  :return: The dot product.
1099
- :rtype: float
1100
1018
  """
1101
1019
  ...
1102
1020
 
1103
- def freeze(self) -> float:
1021
+ def freeze(self):
1104
1022
  """Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
1105
1023
 
1106
1024
  :return: An instance of this object.
@@ -1177,15 +1095,12 @@ class Quaternion:
1177
1095
  """
1178
1096
  ...
1179
1097
 
1180
- def slerp(
1181
- self, other: typing.Union[typing.Sequence[float], Quaternion], factor: float
1182
- ) -> float:
1098
+ def slerp(self, other: typing.Union[typing.Sequence[float], Quaternion], factor):
1183
1099
  """Returns the interpolation of two quaternions.
1184
1100
 
1185
1101
  :param other: value to interpolate with.
1186
1102
  :type other: typing.Union[typing.Sequence[float], Quaternion]
1187
1103
  :param factor: The interpolation value in [0.0, 1.0].
1188
- :type factor: float
1189
1104
  :return: The interpolated rotation.
1190
1105
  :rtype: Quaternion
1191
1106
  """
@@ -1195,7 +1110,7 @@ class Quaternion:
1195
1110
  """Return the axis, angle representation of the quaternion.
1196
1111
 
1197
1112
  :return: axis, angle.
1198
- :rtype: typing.Tuple[Vector, float]
1113
+ :rtype: typing.Tuple[Vector]
1199
1114
  """
1200
1115
  ...
1201
1116
 
@@ -1238,7 +1153,7 @@ class Quaternion:
1238
1153
 
1239
1154
  :param axis: twist axis as a string in ['X', 'Y', 'Z']
1240
1155
  :return: swing, twist angle.
1241
- :rtype: typing.Tuple[Quaternion, float]
1156
+ :rtype: typing.Tuple[Quaternion]
1242
1157
  """
1243
1158
  ...
1244
1159
 
@@ -1250,32 +1165,21 @@ class Quaternion:
1250
1165
  ...
1251
1166
 
1252
1167
  def __len__(self):
1253
- """
1254
-
1255
- :return:
1256
- :rtype: int
1257
- """
1168
+ """ """
1258
1169
  ...
1259
1170
 
1260
- def __getitem__(self, key: int) -> int:
1171
+ def __getitem__(self, key):
1261
1172
  """
1262
1173
 
1263
1174
  :param key:
1264
- :type key: int
1265
- :return:
1266
- :rtype: float
1267
1175
  """
1268
1176
  ...
1269
1177
 
1270
- def __setitem__(self, key: int, value: float) -> float:
1178
+ def __setitem__(self, key, value):
1271
1179
  """
1272
1180
 
1273
1181
  :param key:
1274
- :type key: int
1275
1182
  :param value:
1276
- :type value: float
1277
- :return:
1278
- :rtype: float
1279
1183
  """
1280
1184
  ...
1281
1185
 
@@ -1304,12 +1208,12 @@ class Quaternion:
1304
1208
  ...
1305
1209
 
1306
1210
  def __mul__(
1307
- self, other: typing.Union[int, float, typing.Sequence[float], Quaternion]
1308
- ) -> typing.Union[int, float, typing.Sequence[float], Quaternion]:
1211
+ self, other: typing.Union[typing.Sequence[float], Quaternion]
1212
+ ) -> typing.Union[typing.Sequence[float], Quaternion]:
1309
1213
  """
1310
1214
 
1311
1215
  :param other:
1312
- :type other: typing.Union[int, float, typing.Sequence[float], Quaternion]
1216
+ :type other: typing.Union[typing.Sequence[float], Quaternion]
1313
1217
  :return:
1314
1218
  :rtype: Quaternion
1315
1219
  """
@@ -1357,12 +1261,12 @@ class Quaternion:
1357
1261
  ...
1358
1262
 
1359
1263
  def __rmul__(
1360
- self, other: typing.Union[int, float, typing.Sequence[float], Quaternion]
1361
- ) -> typing.Union[int, float, typing.Sequence[float], Quaternion]:
1264
+ self, other: typing.Union[typing.Sequence[float], Quaternion]
1265
+ ) -> typing.Union[typing.Sequence[float], Quaternion]:
1362
1266
  """
1363
1267
 
1364
1268
  :param other:
1365
- :type other: typing.Union[int, float, typing.Sequence[float], Quaternion]
1269
+ :type other: typing.Union[typing.Sequence[float], Quaternion]
1366
1270
  :return:
1367
1271
  :rtype: Quaternion
1368
1272
  """
@@ -1381,12 +1285,12 @@ class Quaternion:
1381
1285
  ...
1382
1286
 
1383
1287
  def __imul__(
1384
- self, other: typing.Union[int, float, typing.Sequence[float], Quaternion]
1385
- ) -> typing.Union[int, float, typing.Sequence[float], Quaternion]:
1288
+ self, other: typing.Union[typing.Sequence[float], Quaternion]
1289
+ ) -> typing.Union[typing.Sequence[float], Quaternion]:
1386
1290
  """
1387
1291
 
1388
1292
  :param other:
1389
- :type other: typing.Union[int, float, typing.Sequence[float], Quaternion]
1293
+ :type other: typing.Union[typing.Sequence[float], Quaternion]
1390
1294
  :return:
1391
1295
  :rtype: Quaternion
1392
1296
  """
@@ -1425,32 +1329,20 @@ class Vector:
1425
1329
  :type: bool
1426
1330
  """
1427
1331
 
1428
- length: float
1429
- """ Vector Length.
1430
-
1431
- :type: float
1432
- """
1433
-
1434
- length_squared: float
1435
- """ Vector length squared (v.dot(v)).
1332
+ length: typing.Any
1333
+ """ Vector Length."""
1436
1334
 
1437
- :type: float
1438
- """
1335
+ length_squared: typing.Any
1336
+ """ Vector length squared (v.dot(v))."""
1439
1337
 
1440
- magnitude: float
1441
- """ Vector Length.
1442
-
1443
- :type: float
1444
- """
1338
+ magnitude: typing.Any
1339
+ """ Vector Length."""
1445
1340
 
1446
1341
  owner: typing.Any
1447
1342
  """ The item this is wrapping or None (read-only)."""
1448
1343
 
1449
- w: float
1450
- """ Vector W axis (4D Vectors only).
1451
-
1452
- :type: float
1453
- """
1344
+ w: typing.Any
1345
+ """ Vector W axis (4D Vectors only)."""
1454
1346
 
1455
1347
  ww: typing.Any
1456
1348
  """ Undocumented, consider contributing."""
@@ -1704,11 +1596,8 @@ class Vector:
1704
1596
  wzzz: typing.Any
1705
1597
  """ Undocumented, consider contributing."""
1706
1598
 
1707
- x: float
1708
- """ Vector X axis.
1709
-
1710
- :type: float
1711
- """
1599
+ x: typing.Any
1600
+ """ Vector X axis."""
1712
1601
 
1713
1602
  xw: typing.Any
1714
1603
  """ Undocumented, consider contributing."""
@@ -1962,11 +1851,8 @@ class Vector:
1962
1851
  xzzz: typing.Any
1963
1852
  """ Undocumented, consider contributing."""
1964
1853
 
1965
- y: float
1966
- """ Vector Y axis.
1967
-
1968
- :type: float
1969
- """
1854
+ y: typing.Any
1855
+ """ Vector Y axis."""
1970
1856
 
1971
1857
  yw: typing.Any
1972
1858
  """ Undocumented, consider contributing."""
@@ -2220,11 +2106,8 @@ class Vector:
2220
2106
  yzzz: typing.Any
2221
2107
  """ Undocumented, consider contributing."""
2222
2108
 
2223
- z: float
2224
- """ Vector Z axis (3D Vectors only).
2225
-
2226
- :type: float
2227
- """
2109
+ z: typing.Any
2110
+ """ Vector Z axis (3D Vectors only)."""
2228
2111
 
2229
2112
  zw: typing.Any
2230
2113
  """ Undocumented, consider contributing."""
@@ -2479,49 +2362,40 @@ class Vector:
2479
2362
  """ Undocumented, consider contributing."""
2480
2363
 
2481
2364
  @classmethod
2482
- def Fill(cls, size: int, fill: float = 0.0):
2365
+ def Fill(cls, size, fill=0.0):
2483
2366
  """Create a vector of length size with all values set to fill.
2484
2367
 
2485
2368
  :param size: The length of the vector to be created.
2486
- :type size: int
2487
2369
  :param fill: The value used to fill the vector.
2488
- :type fill: float
2489
2370
  """
2490
2371
  ...
2491
2372
 
2492
2373
  @classmethod
2493
- def Linspace(cls, start: int, stop: int, size: int):
2374
+ def Linspace(cls, start, stop, size):
2494
2375
  """Create a vector of the specified size which is filled with linearly spaced values between start and stop values.
2495
2376
 
2496
2377
  :param start: The start of the range used to fill the vector.
2497
- :type start: int
2498
2378
  :param stop: The end of the range used to fill the vector.
2499
- :type stop: int
2500
2379
  :param size: The size of the vector to be created.
2501
- :type size: int
2502
2380
  """
2503
2381
  ...
2504
2382
 
2505
2383
  @classmethod
2506
- def Range(cls, start: int, stop: int, step: int = 1):
2384
+ def Range(cls, start, stop, step=1):
2507
2385
  """Create a filled with a range of values.
2508
2386
 
2509
2387
  :param start: The start of the range used to fill the vector.
2510
- :type start: int
2511
2388
  :param stop: The end of the range used to fill the vector.
2512
- :type stop: int
2513
2389
  :param step: The step between successive values in the vector.
2514
- :type step: int
2515
2390
  """
2516
2391
  ...
2517
2392
 
2518
2393
  @classmethod
2519
- def Repeat(cls, vector, size: int):
2394
+ def Repeat(cls, vector, size):
2520
2395
  """Create a vector by repeating the values in vector until the required size is reached.
2521
2396
 
2522
2397
  :param vector:
2523
2398
  :param size: The size of the vector to be created.
2524
- :type size: int
2525
2399
  """
2526
2400
  ...
2527
2401
 
@@ -2538,7 +2412,6 @@ class Vector:
2538
2412
  (instead of raising a `ValueError`).
2539
2413
  :type fallback: typing.Any
2540
2414
  :return: angle in radians or fallback when given
2541
- :rtype: float
2542
2415
  """
2543
2416
  ...
2544
2417
 
@@ -2553,11 +2426,10 @@ class Vector:
2553
2426
  (instead of raising a `ValueError`).
2554
2427
  :type fallback: typing.Any
2555
2428
  :return: angle in radians or fallback when given
2556
- :rtype: float
2557
2429
  """
2558
2430
  ...
2559
2431
 
2560
- def copy(self) -> float:
2432
+ def copy(self):
2561
2433
  """Returns a copy of this vector.
2562
2434
 
2563
2435
  :return: A copy of the vector.
@@ -2585,26 +2457,22 @@ class Vector:
2585
2457
  :param other: The other vector to perform the dot product with.
2586
2458
  :type other: typing.Union[typing.Sequence[float], Vector]
2587
2459
  :return: The dot product.
2588
- :rtype: float
2589
2460
  """
2590
2461
  ...
2591
2462
 
2592
- def freeze(self) -> float:
2463
+ def freeze(self):
2593
2464
  """Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
2594
2465
 
2595
2466
  :return: An instance of this object.
2596
2467
  """
2597
2468
  ...
2598
2469
 
2599
- def lerp(
2600
- self, other: typing.Union[typing.Sequence[float], Vector], factor: float
2601
- ) -> float:
2470
+ def lerp(self, other: typing.Union[typing.Sequence[float], Vector], factor):
2602
2471
  """Returns the interpolation of two vectors.
2603
2472
 
2604
2473
  :param other: value to interpolate with.
2605
2474
  :type other: typing.Union[typing.Sequence[float], Vector]
2606
2475
  :param factor: The interpolation value in [0.0, 1.0].
2607
- :type factor: float
2608
2476
  :return: The interpolated vector.
2609
2477
  :rtype: Vector
2610
2478
  """
@@ -2720,7 +2588,7 @@ class Vector:
2720
2588
  def slerp(
2721
2589
  self,
2722
2590
  other: typing.Union[typing.Sequence[float], Vector],
2723
- factor: float,
2591
+ factor,
2724
2592
  fallback: typing.Any = None,
2725
2593
  ) -> typing.Any:
2726
2594
  """Returns the interpolation of two non-zero vectors (spherical coordinates).
@@ -2728,7 +2596,6 @@ class Vector:
2728
2596
  :param other: value to interpolate with.
2729
2597
  :type other: typing.Union[typing.Sequence[float], Vector]
2730
2598
  :param factor: The interpolation value typically in [0.0, 1.0].
2731
- :type factor: float
2732
2599
  :param fallback: return this when the vector can't be calculated (zero length vector or direct opposites),
2733
2600
  (instead of raising a `ValueError`).
2734
2601
  :type fallback: typing.Any
@@ -2773,11 +2640,10 @@ class Vector:
2773
2640
  """
2774
2641
  ...
2775
2642
 
2776
- def to_tuple(self, precision: int = -1) -> int:
2643
+ def to_tuple(self, precision=-1):
2777
2644
  """Return this vector as a tuple with.
2778
2645
 
2779
2646
  :param precision: The number to round the value to in [-1, 21].
2780
- :type precision: int
2781
2647
  :return: the values of the vector rounded by precision
2782
2648
  :rtype: typing.Tuple
2783
2649
  """
@@ -2795,36 +2661,25 @@ class Vector:
2795
2661
  ...
2796
2662
 
2797
2663
  def __len__(self):
2798
- """
2799
-
2800
- :return:
2801
- :rtype: int
2802
- """
2664
+ """ """
2803
2665
  ...
2804
2666
 
2805
- def __getitem__(self, key: int) -> int:
2667
+ def __getitem__(self, key):
2806
2668
  """
2807
2669
 
2808
2670
  :param key:
2809
- :type key: int
2810
- :return:
2811
- :rtype: float
2812
2671
  """
2813
2672
  ...
2814
2673
 
2815
- def __setitem__(self, key: int, value: float) -> float:
2674
+ def __setitem__(self, key, value):
2816
2675
  """
2817
2676
 
2818
2677
  :param key:
2819
- :type key: int
2820
2678
  :param value:
2821
- :type value: float
2822
- :return:
2823
- :rtype: float
2824
2679
  """
2825
2680
  ...
2826
2681
 
2827
- def __neg__(self) -> float:
2682
+ def __neg__(self):
2828
2683
  """
2829
2684
 
2830
2685
  :return:
@@ -2856,21 +2711,19 @@ class Vector:
2856
2711
  """
2857
2712
  ...
2858
2713
 
2859
- def __mul__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
2714
+ def __mul__(self, other):
2860
2715
  """
2861
2716
 
2862
2717
  :param other:
2863
- :type other: typing.Union[int, float]
2864
2718
  :return:
2865
2719
  :rtype: Vector
2866
2720
  """
2867
2721
  ...
2868
2722
 
2869
- def __truediv__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
2723
+ def __truediv__(self, other):
2870
2724
  """
2871
2725
 
2872
2726
  :param other:
2873
- :type other: typing.Union[int, float]
2874
2727
  :return:
2875
2728
  :rtype: Vector
2876
2729
  """
@@ -2912,21 +2765,19 @@ class Vector:
2912
2765
  """
2913
2766
  ...
2914
2767
 
2915
- def __rmul__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
2768
+ def __rmul__(self, other):
2916
2769
  """
2917
2770
 
2918
2771
  :param other:
2919
- :type other: typing.Union[int, float]
2920
2772
  :return:
2921
2773
  :rtype: Vector
2922
2774
  """
2923
2775
  ...
2924
2776
 
2925
- def __rtruediv__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
2777
+ def __rtruediv__(self, other):
2926
2778
  """
2927
2779
 
2928
2780
  :param other:
2929
- :type other: typing.Union[int, float]
2930
2781
  :return:
2931
2782
  :rtype: Vector
2932
2783
  """
@@ -2968,21 +2819,19 @@ class Vector:
2968
2819
  """
2969
2820
  ...
2970
2821
 
2971
- def __imul__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
2822
+ def __imul__(self, other):
2972
2823
  """
2973
2824
 
2974
2825
  :param other:
2975
- :type other: typing.Union[int, float]
2976
2826
  :return:
2977
2827
  :rtype: Vector
2978
2828
  """
2979
2829
  ...
2980
2830
 
2981
- def __itruediv__(self, other: typing.Union[int, float]) -> typing.Union[int, float]:
2831
+ def __itruediv__(self, other):
2982
2832
  """
2983
2833
 
2984
2834
  :param other:
2985
- :type other: typing.Union[int, float]
2986
2835
  :return:
2987
2836
  :rtype: Vector
2988
2837
  """