fake-bpy-module 20240705__py3-none-any.whl → 20240707__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 (317) hide show
  1. _bpy_internal/__init__.pyi +1 -0
  2. _bpy_internal/extensions/__init__.pyi +1 -0
  3. _bpy_internal/extensions/junction_module/__init__.pyi +1 -0
  4. _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -0
  5. _bpy_internal/freedesktop/__init__.pyi +1 -0
  6. addon_utils/__init__.pyi +1 -0
  7. animsys_refactor/__init__.pyi +1 -0
  8. aud/__init__.pyi +1 -0
  9. bgl/__init__.pyi +1 -0
  10. bl_app_override/__init__.pyi +1 -0
  11. bl_app_override/helpers/__init__.pyi +1 -0
  12. bl_app_template_utils/__init__.pyi +1 -0
  13. bl_console_utils/__init__.pyi +1 -0
  14. bl_console_utils/autocomplete/__init__.pyi +1 -0
  15. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -0
  16. bl_console_utils/autocomplete/complete_import/__init__.pyi +1 -0
  17. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -0
  18. bl_console_utils/autocomplete/intellisense/__init__.pyi +1 -0
  19. bl_i18n_utils/__init__.pyi +1 -0
  20. bl_i18n_utils/bl_extract_messages/__init__.pyi +1 -0
  21. bl_i18n_utils/merge_po/__init__.pyi +1 -0
  22. bl_i18n_utils/settings/__init__.pyi +1 -0
  23. bl_i18n_utils/utils/__init__.pyi +1 -0
  24. bl_i18n_utils/utils_cli/__init__.pyi +1 -0
  25. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -0
  26. bl_i18n_utils/utils_rtl/__init__.pyi +1 -0
  27. bl_keymap_utils/__init__.pyi +1 -0
  28. bl_keymap_utils/io/__init__.pyi +1 -0
  29. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -0
  30. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -0
  31. bl_keymap_utils/platform_helpers/__init__.pyi +1 -0
  32. bl_keymap_utils/versioning/__init__.pyi +1 -0
  33. bl_math/__init__.pyi +1 -0
  34. bl_operators/__init__.pyi +1 -0
  35. bl_operators/add_mesh_torus/__init__.pyi +1 -0
  36. bl_operators/anim/__init__.pyi +1 -0
  37. bl_operators/assets/__init__.pyi +9 -8
  38. bl_operators/bmesh/__init__.pyi +1 -0
  39. bl_operators/bmesh/find_adjacent/__init__.pyi +1 -0
  40. bl_operators/clip/__init__.pyi +1 -0
  41. bl_operators/connect_to_output/__init__.pyi +1 -0
  42. bl_operators/console/__init__.pyi +1 -0
  43. bl_operators/constraint/__init__.pyi +1 -0
  44. bl_operators/file/__init__.pyi +1 -0
  45. bl_operators/freestyle/__init__.pyi +1 -0
  46. bl_operators/geometry_nodes/__init__.pyi +1 -0
  47. bl_operators/image/__init__.pyi +1 -0
  48. bl_operators/image_as_planes/__init__.pyi +44 -43
  49. bl_operators/mesh/__init__.pyi +1 -0
  50. bl_operators/node/__init__.pyi +235 -234
  51. bl_operators/node_editor/__init__.pyi +1 -0
  52. bl_operators/node_editor/node_functions/__init__.pyi +1 -0
  53. bl_operators/object/__init__.pyi +1 -0
  54. bl_operators/object_align/__init__.pyi +1 -0
  55. bl_operators/object_quick_effects/__init__.pyi +22 -21
  56. bl_operators/object_randomize_transform/__init__.pyi +1 -0
  57. bl_operators/presets/__init__.pyi +389 -388
  58. bl_operators/rigidbody/__init__.pyi +1 -0
  59. bl_operators/screen_play_rendered_anim/__init__.pyi +1 -0
  60. bl_operators/sequencer/__init__.pyi +1 -0
  61. bl_operators/spreadsheet/__init__.pyi +1 -0
  62. bl_operators/userpref/__init__.pyi +1 -0
  63. bl_operators/uvcalc_follow_active/__init__.pyi +1 -0
  64. bl_operators/uvcalc_lightmap/__init__.pyi +1 -0
  65. bl_operators/uvcalc_transform/__init__.pyi +1 -0
  66. bl_operators/vertexpaint_dirt/__init__.pyi +1 -0
  67. bl_operators/view3d/__init__.pyi +1 -0
  68. bl_operators/wm/__init__.pyi +1 -0
  69. bl_operators/world/__init__.pyi +1 -0
  70. bl_previews_utils/__init__.pyi +1 -0
  71. bl_previews_utils/bl_previews_render/__init__.pyi +1 -0
  72. bl_rna_utils/__init__.pyi +1 -0
  73. bl_rna_utils/data_path/__init__.pyi +1 -0
  74. bl_text_utils/__init__.pyi +1 -0
  75. bl_text_utils/external_editor/__init__.pyi +1 -0
  76. bl_ui/__init__.pyi +1 -0
  77. bl_ui/anim/__init__.pyi +1 -0
  78. bl_ui/asset_shelf/__init__.pyi +1 -0
  79. bl_ui/generic_ui_list/__init__.pyi +1 -0
  80. bl_ui/node_add_menu/__init__.pyi +1 -0
  81. bl_ui/node_add_menu_compositor/__init__.pyi +1 -0
  82. bl_ui/node_add_menu_geometry/__init__.pyi +1 -0
  83. bl_ui/node_add_menu_shader/__init__.pyi +1 -0
  84. bl_ui/node_add_menu_texture/__init__.pyi +1 -0
  85. bl_ui/properties_animviz/__init__.pyi +1 -0
  86. bl_ui/properties_collection/__init__.pyi +13 -12
  87. bl_ui/properties_constraint/__init__.pyi +955 -954
  88. bl_ui/properties_data_armature/__init__.pyi +86 -85
  89. bl_ui/properties_data_bone/__init__.pyi +13 -12
  90. bl_ui/properties_data_camera/__init__.pyi +1 -0
  91. bl_ui/properties_data_curve/__init__.pyi +93 -92
  92. bl_ui/properties_data_curves/__init__.pyi +13 -12
  93. bl_ui/properties_data_empty/__init__.pyi +13 -12
  94. bl_ui/properties_data_gpencil/__init__.pyi +266 -265
  95. bl_ui/properties_data_grease_pencil/__init__.pyi +313 -312
  96. bl_ui/properties_data_lattice/__init__.pyi +13 -12
  97. bl_ui/properties_data_light/__init__.pyi +13 -12
  98. bl_ui/properties_data_lightprobe/__init__.pyi +13 -12
  99. bl_ui/properties_data_mesh/__init__.pyi +528 -527
  100. bl_ui/properties_data_metaball/__init__.pyi +13 -12
  101. bl_ui/properties_data_modifier/__init__.pyi +20 -19
  102. bl_ui/properties_data_pointcloud/__init__.pyi +141 -140
  103. bl_ui/properties_data_shaderfx/__init__.pyi +6 -5
  104. bl_ui/properties_data_speaker/__init__.pyi +13 -12
  105. bl_ui/properties_data_volume/__init__.pyi +66 -65
  106. bl_ui/properties_freestyle/__init__.pyi +249 -248
  107. bl_ui/properties_grease_pencil_common/__init__.pyi +1 -0
  108. bl_ui/properties_mask_common/__init__.pyi +1 -0
  109. bl_ui/properties_material/__init__.pyi +146 -145
  110. bl_ui/properties_material_gpencil/__init__.pyi +87 -86
  111. bl_ui/properties_object/__init__.pyi +76 -75
  112. bl_ui/properties_output/__init__.pyi +202 -201
  113. bl_ui/properties_paint_common/__init__.pyi +1 -0
  114. bl_ui/properties_particle/__init__.pyi +221 -220
  115. bl_ui/properties_physics_cloth/__init__.pyi +13 -12
  116. bl_ui/properties_physics_common/__init__.pyi +13 -12
  117. bl_ui/properties_physics_dynamicpaint/__init__.pyi +188 -187
  118. bl_ui/properties_physics_field/__init__.pyi +20 -19
  119. bl_ui/properties_physics_fluid/__init__.pyi +62 -61
  120. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -0
  121. bl_ui/properties_physics_rigidbody/__init__.pyi +6 -5
  122. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +6 -5
  123. bl_ui/properties_physics_softbody/__init__.pyi +13 -12
  124. bl_ui/properties_render/__init__.pyi +218 -217
  125. bl_ui/properties_scene/__init__.pyi +144 -143
  126. bl_ui/properties_texture/__init__.pyi +157 -156
  127. bl_ui/properties_view_layer/__init__.pyi +79 -78
  128. bl_ui/properties_workspace/__init__.pyi +65 -64
  129. bl_ui/properties_world/__init__.pyi +13 -12
  130. bl_ui/space_clip/__init__.pyi +367 -366
  131. bl_ui/space_console/__init__.pyi +1 -0
  132. bl_ui/space_dopesheet/__init__.pyi +177 -176
  133. bl_ui/space_filebrowser/__init__.pyi +736 -735
  134. bl_ui/space_graph/__init__.pyi +1 -0
  135. bl_ui/space_image/__init__.pyi +647 -646
  136. bl_ui/space_info/__init__.pyi +1 -0
  137. bl_ui/space_nla/__init__.pyi +1 -0
  138. bl_ui/space_node/__init__.pyi +1 -0
  139. bl_ui/space_outliner/__init__.pyi +1 -0
  140. bl_ui/space_properties/__init__.pyi +1 -0
  141. bl_ui/space_sequencer/__init__.pyi +842 -389
  142. bl_ui/space_spreadsheet/__init__.pyi +1 -0
  143. bl_ui/space_statusbar/__init__.pyi +1 -0
  144. bl_ui/space_text/__init__.pyi +1 -0
  145. bl_ui/space_time/__init__.pyi +12 -11
  146. bl_ui/space_toolsystem_common/__init__.pyi +1 -0
  147. bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -0
  148. bl_ui/space_topbar/__init__.pyi +1 -0
  149. bl_ui/space_userpref/__init__.pyi +685 -684
  150. bl_ui/space_view3d/__init__.pyi +1153 -1152
  151. bl_ui/space_view3d_toolbar/__init__.pyi +2832 -2831
  152. bl_ui/temp_anim_layers/__init__.pyi +1 -0
  153. bl_ui/utils/__init__.pyi +1 -0
  154. bl_ui_utils/__init__.pyi +1 -0
  155. bl_ui_utils/bug_report_url/__init__.pyi +1 -0
  156. bl_ui_utils/layout/__init__.pyi +1 -0
  157. blend_render_info/__init__.pyi +1 -0
  158. blf/__init__.pyi +1 -0
  159. bmesh/__init__.pyi +1 -0
  160. bmesh/geometry/__init__.pyi +1 -0
  161. bmesh/ops/__init__.pyi +1 -0
  162. bmesh/types/__init__.pyi +1 -0
  163. bmesh/utils/__init__.pyi +1 -0
  164. bpy/__init__.pyi +1 -0
  165. bpy/app/__init__.pyi +1 -0
  166. bpy/app/handlers/__init__.pyi +1 -0
  167. bpy/app/icons/__init__.pyi +1 -0
  168. bpy/app/timers/__init__.pyi +1 -0
  169. bpy/app/translations/__init__.pyi +1 -0
  170. bpy/msgbus/__init__.pyi +1 -0
  171. bpy/ops/__init__.pyi +1 -0
  172. bpy/ops/action/__init__.pyi +1 -0
  173. bpy/ops/anim/__init__.pyi +15 -14
  174. bpy/ops/armature/__init__.pyi +1 -0
  175. bpy/ops/asset/__init__.pyi +1 -0
  176. bpy/ops/boid/__init__.pyi +1 -0
  177. bpy/ops/brush/__init__.pyi +1 -0
  178. bpy/ops/buttons/__init__.pyi +1 -0
  179. bpy/ops/cachefile/__init__.pyi +1 -0
  180. bpy/ops/camera/__init__.pyi +1 -0
  181. bpy/ops/clip/__init__.pyi +1 -0
  182. bpy/ops/cloth/__init__.pyi +1 -0
  183. bpy/ops/collection/__init__.pyi +1 -0
  184. bpy/ops/console/__init__.pyi +1 -0
  185. bpy/ops/constraint/__init__.pyi +1 -0
  186. bpy/ops/curve/__init__.pyi +1 -0
  187. bpy/ops/curves/__init__.pyi +1 -0
  188. bpy/ops/cycles/__init__.pyi +1 -0
  189. bpy/ops/dpaint/__init__.pyi +1 -0
  190. bpy/ops/ed/__init__.pyi +1 -0
  191. bpy/ops/export_anim/__init__.pyi +1 -0
  192. bpy/ops/export_scene/__init__.pyi +1 -0
  193. bpy/ops/extensions/__init__.pyi +1 -0
  194. bpy/ops/file/__init__.pyi +1 -0
  195. bpy/ops/fluid/__init__.pyi +1 -0
  196. bpy/ops/font/__init__.pyi +1 -0
  197. bpy/ops/geometry/__init__.pyi +1 -0
  198. bpy/ops/gizmogroup/__init__.pyi +1 -0
  199. bpy/ops/gpencil/__init__.pyi +1 -0
  200. bpy/ops/graph/__init__.pyi +1 -0
  201. bpy/ops/grease_pencil/__init__.pyi +19 -0
  202. bpy/ops/image/__init__.pyi +1 -0
  203. bpy/ops/import_anim/__init__.pyi +1 -0
  204. bpy/ops/import_curve/__init__.pyi +1 -0
  205. bpy/ops/import_scene/__init__.pyi +1 -0
  206. bpy/ops/info/__init__.pyi +1 -0
  207. bpy/ops/lattice/__init__.pyi +1 -0
  208. bpy/ops/marker/__init__.pyi +1 -0
  209. bpy/ops/mask/__init__.pyi +1 -0
  210. bpy/ops/material/__init__.pyi +1 -0
  211. bpy/ops/mball/__init__.pyi +1 -0
  212. bpy/ops/mesh/__init__.pyi +7 -2
  213. bpy/ops/nla/__init__.pyi +1 -0
  214. bpy/ops/node/__init__.pyi +1 -0
  215. bpy/ops/object/__init__.pyi +2 -1
  216. bpy/ops/outliner/__init__.pyi +1 -0
  217. bpy/ops/paint/__init__.pyi +1 -0
  218. bpy/ops/paintcurve/__init__.pyi +1 -0
  219. bpy/ops/palette/__init__.pyi +1 -0
  220. bpy/ops/particle/__init__.pyi +1 -0
  221. bpy/ops/pose/__init__.pyi +1 -0
  222. bpy/ops/poselib/__init__.pyi +1 -0
  223. bpy/ops/preferences/__init__.pyi +1 -0
  224. bpy/ops/ptcache/__init__.pyi +1 -0
  225. bpy/ops/render/__init__.pyi +1 -0
  226. bpy/ops/rigidbody/__init__.pyi +1 -0
  227. bpy/ops/scene/__init__.pyi +1 -0
  228. bpy/ops/screen/__init__.pyi +1 -0
  229. bpy/ops/script/__init__.pyi +1 -0
  230. bpy/ops/sculpt/__init__.pyi +1 -0
  231. bpy/ops/sculpt_curves/__init__.pyi +1 -0
  232. bpy/ops/sequencer/__init__.pyi +1 -0
  233. bpy/ops/sound/__init__.pyi +1 -0
  234. bpy/ops/spreadsheet/__init__.pyi +1 -0
  235. bpy/ops/surface/__init__.pyi +1 -0
  236. bpy/ops/text/__init__.pyi +1 -0
  237. bpy/ops/text_editor/__init__.pyi +1 -0
  238. bpy/ops/texture/__init__.pyi +1 -0
  239. bpy/ops/transform/__init__.pyi +17 -16
  240. bpy/ops/ui/__init__.pyi +1 -0
  241. bpy/ops/uilist/__init__.pyi +1 -0
  242. bpy/ops/uv/__init__.pyi +1 -0
  243. bpy/ops/view2d/__init__.pyi +1 -0
  244. bpy/ops/view3d/__init__.pyi +1 -0
  245. bpy/ops/wm/__init__.pyi +5 -4
  246. bpy/ops/workspace/__init__.pyi +1 -0
  247. bpy/ops/world/__init__.pyi +1 -0
  248. bpy/path/__init__.pyi +1 -0
  249. bpy/props/__init__.pyi +1 -0
  250. bpy/types/__init__.pyi +68824 -68756
  251. bpy/utils/__init__.pyi +1 -0
  252. bpy/utils/previews/__init__.pyi +1 -0
  253. bpy/utils/units/__init__.pyi +1 -0
  254. bpy_extras/__init__.pyi +1 -0
  255. bpy_extras/anim_utils/__init__.pyi +1 -0
  256. bpy_extras/asset_utils/__init__.pyi +1 -0
  257. bpy_extras/bmesh_utils/__init__.pyi +1 -0
  258. bpy_extras/id_map_utils/__init__.pyi +1 -0
  259. bpy_extras/image_utils/__init__.pyi +1 -0
  260. bpy_extras/io_utils/__init__.pyi +1 -0
  261. bpy_extras/keyconfig_utils/__init__.pyi +1 -0
  262. bpy_extras/mesh_utils/__init__.pyi +1 -0
  263. bpy_extras/node_shader_utils/__init__.pyi +1 -0
  264. bpy_extras/node_utils/__init__.pyi +1 -0
  265. bpy_extras/object_utils/__init__.pyi +1 -0
  266. bpy_extras/view3d_utils/__init__.pyi +1 -0
  267. bpy_extras/wm_utils/__init__.pyi +1 -0
  268. bpy_extras/wm_utils/progress_report/__init__.pyi +1 -0
  269. bpy_restrict_state/__init__.pyi +1 -0
  270. bpy_types/__init__.pyi +1 -0
  271. console_python/__init__.pyi +1 -0
  272. console_shell/__init__.pyi +1 -0
  273. {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/METADATA +1 -1
  274. fake_bpy_module-20240707.dist-info/RECORD +358 -0
  275. freestyle/__init__.pyi +1 -0
  276. freestyle/chainingiterators/__init__.pyi +1 -0
  277. freestyle/functions/__init__.pyi +1 -0
  278. freestyle/predicates/__init__.pyi +1 -0
  279. freestyle/shaders/__init__.pyi +1 -0
  280. freestyle/types/__init__.pyi +1 -0
  281. freestyle/utils/ContextFunctions/__init__.pyi +1 -0
  282. freestyle/utils/__init__.pyi +2 -1
  283. gpu/__init__.pyi +1 -0
  284. gpu/capabilities/__init__.pyi +1 -0
  285. gpu/matrix/__init__.pyi +1 -0
  286. gpu/platform/__init__.pyi +1 -0
  287. gpu/select/__init__.pyi +1 -0
  288. gpu/shader/__init__.pyi +1 -0
  289. gpu/state/__init__.pyi +1 -0
  290. gpu/texture/__init__.pyi +1 -0
  291. gpu/types/__init__.pyi +1 -0
  292. gpu_extras/__init__.pyi +1 -0
  293. gpu_extras/batch/__init__.pyi +1 -0
  294. gpu_extras/presets/__init__.pyi +1 -0
  295. graphviz_export/__init__.pyi +1 -0
  296. idprop/__init__.pyi +1 -0
  297. idprop/types/__init__.pyi +1 -0
  298. imbuf/__init__.pyi +1 -0
  299. imbuf/types/__init__.pyi +1 -0
  300. keyingsets_builtins/__init__.pyi +88 -87
  301. keyingsets_utils/__init__.pyi +1 -0
  302. mathutils/__init__.pyi +157 -6
  303. mathutils/bvhtree/__init__.pyi +1 -0
  304. mathutils/geometry/__init__.pyi +1 -0
  305. mathutils/interpolate/__init__.pyi +1 -0
  306. mathutils/kdtree/__init__.pyi +1 -0
  307. mathutils/noise/__init__.pyi +1 -0
  308. nodeitems_builtins/__init__.pyi +8 -7
  309. nodeitems_utils/__init__.pyi +1 -0
  310. rna_info/__init__.pyi +1 -0
  311. rna_keymap_ui/__init__.pyi +1 -0
  312. rna_prop_ui/__init__.pyi +1 -0
  313. rna_xml/__init__.pyi +1 -0
  314. sys_info/__init__.pyi +1 -0
  315. fake_bpy_module-20240705.dist-info/RECORD +0 -358
  316. {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/WHEEL +0 -0
  317. {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,6 @@
1
1
  import typing
2
2
  import collections.abc
3
+ import typing_extensions
3
4
  import bpy.types
4
5
 
5
6
  GenericType1 = typing.TypeVar("GenericType1")
@@ -200,47 +201,8 @@ class NODE_FH_image_node:
200
201
  """
201
202
  ...
202
203
 
203
- class NodeAddOperator:
204
- def create_node(self, context, node_type):
205
- """
206
-
207
- :param context:
208
- :param node_type:
209
- """
210
- ...
211
-
212
- def deselect_nodes(self, context):
213
- """
214
-
215
- :param context:
216
- """
217
- ...
218
-
219
- def invoke(self, context, event):
220
- """
221
-
222
- :param context:
223
- :param event:
224
- """
225
- ...
226
-
227
- def poll(self, context):
228
- """
229
-
230
- :param context:
231
- """
232
- ...
233
-
234
- def store_mouse_cursor(self, context, event):
235
- """
236
-
237
- :param context:
238
- :param event:
239
- """
240
- ...
241
-
242
- class NODE_OT_collapse_hide_unused_toggle:
243
- """Toggle collapsed nodes and hide unused sockets"""
204
+ class NODE_OT_add_node(NodeAddOperator):
205
+ """Add a node to the active tree"""
244
206
 
245
207
  bl_idname: typing.Any
246
208
  bl_label: typing.Any
@@ -279,6 +241,29 @@ class NODE_OT_collapse_hide_unused_toggle:
279
241
  """
280
242
  ...
281
243
 
244
+ def create_node(self, context, node_type):
245
+ """
246
+
247
+ :param context:
248
+ :param node_type:
249
+ """
250
+ ...
251
+
252
+ def description(self, _context, properties):
253
+ """
254
+
255
+ :param _context:
256
+ :param properties:
257
+ """
258
+ ...
259
+
260
+ def deselect_nodes(self, context):
261
+ """
262
+
263
+ :param context:
264
+ """
265
+ ...
266
+
282
267
  def driver_add(self) -> bpy.types.FCurve:
283
268
  """Adds driver(s) to the given property
284
269
 
@@ -330,6 +315,14 @@ class NODE_OT_collapse_hide_unused_toggle:
330
315
  """
331
316
  ...
332
317
 
318
+ def invoke(self, context, event):
319
+ """
320
+
321
+ :param context:
322
+ :param event:
323
+ """
324
+ ...
325
+
333
326
  def is_property_hidden(self) -> bool:
334
327
  """Check if a property is hidden.
335
328
 
@@ -437,6 +430,14 @@ class NODE_OT_collapse_hide_unused_toggle:
437
430
  """Unset a property, will use default value afterward."""
438
431
  ...
439
432
 
433
+ def store_mouse_cursor(self, context, event):
434
+ """
435
+
436
+ :param context:
437
+ :param event:
438
+ """
439
+ ...
440
+
440
441
  def type_recast(self):
441
442
  """Return a new instance, this is needed because types
442
443
  such as textures can be changed at runtime.
@@ -453,22 +454,16 @@ class NODE_OT_collapse_hide_unused_toggle:
453
454
  """
454
455
  ...
455
456
 
456
- class NodeInterfaceOperator:
457
- def poll(self, context):
458
- """
459
-
460
- :param context:
461
- """
462
- ...
463
-
464
- class NODE_OT_tree_path_parent:
465
- """Go to parent node tree"""
457
+ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
458
+ """Add a repeat zone that allows executing nodes a dynamic number of times"""
466
459
 
467
460
  bl_idname: typing.Any
468
461
  bl_label: typing.Any
469
462
  bl_options: typing.Any
470
463
  bl_rna: typing.Any
471
464
  id_data: typing.Any
465
+ input_node_type: typing.Any
466
+ output_node_type: typing.Any
472
467
 
473
468
  def as_keywords(self, ignore=()):
474
469
  """Return a copy of the properties as a dictionary
@@ -501,6 +496,21 @@ class NODE_OT_tree_path_parent:
501
496
  """
502
497
  ...
503
498
 
499
+ def create_node(self, context, node_type):
500
+ """
501
+
502
+ :param context:
503
+ :param node_type:
504
+ """
505
+ ...
506
+
507
+ def deselect_nodes(self, context):
508
+ """
509
+
510
+ :param context:
511
+ """
512
+ ...
513
+
504
514
  def driver_add(self) -> bpy.types.FCurve:
505
515
  """Adds driver(s) to the given property
506
516
 
@@ -552,6 +562,14 @@ class NODE_OT_tree_path_parent:
552
562
  """
553
563
  ...
554
564
 
565
+ def invoke(self, context, event):
566
+ """
567
+
568
+ :param context:
569
+ :param event:
570
+ """
571
+ ...
572
+
555
573
  def is_property_hidden(self) -> bool:
556
574
  """Check if a property is hidden.
557
575
 
@@ -659,6 +677,14 @@ class NODE_OT_tree_path_parent:
659
677
  """Unset a property, will use default value afterward."""
660
678
  ...
661
679
 
680
+ def store_mouse_cursor(self, context, event):
681
+ """
682
+
683
+ :param context:
684
+ :param event:
685
+ """
686
+ ...
687
+
662
688
  def type_recast(self):
663
689
  """Return a new instance, this is needed because types
664
690
  such as textures can be changed at runtime.
@@ -675,9 +701,23 @@ class NODE_OT_tree_path_parent:
675
701
  """
676
702
  ...
677
703
 
678
- class NodeSetting:
704
+ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
705
+ """Add simulation zone input and output nodes to the active tree"""
706
+
707
+ bl_idname: typing.Any
708
+ bl_label: typing.Any
709
+ bl_options: typing.Any
679
710
  bl_rna: typing.Any
680
711
  id_data: typing.Any
712
+ input_node_type: typing.Any
713
+ output_node_type: typing.Any
714
+
715
+ def as_keywords(self, ignore=()):
716
+ """Return a copy of the properties as a dictionary
717
+
718
+ :param ignore:
719
+ """
720
+ ...
681
721
 
682
722
  def as_pointer(self) -> int:
683
723
  """Returns the memory address which holds a pointer to Blender's internal data
@@ -703,6 +743,21 @@ class NodeSetting:
703
743
  """
704
744
  ...
705
745
 
746
+ def create_node(self, context, node_type):
747
+ """
748
+
749
+ :param context:
750
+ :param node_type:
751
+ """
752
+ ...
753
+
754
+ def deselect_nodes(self, context):
755
+ """
756
+
757
+ :param context:
758
+ """
759
+ ...
760
+
706
761
  def driver_add(self) -> bpy.types.FCurve:
707
762
  """Adds driver(s) to the given property
708
763
 
@@ -719,6 +774,13 @@ class NodeSetting:
719
774
  """
720
775
  ...
721
776
 
777
+ def execute(self, context):
778
+ """
779
+
780
+ :param context:
781
+ """
782
+ ...
783
+
722
784
  def get(self):
723
785
  """Returns the value of the custom property assigned to key or default
724
786
  when not found (matches Python's dictionary function of the same name).
@@ -747,6 +809,14 @@ class NodeSetting:
747
809
  """
748
810
  ...
749
811
 
812
+ def invoke(self, context, event):
813
+ """
814
+
815
+ :param context:
816
+ :param event:
817
+ """
818
+ ...
819
+
750
820
  def is_property_hidden(self) -> bool:
751
821
  """Check if a property is hidden.
752
822
 
@@ -824,6 +894,17 @@ class NodeSetting:
824
894
  """Returns the property from the path, raise an exception when not found."""
825
895
  ...
826
896
 
897
+ def poll(self, context):
898
+ """
899
+
900
+ :param context:
901
+ """
902
+ ...
903
+
904
+ def poll_message_set(self):
905
+ """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."""
906
+ ...
907
+
827
908
  def pop(self):
828
909
  """Remove and return the value of the custom property assigned to key or default
829
910
  when not found (matches Python's dictionary function of the same name).
@@ -843,6 +924,14 @@ class NodeSetting:
843
924
  """Unset a property, will use default value afterward."""
844
925
  ...
845
926
 
927
+ def store_mouse_cursor(self, context, event):
928
+ """
929
+
930
+ :param context:
931
+ :param event:
932
+ """
933
+ ...
934
+
846
935
  def type_recast(self):
847
936
  """Return a new instance, this is needed because types
848
937
  such as textures can be changed at runtime.
@@ -859,8 +948,8 @@ class NodeSetting:
859
948
  """
860
949
  ...
861
950
 
862
- class NODE_OT_add_node(NodeAddOperator):
863
- """Add a node to the active tree"""
951
+ class NODE_OT_collapse_hide_unused_toggle:
952
+ """Toggle collapsed nodes and hide unused sockets"""
864
953
 
865
954
  bl_idname: typing.Any
866
955
  bl_label: typing.Any
@@ -899,29 +988,6 @@ class NODE_OT_add_node(NodeAddOperator):
899
988
  """
900
989
  ...
901
990
 
902
- def create_node(self, context, node_type):
903
- """
904
-
905
- :param context:
906
- :param node_type:
907
- """
908
- ...
909
-
910
- def description(self, _context, properties):
911
- """
912
-
913
- :param _context:
914
- :param properties:
915
- """
916
- ...
917
-
918
- def deselect_nodes(self, context):
919
- """
920
-
921
- :param context:
922
- """
923
- ...
924
-
925
991
  def driver_add(self) -> bpy.types.FCurve:
926
992
  """Adds driver(s) to the given property
927
993
 
@@ -973,14 +1039,6 @@ class NODE_OT_add_node(NodeAddOperator):
973
1039
  """
974
1040
  ...
975
1041
 
976
- def invoke(self, context, event):
977
- """
978
-
979
- :param context:
980
- :param event:
981
- """
982
- ...
983
-
984
1042
  def is_property_hidden(self) -> bool:
985
1043
  """Check if a property is hidden.
986
1044
 
@@ -1088,14 +1146,6 @@ class NODE_OT_add_node(NodeAddOperator):
1088
1146
  """Unset a property, will use default value afterward."""
1089
1147
  ...
1090
1148
 
1091
- def store_mouse_cursor(self, context, event):
1092
- """
1093
-
1094
- :param context:
1095
- :param event:
1096
- """
1097
- ...
1098
-
1099
1149
  def type_recast(self):
1100
1150
  """Return a new instance, this is needed because types
1101
1151
  such as textures can be changed at runtime.
@@ -1112,52 +1162,6 @@ class NODE_OT_add_node(NodeAddOperator):
1112
1162
  """
1113
1163
  ...
1114
1164
 
1115
- class NodeAddZoneOperator(NodeAddOperator):
1116
- def create_node(self, context, node_type):
1117
- """
1118
-
1119
- :param context:
1120
- :param node_type:
1121
- """
1122
- ...
1123
-
1124
- def deselect_nodes(self, context):
1125
- """
1126
-
1127
- :param context:
1128
- """
1129
- ...
1130
-
1131
- def execute(self, context):
1132
- """
1133
-
1134
- :param context:
1135
- """
1136
- ...
1137
-
1138
- def invoke(self, context, event):
1139
- """
1140
-
1141
- :param context:
1142
- :param event:
1143
- """
1144
- ...
1145
-
1146
- def poll(self, context):
1147
- """
1148
-
1149
- :param context:
1150
- """
1151
- ...
1152
-
1153
- def store_mouse_cursor(self, context, event):
1154
- """
1155
-
1156
- :param context:
1157
- :param event:
1158
- """
1159
- ...
1160
-
1161
1165
  class NODE_OT_interface_item_duplicate(NodeInterfaceOperator):
1162
1166
  """Add a copy of the active item to the interface"""
1163
1167
 
@@ -1807,16 +1811,14 @@ class NODE_OT_interface_item_remove(NodeInterfaceOperator):
1807
1811
  """
1808
1812
  ...
1809
1813
 
1810
- class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
1811
- """Add a repeat zone that allows executing nodes a dynamic number of times"""
1814
+ class NODE_OT_tree_path_parent:
1815
+ """Go to parent node tree"""
1812
1816
 
1813
1817
  bl_idname: typing.Any
1814
1818
  bl_label: typing.Any
1815
1819
  bl_options: typing.Any
1816
1820
  bl_rna: typing.Any
1817
1821
  id_data: typing.Any
1818
- input_node_type: typing.Any
1819
- output_node_type: typing.Any
1820
1822
 
1821
1823
  def as_keywords(self, ignore=()):
1822
1824
  """Return a copy of the properties as a dictionary
@@ -1849,21 +1851,6 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
1849
1851
  """
1850
1852
  ...
1851
1853
 
1852
- def create_node(self, context, node_type):
1853
- """
1854
-
1855
- :param context:
1856
- :param node_type:
1857
- """
1858
- ...
1859
-
1860
- def deselect_nodes(self, context):
1861
- """
1862
-
1863
- :param context:
1864
- """
1865
- ...
1866
-
1867
1854
  def driver_add(self) -> bpy.types.FCurve:
1868
1855
  """Adds driver(s) to the given property
1869
1856
 
@@ -1915,14 +1902,6 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
1915
1902
  """
1916
1903
  ...
1917
1904
 
1918
- def invoke(self, context, event):
1919
- """
1920
-
1921
- :param context:
1922
- :param event:
1923
- """
1924
- ...
1925
-
1926
1905
  def is_property_hidden(self) -> bool:
1927
1906
  """Check if a property is hidden.
1928
1907
 
@@ -2030,14 +2009,6 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
2030
2009
  """Unset a property, will use default value afterward."""
2031
2010
  ...
2032
2011
 
2033
- def store_mouse_cursor(self, context, event):
2034
- """
2035
-
2036
- :param context:
2037
- :param event:
2038
- """
2039
- ...
2040
-
2041
2012
  def type_recast(self):
2042
2013
  """Return a new instance, this is needed because types
2043
2014
  such as textures can be changed at runtime.
@@ -2054,60 +2025,78 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, NodeAddZoneOperator):
2054
2025
  """
2055
2026
  ...
2056
2027
 
2057
- class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
2058
- """Add simulation zone input and output nodes to the active tree"""
2028
+ class NodeAddOperator:
2029
+ def create_node(self, context, node_type):
2030
+ """
2059
2031
 
2060
- bl_idname: typing.Any
2061
- bl_label: typing.Any
2062
- bl_options: typing.Any
2063
- bl_rna: typing.Any
2064
- id_data: typing.Any
2065
- input_node_type: typing.Any
2066
- output_node_type: typing.Any
2032
+ :param context:
2033
+ :param node_type:
2034
+ """
2035
+ ...
2067
2036
 
2068
- def as_keywords(self, ignore=()):
2069
- """Return a copy of the properties as a dictionary
2037
+ def deselect_nodes(self, context):
2038
+ """
2070
2039
 
2071
- :param ignore:
2040
+ :param context:
2072
2041
  """
2073
2042
  ...
2074
2043
 
2075
- def as_pointer(self) -> int:
2076
- """Returns the memory address which holds a pointer to Blender's internal data
2044
+ def invoke(self, context, event):
2045
+ """
2077
2046
 
2078
- :return: int (memory address).
2079
- :rtype: int
2047
+ :param context:
2048
+ :param event:
2080
2049
  """
2081
2050
  ...
2082
2051
 
2083
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
2052
+ def poll(self, context):
2084
2053
  """
2085
2054
 
2086
- :return: The RNA type or default when not found.
2087
- :rtype: bpy.types.Struct
2055
+ :param context:
2088
2056
  """
2089
2057
  ...
2090
2058
 
2091
- def bl_rna_get_subclass_py(self) -> typing.Any:
2059
+ def store_mouse_cursor(self, context, event):
2092
2060
  """
2093
2061
 
2094
- :return: The class or default when not found.
2095
- :rtype: typing.Any
2062
+ :param context:
2063
+ :param event:
2096
2064
  """
2097
2065
  ...
2098
2066
 
2099
- def create_node(self, context, node_type):
2067
+ class NodeInterfaceOperator:
2068
+ def poll(self, context):
2100
2069
  """
2101
2070
 
2102
2071
  :param context:
2103
- :param node_type:
2104
2072
  """
2105
2073
  ...
2106
2074
 
2107
- def deselect_nodes(self, context):
2075
+ class NodeSetting:
2076
+ bl_rna: typing.Any
2077
+ id_data: typing.Any
2078
+
2079
+ def as_pointer(self) -> int:
2080
+ """Returns the memory address which holds a pointer to Blender's internal data
2081
+
2082
+ :return: int (memory address).
2083
+ :rtype: int
2108
2084
  """
2085
+ ...
2109
2086
 
2110
- :param context:
2087
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
2088
+ """
2089
+
2090
+ :return: The RNA type or default when not found.
2091
+ :rtype: bpy.types.Struct
2092
+ """
2093
+ ...
2094
+
2095
+ def bl_rna_get_subclass_py(self) -> typing.Any:
2096
+ """
2097
+
2098
+ :return: The class or default when not found.
2099
+ :rtype: typing.Any
2111
2100
  """
2112
2101
  ...
2113
2102
 
@@ -2127,13 +2116,6 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
2127
2116
  """
2128
2117
  ...
2129
2118
 
2130
- def execute(self, context):
2131
- """
2132
-
2133
- :param context:
2134
- """
2135
- ...
2136
-
2137
2119
  def get(self):
2138
2120
  """Returns the value of the custom property assigned to key or default
2139
2121
  when not found (matches Python's dictionary function of the same name).
@@ -2162,14 +2144,6 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
2162
2144
  """
2163
2145
  ...
2164
2146
 
2165
- def invoke(self, context, event):
2166
- """
2167
-
2168
- :param context:
2169
- :param event:
2170
- """
2171
- ...
2172
-
2173
2147
  def is_property_hidden(self) -> bool:
2174
2148
  """Check if a property is hidden.
2175
2149
 
@@ -2247,17 +2221,6 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
2247
2221
  """Returns the property from the path, raise an exception when not found."""
2248
2222
  ...
2249
2223
 
2250
- def poll(self, context):
2251
- """
2252
-
2253
- :param context:
2254
- """
2255
- ...
2256
-
2257
- def poll_message_set(self):
2258
- """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."""
2259
- ...
2260
-
2261
2224
  def pop(self):
2262
2225
  """Remove and return the value of the custom property assigned to key or default
2263
2226
  when not found (matches Python's dictionary function of the same name).
@@ -2277,14 +2240,6 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
2277
2240
  """Unset a property, will use default value afterward."""
2278
2241
  ...
2279
2242
 
2280
- def store_mouse_cursor(self, context, event):
2281
- """
2282
-
2283
- :param context:
2284
- :param event:
2285
- """
2286
- ...
2287
-
2288
2243
  def type_recast(self):
2289
2244
  """Return a new instance, this is needed because types
2290
2245
  such as textures can be changed at runtime.
@@ -2300,3 +2255,49 @@ class NODE_OT_add_simulation_zone(NodeAddOperator, NodeAddZoneOperator):
2300
2255
  :return: custom property values.
2301
2256
  """
2302
2257
  ...
2258
+
2259
+ class NodeAddZoneOperator(NodeAddOperator):
2260
+ def create_node(self, context, node_type):
2261
+ """
2262
+
2263
+ :param context:
2264
+ :param node_type:
2265
+ """
2266
+ ...
2267
+
2268
+ def deselect_nodes(self, context):
2269
+ """
2270
+
2271
+ :param context:
2272
+ """
2273
+ ...
2274
+
2275
+ def execute(self, context):
2276
+ """
2277
+
2278
+ :param context:
2279
+ """
2280
+ ...
2281
+
2282
+ def invoke(self, context, event):
2283
+ """
2284
+
2285
+ :param context:
2286
+ :param event:
2287
+ """
2288
+ ...
2289
+
2290
+ def poll(self, context):
2291
+ """
2292
+
2293
+ :param context:
2294
+ """
2295
+ ...
2296
+
2297
+ def store_mouse_cursor(self, context, event):
2298
+ """
2299
+
2300
+ :param context:
2301
+ :param event:
2302
+ """
2303
+ ...
@@ -1,5 +1,6 @@
1
1
  import typing
2
2
  import collections.abc
3
+ import typing_extensions
3
4
  from . import node_functions
4
5
 
5
6
  GenericType1 = typing.TypeVar("GenericType1")
@@ -1,5 +1,6 @@
1
1
  import typing
2
2
  import collections.abc
3
+ import typing_extensions
3
4
 
4
5
  GenericType1 = typing.TypeVar("GenericType1")
5
6
  GenericType2 = typing.TypeVar("GenericType2")