fake-bpy-module 20240524__py3-none-any.whl → 20240529__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.

Files changed (167) hide show
  1. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -3
  2. bl_operators/__init__.pyi +3 -0
  3. bl_operators/connect_to_output/__init__.pyi +325 -0
  4. bl_operators/image_as_planes/__init__.pyi +463 -0
  5. bl_operators/node_editor/__init__.pyi +6 -0
  6. bl_operators/node_editor/node_functions/__init__.pyi +23 -0
  7. bl_operators/presets/__init__.pyi +12 -12
  8. bl_operators/userpref/__init__.pyi +0 -214
  9. bl_operators/wm/__init__.pyi +24 -24
  10. bl_ui/__init__.pyi +12 -12
  11. bl_ui/anim/__init__.pyi +6 -6
  12. bl_ui/generic_ui_list/__init__.pyi +2 -2
  13. bl_ui/node_add_menu/__init__.pyi +6 -6
  14. bl_ui/node_add_menu_compositor/__init__.pyi +108 -108
  15. bl_ui/node_add_menu_geometry/__init__.pyi +288 -288
  16. bl_ui/node_add_menu_shader/__init__.pyi +60 -60
  17. bl_ui/node_add_menu_texture/__init__.pyi +54 -54
  18. bl_ui/properties_collection/__init__.pyi +6 -6
  19. bl_ui/properties_data_armature/__init__.pyi +12 -12
  20. bl_ui/properties_data_camera/__init__.pyi +12 -12
  21. bl_ui/properties_data_curves/__init__.pyi +6 -6
  22. bl_ui/properties_data_gpencil/__init__.pyi +12 -12
  23. bl_ui/properties_data_grease_pencil/__init__.pyi +18 -18
  24. bl_ui/properties_data_mesh/__init__.pyi +24 -24
  25. bl_ui/properties_data_modifier/__init__.pyi +42 -42
  26. bl_ui/properties_data_pointcloud/__init__.pyi +6 -6
  27. bl_ui/properties_freestyle/__init__.pyi +6 -6
  28. bl_ui/properties_grease_pencil_common/__init__.pyi +72 -72
  29. bl_ui/properties_mask_common/__init__.pyi +36 -36
  30. bl_ui/properties_material/__init__.pyi +6 -6
  31. bl_ui/properties_material_gpencil/__init__.pyi +12 -12
  32. bl_ui/properties_object/__init__.pyi +6 -6
  33. bl_ui/properties_output/__init__.pyi +18 -18
  34. bl_ui/properties_paint_common/__init__.pyi +6 -6
  35. bl_ui/properties_particle/__init__.pyi +12 -12
  36. bl_ui/properties_physics_cloth/__init__.pyi +6 -6
  37. bl_ui/properties_physics_fluid/__init__.pyi +6 -6
  38. bl_ui/properties_render/__init__.pyi +7 -7
  39. bl_ui/properties_texture/__init__.pyi +6 -6
  40. bl_ui/properties_view_layer/__init__.pyi +6 -6
  41. bl_ui/space_clip/__init__.pyi +186 -186
  42. bl_ui/space_console/__init__.pyi +30 -30
  43. bl_ui/space_dopesheet/__init__.pyi +84 -84
  44. bl_ui/space_filebrowser/__init__.pyi +78 -78
  45. bl_ui/space_graph/__init__.pyi +96 -96
  46. bl_ui/space_image/__init__.pyi +138 -138
  47. bl_ui/space_info/__init__.pyi +30 -30
  48. bl_ui/space_nla/__init__.pyi +78 -78
  49. bl_ui/space_node/__init__.pyi +72 -72
  50. bl_ui/space_outliner/__init__.pyi +72 -72
  51. bl_ui/space_sequencer/__init__.pyi +204 -204
  52. bl_ui/space_text/__init__.pyi +72 -72
  53. bl_ui/space_time/__init__.pyi +24 -24
  54. bl_ui/space_toolsystem_toolbar/__init__.pyi +4 -0
  55. bl_ui/space_topbar/__init__.pyi +114 -114
  56. bl_ui/space_userpref/__init__.pyi +36 -36
  57. bl_ui/space_view3d/__init__.pyi +1446 -1176
  58. bl_ui/space_view3d_toolbar/__init__.pyi +30 -30
  59. bl_ui/utils/__init__.pyi +6 -6
  60. bmesh/geometry/__init__.pyi +2 -2
  61. bmesh/ops/__init__.pyi +55 -54
  62. bmesh/types/__init__.pyi +43 -33
  63. bmesh/utils/__init__.pyi +2 -2
  64. bpy/app/__init__.pyi +5 -1
  65. bpy/app/handlers/__init__.pyi +37 -37
  66. bpy/app/icons/__init__.pyi +4 -4
  67. bpy/app/timers/__init__.pyi +6 -6
  68. bpy/ops/action/__init__.pyi +21 -0
  69. bpy/ops/anim/__init__.pyi +34 -0
  70. bpy/ops/armature/__init__.pyi +31 -0
  71. bpy/ops/asset/__init__.pyi +5 -0
  72. bpy/ops/bl_pkg/__init__.pyi +32 -21
  73. bpy/ops/boid/__init__.pyi +1 -0
  74. bpy/ops/brush/__init__.pyi +6 -0
  75. bpy/ops/buttons/__init__.pyi +2 -0
  76. bpy/ops/cachefile/__init__.pyi +3 -0
  77. bpy/ops/camera/__init__.pyi +2 -0
  78. bpy/ops/clip/__init__.pyi +49 -0
  79. bpy/ops/cloth/__init__.pyi +1 -0
  80. bpy/ops/collection/__init__.pyi +7 -0
  81. bpy/ops/console/__init__.pyi +11 -0
  82. bpy/ops/constraint/__init__.pyi +15 -0
  83. bpy/ops/curve/__init__.pyi +28 -0
  84. bpy/ops/curves/__init__.pyi +14 -0
  85. bpy/ops/cycles/__init__.pyi +2 -0
  86. bpy/ops/dpaint/__init__.pyi +2 -0
  87. bpy/ops/ed/__init__.pyi +3 -0
  88. bpy/ops/export_anim/__init__.pyi +1 -0
  89. bpy/ops/export_scene/__init__.pyi +20 -3
  90. bpy/ops/file/__init__.pyi +14 -0
  91. bpy/ops/fluid/__init__.pyi +1 -0
  92. bpy/ops/font/__init__.pyi +13 -0
  93. bpy/ops/geometry/__init__.pyi +7 -0
  94. bpy/ops/gizmogroup/__init__.pyi +1 -0
  95. bpy/ops/gpencil/__init__.pyi +106 -0
  96. bpy/ops/graph/__init__.pyi +47 -0
  97. bpy/ops/grease_pencil/__init__.pyi +52 -0
  98. bpy/ops/image/__init__.pyi +308 -0
  99. bpy/ops/import_anim/__init__.pyi +1 -0
  100. bpy/ops/import_curve/__init__.pyi +1 -0
  101. bpy/ops/import_scene/__init__.pyi +2 -0
  102. bpy/ops/info/__init__.pyi +3 -0
  103. bpy/ops/lattice/__init__.pyi +5 -0
  104. bpy/ops/marker/__init__.pyi +9 -0
  105. bpy/ops/mask/__init__.pyi +22 -0
  106. bpy/ops/mball/__init__.pyi +7 -0
  107. bpy/ops/mesh/__init__.pyi +134 -0
  108. bpy/ops/nla/__init__.pyi +20 -0
  109. bpy/ops/node/__init__.pyi +65 -0
  110. bpy/ops/object/__init__.pyi +174 -0
  111. bpy/ops/outliner/__init__.pyi +25 -0
  112. bpy/ops/paint/__init__.pyi +105 -0
  113. bpy/ops/paintcurve/__init__.pyi +4 -0
  114. bpy/ops/palette/__init__.pyi +4 -0
  115. bpy/ops/particle/__init__.pyi +17 -0
  116. bpy/ops/pose/__init__.pyi +24 -0
  117. bpy/ops/poselib/__init__.pyi +4 -0
  118. bpy/ops/preferences/__init__.pyi +28 -16
  119. bpy/ops/ptcache/__init__.pyi +2 -0
  120. bpy/ops/render/__init__.pyi +9 -0
  121. bpy/ops/rigidbody/__init__.pyi +7 -0
  122. bpy/ops/scene/__init__.pyi +16 -0
  123. bpy/ops/screen/__init__.pyi +21 -0
  124. bpy/ops/script/__init__.pyi +2 -0
  125. bpy/ops/sculpt/__init__.pyi +151 -0
  126. bpy/ops/sculpt_curves/__init__.pyi +3 -0
  127. bpy/ops/sequencer/__init__.pyi +57 -0
  128. bpy/ops/sound/__init__.pyi +4 -0
  129. bpy/ops/spreadsheet/__init__.pyi +2 -0
  130. bpy/ops/surface/__init__.pyi +6 -0
  131. bpy/ops/text/__init__.pyi +18 -0
  132. bpy/ops/text_editor/__init__.pyi +1 -0
  133. bpy/ops/texture/__init__.pyi +1 -0
  134. bpy/ops/transform/__init__.pyi +25 -0
  135. bpy/ops/ui/__init__.pyi +13 -0
  136. bpy/ops/uilist/__init__.pyi +3 -0
  137. bpy/ops/uv/__init__.pyi +40 -0
  138. bpy/ops/view2d/__init__.pyi +11 -0
  139. bpy/ops/view3d/__init__.pyi +30 -0
  140. bpy/ops/wm/__init__.pyi +114 -0
  141. bpy/ops/workspace/__init__.pyi +1 -0
  142. bpy/path/__init__.pyi +6 -6
  143. bpy/props/__init__.pyi +27 -15
  144. bpy/types/__init__.pyi +662 -388
  145. bpy/utils/__init__.pyi +12 -10
  146. bpy_extras/anim_utils/__init__.pyi +7 -7
  147. bpy_extras/io_utils/__init__.pyi +4 -4
  148. bpy_extras/mesh_utils/__init__.pyi +4 -4
  149. bpy_extras/object_utils/__init__.pyi +8 -8
  150. bpy_extras/view3d_utils/__init__.pyi +2 -0
  151. bpy_types/__init__.pyi +12 -12
  152. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/METADATA +1 -1
  153. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/RECORD +167 -163
  154. freestyle/shaders/__init__.pyi +2 -2
  155. freestyle/types/__init__.pyi +64 -56
  156. gpu/matrix/__init__.pyi +6 -6
  157. gpu/types/__init__.pyi +14 -10
  158. gpu_extras/batch/__init__.pyi +1 -1
  159. gpu_extras/presets/__init__.pyi +1 -1
  160. imbuf/__init__.pyi +2 -2
  161. mathutils/__init__.pyi +176 -137
  162. mathutils/bvhtree/__init__.pyi +4 -4
  163. mathutils/geometry/__init__.pyi +139 -139
  164. mathutils/kdtree/__init__.pyi +14 -10
  165. mathutils/noise/__init__.pyi +26 -26
  166. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/WHEEL +0 -0
  167. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.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,14 +5,17 @@ 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
11
12
  from . import freestyle
12
13
  from . import geometry_nodes
13
14
  from . import image
15
+ from . import image_as_planes
14
16
  from . import mesh
15
17
  from . import node
18
+ from . import node_editor
16
19
  from . import object
17
20
  from . import object_align
18
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
+ ...