fake-bge-module 20250104__py3-none-any.whl → 20250201__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.
- addon_utils/__init__.pyi +11 -6
- aud/__init__.pyi +4 -0
- bge/types/__init__.pyi +66 -27
- bgl/__init__.pyi +2 -2
- bgui/image/__init__.pyi +3 -1
- bgui/system/__init__.pyi +12 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
- bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
- bl_operators/node/__init__.pyi +78 -0
- bl_ui/anim/__init__.pyi +6 -0
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bl_ui/node_add_menu_shader/__init__.pyi +0 -1
- bl_ui/node_add_menu_texture/__init__.pyi +1 -0
- bl_ui/properties_data_camera/__init__.pyi +0 -2
- bl_ui/properties_mask_common/__init__.pyi +17 -0
- bl_ui/properties_material_gpencil/__init__.pyi +29 -0
- bl_ui/properties_scene/__init__.pyi +6 -0
- bl_ui/properties_view_layer/__init__.pyi +1 -0
- bl_ui/space_clip/__init__.pyi +53 -0
- bl_ui/space_graph/__init__.pyi +2 -0
- bl_ui/space_image/__init__.pyi +25 -0
- bl_ui/space_node/__init__.pyi +0 -1
- bl_ui/space_sequencer/__init__.pyi +2 -1
- blf/__init__.pyi +6 -3
- bmesh/ops/__init__.pyi +111 -54
- bmesh/types/__init__.pyi +134 -46
- bmesh/utils/__init__.pyi +17 -5
- bpy/__init__.pyi +1 -2
- bpy/_typing/__init__.pyi +4 -0
- bpy/{typing → _typing/rna_enums}/__init__.pyi +36 -36
- bpy/app/__init__.pyi +13 -5
- bpy/app/handlers/__init__.pyi +4 -2
- bpy/app/icons/__init__.pyi +6 -2
- bpy/app/translations/__init__.pyi +17 -8
- bpy/msgbus/__init__.pyi +14 -2
- bpy/ops/action/__init__.pyi +51 -151
- bpy/ops/anim/__init__.pyi +61 -179
- bpy/ops/armature/__init__.pyi +48 -147
- bpy/ops/asset/__init__.pyi +16 -71
- bpy/ops/boid/__init__.pyi +11 -44
- bpy/ops/brush/__init__.pyi +16 -42
- bpy/ops/buttons/__init__.pyi +6 -29
- bpy/ops/cachefile/__init__.pyi +5 -19
- bpy/ops/camera/__init__.pyi +2 -5
- bpy/ops/clip/__init__.pyi +95 -293
- bpy/ops/cloth/__init__.pyi +1 -3
- bpy/ops/collection/__init__.pyi +10 -26
- bpy/ops/console/__init__.pyi +21 -79
- bpy/ops/constraint/__init__.pyi +18 -45
- bpy/ops/curve/__init__.pyi +57 -186
- bpy/ops/curves/__init__.pyi +37 -109
- bpy/ops/cycles/__init__.pyi +3 -9
- bpy/ops/dpaint/__init__.pyi +8 -22
- bpy/ops/ed/__init__.pyi +20 -52
- bpy/ops/export_anim/__init__.pyi +1 -3
- bpy/ops/export_scene/__init__.pyi +55 -32
- bpy/ops/extensions/__init__.pyi +34 -110
- bpy/ops/file/__init__.pyi +40 -167
- bpy/ops/fluid/__init__.pyi +14 -77
- bpy/ops/font/__init__.pyi +23 -85
- bpy/ops/geometry/__init__.pyi +29 -46
- bpy/ops/gizmogroup/__init__.pyi +2 -9
- bpy/ops/gpencil/__init__.pyi +8 -32
- bpy/ops/graph/__init__.pyi +82 -201
- bpy/ops/grease_pencil/__init__.pyi +125 -324
- bpy/ops/image/__init__.pyi +61 -163
- bpy/ops/import_anim/__init__.pyi +1 -3
- bpy/ops/import_curve/__init__.pyi +1 -3
- bpy/ops/import_scene/__init__.pyi +4 -6
- bpy/ops/info/__init__.pyi +7 -29
- bpy/ops/lattice/__init__.pyi +11 -32
- bpy/ops/logic/__init__.pyi +26 -65
- bpy/ops/marker/__init__.pyi +11 -31
- bpy/ops/mask/__init__.pyi +39 -132
- bpy/ops/material/__init__.pyi +3 -19
- bpy/ops/mball/__init__.pyi +8 -19
- bpy/ops/mesh/__init__.pyi +223 -470
- bpy/ops/nla/__init__.pyi +42 -150
- bpy/ops/node/__init__.pyi +169 -393
- bpy/ops/object/__init__.pyi +320 -749
- bpy/ops/outliner/__init__.pyi +76 -268
- bpy/ops/paint/__init__.pyi +67 -147
- bpy/ops/paintcurve/__init__.pyi +8 -33
- bpy/ops/palette/__init__.pyi +7 -27
- bpy/ops/particle/__init__.pyi +39 -134
- bpy/ops/pose/__init__.pyi +64 -182
- bpy/ops/poselib/__init__.pyi +9 -33
- bpy/ops/preferences/__init__.pyi +35 -94
- bpy/ops/ptcache/__init__.pyi +7 -33
- bpy/ops/render/__init__.pyi +13 -37
- bpy/ops/rigidbody/__init__.pyi +22 -54
- bpy/ops/scene/__init__.pyi +47 -130
- bpy/ops/screen/__init__.pyi +46 -144
- bpy/ops/script/__init__.pyi +3 -11
- bpy/ops/sculpt/__init__.pyi +40 -94
- bpy/ops/sculpt_curves/__init__.pyi +4 -10
- bpy/ops/sequencer/__init__.pyi +104 -327
- bpy/ops/sound/__init__.pyi +17 -28
- bpy/ops/spreadsheet/__init__.pyi +4 -15
- bpy/ops/surface/__init__.pyi +6 -13
- bpy/ops/text/__init__.pyi +43 -175
- bpy/ops/text_editor/__init__.pyi +1 -3
- bpy/ops/texture/__init__.pyi +4 -21
- bpy/ops/transform/__init__.pyi +114 -134
- bpy/ops/ui/__init__.pyi +39 -120
- bpy/ops/uilist/__init__.pyi +3 -7
- bpy/ops/uv/__init__.pyi +58 -143
- bpy/ops/view2d/__init__.pyi +14 -39
- bpy/ops/view3d/__init__.pyi +68 -238
- bpy/ops/wm/__init__.pyi +178 -319
- bpy/ops/workspace/__init__.pyi +7 -33
- bpy/ops/world/__init__.pyi +2 -11
- bpy/path/__init__.pyi +16 -6
- bpy/props/__init__.pyi +157 -127
- bpy/types/__init__.pyi +35227 -34838
- bpy/utils/__init__.pyi +71 -25
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +11 -3
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +5 -2
- bpy_extras/io_utils/__init__.pyi +12 -5
- bpy_extras/mesh_utils/__init__.pyi +27 -6
- bpy_extras/object_utils/__init__.pyi +6 -5
- bpy_extras/view3d_utils/__init__.pyi +9 -2
- {fake_bge_module-20250104.dist-info → fake_bge_module-20250201.dist-info}/METADATA +3 -3
- {fake_bge_module-20250104.dist-info → fake_bge_module-20250201.dist-info}/RECORD +153 -152
- {fake_bge_module-20250104.dist-info → fake_bge_module-20250201.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/functions/__init__.pyi +16 -4
- freestyle/shaders/__init__.pyi +5 -1
- freestyle/types/__init__.pyi +103 -30
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +4 -2
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +40 -8
- gpu_extras/batch/__init__.pyi +13 -1
- gpu_extras/presets/__init__.pyi +10 -1
- idprop/types/__init__.pyi +4 -2
- imbuf/__init__.pyi +6 -3
- imbuf/types/__init__.pyi +5 -2
- mathutils/__init__.pyi +126 -35
- mathutils/bvhtree/__init__.pyi +21 -6
- mathutils/geometry/__init__.pyi +68 -22
- mathutils/interpolate/__init__.pyi +5 -1
- mathutils/kdtree/__init__.pyi +21 -8
- mathutils/noise/__init__.pyi +2 -1
- rna_info/__init__.pyi +2 -1
- {fake_bge_module-20250104.dist-info → fake_bge_module-20250201.dist-info}/top_level.txt +0 -0
bpy/ops/workspace/__init__.pyi
CHANGED
|
@@ -1,31 +1,24 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
|
|
6
|
-
def add(
|
|
7
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
8
|
-
execution_context: int | str | None = None,
|
|
9
|
-
undo: bool | None = None,
|
|
10
|
-
):
|
|
5
|
+
def add(execution_context: int | str | None = None, undo: bool | None = None):
|
|
11
6
|
"""Add a new workspace by duplicating the current one or appending one from the user configuration
|
|
12
7
|
|
|
13
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
14
8
|
:type execution_context: int | str | None
|
|
15
9
|
:type undo: bool | None
|
|
16
10
|
"""
|
|
17
11
|
|
|
18
12
|
def append_activate(
|
|
19
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
20
13
|
execution_context: int | str | None = None,
|
|
21
14
|
undo: bool | None = None,
|
|
15
|
+
/,
|
|
22
16
|
*,
|
|
23
17
|
idname: str = "",
|
|
24
18
|
filepath: str = "",
|
|
25
19
|
):
|
|
26
20
|
"""Append a workspace and make it the active one in the current window
|
|
27
21
|
|
|
28
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
29
22
|
:type execution_context: int | str | None
|
|
30
23
|
:type undo: bool | None
|
|
31
24
|
:param idname: Identifier, Name of the workspace to append and activate
|
|
@@ -34,62 +27,43 @@ def append_activate(
|
|
|
34
27
|
:type filepath: str
|
|
35
28
|
"""
|
|
36
29
|
|
|
37
|
-
def delete(
|
|
38
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
39
|
-
execution_context: int | str | None = None,
|
|
40
|
-
undo: bool | None = None,
|
|
41
|
-
):
|
|
30
|
+
def delete(execution_context: int | str | None = None, undo: bool | None = None):
|
|
42
31
|
"""Delete the active workspace
|
|
43
32
|
|
|
44
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
45
33
|
:type execution_context: int | str | None
|
|
46
34
|
:type undo: bool | None
|
|
47
35
|
"""
|
|
48
36
|
|
|
49
|
-
def duplicate(
|
|
50
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
51
|
-
execution_context: int | str | None = None,
|
|
52
|
-
undo: bool | None = None,
|
|
53
|
-
):
|
|
37
|
+
def duplicate(execution_context: int | str | None = None, undo: bool | None = None):
|
|
54
38
|
"""Add a new workspace
|
|
55
39
|
|
|
56
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
57
40
|
:type execution_context: int | str | None
|
|
58
41
|
:type undo: bool | None
|
|
59
42
|
"""
|
|
60
43
|
|
|
61
44
|
def reorder_to_back(
|
|
62
|
-
|
|
63
|
-
execution_context: int | str | None = None,
|
|
64
|
-
undo: bool | None = None,
|
|
45
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
65
46
|
):
|
|
66
47
|
"""Reorder workspace to be last in the list
|
|
67
48
|
|
|
68
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
69
49
|
:type execution_context: int | str | None
|
|
70
50
|
:type undo: bool | None
|
|
71
51
|
"""
|
|
72
52
|
|
|
73
53
|
def reorder_to_front(
|
|
74
|
-
|
|
75
|
-
execution_context: int | str | None = None,
|
|
76
|
-
undo: bool | None = None,
|
|
54
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
77
55
|
):
|
|
78
56
|
"""Reorder workspace to be first in the list
|
|
79
57
|
|
|
80
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
81
58
|
:type execution_context: int | str | None
|
|
82
59
|
:type undo: bool | None
|
|
83
60
|
"""
|
|
84
61
|
|
|
85
62
|
def scene_pin_toggle(
|
|
86
|
-
|
|
87
|
-
execution_context: int | str | None = None,
|
|
88
|
-
undo: bool | None = None,
|
|
63
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
89
64
|
):
|
|
90
65
|
"""Remember the last used scene for the current workspace and switch to it whenever this workspace is activated again
|
|
91
66
|
|
|
92
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
93
67
|
:type execution_context: int | str | None
|
|
94
68
|
:type undo: bool | None
|
|
95
69
|
"""
|
bpy/ops/world/__init__.pyi
CHANGED
|
@@ -1,28 +1,19 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
|
|
6
5
|
def convert_volume_to_mesh(
|
|
7
|
-
|
|
8
|
-
execution_context: int | str | None = None,
|
|
9
|
-
undo: bool | None = None,
|
|
6
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
10
7
|
):
|
|
11
8
|
"""Convert the volume of a world to a mesh. The world's volume used to be rendered by EEVEE Legacy. Conversion is needed for it to render properly
|
|
12
9
|
|
|
13
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
14
10
|
:type execution_context: int | str | None
|
|
15
11
|
:type undo: bool | None
|
|
16
12
|
"""
|
|
17
13
|
|
|
18
|
-
def new(
|
|
19
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
20
|
-
execution_context: int | str | None = None,
|
|
21
|
-
undo: bool | None = None,
|
|
22
|
-
):
|
|
14
|
+
def new(execution_context: int | str | None = None, undo: bool | None = None):
|
|
23
15
|
"""Create a new world Data-Block
|
|
24
16
|
|
|
25
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
26
17
|
:type execution_context: int | str | None
|
|
27
18
|
:type undo: bool | None
|
|
28
19
|
"""
|
bpy/path/__init__.pyi
CHANGED
|
@@ -9,12 +9,15 @@ import collections.abc
|
|
|
9
9
|
import typing_extensions
|
|
10
10
|
import bpy.types
|
|
11
11
|
|
|
12
|
-
def abspath(
|
|
12
|
+
def abspath(
|
|
13
|
+
path, *, start: bytes | str | None = None, library: bpy.types.Library | None = None
|
|
14
|
+
) -> str:
|
|
13
15
|
"""Returns the absolute path relative to the current blend file
|
|
14
16
|
using the "//" prefix.
|
|
15
17
|
|
|
16
18
|
:param start: Relative to this path,
|
|
17
19
|
when not set the current filename is used.
|
|
20
|
+
:type start: bytes | str | None
|
|
18
21
|
:param library: The library this path is from. This is only included for
|
|
19
22
|
convenience, when the library is not None its path replaces start.
|
|
20
23
|
:type library: bpy.types.Library | None
|
|
@@ -29,13 +32,14 @@ def basename(path) -> str:
|
|
|
29
32
|
:rtype: str
|
|
30
33
|
"""
|
|
31
34
|
|
|
32
|
-
def clean_name(name, *, replace: str = "_") -> str:
|
|
35
|
+
def clean_name(name: bytes | str, *, replace: str = "_") -> str:
|
|
33
36
|
"""Returns a name with characters replaced that
|
|
34
37
|
may cause problems under various circumstances,
|
|
35
38
|
such as writing to a file.All characters besides A-Z/a-z, 0-9 are replaced with "_"
|
|
36
39
|
or the replace argument if defined.
|
|
37
40
|
|
|
38
41
|
:param name: The path name.
|
|
42
|
+
:type name: bytes | str
|
|
39
43
|
:param replace: The replacement for non-valid characters.
|
|
40
44
|
:type replace: str
|
|
41
45
|
:return: The cleaned name.
|
|
@@ -90,16 +94,17 @@ def ensure_ext(filepath: str, ext: str, *, case_sensitive: bool = False) -> str:
|
|
|
90
94
|
:rtype: str
|
|
91
95
|
"""
|
|
92
96
|
|
|
93
|
-
def is_subdir(path, directory) -> bool:
|
|
97
|
+
def is_subdir(path: bytes | str, directory) -> bool:
|
|
94
98
|
"""Returns true if path in a subdirectory of directory.
|
|
95
99
|
Both paths must be absolute.
|
|
96
100
|
|
|
97
101
|
:param path: An absolute path.
|
|
102
|
+
:type path: bytes | str
|
|
98
103
|
:return: Whether or not the path is a subdirectory.
|
|
99
104
|
:rtype: bool
|
|
100
105
|
"""
|
|
101
106
|
|
|
102
|
-
def module_names(path: str, *, recursive: bool = False, package: str = ""):
|
|
107
|
+
def module_names(path: str, *, recursive: bool = False, package: str = "") -> list[str]:
|
|
103
108
|
"""Return a list of modules which can be imported from path.
|
|
104
109
|
|
|
105
110
|
:param path: a directory to scan.
|
|
@@ -109,6 +114,7 @@ def module_names(path: str, *, recursive: bool = False, package: str = ""):
|
|
|
109
114
|
:param package: Optional string, used as the prefix for module names (without the trailing ".").
|
|
110
115
|
:type package: str
|
|
111
116
|
:return: a list of string pairs (module_name, module_file).
|
|
117
|
+
:rtype: list[str]
|
|
112
118
|
"""
|
|
113
119
|
|
|
114
120
|
def native_pathsep(path: str) -> str:
|
|
@@ -120,21 +126,25 @@ def native_pathsep(path: str) -> str:
|
|
|
120
126
|
:rtype: str
|
|
121
127
|
"""
|
|
122
128
|
|
|
123
|
-
def reduce_dirs(dirs):
|
|
129
|
+
def reduce_dirs(dirs: collections.abc.Sequence[str]) -> list[str]:
|
|
124
130
|
"""Given a sequence of directories, remove duplicates and
|
|
125
131
|
any directories nested in one of the other paths.
|
|
126
132
|
(Useful for recursive path searching).
|
|
127
133
|
|
|
128
134
|
:param dirs: Sequence of directory paths.
|
|
135
|
+
:type dirs: collections.abc.Sequence[str]
|
|
129
136
|
:return: A unique list of paths.
|
|
137
|
+
:rtype: list[str]
|
|
130
138
|
"""
|
|
131
139
|
|
|
132
|
-
def relpath(path, *, start=None) -> str:
|
|
140
|
+
def relpath(path: bytes | str, *, start: bytes | str | None = None) -> str:
|
|
133
141
|
"""Returns the path relative to the current blend file using the "//" prefix.
|
|
134
142
|
|
|
135
143
|
:param path: An absolute path.
|
|
144
|
+
:type path: bytes | str
|
|
136
145
|
:param start: Relative to this path,
|
|
137
146
|
when not set the current filename is used.
|
|
147
|
+
:type start: bytes | str | None
|
|
138
148
|
:return: The relative path.
|
|
139
149
|
:rtype: str
|
|
140
150
|
"""
|