fake-bpy-module 20241229__py3-none-any.whl → 20250102__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.
- addon_utils/__init__.pyi +9 -5
- bmesh/types/__init__.pyi +52 -23
- bmesh/utils/__init__.pyi +4 -2
- bpy/app/translations/__init__.pyi +12 -12
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +87 -63
- bpy/types/__init__.pyi +312 -93
- bpy/utils/__init__.pyi +6 -4
- bpy/utils/units/__init__.pyi +2 -2
- bpy_extras/anim_utils/__init__.pyi +10 -7
- bpy_extras/image_utils/__init__.pyi +4 -4
- bpy_extras/io_utils/__init__.pyi +6 -5
- bpy_extras/mesh_utils/__init__.pyi +9 -3
- bpy_extras/object_utils/__init__.pyi +2 -2
- bpy_extras/view3d_utils/__init__.pyi +4 -3
- {fake_bpy_module-20241229.dist-info → fake_bpy_module-20250102.dist-info}/METADATA +1 -1
- {fake_bpy_module-20241229.dist-info → fake_bpy_module-20250102.dist-info}/RECORD +32 -32
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/types/__init__.pyi +6 -6
- gpu/matrix/__init__.pyi +4 -2
- gpu/types/__init__.pyi +39 -12
- gpu_extras/batch/__init__.pyi +10 -2
- gpu_extras/presets/__init__.pyi +10 -2
- imbuf/__init__.pyi +2 -2
- mathutils/__init__.pyi +31 -12
- mathutils/bvhtree/__init__.pyi +15 -5
- mathutils/geometry/__init__.pyi +41 -22
- mathutils/interpolate/__init__.pyi +4 -1
- mathutils/kdtree/__init__.pyi +13 -5
- rna_info/__init__.pyi +2 -2
- {fake_bpy_module-20241229.dist-info → fake_bpy_module-20250102.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241229.dist-info → fake_bpy_module-20250102.dist-info}/top_level.txt +0 -0
mathutils/kdtree/__init__.pyi
CHANGED
|
@@ -17,21 +17,27 @@ class KDTree:
|
|
|
17
17
|
"""Balance the tree."""
|
|
18
18
|
|
|
19
19
|
def find(
|
|
20
|
-
self,
|
|
20
|
+
self,
|
|
21
|
+
co: collections.abc.Sequence[float],
|
|
22
|
+
filter: collections.abc.Callable[int, bool] | None = None,
|
|
21
23
|
) -> tuple[mathutils.Vector, int, float]:
|
|
22
24
|
"""Find nearest point to co.
|
|
23
25
|
|
|
24
26
|
:param co: 3D coordinates.
|
|
27
|
+
:type co: collections.abc.Sequence[float]
|
|
25
28
|
:param filter: function which takes an index and returns True for indices to include in the search.
|
|
26
|
-
:type filter: collections.abc.Callable | None
|
|
29
|
+
:type filter: collections.abc.Callable[int, bool] | None
|
|
27
30
|
:return: Returns (position, index, distance).
|
|
28
31
|
:rtype: tuple[mathutils.Vector, int, float]
|
|
29
32
|
"""
|
|
30
33
|
|
|
31
|
-
def find_n(
|
|
34
|
+
def find_n(
|
|
35
|
+
self, co: collections.abc.Sequence[float], n: int
|
|
36
|
+
) -> list[tuple[mathutils.Vector, int, float]]:
|
|
32
37
|
"""Find nearest n points to co.
|
|
33
38
|
|
|
34
39
|
:param co: 3D coordinates.
|
|
40
|
+
:type co: collections.abc.Sequence[float]
|
|
35
41
|
:param n: Number of points to find.
|
|
36
42
|
:type n: int
|
|
37
43
|
:return: Returns a list of tuples (position, index, distance).
|
|
@@ -39,21 +45,23 @@ class KDTree:
|
|
|
39
45
|
"""
|
|
40
46
|
|
|
41
47
|
def find_range(
|
|
42
|
-
self, co, radius: float
|
|
48
|
+
self, co: collections.abc.Sequence[float], radius: float
|
|
43
49
|
) -> list[tuple[mathutils.Vector, int, float]]:
|
|
44
50
|
"""Find all points within radius of co.
|
|
45
51
|
|
|
46
52
|
:param co: 3D coordinates.
|
|
53
|
+
:type co: collections.abc.Sequence[float]
|
|
47
54
|
:param radius: Distance to search for points.
|
|
48
55
|
:type radius: float
|
|
49
56
|
:return: Returns a list of tuples (position, index, distance).
|
|
50
57
|
:rtype: list[tuple[mathutils.Vector, int, float]]
|
|
51
58
|
"""
|
|
52
59
|
|
|
53
|
-
def insert(self, co, index: int):
|
|
60
|
+
def insert(self, co: collections.abc.Sequence[float], index: int):
|
|
54
61
|
"""Insert a point into the KDTree.
|
|
55
62
|
|
|
56
63
|
:param co: Point 3d position.
|
|
64
|
+
:type co: collections.abc.Sequence[float]
|
|
57
65
|
:param index: The index of the point.
|
|
58
66
|
:type index: int
|
|
59
67
|
"""
|
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 | str | None = None,
|
|
70
70
|
):
|
|
71
71
|
"""
|
|
72
72
|
|
|
@@ -77,7 +77,7 @@ 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
|
|
80
|
+
:type enum_descr_override: None | str | None
|
|
81
81
|
"""
|
|
82
82
|
|
|
83
83
|
class InfoStructRNA:
|
|
File without changes
|
|
File without changes
|