fake-bpy-module 20240528__py3-none-any.whl → 20240530__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_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -3
- bl_operators/__init__.pyi +2 -0
- bl_operators/connect_to_output/__init__.pyi +325 -0
- bl_operators/image_as_planes/__init__.pyi +11 -5
- bl_operators/node_editor/__init__.pyi +6 -0
- bl_operators/node_editor/node_functions/__init__.pyi +23 -0
- bl_operators/presets/__init__.pyi +12 -12
- bl_operators/wm/__init__.pyi +24 -24
- bl_ui/__init__.pyi +12 -12
- bl_ui/anim/__init__.pyi +6 -6
- bl_ui/node_add_menu/__init__.pyi +6 -6
- bl_ui/node_add_menu_compositor/__init__.pyi +108 -108
- bl_ui/node_add_menu_geometry/__init__.pyi +288 -288
- bl_ui/node_add_menu_shader/__init__.pyi +60 -60
- bl_ui/node_add_menu_texture/__init__.pyi +54 -54
- bl_ui/properties_collection/__init__.pyi +6 -6
- bl_ui/properties_data_armature/__init__.pyi +12 -12
- bl_ui/properties_data_camera/__init__.pyi +12 -12
- bl_ui/properties_data_curves/__init__.pyi +6 -6
- bl_ui/properties_data_gpencil/__init__.pyi +12 -12
- bl_ui/properties_data_grease_pencil/__init__.pyi +18 -18
- bl_ui/properties_data_mesh/__init__.pyi +24 -24
- bl_ui/properties_data_modifier/__init__.pyi +42 -42
- bl_ui/properties_data_pointcloud/__init__.pyi +6 -6
- bl_ui/properties_freestyle/__init__.pyi +6 -6
- bl_ui/properties_grease_pencil_common/__init__.pyi +72 -72
- bl_ui/properties_mask_common/__init__.pyi +36 -36
- bl_ui/properties_material/__init__.pyi +6 -6
- bl_ui/properties_material_gpencil/__init__.pyi +12 -12
- bl_ui/properties_object/__init__.pyi +6 -6
- bl_ui/properties_output/__init__.pyi +18 -18
- bl_ui/properties_paint_common/__init__.pyi +6 -6
- bl_ui/properties_particle/__init__.pyi +12 -12
- bl_ui/properties_physics_cloth/__init__.pyi +6 -6
- bl_ui/properties_physics_fluid/__init__.pyi +6 -6
- bl_ui/properties_render/__init__.pyi +6 -6
- bl_ui/properties_texture/__init__.pyi +6 -6
- bl_ui/properties_view_layer/__init__.pyi +6 -6
- bl_ui/space_clip/__init__.pyi +186 -186
- bl_ui/space_console/__init__.pyi +30 -30
- bl_ui/space_dopesheet/__init__.pyi +84 -84
- bl_ui/space_filebrowser/__init__.pyi +78 -78
- bl_ui/space_graph/__init__.pyi +96 -96
- bl_ui/space_image/__init__.pyi +138 -138
- bl_ui/space_info/__init__.pyi +30 -30
- bl_ui/space_nla/__init__.pyi +78 -78
- bl_ui/space_node/__init__.pyi +72 -72
- bl_ui/space_outliner/__init__.pyi +72 -72
- bl_ui/space_sequencer/__init__.pyi +204 -204
- bl_ui/space_text/__init__.pyi +72 -72
- bl_ui/space_time/__init__.pyi +24 -24
- bl_ui/space_toolsystem_toolbar/__init__.pyi +4 -0
- bl_ui/space_topbar/__init__.pyi +114 -114
- bl_ui/space_userpref/__init__.pyi +36 -36
- bl_ui/space_view3d/__init__.pyi +1446 -1176
- bl_ui/space_view3d_toolbar/__init__.pyi +30 -30
- bl_ui/utils/__init__.pyi +6 -6
- bmesh/geometry/__init__.pyi +2 -2
- bmesh/ops/__init__.pyi +55 -54
- bmesh/types/__init__.pyi +171 -194
- bmesh/utils/__init__.pyi +2 -2
- bpy/app/handlers/__init__.pyi +37 -37
- bpy/app/icons/__init__.pyi +4 -4
- bpy/app/timers/__init__.pyi +6 -6
- bpy/ops/bl_pkg/__init__.pyi +4 -4
- bpy/ops/image/__init__.pyi +55 -55
- bpy/ops/node/__init__.pyi +18 -0
- bpy/ops/paint/__init__.pyi +66 -0
- bpy/ops/preferences/__init__.pyi +2 -2
- bpy/ops/sculpt/__init__.pyi +126 -0
- bpy/props/__init__.pyi +16 -14
- bpy/types/__init__.pyi +269 -54
- bpy/utils/__init__.pyi +2 -2
- bpy_extras/anim_utils/__init__.pyi +4 -4
- bpy_extras/io_utils/__init__.pyi +4 -4
- bpy_extras/mesh_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +8 -8
- bpy_types/__init__.pyi +12 -12
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240530.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240530.dist-info}/RECORD +92 -89
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +64 -56
- gpu/matrix/__init__.pyi +6 -6
- gpu/types/__init__.pyi +10 -8
- imbuf/__init__.pyi +2 -2
- mathutils/__init__.pyi +176 -137
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +139 -139
- mathutils/kdtree/__init__.pyi +14 -10
- mathutils/noise/__init__.pyi +26 -26
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240530.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240530.dist-info}/top_level.txt +0 -0
|
@@ -20,16 +20,16 @@ def complete(line: str, cursor: int, namespace: dict) -> str:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
def get_argspec(
|
|
23
|
-
func, strip_self: bool = True, doc: str = None, source: str = None
|
|
23
|
+
func, strip_self: bool = True, doc: str | None = None, source: str | None = None
|
|
24
24
|
) -> str:
|
|
25
25
|
"""Get argument specifications.
|
|
26
26
|
|
|
27
27
|
:param strip_self: strip self from argspec
|
|
28
28
|
:type strip_self: bool
|
|
29
29
|
:param doc: doc string of func (optional)
|
|
30
|
-
:type doc: str
|
|
30
|
+
:type doc: str | None
|
|
31
31
|
:param source: source code of func (optional)
|
|
32
|
-
:type source: str
|
|
32
|
+
:type source: str | None
|
|
33
33
|
:return: argument specification
|
|
34
34
|
:rtype: str
|
|
35
35
|
"""
|
bl_operators/__init__.pyi
CHANGED
|
@@ -5,6 +5,7 @@ from . import anim
|
|
|
5
5
|
from . import assets
|
|
6
6
|
from . import bmesh
|
|
7
7
|
from . import clip
|
|
8
|
+
from . import connect_to_output
|
|
8
9
|
from . import console
|
|
9
10
|
from . import constraint
|
|
10
11
|
from . import file
|
|
@@ -14,6 +15,7 @@ from . import image
|
|
|
14
15
|
from . import image_as_planes
|
|
15
16
|
from . import mesh
|
|
16
17
|
from . import node
|
|
18
|
+
from . import node_editor
|
|
17
19
|
from . import object
|
|
18
20
|
from . import object_align
|
|
19
21
|
from . import object_quick_effects
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import typing
|
|
2
|
+
import collections.abc
|
|
3
|
+
import bl_operators.node_editor.node_functions
|
|
4
|
+
import bpy.types
|
|
5
|
+
import bpy_types
|
|
6
|
+
|
|
7
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
|
+
|
|
10
|
+
class NODE_OT_connect_to_output(
|
|
11
|
+
bpy_types.Operator, bl_operators.node_editor.node_functions.NodeEditorBase
|
|
12
|
+
):
|
|
13
|
+
bl_description: typing.Any
|
|
14
|
+
bl_idname: typing.Any
|
|
15
|
+
bl_label: typing.Any
|
|
16
|
+
bl_options: typing.Any
|
|
17
|
+
bl_rna: typing.Any
|
|
18
|
+
id_data: typing.Any
|
|
19
|
+
|
|
20
|
+
def as_keywords(self, ignore=()):
|
|
21
|
+
"""Return a copy of the properties as a dictionary
|
|
22
|
+
|
|
23
|
+
:param ignore:
|
|
24
|
+
"""
|
|
25
|
+
...
|
|
26
|
+
|
|
27
|
+
def as_pointer(self) -> int:
|
|
28
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
29
|
+
|
|
30
|
+
:return: int (memory address).
|
|
31
|
+
:rtype: int
|
|
32
|
+
"""
|
|
33
|
+
...
|
|
34
|
+
|
|
35
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
:return: The RNA type or default when not found.
|
|
39
|
+
:rtype: bpy.types.Struct
|
|
40
|
+
"""
|
|
41
|
+
...
|
|
42
|
+
|
|
43
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
:return: The class or default when not found.
|
|
47
|
+
:rtype: typing.Any
|
|
48
|
+
"""
|
|
49
|
+
...
|
|
50
|
+
|
|
51
|
+
def cleanup(self): ...
|
|
52
|
+
def create_links(self, path, node, active_node_socket_id, socket_type):
|
|
53
|
+
"""Create links at each step in the node group path.
|
|
54
|
+
|
|
55
|
+
:param path:
|
|
56
|
+
:param node:
|
|
57
|
+
:param active_node_socket_id:
|
|
58
|
+
:param socket_type:
|
|
59
|
+
"""
|
|
60
|
+
...
|
|
61
|
+
|
|
62
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
63
|
+
"""Adds driver(s) to the given property
|
|
64
|
+
|
|
65
|
+
:return: The driver(s) added.
|
|
66
|
+
:rtype: bpy.types.FCurve
|
|
67
|
+
"""
|
|
68
|
+
...
|
|
69
|
+
|
|
70
|
+
def driver_remove(self) -> bool:
|
|
71
|
+
"""Remove driver(s) from the given property
|
|
72
|
+
|
|
73
|
+
:return: Success of driver removal.
|
|
74
|
+
:rtype: bool
|
|
75
|
+
"""
|
|
76
|
+
...
|
|
77
|
+
|
|
78
|
+
def ensure_group_output(self, node_tree):
|
|
79
|
+
"""Check if a group output node exists, otherwise create it
|
|
80
|
+
|
|
81
|
+
:param node_tree:
|
|
82
|
+
"""
|
|
83
|
+
...
|
|
84
|
+
|
|
85
|
+
def ensure_viewer_socket(self, node_tree, socket_type, connect_socket=None):
|
|
86
|
+
"""Check if a viewer output already exists in a node group, otherwise create it
|
|
87
|
+
|
|
88
|
+
:param node_tree:
|
|
89
|
+
:param socket_type:
|
|
90
|
+
:param connect_socket:
|
|
91
|
+
"""
|
|
92
|
+
...
|
|
93
|
+
|
|
94
|
+
def get(self):
|
|
95
|
+
"""Returns the value of the custom property assigned to key or default
|
|
96
|
+
when not found (matches Python's dictionary function of the same name).
|
|
97
|
+
|
|
98
|
+
"""
|
|
99
|
+
...
|
|
100
|
+
|
|
101
|
+
def get_output_index(
|
|
102
|
+
self, node, output_node, is_base_node_tree, socket_type, check_type=False
|
|
103
|
+
):
|
|
104
|
+
"""Get the next available output socket in the active node
|
|
105
|
+
|
|
106
|
+
:param node:
|
|
107
|
+
:param output_node:
|
|
108
|
+
:param is_base_node_tree:
|
|
109
|
+
:param socket_type:
|
|
110
|
+
:param check_type:
|
|
111
|
+
"""
|
|
112
|
+
...
|
|
113
|
+
|
|
114
|
+
def get_output_sockets(self, node_tree):
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
:param node_tree:
|
|
118
|
+
"""
|
|
119
|
+
...
|
|
120
|
+
|
|
121
|
+
def has_socket_other_users(self, socket):
|
|
122
|
+
"""List the other users for this socket (other materials or geometry nodes groups)
|
|
123
|
+
|
|
124
|
+
:param socket:
|
|
125
|
+
"""
|
|
126
|
+
...
|
|
127
|
+
|
|
128
|
+
def id_properties_clear(self):
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
132
|
+
"""
|
|
133
|
+
...
|
|
134
|
+
|
|
135
|
+
def id_properties_ensure(self):
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
139
|
+
"""
|
|
140
|
+
...
|
|
141
|
+
|
|
142
|
+
def id_properties_ui(self):
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
146
|
+
"""
|
|
147
|
+
...
|
|
148
|
+
|
|
149
|
+
def init_shader_variables(self, space, shader_type):
|
|
150
|
+
"""Get correct output node in shader editor
|
|
151
|
+
|
|
152
|
+
:param space:
|
|
153
|
+
:param shader_type:
|
|
154
|
+
"""
|
|
155
|
+
...
|
|
156
|
+
|
|
157
|
+
def invoke(self, context, event):
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
:param context:
|
|
161
|
+
:param event:
|
|
162
|
+
"""
|
|
163
|
+
...
|
|
164
|
+
|
|
165
|
+
def is_property_hidden(self) -> bool:
|
|
166
|
+
"""Check if a property is hidden.
|
|
167
|
+
|
|
168
|
+
:return: True when the property is hidden.
|
|
169
|
+
:rtype: bool
|
|
170
|
+
"""
|
|
171
|
+
...
|
|
172
|
+
|
|
173
|
+
def is_property_overridable_library(self) -> bool:
|
|
174
|
+
"""Check if a property is overridable.
|
|
175
|
+
|
|
176
|
+
:return: True when the property is overridable.
|
|
177
|
+
:rtype: bool
|
|
178
|
+
"""
|
|
179
|
+
...
|
|
180
|
+
|
|
181
|
+
def is_property_readonly(self) -> bool:
|
|
182
|
+
"""Check if a property is readonly.
|
|
183
|
+
|
|
184
|
+
:return: True when the property is readonly (not writable).
|
|
185
|
+
:rtype: bool
|
|
186
|
+
"""
|
|
187
|
+
...
|
|
188
|
+
|
|
189
|
+
def is_property_set(self) -> bool:
|
|
190
|
+
"""Check if a property is set, use for testing operator properties.
|
|
191
|
+
|
|
192
|
+
:return: True when the property has been set.
|
|
193
|
+
:rtype: bool
|
|
194
|
+
"""
|
|
195
|
+
...
|
|
196
|
+
|
|
197
|
+
def is_socket_used_active_tree(self, socket):
|
|
198
|
+
"""Ensure used sockets in active node tree is calculated and check given socket
|
|
199
|
+
|
|
200
|
+
:param socket:
|
|
201
|
+
"""
|
|
202
|
+
...
|
|
203
|
+
|
|
204
|
+
def items(self):
|
|
205
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
206
|
+
dictionary function of the same name).
|
|
207
|
+
|
|
208
|
+
:return: custom property key, value pairs.
|
|
209
|
+
"""
|
|
210
|
+
...
|
|
211
|
+
|
|
212
|
+
def keyframe_delete(self) -> bool:
|
|
213
|
+
"""Remove a keyframe from this properties fcurve.
|
|
214
|
+
|
|
215
|
+
:return: Success of keyframe deletion.
|
|
216
|
+
:rtype: bool
|
|
217
|
+
"""
|
|
218
|
+
...
|
|
219
|
+
|
|
220
|
+
def keyframe_insert(self) -> bool:
|
|
221
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
222
|
+
|
|
223
|
+
:return: Success of keyframe insertion.
|
|
224
|
+
:rtype: bool
|
|
225
|
+
"""
|
|
226
|
+
...
|
|
227
|
+
|
|
228
|
+
def keys(self):
|
|
229
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
230
|
+
dictionary function of the same name).
|
|
231
|
+
|
|
232
|
+
:return: custom property keys.
|
|
233
|
+
"""
|
|
234
|
+
...
|
|
235
|
+
|
|
236
|
+
def link_leads_to_used_socket(self, link):
|
|
237
|
+
"""Return True if link leads to a socket that is already used in this node
|
|
238
|
+
|
|
239
|
+
:param link:
|
|
240
|
+
"""
|
|
241
|
+
...
|
|
242
|
+
|
|
243
|
+
def path_from_id(self) -> str:
|
|
244
|
+
"""Returns the data path from the ID to this object (string).
|
|
245
|
+
|
|
246
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
247
|
+
to this struct and property (when given).
|
|
248
|
+
:rtype: str
|
|
249
|
+
"""
|
|
250
|
+
...
|
|
251
|
+
|
|
252
|
+
def path_resolve(self):
|
|
253
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
254
|
+
...
|
|
255
|
+
|
|
256
|
+
def poll(self, context):
|
|
257
|
+
"""Already implemented natively for compositing nodes.
|
|
258
|
+
|
|
259
|
+
:param context:
|
|
260
|
+
"""
|
|
261
|
+
...
|
|
262
|
+
|
|
263
|
+
def poll_message_set(self):
|
|
264
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
265
|
+
...
|
|
266
|
+
|
|
267
|
+
def pop(self):
|
|
268
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
269
|
+
when not found (matches Python's dictionary function of the same name).
|
|
270
|
+
|
|
271
|
+
"""
|
|
272
|
+
...
|
|
273
|
+
|
|
274
|
+
def property_overridable_library_set(self) -> bool:
|
|
275
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
276
|
+
|
|
277
|
+
:return: True when the overridable status of the property was successfully set.
|
|
278
|
+
:rtype: bool
|
|
279
|
+
"""
|
|
280
|
+
...
|
|
281
|
+
|
|
282
|
+
def property_unset(self):
|
|
283
|
+
"""Unset a property, will use default value afterward."""
|
|
284
|
+
...
|
|
285
|
+
|
|
286
|
+
def remove_socket(self, tree, socket):
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
:param tree:
|
|
290
|
+
:param socket:
|
|
291
|
+
"""
|
|
292
|
+
...
|
|
293
|
+
|
|
294
|
+
def scan_nodes(self, tree, sockets):
|
|
295
|
+
"""Recursively get all viewer sockets in a material tree
|
|
296
|
+
|
|
297
|
+
:param tree:
|
|
298
|
+
:param sockets:
|
|
299
|
+
"""
|
|
300
|
+
...
|
|
301
|
+
|
|
302
|
+
def search_sockets(self, node, r_sockets, index=None):
|
|
303
|
+
"""Recursively scan nodes for viewer sockets and store them in a list
|
|
304
|
+
|
|
305
|
+
:param node:
|
|
306
|
+
:param r_sockets:
|
|
307
|
+
:param index:
|
|
308
|
+
"""
|
|
309
|
+
...
|
|
310
|
+
|
|
311
|
+
def type_recast(self):
|
|
312
|
+
"""Return a new instance, this is needed because types
|
|
313
|
+
such as textures can be changed at runtime.
|
|
314
|
+
|
|
315
|
+
:return: a new instance of this object with the type initialized again.
|
|
316
|
+
"""
|
|
317
|
+
...
|
|
318
|
+
|
|
319
|
+
def values(self):
|
|
320
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
321
|
+
dictionary function of the same name).
|
|
322
|
+
|
|
323
|
+
:return: custom property values.
|
|
324
|
+
"""
|
|
325
|
+
...
|
|
@@ -148,10 +148,9 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
148
148
|
...
|
|
149
149
|
|
|
150
150
|
def draw_material_config(self, context):
|
|
151
|
-
"""
|
|
152
|
-
box.prop(self, "compositing_nodes")
|
|
151
|
+
"""
|
|
153
152
|
|
|
154
|
-
|
|
153
|
+
:param context:
|
|
155
154
|
"""
|
|
156
155
|
...
|
|
157
156
|
|
|
@@ -162,6 +161,13 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
162
161
|
"""
|
|
163
162
|
...
|
|
164
163
|
|
|
164
|
+
def draw_texture_config(self, context):
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
:param context:
|
|
168
|
+
"""
|
|
169
|
+
...
|
|
170
|
+
|
|
165
171
|
def driver_add(self) -> bpy.types.FCurve:
|
|
166
172
|
"""Adds driver(s) to the given property
|
|
167
173
|
|
|
@@ -433,14 +439,14 @@ def get_input_nodes(node, links):
|
|
|
433
439
|
...
|
|
434
440
|
|
|
435
441
|
def get_shadeless_node(dest_node_tree):
|
|
436
|
-
"""Return a "
|
|
442
|
+
"""Return a "shadeless" cycles/EEVEE node, creating a node group if nonexistent"""
|
|
437
443
|
|
|
438
444
|
...
|
|
439
445
|
|
|
440
446
|
def load_images(
|
|
441
447
|
filenames, directory, force_reload=False, frame_start=1, find_sequences=False
|
|
442
448
|
):
|
|
443
|
-
"""Wrapper for
|
|
449
|
+
"""Wrapper for bpy_extras.image_utils.load_image.Loads a set of images, movies, or even image sequences
|
|
444
450
|
Returns a generator of ImageSpec wrapper objects later used for texture setup
|
|
445
451
|
|
|
446
452
|
"""
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import typing
|
|
2
|
+
import collections.abc
|
|
3
|
+
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
|
+
|
|
7
|
+
class NodeEditorBase:
|
|
8
|
+
def poll(self, context):
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
:param context:
|
|
12
|
+
"""
|
|
13
|
+
...
|
|
14
|
+
|
|
15
|
+
def force_update(context): ...
|
|
16
|
+
def get_group_output_node(tree, output_node_idname="NodeGroupOutput"): ...
|
|
17
|
+
def get_internal_socket(socket): ...
|
|
18
|
+
def get_output_location(tree): ...
|
|
19
|
+
def is_viewer_link(link, output_node): ...
|
|
20
|
+
def is_viewer_socket(socket): ...
|
|
21
|
+
def is_visible_socket(socket): ...
|
|
22
|
+
def node_editor_poll(cls, context): ...
|
|
23
|
+
def node_space_type_poll(cls, context, types): ...
|
|
@@ -434,10 +434,10 @@ class WM_MT_operator_presets(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
434
434
|
searchpaths: list[str],
|
|
435
435
|
operator: str,
|
|
436
436
|
props_default: dict = None,
|
|
437
|
-
prop_filepath: str = "filepath",
|
|
438
|
-
filter_ext:
|
|
437
|
+
prop_filepath: str | None = "filepath",
|
|
438
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
439
439
|
filter_path=None,
|
|
440
|
-
display_name:
|
|
440
|
+
display_name: collections.abc.Callable | None = None,
|
|
441
441
|
add_operator=None,
|
|
442
442
|
add_operator_props=None,
|
|
443
443
|
):
|
|
@@ -450,14 +450,14 @@ class WM_MT_operator_presets(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
450
450
|
:param props_default: Properties to assign to each operator.
|
|
451
451
|
:type props_default: dict
|
|
452
452
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
453
|
-
:type prop_filepath: str
|
|
453
|
+
:type prop_filepath: str | None
|
|
454
454
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
455
455
|
|
|
456
456
|
Returning false excludes the file from the list.
|
|
457
|
-
:type filter_ext:
|
|
457
|
+
:type filter_ext: collections.abc.Callable | None
|
|
458
458
|
:param filter_path:
|
|
459
459
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
460
|
-
:type display_name:
|
|
460
|
+
:type display_name: collections.abc.Callable | None
|
|
461
461
|
:param add_operator:
|
|
462
462
|
:param add_operator_props:
|
|
463
463
|
"""
|
|
@@ -913,10 +913,10 @@ class WM_PT_operator_presets(
|
|
|
913
913
|
searchpaths: list[str],
|
|
914
914
|
operator: str,
|
|
915
915
|
props_default: dict = None,
|
|
916
|
-
prop_filepath: str = "filepath",
|
|
917
|
-
filter_ext:
|
|
916
|
+
prop_filepath: str | None = "filepath",
|
|
917
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
918
918
|
filter_path=None,
|
|
919
|
-
display_name:
|
|
919
|
+
display_name: collections.abc.Callable | None = None,
|
|
920
920
|
add_operator=None,
|
|
921
921
|
add_operator_props=None,
|
|
922
922
|
):
|
|
@@ -929,14 +929,14 @@ class WM_PT_operator_presets(
|
|
|
929
929
|
:param props_default: Properties to assign to each operator.
|
|
930
930
|
:type props_default: dict
|
|
931
931
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
932
|
-
:type prop_filepath: str
|
|
932
|
+
:type prop_filepath: str | None
|
|
933
933
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
934
934
|
|
|
935
935
|
Returning false excludes the file from the list.
|
|
936
|
-
:type filter_ext:
|
|
936
|
+
:type filter_ext: collections.abc.Callable | None
|
|
937
937
|
:param filter_path:
|
|
938
938
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
939
|
-
:type display_name:
|
|
939
|
+
:type display_name: collections.abc.Callable | None
|
|
940
940
|
:param add_operator:
|
|
941
941
|
:param add_operator_props:
|
|
942
942
|
"""
|
bl_operators/wm/__init__.pyi
CHANGED
|
@@ -377,10 +377,10 @@ class WM_MT_region_toggle_pie(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
377
377
|
searchpaths: list[str],
|
|
378
378
|
operator: str,
|
|
379
379
|
props_default: dict = None,
|
|
380
|
-
prop_filepath: str = "filepath",
|
|
381
|
-
filter_ext:
|
|
380
|
+
prop_filepath: str | None = "filepath",
|
|
381
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
382
382
|
filter_path=None,
|
|
383
|
-
display_name:
|
|
383
|
+
display_name: collections.abc.Callable | None = None,
|
|
384
384
|
add_operator=None,
|
|
385
385
|
add_operator_props=None,
|
|
386
386
|
):
|
|
@@ -393,14 +393,14 @@ class WM_MT_region_toggle_pie(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
393
393
|
:param props_default: Properties to assign to each operator.
|
|
394
394
|
:type props_default: dict
|
|
395
395
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
396
|
-
:type prop_filepath: str
|
|
396
|
+
:type prop_filepath: str | None
|
|
397
397
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
398
398
|
|
|
399
399
|
Returning false excludes the file from the list.
|
|
400
|
-
:type filter_ext:
|
|
400
|
+
:type filter_ext: collections.abc.Callable | None
|
|
401
401
|
:param filter_path:
|
|
402
402
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
403
|
-
:type display_name:
|
|
403
|
+
:type display_name: collections.abc.Callable | None
|
|
404
404
|
:param add_operator:
|
|
405
405
|
:param add_operator_props:
|
|
406
406
|
"""
|
|
@@ -654,10 +654,10 @@ class WM_MT_splash(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
654
654
|
searchpaths: list[str],
|
|
655
655
|
operator: str,
|
|
656
656
|
props_default: dict = None,
|
|
657
|
-
prop_filepath: str = "filepath",
|
|
658
|
-
filter_ext:
|
|
657
|
+
prop_filepath: str | None = "filepath",
|
|
658
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
659
659
|
filter_path=None,
|
|
660
|
-
display_name:
|
|
660
|
+
display_name: collections.abc.Callable | None = None,
|
|
661
661
|
add_operator=None,
|
|
662
662
|
add_operator_props=None,
|
|
663
663
|
):
|
|
@@ -670,14 +670,14 @@ class WM_MT_splash(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
670
670
|
:param props_default: Properties to assign to each operator.
|
|
671
671
|
:type props_default: dict
|
|
672
672
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
673
|
-
:type prop_filepath: str
|
|
673
|
+
:type prop_filepath: str | None
|
|
674
674
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
675
675
|
|
|
676
676
|
Returning false excludes the file from the list.
|
|
677
|
-
:type filter_ext:
|
|
677
|
+
:type filter_ext: collections.abc.Callable | None
|
|
678
678
|
:param filter_path:
|
|
679
679
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
680
|
-
:type display_name:
|
|
680
|
+
:type display_name: collections.abc.Callable | None
|
|
681
681
|
:param add_operator:
|
|
682
682
|
:param add_operator_props:
|
|
683
683
|
"""
|
|
@@ -924,10 +924,10 @@ class WM_MT_splash_about(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
924
924
|
searchpaths: list[str],
|
|
925
925
|
operator: str,
|
|
926
926
|
props_default: dict = None,
|
|
927
|
-
prop_filepath: str = "filepath",
|
|
928
|
-
filter_ext:
|
|
927
|
+
prop_filepath: str | None = "filepath",
|
|
928
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
929
929
|
filter_path=None,
|
|
930
|
-
display_name:
|
|
930
|
+
display_name: collections.abc.Callable | None = None,
|
|
931
931
|
add_operator=None,
|
|
932
932
|
add_operator_props=None,
|
|
933
933
|
):
|
|
@@ -940,14 +940,14 @@ class WM_MT_splash_about(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
940
940
|
:param props_default: Properties to assign to each operator.
|
|
941
941
|
:type props_default: dict
|
|
942
942
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
943
|
-
:type prop_filepath: str
|
|
943
|
+
:type prop_filepath: str | None
|
|
944
944
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
945
945
|
|
|
946
946
|
Returning false excludes the file from the list.
|
|
947
|
-
:type filter_ext:
|
|
947
|
+
:type filter_ext: collections.abc.Callable | None
|
|
948
948
|
:param filter_path:
|
|
949
949
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
950
|
-
:type display_name:
|
|
950
|
+
:type display_name: collections.abc.Callable | None
|
|
951
951
|
:param add_operator:
|
|
952
952
|
:param add_operator_props:
|
|
953
953
|
"""
|
|
@@ -1194,10 +1194,10 @@ class WM_MT_splash_quick_setup(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
1194
1194
|
searchpaths: list[str],
|
|
1195
1195
|
operator: str,
|
|
1196
1196
|
props_default: dict = None,
|
|
1197
|
-
prop_filepath: str = "filepath",
|
|
1198
|
-
filter_ext:
|
|
1197
|
+
prop_filepath: str | None = "filepath",
|
|
1198
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
1199
1199
|
filter_path=None,
|
|
1200
|
-
display_name:
|
|
1200
|
+
display_name: collections.abc.Callable | None = None,
|
|
1201
1201
|
add_operator=None,
|
|
1202
1202
|
add_operator_props=None,
|
|
1203
1203
|
):
|
|
@@ -1210,14 +1210,14 @@ class WM_MT_splash_quick_setup(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
1210
1210
|
:param props_default: Properties to assign to each operator.
|
|
1211
1211
|
:type props_default: dict
|
|
1212
1212
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
1213
|
-
:type prop_filepath: str
|
|
1213
|
+
:type prop_filepath: str | None
|
|
1214
1214
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
1215
1215
|
|
|
1216
1216
|
Returning false excludes the file from the list.
|
|
1217
|
-
:type filter_ext:
|
|
1217
|
+
:type filter_ext: collections.abc.Callable | None
|
|
1218
1218
|
:param filter_path:
|
|
1219
1219
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
1220
|
-
:type display_name:
|
|
1220
|
+
:type display_name: collections.abc.Callable | None
|
|
1221
1221
|
:param add_operator:
|
|
1222
1222
|
:param add_operator_props:
|
|
1223
1223
|
"""
|