fake-bpy-module 20240902__py3-none-any.whl → 20240904__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.
- _bpy_internal/__init__.pyi +1 -0
- _bpy_internal/system_info/__init__.pyi +8 -0
- _bpy_internal/system_info/startup/__init__.pyi +8 -0
- bl_operators/anim/__init__.pyi +84 -0
- bl_ui/properties_data_camera/__init__.pyi +37 -0
- bl_ui/properties_material/__init__.pyi +43 -0
- bl_ui/space_dopesheet/__init__.pyi +2 -2
- bl_ui/space_properties/__init__.pyi +37 -0
- bl_ui_utils/__init__.pyi +0 -1
- bpy/ops/anim/__init__.pyi +16 -2
- bpy/types/__init__.pyi +50 -22
- {fake_bpy_module-20240902.dist-info → fake_bpy_module-20240904.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240902.dist-info → fake_bpy_module-20240904.dist-info}/RECORD +17 -15
- {fake_bpy_module-20240902.dist-info → fake_bpy_module-20240904.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- {bl_ui_utils/bug_report_url → _bpy_internal/system_info/runtime}/__init__.pyi +0 -0
- {fake_bpy_module-20240902.dist-info → fake_bpy_module-20240904.dist-info}/top_level.txt +0 -0
_bpy_internal/__init__.pyi
CHANGED
|
@@ -5,6 +5,7 @@ from . import addons as addons
|
|
|
5
5
|
from . import extensions as extensions
|
|
6
6
|
from . import freedesktop as freedesktop
|
|
7
7
|
from . import grease_pencil as grease_pencil
|
|
8
|
+
from . import system_info as system_info
|
|
8
9
|
|
|
9
10
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
10
11
|
GenericType2 = typing.TypeVar("GenericType2")
|
bl_operators/anim/__init__.pyi
CHANGED
|
@@ -45,6 +45,90 @@ class ANIM_OT_keying_set_export(bpy.types.Operator):
|
|
|
45
45
|
"""
|
|
46
46
|
...
|
|
47
47
|
|
|
48
|
+
class ANIM_OT_slot_new_for_id(bpy.types.Operator):
|
|
49
|
+
"""Create a new Action Slot for an ID.Note that _which_ ID should get this slot must be set in the 'animated_id' context pointer, using:"""
|
|
50
|
+
|
|
51
|
+
bl_description: typing.Any
|
|
52
|
+
bl_idname: typing.Any
|
|
53
|
+
bl_label: typing.Any
|
|
54
|
+
bl_options: typing.Any
|
|
55
|
+
bl_rna: typing.Any
|
|
56
|
+
id_data: typing.Any
|
|
57
|
+
|
|
58
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
:return: The RNA type or default when not found.
|
|
62
|
+
:rtype: bpy.types.Struct
|
|
63
|
+
"""
|
|
64
|
+
...
|
|
65
|
+
|
|
66
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
:return: The class or default when not found.
|
|
70
|
+
:rtype: typing.Any
|
|
71
|
+
"""
|
|
72
|
+
...
|
|
73
|
+
|
|
74
|
+
def execute(self, context):
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
:param context:
|
|
78
|
+
"""
|
|
79
|
+
...
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def poll(cls, context):
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
:param context:
|
|
86
|
+
"""
|
|
87
|
+
...
|
|
88
|
+
|
|
89
|
+
class ANIM_OT_slot_unassign_from_id(bpy.types.Operator):
|
|
90
|
+
"""Un-assign the assigned Action Slot from an ID.Note that _which_ ID should get this slot unassigned must be set in the
|
|
91
|
+
"animated_id" context pointer, using:
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
bl_description: typing.Any
|
|
95
|
+
bl_idname: typing.Any
|
|
96
|
+
bl_label: typing.Any
|
|
97
|
+
bl_options: typing.Any
|
|
98
|
+
bl_rna: typing.Any
|
|
99
|
+
id_data: typing.Any
|
|
100
|
+
|
|
101
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
:return: The RNA type or default when not found.
|
|
105
|
+
:rtype: bpy.types.Struct
|
|
106
|
+
"""
|
|
107
|
+
...
|
|
108
|
+
|
|
109
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
:return: The class or default when not found.
|
|
113
|
+
:rtype: typing.Any
|
|
114
|
+
"""
|
|
115
|
+
...
|
|
116
|
+
|
|
117
|
+
def execute(self, context):
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
:param context:
|
|
121
|
+
"""
|
|
122
|
+
...
|
|
123
|
+
|
|
124
|
+
@classmethod
|
|
125
|
+
def poll(cls, context):
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
:param context:
|
|
129
|
+
"""
|
|
130
|
+
...
|
|
131
|
+
|
|
48
132
|
class ARMATURE_OT_collection_remove_unused(bpy.types.Operator):
|
|
49
133
|
"""Remove all bone collections that have neither bones nor children. This is done recursively, so bone collections that only have unused children are also removed"""
|
|
50
134
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bl_ui.space_properties
|
|
4
5
|
import bl_ui.utils
|
|
5
6
|
import bpy.types
|
|
6
7
|
import rna_prop_ui
|
|
@@ -115,6 +116,42 @@ class DATA_PT_camera(CameraButtonsPanel, bpy.types.Panel):
|
|
|
115
116
|
"""
|
|
116
117
|
...
|
|
117
118
|
|
|
119
|
+
class DATA_PT_camera_animation(
|
|
120
|
+
rna_prop_ui.PropertyPanel,
|
|
121
|
+
CameraButtonsPanel,
|
|
122
|
+
bl_ui.space_properties.PropertiesAnimationMixin,
|
|
123
|
+
bpy.types.Panel,
|
|
124
|
+
):
|
|
125
|
+
"""Mix-in class for Animation panels.This class can be used to show a generic 'Animation' panel for IDs shown in
|
|
126
|
+
the properties editor. Specific ID types need specific subclasses.For an example, see DATA_PT_camera_animation in properties_data_camera.py
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
COMPAT_ENGINES: typing.Any
|
|
130
|
+
bl_context: typing.Any
|
|
131
|
+
bl_label: typing.Any
|
|
132
|
+
bl_options: typing.Any
|
|
133
|
+
bl_order: typing.Any
|
|
134
|
+
bl_region_type: typing.Any
|
|
135
|
+
bl_rna: typing.Any
|
|
136
|
+
bl_space_type: typing.Any
|
|
137
|
+
id_data: typing.Any
|
|
138
|
+
|
|
139
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
:return: The RNA type or default when not found.
|
|
143
|
+
:rtype: bpy.types.Struct
|
|
144
|
+
"""
|
|
145
|
+
...
|
|
146
|
+
|
|
147
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
:return: The class or default when not found.
|
|
151
|
+
:rtype: typing.Any
|
|
152
|
+
"""
|
|
153
|
+
...
|
|
154
|
+
|
|
118
155
|
class DATA_PT_camera_background_image(CameraButtonsPanel, bpy.types.Panel):
|
|
119
156
|
COMPAT_ENGINES: typing.Any
|
|
120
157
|
bl_context: typing.Any
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bl_ui.space_properties
|
|
4
5
|
import bpy.types
|
|
5
6
|
import rna_prop_ui
|
|
6
7
|
|
|
@@ -396,6 +397,48 @@ class MATERIAL_MT_context_menu(bpy.types.Menu):
|
|
|
396
397
|
"""
|
|
397
398
|
...
|
|
398
399
|
|
|
400
|
+
class MATERIAL_PT_animation(
|
|
401
|
+
bpy.types.Panel,
|
|
402
|
+
MaterialButtonsPanel,
|
|
403
|
+
bl_ui.space_properties.PropertiesAnimationMixin,
|
|
404
|
+
):
|
|
405
|
+
"""Mix-in class for Animation panels.This class can be used to show a generic 'Animation' panel for IDs shown in
|
|
406
|
+
the properties editor. Specific ID types need specific subclasses.For an example, see DATA_PT_camera_animation in properties_data_camera.py
|
|
407
|
+
"""
|
|
408
|
+
|
|
409
|
+
COMPAT_ENGINES: typing.Any
|
|
410
|
+
bl_context: typing.Any
|
|
411
|
+
bl_label: typing.Any
|
|
412
|
+
bl_options: typing.Any
|
|
413
|
+
bl_order: typing.Any
|
|
414
|
+
bl_region_type: typing.Any
|
|
415
|
+
bl_rna: typing.Any
|
|
416
|
+
bl_space_type: typing.Any
|
|
417
|
+
id_data: typing.Any
|
|
418
|
+
|
|
419
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
420
|
+
"""
|
|
421
|
+
|
|
422
|
+
:return: The RNA type or default when not found.
|
|
423
|
+
:rtype: bpy.types.Struct
|
|
424
|
+
"""
|
|
425
|
+
...
|
|
426
|
+
|
|
427
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
428
|
+
"""
|
|
429
|
+
|
|
430
|
+
:return: The class or default when not found.
|
|
431
|
+
:rtype: typing.Any
|
|
432
|
+
"""
|
|
433
|
+
...
|
|
434
|
+
|
|
435
|
+
def draw(self, context):
|
|
436
|
+
"""
|
|
437
|
+
|
|
438
|
+
:param context:
|
|
439
|
+
"""
|
|
440
|
+
...
|
|
441
|
+
|
|
399
442
|
class MATERIAL_PT_custom_props(
|
|
400
443
|
rna_prop_ui.PropertyPanel, MaterialButtonsPanel, bpy.types.Panel
|
|
401
444
|
):
|
|
@@ -10,8 +10,8 @@ GenericType1 = typing.TypeVar("GenericType1")
|
|
|
10
10
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
11
11
|
|
|
12
12
|
class DOPESHEET_HT_editor_buttons:
|
|
13
|
-
@
|
|
14
|
-
def draw_header(context, layout):
|
|
13
|
+
@classmethod
|
|
14
|
+
def draw_header(cls, context, layout):
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
:param context:
|
|
@@ -96,3 +96,40 @@ class PROPERTIES_PT_options(bpy.types.Panel):
|
|
|
96
96
|
:param context:
|
|
97
97
|
"""
|
|
98
98
|
...
|
|
99
|
+
|
|
100
|
+
class PropertiesAnimationMixin:
|
|
101
|
+
"""Mix-in class for Animation panels.This class can be used to show a generic 'Animation' panel for IDs shown in
|
|
102
|
+
the properties editor. Specific ID types need specific subclasses.For an example, see DATA_PT_camera_animation in properties_data_camera.py
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
bl_context: typing.Any
|
|
106
|
+
bl_label: typing.Any
|
|
107
|
+
bl_options: typing.Any
|
|
108
|
+
bl_order: typing.Any
|
|
109
|
+
bl_region_type: typing.Any
|
|
110
|
+
bl_space_type: typing.Any
|
|
111
|
+
|
|
112
|
+
def draw(self, context):
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
:param context:
|
|
116
|
+
"""
|
|
117
|
+
...
|
|
118
|
+
|
|
119
|
+
@staticmethod
|
|
120
|
+
def draw_action_and_slot_selector(context, layout, animated_id):
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
:param context:
|
|
124
|
+
:param layout:
|
|
125
|
+
:param animated_id:
|
|
126
|
+
"""
|
|
127
|
+
...
|
|
128
|
+
|
|
129
|
+
@classmethod
|
|
130
|
+
def poll(cls, context):
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
:param context:
|
|
134
|
+
"""
|
|
135
|
+
...
|
bl_ui_utils/__init__.pyi
CHANGED
bpy/ops/anim/__init__.pyi
CHANGED
|
@@ -950,6 +950,20 @@ def scene_range_frame(
|
|
|
950
950
|
|
|
951
951
|
...
|
|
952
952
|
|
|
953
|
+
def slot_new_for_id(
|
|
954
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
955
|
+
execution_context: int | str | None = None,
|
|
956
|
+
undo: bool | None = None,
|
|
957
|
+
):
|
|
958
|
+
"""Create a new action slot for this data-block, to hold its animation
|
|
959
|
+
|
|
960
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
961
|
+
:type execution_context: int | str | None
|
|
962
|
+
:type undo: bool | None
|
|
963
|
+
"""
|
|
964
|
+
|
|
965
|
+
...
|
|
966
|
+
|
|
953
967
|
def slot_new_for_object(
|
|
954
968
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
955
969
|
execution_context: int | str | None = None,
|
|
@@ -964,12 +978,12 @@ def slot_new_for_object(
|
|
|
964
978
|
|
|
965
979
|
...
|
|
966
980
|
|
|
967
|
-
def
|
|
981
|
+
def slot_unassign_from_id(
|
|
968
982
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
969
983
|
execution_context: int | str | None = None,
|
|
970
984
|
undo: bool | None = None,
|
|
971
985
|
):
|
|
972
|
-
"""
|
|
986
|
+
"""Un-assign the action slot, effectively making this data-block non-animated
|
|
973
987
|
|
|
974
988
|
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
975
989
|
:type execution_context: int | str | None
|