fake-bpy-module 20240503__py3-none-any.whl → 20240505__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.
- bl_ui/space_filebrowser/__init__.pyi +16 -5
- bpy/ops/export_scene/__init__.pyi +3 -3
- bpy/ops/nla/__init__.pyi +3 -3
- bpy/ops/sculpt/__init__.pyi +2 -2
- bpy/ops/wm/__init__.pyi +6 -6
- bpy/types/__init__.pyi +34763 -34737
- bpy_extras/__init__.pyi +4 -0
- bpy_extras/anim_utils/__init__.pyi +81 -0
- bpy_extras/asset_utils/__init__.pyi +56 -1
- bpy_extras/bmesh_utils/__init__.pyi +13 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/__init__.pyi +4 -0
- bpy_extras/extensions/junction_module/__init__.pyi +49 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/__init__.pyi +15 -0
- bpy_extras/image_utils/__init__.pyi +16 -0
- bpy_extras/io_utils/__init__.pyi +54 -1
- bpy_extras/keyconfig_utils/__init__.pyi +15 -0
- bpy_extras/mesh_utils/__init__.pyi +35 -0
- bpy_extras/node_shader_utils/__init__.pyi +509 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/__init__.pyi +15 -0
- bpy_extras/object_utils/__init__.pyi +37 -0
- bpy_extras/view3d_utils/__init__.pyi +20 -0
- bpy_extras/wm_utils/__init__.pyi +4 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +107 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- {fake_bpy_module-20240503.dist-info → fake_bpy_module-20240505.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240503.dist-info → fake_bpy_module-20240505.dist-info}/RECORD +36 -24
- gpu_extras/__init__.pyi +0 -6
- gpu_extras/batch/__init__.pyi +0 -22
- gpu_extras/presets/__init__.pyi +0 -52
- {fake_bpy_module-20240503.dist-info → fake_bpy_module-20240505.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240503.dist-info → fake_bpy_module-20240505.dist-info}/top_level.txt +0 -0
bpy_extras/__init__.pyi
CHANGED
|
@@ -20,13 +20,17 @@ bpy_extras.id_map_utils.rst
|
|
|
20
20
|
import typing
|
|
21
21
|
from . import anim_utils
|
|
22
22
|
from . import asset_utils
|
|
23
|
+
from . import bmesh_utils
|
|
24
|
+
from . import extensions
|
|
23
25
|
from . import id_map_utils
|
|
24
26
|
from . import image_utils
|
|
25
27
|
from . import io_utils
|
|
26
28
|
from . import keyconfig_utils
|
|
27
29
|
from . import mesh_utils
|
|
30
|
+
from . import node_shader_utils
|
|
28
31
|
from . import node_utils
|
|
29
32
|
from . import object_utils
|
|
30
33
|
from . import view3d_utils
|
|
34
|
+
from . import wm_utils
|
|
31
35
|
|
|
32
36
|
GenericType = typing.TypeVar("GenericType")
|
|
@@ -3,6 +3,67 @@ import bpy.types
|
|
|
3
3
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
|
+
class BakeOptions:
|
|
7
|
+
""" """
|
|
8
|
+
|
|
9
|
+
...
|
|
10
|
+
|
|
11
|
+
class KeyframesCo:
|
|
12
|
+
""" """
|
|
13
|
+
|
|
14
|
+
keyframes_from_fcurve: typing.Any
|
|
15
|
+
""" """
|
|
16
|
+
|
|
17
|
+
def add_paths(self, rna_path, total_indices):
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
:param rna_path:
|
|
21
|
+
:param total_indices:
|
|
22
|
+
"""
|
|
23
|
+
...
|
|
24
|
+
|
|
25
|
+
def extend_co_value(self, rna_path, frame, value):
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
:param rna_path:
|
|
29
|
+
:param frame:
|
|
30
|
+
:param value:
|
|
31
|
+
"""
|
|
32
|
+
...
|
|
33
|
+
|
|
34
|
+
def extend_co_values(self, rna_path, total_indices, frame, values):
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
:param rna_path:
|
|
38
|
+
:param total_indices:
|
|
39
|
+
:param frame:
|
|
40
|
+
:param values:
|
|
41
|
+
"""
|
|
42
|
+
...
|
|
43
|
+
|
|
44
|
+
def insert_keyframes_into_existing_action(
|
|
45
|
+
self, lookup_fcurves, total_new_keys, action, action_group_name
|
|
46
|
+
):
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
:param lookup_fcurves:
|
|
50
|
+
:param total_new_keys:
|
|
51
|
+
:param action:
|
|
52
|
+
:param action_group_name:
|
|
53
|
+
"""
|
|
54
|
+
...
|
|
55
|
+
|
|
56
|
+
def insert_keyframes_into_new_action(
|
|
57
|
+
self, total_new_keys, action, action_group_name
|
|
58
|
+
):
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
:param total_new_keys:
|
|
62
|
+
:param action:
|
|
63
|
+
:param action_group_name:
|
|
64
|
+
"""
|
|
65
|
+
...
|
|
66
|
+
|
|
6
67
|
def bake_action(
|
|
7
68
|
obj: bpy.types.Object,
|
|
8
69
|
action: typing.Optional[bpy.types.Action],
|
|
@@ -23,6 +84,11 @@ def bake_action(
|
|
|
23
84
|
|
|
24
85
|
...
|
|
25
86
|
|
|
87
|
+
def bake_action(obj, action, frames, bake_options):
|
|
88
|
+
""" """
|
|
89
|
+
|
|
90
|
+
...
|
|
91
|
+
|
|
26
92
|
def bake_action_iter(
|
|
27
93
|
obj: bpy.types.Object, action: typing.Optional[bpy.types.Action], bake_options
|
|
28
94
|
) -> bpy.types.Action:
|
|
@@ -40,6 +106,11 @@ def bake_action_iter(
|
|
|
40
106
|
|
|
41
107
|
...
|
|
42
108
|
|
|
109
|
+
def bake_action_iter(obj, action, bake_options):
|
|
110
|
+
""" """
|
|
111
|
+
|
|
112
|
+
...
|
|
113
|
+
|
|
43
114
|
def bake_action_objects(
|
|
44
115
|
object_action_pairs, frames, bake_options
|
|
45
116
|
) -> typing.Iterable[bpy.types.Action]:
|
|
@@ -52,6 +123,11 @@ def bake_action_objects(
|
|
|
52
123
|
|
|
53
124
|
...
|
|
54
125
|
|
|
126
|
+
def bake_action_objects(object_action_pairs, frames, bake_options):
|
|
127
|
+
""" """
|
|
128
|
+
|
|
129
|
+
...
|
|
130
|
+
|
|
55
131
|
def bake_action_objects_iter(object_action_pairs, bake_options):
|
|
56
132
|
"""An coroutine that bakes actions for multiple objects.
|
|
57
133
|
|
|
@@ -60,3 +136,8 @@ def bake_action_objects_iter(object_action_pairs, bake_options):
|
|
|
60
136
|
"""
|
|
61
137
|
|
|
62
138
|
...
|
|
139
|
+
|
|
140
|
+
def bake_action_objects_iter(object_action_pairs, bake_options):
|
|
141
|
+
""" """
|
|
142
|
+
|
|
143
|
+
...
|
|
@@ -7,7 +7,62 @@ import typing
|
|
|
7
7
|
|
|
8
8
|
GenericType = typing.TypeVar("GenericType")
|
|
9
9
|
|
|
10
|
+
class AssetBrowserPanel:
|
|
11
|
+
""" """
|
|
12
|
+
|
|
13
|
+
bl_space_type: typing.Any
|
|
14
|
+
""" """
|
|
15
|
+
|
|
16
|
+
def asset_browser_panel_poll(self, context):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
:param context:
|
|
20
|
+
"""
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
def poll(self, context):
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
:param context:
|
|
27
|
+
"""
|
|
28
|
+
...
|
|
29
|
+
|
|
30
|
+
class AssetMetaDataPanel:
|
|
31
|
+
""" """
|
|
32
|
+
|
|
33
|
+
bl_region_type: typing.Any
|
|
34
|
+
""" """
|
|
35
|
+
|
|
36
|
+
bl_space_type: typing.Any
|
|
37
|
+
""" """
|
|
38
|
+
|
|
39
|
+
def poll(self, context):
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
:param context:
|
|
43
|
+
"""
|
|
44
|
+
...
|
|
45
|
+
|
|
10
46
|
class SpaceAssetInfo:
|
|
11
47
|
""" """
|
|
12
48
|
|
|
13
|
-
|
|
49
|
+
def get_active_asset(self, context):
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
:param context:
|
|
53
|
+
"""
|
|
54
|
+
...
|
|
55
|
+
|
|
56
|
+
def is_asset_browser(self, space_data):
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
:param space_data:
|
|
60
|
+
"""
|
|
61
|
+
...
|
|
62
|
+
|
|
63
|
+
def is_asset_browser_poll(self, context):
|
|
64
|
+
"""
|
|
65
|
+
|
|
66
|
+
:param context:
|
|
67
|
+
"""
|
|
68
|
+
...
|
|
File without changes
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import typing
|
|
2
|
+
|
|
3
|
+
GenericType = typing.TypeVar("GenericType")
|
|
4
|
+
|
|
5
|
+
class JunctionModuleHandle:
|
|
6
|
+
""" """
|
|
7
|
+
|
|
8
|
+
def register_module(self):
|
|
9
|
+
""" """
|
|
10
|
+
...
|
|
11
|
+
|
|
12
|
+
def register_submodule(self, submodule_name, dirpath):
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
:param submodule_name:
|
|
16
|
+
:param dirpath:
|
|
17
|
+
"""
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
def rename_directory(self, submodule_name, dirpath):
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
:param submodule_name:
|
|
24
|
+
:param dirpath:
|
|
25
|
+
"""
|
|
26
|
+
...
|
|
27
|
+
|
|
28
|
+
def rename_submodule(self, submodule_name_src, submodule_name_dst):
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
:param submodule_name_src:
|
|
32
|
+
:param submodule_name_dst:
|
|
33
|
+
"""
|
|
34
|
+
...
|
|
35
|
+
|
|
36
|
+
def submodule_items(self):
|
|
37
|
+
""" """
|
|
38
|
+
...
|
|
39
|
+
|
|
40
|
+
def unregister_module(self):
|
|
41
|
+
""" """
|
|
42
|
+
...
|
|
43
|
+
|
|
44
|
+
def unregister_submodule(self, submodule_name):
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
:param submodule_name:
|
|
48
|
+
"""
|
|
49
|
+
...
|
|
File without changes
|
|
File without changes
|
|
@@ -7,7 +7,22 @@ def get_all_referenced_ids(id, ref_map):
|
|
|
7
7
|
|
|
8
8
|
...
|
|
9
9
|
|
|
10
|
+
def get_all_referenced_ids(id, ref_map):
|
|
11
|
+
""" """
|
|
12
|
+
|
|
13
|
+
...
|
|
14
|
+
|
|
10
15
|
def get_id_reference_map():
|
|
11
16
|
"""Return a dictionary of direct datablock references for every datablock in the blend file."""
|
|
12
17
|
|
|
13
18
|
...
|
|
19
|
+
|
|
20
|
+
def get_id_reference_map():
|
|
21
|
+
""" """
|
|
22
|
+
|
|
23
|
+
...
|
|
24
|
+
|
|
25
|
+
def recursive_get_referenced_ids(ref_map, id, referenced_ids, visited):
|
|
26
|
+
""" """
|
|
27
|
+
|
|
28
|
+
...
|
bpy_extras/io_utils/__init__.pyi
CHANGED
|
@@ -6,6 +6,9 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
6
6
|
class ExportHelper:
|
|
7
7
|
""" """
|
|
8
8
|
|
|
9
|
+
check_extension: typing.Any
|
|
10
|
+
""" """
|
|
11
|
+
|
|
9
12
|
def check(self, _context):
|
|
10
13
|
"""
|
|
11
14
|
|
|
@@ -39,7 +42,7 @@ class ImportHelper:
|
|
|
39
42
|
"""
|
|
40
43
|
...
|
|
41
44
|
|
|
42
|
-
def invoke_popup(self, context, confirm_text
|
|
45
|
+
def invoke_popup(self, context, confirm_text):
|
|
43
46
|
"""
|
|
44
47
|
|
|
45
48
|
:param context:
|
|
@@ -55,6 +58,11 @@ def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z"):
|
|
|
55
58
|
|
|
56
59
|
...
|
|
57
60
|
|
|
61
|
+
def axis_conversion(from_forward, from_up, to_forward, to_up):
|
|
62
|
+
""" """
|
|
63
|
+
|
|
64
|
+
...
|
|
65
|
+
|
|
58
66
|
def axis_conversion_ensure(
|
|
59
67
|
operator: bpy.types.Operator, forward_attr: str, up_attr: str
|
|
60
68
|
) -> bool:
|
|
@@ -73,6 +81,11 @@ def axis_conversion_ensure(
|
|
|
73
81
|
|
|
74
82
|
...
|
|
75
83
|
|
|
84
|
+
def axis_conversion_ensure(operator, forward_attr, up_attr):
|
|
85
|
+
""" """
|
|
86
|
+
|
|
87
|
+
...
|
|
88
|
+
|
|
76
89
|
def create_derived_objects(
|
|
77
90
|
depsgraph: bpy.types.Depsgraph, objects: typing.Iterable[bpy.types.Object]
|
|
78
91
|
) -> dict:
|
|
@@ -89,6 +102,11 @@ def create_derived_objects(
|
|
|
89
102
|
|
|
90
103
|
...
|
|
91
104
|
|
|
105
|
+
def create_derived_objects(depsgraph, objects):
|
|
106
|
+
""" """
|
|
107
|
+
|
|
108
|
+
...
|
|
109
|
+
|
|
92
110
|
def orientation_helper(axis_forward="Y", axis_up="Z"):
|
|
93
111
|
"""A decorator for import/export classes, generating properties needed by the axis conversion system and IO helpers,
|
|
94
112
|
with specified default values (axes).
|
|
@@ -97,6 +115,11 @@ def orientation_helper(axis_forward="Y", axis_up="Z"):
|
|
|
97
115
|
|
|
98
116
|
...
|
|
99
117
|
|
|
118
|
+
def orientation_helper(axis_forward, axis_up):
|
|
119
|
+
""" """
|
|
120
|
+
|
|
121
|
+
...
|
|
122
|
+
|
|
100
123
|
def path_reference(
|
|
101
124
|
filepath: str,
|
|
102
125
|
base_src: str,
|
|
@@ -134,6 +157,11 @@ def path_reference(
|
|
|
134
157
|
|
|
135
158
|
...
|
|
136
159
|
|
|
160
|
+
def path_reference(filepath, base_src, base_dst, mode, copy_subdir, copy_set, library):
|
|
161
|
+
""" """
|
|
162
|
+
|
|
163
|
+
...
|
|
164
|
+
|
|
137
165
|
def path_reference_copy(copy_set: set, report: typing.Any = None):
|
|
138
166
|
"""Execute copying files of path_reference
|
|
139
167
|
|
|
@@ -145,6 +173,16 @@ def path_reference_copy(copy_set: set, report: typing.Any = None):
|
|
|
145
173
|
|
|
146
174
|
...
|
|
147
175
|
|
|
176
|
+
def path_reference_copy(copy_set, report):
|
|
177
|
+
""" """
|
|
178
|
+
|
|
179
|
+
...
|
|
180
|
+
|
|
181
|
+
def poll_file_object_drop(context):
|
|
182
|
+
""" """
|
|
183
|
+
|
|
184
|
+
...
|
|
185
|
+
|
|
148
186
|
def unique_name(
|
|
149
187
|
key,
|
|
150
188
|
name: str,
|
|
@@ -174,6 +212,16 @@ def unique_name(
|
|
|
174
212
|
|
|
175
213
|
...
|
|
176
214
|
|
|
215
|
+
def unique_name(key, name, name_dict, name_max, clean_func, sep):
|
|
216
|
+
""" """
|
|
217
|
+
|
|
218
|
+
...
|
|
219
|
+
|
|
220
|
+
def unpack_face_list(list_of_tuples):
|
|
221
|
+
""" """
|
|
222
|
+
|
|
223
|
+
...
|
|
224
|
+
|
|
177
225
|
def unpack_face_list(list_of_tuples):
|
|
178
226
|
""" """
|
|
179
227
|
|
|
@@ -183,3 +231,8 @@ def unpack_list(list_of_tuples):
|
|
|
183
231
|
""" """
|
|
184
232
|
|
|
185
233
|
...
|
|
234
|
+
|
|
235
|
+
def unpack_list(list_of_tuples):
|
|
236
|
+
""" """
|
|
237
|
+
|
|
238
|
+
...
|
|
@@ -7,11 +7,26 @@ def addon_keymap_register(keymap_data):
|
|
|
7
7
|
|
|
8
8
|
...
|
|
9
9
|
|
|
10
|
+
def addon_keymap_register(keymap_data):
|
|
11
|
+
""" """
|
|
12
|
+
|
|
13
|
+
...
|
|
14
|
+
|
|
10
15
|
def addon_keymap_unregister(keymap_data):
|
|
11
16
|
"""Unregister a set of keymaps for addons."""
|
|
12
17
|
|
|
13
18
|
...
|
|
14
19
|
|
|
20
|
+
def addon_keymap_unregister(keymap_data):
|
|
21
|
+
""" """
|
|
22
|
+
|
|
23
|
+
...
|
|
24
|
+
|
|
25
|
+
def keyconfig_test(kc):
|
|
26
|
+
""" """
|
|
27
|
+
|
|
28
|
+
...
|
|
29
|
+
|
|
15
30
|
def keyconfig_test(kc):
|
|
16
31
|
""" """
|
|
17
32
|
|
|
@@ -12,6 +12,11 @@ def edge_face_count(mesh) -> list:
|
|
|
12
12
|
|
|
13
13
|
...
|
|
14
14
|
|
|
15
|
+
def edge_face_count(mesh):
|
|
16
|
+
""" """
|
|
17
|
+
|
|
18
|
+
...
|
|
19
|
+
|
|
15
20
|
def edge_face_count_dict(mesh) -> dict:
|
|
16
21
|
"""
|
|
17
22
|
|
|
@@ -22,6 +27,11 @@ def edge_face_count_dict(mesh) -> dict:
|
|
|
22
27
|
|
|
23
28
|
...
|
|
24
29
|
|
|
30
|
+
def edge_face_count_dict(mesh):
|
|
31
|
+
""" """
|
|
32
|
+
|
|
33
|
+
...
|
|
34
|
+
|
|
25
35
|
def edge_loops_from_edges(mesh, edges=None):
|
|
26
36
|
"""Edge loops defined by edgesTakes me.edges or a list of edges and returns the edge loopsreturn a list of vertex indices.
|
|
27
37
|
[ [1, 6, 7, 2], ...]closed loops have matching start and end values.
|
|
@@ -30,6 +40,11 @@ def edge_loops_from_edges(mesh, edges=None):
|
|
|
30
40
|
|
|
31
41
|
...
|
|
32
42
|
|
|
43
|
+
def edge_loops_from_edges(mesh, edges):
|
|
44
|
+
""" """
|
|
45
|
+
|
|
46
|
+
...
|
|
47
|
+
|
|
33
48
|
def mesh_linked_triangles(mesh: bpy.types.Mesh) -> list:
|
|
34
49
|
"""Splits the mesh into connected triangles, use this for separating cubes from
|
|
35
50
|
other mesh elements within 1 mesh datablock.
|
|
@@ -42,6 +57,11 @@ def mesh_linked_triangles(mesh: bpy.types.Mesh) -> list:
|
|
|
42
57
|
|
|
43
58
|
...
|
|
44
59
|
|
|
60
|
+
def mesh_linked_triangles(mesh):
|
|
61
|
+
""" """
|
|
62
|
+
|
|
63
|
+
...
|
|
64
|
+
|
|
45
65
|
def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list:
|
|
46
66
|
"""Returns lists of polygon indices connected by UV islands.
|
|
47
67
|
|
|
@@ -53,6 +73,11 @@ def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list:
|
|
|
53
73
|
|
|
54
74
|
...
|
|
55
75
|
|
|
76
|
+
def mesh_linked_uv_islands(mesh):
|
|
77
|
+
""" """
|
|
78
|
+
|
|
79
|
+
...
|
|
80
|
+
|
|
56
81
|
def ngon_tessellate(
|
|
57
82
|
from_data: typing.Union[list, bpy.types.Mesh],
|
|
58
83
|
indices: list,
|
|
@@ -77,6 +102,11 @@ def ngon_tessellate(
|
|
|
77
102
|
|
|
78
103
|
...
|
|
79
104
|
|
|
105
|
+
def ngon_tessellate(from_data, indices, fix_loops, debug_print):
|
|
106
|
+
""" """
|
|
107
|
+
|
|
108
|
+
...
|
|
109
|
+
|
|
80
110
|
def triangle_random_points(
|
|
81
111
|
num_points,
|
|
82
112
|
loop_triangles: typing.Union[bpy.types.MeshLoopTriangle, typing.Sequence],
|
|
@@ -91,3 +121,8 @@ def triangle_random_points(
|
|
|
91
121
|
"""
|
|
92
122
|
|
|
93
123
|
...
|
|
124
|
+
|
|
125
|
+
def triangle_random_points(num_points, loop_triangles):
|
|
126
|
+
""" """
|
|
127
|
+
|
|
128
|
+
...
|