fake-bpy-module 20241103__py3-none-any.whl → 20241112__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 (57) hide show
  1. addon_utils/__init__.pyi +28 -13
  2. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -2
  3. bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -6
  4. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -2
  5. bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -6
  6. bl_operators/image_as_planes/__init__.pyi +12 -39
  7. bl_operators/uvcalc_transform/__init__.pyi +4 -42
  8. bl_operators/wm/__init__.pyi +8 -0
  9. bl_ui/generic_ui_list/__init__.pyi +2 -1
  10. bl_ui/properties_grease_pencil_common/__init__.pyi +0 -7
  11. bl_ui/space_userpref/__init__.pyi +2 -2
  12. blf/__init__.pyi +3 -5
  13. bmesh/types/__init__.pyi +22 -33
  14. bmesh/utils/__init__.pyi +6 -16
  15. bpy/app/icons/__init__.pyi +5 -11
  16. bpy/app/translations/__init__.pyi +7 -14
  17. bpy/msgbus/__init__.pyi +7 -8
  18. bpy/ops/curves/__init__.pyi +16 -0
  19. bpy/ops/nla/__init__.pyi +1 -1
  20. bpy/ops/sequencer/__init__.pyi +3 -0
  21. bpy/path/__init__.pyi +6 -16
  22. bpy/props/__init__.pyi +122 -135
  23. bpy/types/__init__.pyi +418 -615
  24. bpy/typing/__init__.pyi +1 -1
  25. bpy/utils/__init__.pyi +30 -29
  26. bpy/utils/previews/__init__.pyi +1 -2
  27. bpy/utils/units/__init__.pyi +1 -2
  28. bpy_extras/anim_utils/__init__.pyi +5 -12
  29. bpy_extras/bmesh_utils/__init__.pyi +1 -2
  30. bpy_extras/image_utils/__init__.pyi +2 -5
  31. bpy_extras/io_utils/__init__.pyi +8 -14
  32. bpy_extras/mesh_utils/__init__.pyi +14 -29
  33. bpy_extras/object_utils/__init__.pyi +1 -1
  34. bpy_extras/view3d_utils/__init__.pyi +3 -10
  35. {fake_bpy_module-20241103.dist-info → fake_bpy_module-20241112.dist-info}/METADATA +1 -1
  36. {fake_bpy_module-20241103.dist-info → fake_bpy_module-20241112.dist-info}/RECORD +57 -57
  37. {fake_bpy_module-20241103.dist-info → fake_bpy_module-20241112.dist-info}/WHEEL +1 -1
  38. freestyle/chainingiterators/__init__.pyi +2 -7
  39. freestyle/functions/__init__.pyi +4 -16
  40. freestyle/types/__init__.pyi +29 -63
  41. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  42. freestyle/utils/__init__.pyi +1 -2
  43. gpu/__init__.pyi +19 -5
  44. gpu/matrix/__init__.pyi +2 -2
  45. gpu/state/__init__.pyi +16 -8
  46. gpu/types/__init__.pyi +14 -29
  47. gpu_extras/batch/__init__.pyi +9 -9
  48. gpu_extras/presets/__init__.pyi +4 -11
  49. idprop/types/__init__.pyi +1 -2
  50. imbuf/__init__.pyi +2 -4
  51. mathutils/__init__.pyi +30 -95
  52. mathutils/bvhtree/__init__.pyi +13 -17
  53. mathutils/geometry/__init__.pyi +26 -45
  54. mathutils/interpolate/__init__.pyi +2 -2
  55. mathutils/kdtree/__init__.pyi +13 -28
  56. rna_info/__init__.pyi +1 -2
  57. {fake_bpy_module-20241103.dist-info → fake_bpy_module-20241112.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,6 @@ Generic 3-dimensional kd-tree to perform spatial searches.
8
8
  import typing
9
9
  import collections.abc
10
10
  import typing_extensions
11
- import mathutils
12
11
 
13
12
  class KDTree:
14
13
  """KdTree(size) -> new kd-tree initialized to hold size items."""
@@ -16,54 +15,40 @@ class KDTree:
16
15
  def balance(self):
17
16
  """Balance the tree."""
18
17
 
19
- def find(
20
- self,
21
- co: collections.abc.Sequence[float] | mathutils.Vector,
22
- filter: collections.abc.Callable | None = None,
23
- ) -> tuple:
18
+ def find(self, co, filter: collections.abc.Callable | None = None) -> int:
24
19
  """Find nearest point to co.
25
20
 
26
- :param co: 3d coordinates.
27
- :type co: collections.abc.Sequence[float] | mathutils.Vector
21
+ :param co: 3D coordinates.
28
22
  :param filter: function which takes an index and returns True for indices to include in the search.
29
23
  :type filter: collections.abc.Callable | None
30
- :return: Returns (`Vector`, index, distance).
31
- :rtype: tuple
24
+ :return: Returns (position, index, distance).
25
+ :rtype: int
32
26
  """
33
27
 
34
- def find_n(
35
- self, co: collections.abc.Sequence[float] | mathutils.Vector, n: int
36
- ) -> list:
28
+ def find_n(self, co, n: int) -> int:
37
29
  """Find nearest n points to co.
38
30
 
39
- :param co: 3d coordinates.
40
- :type co: collections.abc.Sequence[float] | mathutils.Vector
31
+ :param co: 3D coordinates.
41
32
  :param n: Number of points to find.
42
33
  :type n: int
43
- :return: Returns a list of tuples (`Vector`, index, distance).
44
- :rtype: list
34
+ :return: Returns a list of tuples (position, index, distance).
35
+ :rtype: int
45
36
  """
46
37
 
47
- def find_range(
48
- self, co: collections.abc.Sequence[float] | mathutils.Vector, radius: float
49
- ) -> list:
38
+ def find_range(self, co, radius: float) -> int:
50
39
  """Find all points within radius of co.
51
40
 
52
- :param co: 3d coordinates.
53
- :type co: collections.abc.Sequence[float] | mathutils.Vector
41
+ :param co: 3D coordinates.
54
42
  :param radius: Distance to search for points.
55
43
  :type radius: float
56
- :return: Returns a list of tuples (`Vector`, index, distance).
57
- :rtype: list
44
+ :return: Returns a list of tuples (position, index, distance).
45
+ :rtype: int
58
46
  """
59
47
 
60
- def insert(
61
- self, co: collections.abc.Sequence[float] | mathutils.Vector, index: int
62
- ):
48
+ def insert(self, co, index: int):
63
49
  """Insert a point into the KDTree.
64
50
 
65
51
  :param co: Point 3d position.
66
- :type co: collections.abc.Sequence[float] | mathutils.Vector
67
52
  :param index: The index of the point.
68
53
  :type index: int
69
54
  """
rna_info/__init__.pyi CHANGED
@@ -66,7 +66,7 @@ class InfoPropertyRNA:
66
66
  class_fmt="{:s}",
67
67
  mathutils_fmt="{:s}",
68
68
  collection_id="Collection",
69
- enum_descr_override: str | None = None,
69
+ enum_descr_override=None,
70
70
  ):
71
71
  """
72
72
 
@@ -77,7 +77,6 @@ class InfoPropertyRNA:
77
77
  :param collection_id:
78
78
  :param enum_descr_override: Optionally override items for enum.
79
79
  Otherwise expand the literal items.
80
- :type enum_descr_override: str | None
81
80
  """
82
81
 
83
82
  class InfoStructRNA: