fake-bpy-module 20250604__py3-none-any.whl → 20250606__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 (284) hide show
  1. _bpy_internal/addons/cli/__init__.pyi +1 -1
  2. _bpy_internal/extensions/junction_module/__init__.pyi +7 -7
  3. _bpy_internal/extensions/stale_file_manager/__init__.pyi +8 -8
  4. _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -3
  5. _bpy_internal/freedesktop/__init__.pyi +16 -16
  6. _bpy_internal/grease_pencil/stroke/__init__.pyi +4 -4
  7. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +1 -1
  8. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +1 -1
  9. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
  10. addon_utils/__init__.pyi +12 -12
  11. animsys_refactor/__init__.pyi +6 -6
  12. aud/__init__.pyi +11 -11
  13. bgl/__init__.pyi +272 -252
  14. bl_app_override/__init__.pyi +3 -3
  15. bl_app_override/helpers/__init__.pyi +2 -2
  16. bl_app_template_utils/__init__.pyi +4 -4
  17. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -2
  18. bl_i18n_utils/bl_extract_messages/__init__.pyi +18 -16
  19. bl_i18n_utils/merge_po/__init__.pyi +1 -1
  20. bl_i18n_utils/settings/__init__.pyi +6 -6
  21. bl_i18n_utils/utils/__init__.pyi +48 -46
  22. bl_i18n_utils/utils_cli/__init__.pyi +6 -6
  23. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -1
  24. bl_i18n_utils/utils_rtl/__init__.pyi +2 -2
  25. bl_keymap_utils/io/__init__.pyi +9 -9
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -1
  28. bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
  29. bl_keymap_utils/versioning/__init__.pyi +1 -1
  30. bl_operators/__init__.pyi +2 -2
  31. bl_operators/add_mesh_torus/__init__.pyi +6 -6
  32. bl_operators/anim/__init__.pyi +24 -24
  33. bl_operators/assets/__init__.pyi +9 -9
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +11 -9
  35. bl_operators/bone_selection_sets/__init__.pyi +18 -18
  36. bl_operators/clip/__init__.pyi +26 -26
  37. bl_operators/connect_to_output/__init__.pyi +17 -15
  38. bl_operators/console/__init__.pyi +10 -10
  39. bl_operators/constraint/__init__.pyi +8 -8
  40. bl_operators/file/__init__.pyi +6 -6
  41. bl_operators/freestyle/__init__.pyi +9 -9
  42. bl_operators/geometry_nodes/__init__.pyi +24 -24
  43. bl_operators/grease_pencil/__init__.pyi +2 -2
  44. bl_operators/image/__init__.pyi +7 -7
  45. bl_operators/image_as_planes/__init__.pyi +32 -32
  46. bl_operators/mesh/__init__.pyi +7 -7
  47. bl_operators/node/__init__.pyi +31 -31
  48. bl_operators/node_editor/node_functions/__init__.pyi +9 -9
  49. bl_operators/object/__init__.pyi +31 -31
  50. bl_operators/object_align/__init__.pyi +5 -5
  51. bl_operators/object_quick_effects/__init__.pyi +9 -9
  52. bl_operators/object_randomize_transform/__init__.pyi +3 -3
  53. bl_operators/presets/__init__.pyi +18 -18
  54. bl_operators/rigidbody/__init__.pyi +7 -7
  55. bl_operators/screen_play_rendered_anim/__init__.pyi +2 -2
  56. bl_operators/sequencer/__init__.pyi +19 -19
  57. bl_operators/spreadsheet/__init__.pyi +4 -4
  58. bl_operators/userpref/__init__.pyi +42 -42
  59. bl_operators/uvcalc_follow_active/__init__.pyi +5 -5
  60. bl_operators/uvcalc_lightmap/__init__.pyi +8 -8
  61. bl_operators/uvcalc_transform/__init__.pyi +20 -20
  62. bl_operators/vertexpaint_dirt/__init__.pyi +4 -4
  63. bl_operators/view3d/__init__.pyi +21 -19
  64. bl_operators/wm/__init__.pyi +88 -88
  65. bl_operators/world/__init__.pyi +2 -2
  66. bl_previews_utils/bl_previews_render/__init__.pyi +9 -7
  67. bl_rna_utils/data_path/__init__.pyi +2 -2
  68. bl_text_utils/external_editor/__init__.pyi +1 -1
  69. bl_ui/__init__.pyi +10 -10
  70. bl_ui/anim/__init__.pyi +2 -2
  71. bl_ui/asset_shelf/__init__.pyi +2 -2
  72. bl_ui/generic_ui_list/__init__.pyi +6 -6
  73. bl_ui/node_add_menu/__init__.pyi +15 -13
  74. bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
  75. bl_ui/node_add_menu_geometry/__init__.pyi +54 -54
  76. bl_ui/node_add_menu_shader/__init__.pyi +16 -16
  77. bl_ui/node_add_menu_texture/__init__.pyi +9 -9
  78. bl_ui/properties_animviz/__init__.pyi +2 -2
  79. bl_ui/properties_collection/__init__.pyi +10 -8
  80. bl_ui/properties_constraint/__init__.pyi +125 -125
  81. bl_ui/properties_data_armature/__init__.pyi +22 -22
  82. bl_ui/properties_data_bone/__init__.pyi +20 -20
  83. bl_ui/properties_data_camera/__init__.pyi +19 -19
  84. bl_ui/properties_data_curve/__init__.pyi +23 -23
  85. bl_ui/properties_data_curves/__init__.pyi +9 -9
  86. bl_ui/properties_data_empty/__init__.pyi +4 -4
  87. bl_ui/properties_data_grease_pencil/__init__.pyi +25 -25
  88. bl_ui/properties_data_lattice/__init__.pyi +4 -4
  89. bl_ui/properties_data_light/__init__.pyi +14 -14
  90. bl_ui/properties_data_lightprobe/__init__.pyi +18 -18
  91. bl_ui/properties_data_mesh/__init__.pyi +26 -26
  92. bl_ui/properties_data_metaball/__init__.pyi +6 -6
  93. bl_ui/properties_data_modifier/__init__.pyi +12 -12
  94. bl_ui/properties_data_pointcloud/__init__.pyi +8 -8
  95. bl_ui/properties_data_shaderfx/__init__.pyi +1 -1
  96. bl_ui/properties_data_speaker/__init__.pyi +5 -5
  97. bl_ui/properties_data_volume/__init__.pyi +9 -9
  98. bl_ui/properties_freestyle/__init__.pyi +51 -51
  99. bl_ui/properties_grease_pencil_common/__init__.pyi +30 -30
  100. bl_ui/properties_mask_common/__init__.pyi +24 -24
  101. bl_ui/properties_material/__init__.pyi +27 -27
  102. bl_ui/properties_material_gpencil/__init__.pyi +12 -12
  103. bl_ui/properties_object/__init__.pyi +29 -29
  104. bl_ui/properties_output/__init__.pyi +29 -29
  105. bl_ui/properties_paint_common/__init__.pyi +59 -49
  106. bl_ui/properties_particle/__init__.pyi +101 -101
  107. bl_ui/properties_physics_cloth/__init__.pyi +20 -20
  108. bl_ui/properties_physics_common/__init__.pyi +8 -8
  109. bl_ui/properties_physics_dynamicpaint/__init__.pyi +57 -57
  110. bl_ui/properties_physics_field/__init__.pyi +23 -23
  111. bl_ui/properties_physics_fluid/__init__.pyi +76 -76
  112. bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -3
  113. bl_ui/properties_physics_rigidbody/__init__.pyi +18 -18
  114. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +29 -29
  115. bl_ui/properties_physics_softbody/__init__.pyi +21 -21
  116. bl_ui/properties_render/__init__.pyi +81 -81
  117. bl_ui/properties_scene/__init__.pyi +22 -22
  118. bl_ui/properties_texture/__init__.pyi +39 -39
  119. bl_ui/properties_view_layer/__init__.pyi +12 -12
  120. bl_ui/properties_workspace/__init__.pyi +5 -5
  121. bl_ui/properties_world/__init__.pyi +18 -18
  122. bl_ui/space_clip/__init__.pyi +81 -81
  123. bl_ui/space_console/__init__.pyi +6 -6
  124. bl_ui/space_dopesheet/__init__.pyi +32 -32
  125. bl_ui/space_filebrowser/__init__.pyi +45 -45
  126. bl_ui/space_graph/__init__.pyi +21 -21
  127. bl_ui/space_image/__init__.pyi +73 -73
  128. bl_ui/space_info/__init__.pyi +6 -6
  129. bl_ui/space_nla/__init__.pyi +18 -18
  130. bl_ui/space_node/__init__.pyi +42 -42
  131. bl_ui/space_outliner/__init__.pyi +21 -21
  132. bl_ui/space_properties/__init__.pyi +6 -6
  133. bl_ui/space_sequencer/__init__.pyi +133 -133
  134. bl_ui/space_spreadsheet/__init__.pyi +4 -4
  135. bl_ui/space_statusbar/__init__.pyi +1 -1
  136. bl_ui/space_text/__init__.pyi +17 -17
  137. bl_ui/space_time/__init__.pyi +12 -12
  138. bl_ui/space_toolsystem_common/__init__.pyi +28 -26
  139. bl_ui/space_toolsystem_toolbar/__init__.pyi +36 -36
  140. bl_ui/space_topbar/__init__.pyi +32 -32
  141. bl_ui/space_userpref/__init__.pyi +132 -132
  142. bl_ui/space_view3d/__init__.pyi +297 -297
  143. bl_ui/space_view3d_toolbar/__init__.pyi +148 -149
  144. bl_ui/utils/__init__.pyi +5 -5
  145. bl_ui_utils/layout/__init__.pyi +1 -1
  146. blend_render_info/__init__.pyi +2 -2
  147. blf/__init__.pyi +15 -15
  148. bmesh/__init__.pyi +1 -1
  149. bmesh/ops/__init__.pyi +366 -357
  150. bmesh/types/__init__.pyi +59 -57
  151. bmesh/utils/__init__.pyi +2 -2
  152. bpy/app/__init__.pyi +3 -3
  153. bpy/app/icons/__init__.pyi +1 -1
  154. bpy/app/timers/__init__.pyi +2 -2
  155. bpy/app/translations/__init__.pyi +9 -9
  156. bpy/msgbus/__init__.pyi +3 -3
  157. bpy/ops/action/__init__.pyi +62 -38
  158. bpy/ops/anim/__init__.pyi +63 -61
  159. bpy/ops/armature/__init__.pyi +58 -48
  160. bpy/ops/asset/__init__.pyi +31 -17
  161. bpy/ops/boid/__init__.pyi +18 -8
  162. bpy/ops/brush/__init__.pyi +19 -13
  163. bpy/ops/buttons/__init__.pyi +14 -6
  164. bpy/ops/cachefile/__init__.pyi +9 -5
  165. bpy/ops/camera/__init__.pyi +2 -2
  166. bpy/ops/clip/__init__.pyi +112 -92
  167. bpy/ops/cloth/__init__.pyi +1 -1
  168. bpy/ops/collection/__init__.pyi +11 -9
  169. bpy/ops/console/__init__.pyi +37 -21
  170. bpy/ops/constraint/__init__.pyi +20 -18
  171. bpy/ops/curve/__init__.pyi +81 -51
  172. bpy/ops/curves/__init__.pyi +50 -30
  173. bpy/ops/cycles/__init__.pyi +3 -3
  174. bpy/ops/dpaint/__init__.pyi +5 -5
  175. bpy/ops/ed/__init__.pyi +19 -13
  176. bpy/ops/export_anim/__init__.pyi +1 -1
  177. bpy/ops/export_scene/__init__.pyi +2 -2
  178. bpy/ops/extensions/__init__.pyi +38 -32
  179. bpy/ops/file/__init__.pyi +72 -40
  180. bpy/ops/fluid/__init__.pyi +36 -14
  181. bpy/ops/font/__init__.pyi +41 -23
  182. bpy/ops/geometry/__init__.pyi +10 -10
  183. bpy/ops/gizmogroup/__init__.pyi +4 -2
  184. bpy/ops/gpencil/__init__.pyi +12 -8
  185. bpy/ops/graph/__init__.pyi +81 -65
  186. bpy/ops/grease_pencil/__init__.pyi +159 -115
  187. bpy/ops/image/__init__.pyi +63 -49
  188. bpy/ops/import_anim/__init__.pyi +1 -1
  189. bpy/ops/import_curve/__init__.pyi +1 -1
  190. bpy/ops/import_scene/__init__.pyi +2 -2
  191. bpy/ops/info/__init__.pyi +13 -7
  192. bpy/ops/lattice/__init__.pyi +14 -8
  193. bpy/ops/marker/__init__.pyi +13 -11
  194. bpy/ops/mask/__init__.pyi +59 -39
  195. bpy/ops/material/__init__.pyi +3 -3
  196. bpy/ops/mball/__init__.pyi +8 -8
  197. bpy/ops/mesh/__init__.pyi +182 -164
  198. bpy/ops/nla/__init__.pyi +65 -39
  199. bpy/ops/node/__init__.pyi +181 -147
  200. bpy/ops/object/__init__.pyi +262 -242
  201. bpy/ops/outliner/__init__.pyi +98 -72
  202. bpy/ops/paint/__init__.pyi +58 -54
  203. bpy/ops/paintcurve/__init__.pyi +12 -8
  204. bpy/ops/palette/__init__.pyi +11 -7
  205. bpy/ops/particle/__init__.pyi +58 -36
  206. bpy/ops/pointcloud/__init__.pyi +13 -7
  207. bpy/ops/pose/__init__.pyi +65 -51
  208. bpy/ops/poselib/__init__.pyi +17 -11
  209. bpy/ops/preferences/__init__.pyi +41 -35
  210. bpy/ops/ptcache/__init__.pyi +13 -7
  211. bpy/ops/render/__init__.pyi +17 -13
  212. bpy/ops/rigidbody/__init__.pyi +19 -13
  213. bpy/ops/scene/__init__.pyi +39 -37
  214. bpy/ops/screen/__init__.pyi +59 -39
  215. bpy/ops/script/__init__.pyi +5 -3
  216. bpy/ops/sculpt/__init__.pyi +44 -40
  217. bpy/ops/sculpt_curves/__init__.pyi +4 -4
  218. bpy/ops/sequencer/__init__.pyi +142 -100
  219. bpy/ops/sound/__init__.pyi +7 -7
  220. bpy/ops/spreadsheet/__init__.pyi +13 -7
  221. bpy/ops/surface/__init__.pyi +6 -6
  222. bpy/ops/text/__init__.pyi +73 -43
  223. bpy/ops/text_editor/__init__.pyi +1 -1
  224. bpy/ops/texture/__init__.pyi +8 -4
  225. bpy/ops/transform/__init__.pyi +29 -27
  226. bpy/ops/ui/__init__.pyi +42 -34
  227. bpy/ops/uilist/__init__.pyi +3 -3
  228. bpy/ops/uv/__init__.pyi +59 -49
  229. bpy/ops/view2d/__init__.pyi +14 -14
  230. bpy/ops/view3d/__init__.pyi +87 -67
  231. bpy/ops/wm/__init__.pyi +138 -116
  232. bpy/ops/workspace/__init__.pyi +11 -7
  233. bpy/ops/world/__init__.pyi +2 -2
  234. bpy/props/__init__.pyi +16 -13
  235. bpy/types/__init__.pyi +1206 -1157
  236. bpy/utils/__init__.pyi +23 -23
  237. bpy/utils/previews/__init__.pyi +3 -3
  238. bpy_extras/anim_utils/__init__.pyi +7 -7
  239. bpy_extras/bmesh_utils/__init__.pyi +1 -1
  240. bpy_extras/id_map_utils/__init__.pyi +3 -3
  241. bpy_extras/io_utils/__init__.pyi +14 -12
  242. bpy_extras/keyconfig_utils/__init__.pyi +3 -3
  243. bpy_extras/mesh_utils/__init__.pyi +2 -2
  244. bpy_extras/node_shader_utils/__init__.pyi +63 -63
  245. bpy_extras/node_utils/__init__.pyi +3 -3
  246. bpy_extras/object_utils/__init__.pyi +4 -4
  247. bpy_extras/wm_utils/progress_report/__init__.pyi +10 -10
  248. bpy_types/__init__.pyi +4 -4
  249. console_python/__init__.pyi +7 -7
  250. console_shell/__init__.pyi +5 -5
  251. {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250606.dist-info}/METADATA +1 -1
  252. fake_bpy_module-20250606.dist-info/RECORD +367 -0
  253. freestyle/chainingiterators/__init__.pyi +35 -33
  254. freestyle/functions/__init__.pyi +55 -55
  255. freestyle/predicates/__init__.pyi +8 -8
  256. freestyle/shaders/__init__.pyi +79 -75
  257. freestyle/types/__init__.pyi +146 -142
  258. freestyle/utils/ContextFunctions/__init__.pyi +3 -1
  259. freestyle/utils/__init__.pyi +25 -25
  260. gpu/matrix/__init__.pyi +14 -14
  261. gpu/select/__init__.pyi +1 -1
  262. gpu/shader/__init__.pyi +1 -1
  263. gpu/state/__init__.pyi +19 -19
  264. gpu/types/__init__.pyi +50 -44
  265. gpu_extras/presets/__init__.pyi +2 -2
  266. graphviz_export/__init__.pyi +2 -2
  267. idprop/types/__init__.pyi +9 -9
  268. imbuf/__init__.pyi +3 -1
  269. imbuf/types/__init__.pyi +3 -3
  270. keyingsets_builtins/__init__.pyi +26 -26
  271. keyingsets_utils/__init__.pyi +14 -14
  272. mathutils/__init__.pyi +61 -53
  273. mathutils/bvhtree/__init__.pyi +4 -4
  274. mathutils/kdtree/__init__.pyi +3 -3
  275. mathutils/noise/__init__.pyi +1 -1
  276. nodeitems_builtins/__init__.pyi +4 -4
  277. nodeitems_utils/__init__.pyi +9 -9
  278. rna_info/__init__.pyi +25 -25
  279. rna_keymap_ui/__init__.pyi +6 -6
  280. rna_prop_ui/__init__.pyi +12 -12
  281. rna_xml/__init__.pyi +6 -6
  282. fake_bpy_module-20250604.dist-info/RECORD +0 -367
  283. {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250606.dist-info}/WHEEL +0 -0
  284. {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250606.dist-info}/top_level.txt +0 -0
bpy/utils/__init__.pyi CHANGED
@@ -19,7 +19,7 @@ import bpy.types
19
19
  from . import previews as previews
20
20
  from . import units as units
21
21
 
22
- def app_template_paths(*, path: str | None = None):
22
+ def app_template_paths(*, path: str | None = None) -> None:
23
23
  """Returns valid application template paths.
24
24
 
25
25
  :param path: Optional subdir.
@@ -51,7 +51,7 @@ def escape_identifier(string: str) -> str:
51
51
  :rtype: str
52
52
  """
53
53
 
54
- def execfile(filepath: str, *, mod: None | None = None):
54
+ def execfile(filepath: str, *, mod: None | None = None) -> None:
55
55
  """Execute a file path as a Python script.
56
56
 
57
57
  :param filepath: Path of the script to execute.
@@ -61,7 +61,7 @@ def execfile(filepath: str, *, mod: None | None = None):
61
61
  :return: The module which can be passed back in as mod.
62
62
  """
63
63
 
64
- def expose_bundled_modules():
64
+ def expose_bundled_modules() -> None:
65
65
  """For Blender as a Python module, add bundled VFX library python bindings
66
66
  to sys.path. These may be used instead of dedicated packages, to ensure
67
67
  the libraries are compatible with Blender.
@@ -109,14 +109,14 @@ def is_path_extension(path: str) -> bool:
109
109
  :rtype: bool
110
110
  """
111
111
 
112
- def keyconfig_init(): ...
113
- def keyconfig_set(filepath, *, report=None): ...
112
+ def keyconfig_init() -> None: ...
113
+ def keyconfig_set(filepath, *, report=None) -> None: ...
114
114
  def load_scripts(
115
115
  *,
116
116
  reload_scripts: bool = False,
117
117
  refresh_scripts: bool = False,
118
118
  extensions: bool = True,
119
- ):
119
+ ) -> None:
120
120
  """Load scripts and run each modules register function.
121
121
 
122
122
  :param reload_scripts: Causes all scripts to have their unregister method
@@ -129,7 +129,7 @@ def load_scripts(
129
129
  :type extensions: bool
130
130
  """
131
131
 
132
- def load_scripts_extensions(*, reload_scripts: bool = False):
132
+ def load_scripts_extensions(*, reload_scripts: bool = False) -> None:
133
133
  """Load extensions scripts (add-ons and app-templates)
134
134
 
135
135
  :param reload_scripts: Causes all scripts to have their unregister method
@@ -162,7 +162,7 @@ def manual_language_code(default="en") -> str:
162
162
  :rtype: str
163
163
  """
164
164
 
165
- def manual_map(): ...
165
+ def manual_map() -> None: ...
166
166
  def modules_from_path(path: str, loaded_modules) -> list:
167
167
  """Load all modules in a path and return them as a list.
168
168
 
@@ -174,7 +174,7 @@ def modules_from_path(path: str, loaded_modules) -> list:
174
174
  :rtype: list
175
175
  """
176
176
 
177
- def preset_find(name, preset_path, *, display_name=False, ext=".py"): ...
177
+ def preset_find(name, preset_path, *, display_name=False, ext=".py") -> None: ...
178
178
  def preset_paths(subdir: str) -> list[str]:
179
179
  """Returns a list of paths for a specific preset.
180
180
 
@@ -184,7 +184,7 @@ def preset_paths(subdir: str) -> list[str]:
184
184
  :rtype: list[str]
185
185
  """
186
186
 
187
- def refresh_script_paths():
187
+ def refresh_script_paths() -> None:
188
188
  """Run this after creating new script paths to update sys.path"""
189
189
 
190
190
  def register_class(
@@ -204,20 +204,20 @@ def register_class(
204
204
  | bpy.types.Node
205
205
  | bpy.types.NodeSocket
206
206
  ],
207
- ):
207
+ ) -> None:
208
208
  """Register a subclass of a Blender type class.
209
209
 
210
210
  :param cls: Registerable Blender class type.
211
211
  :type cls: type[bpy.types.Panel | bpy.types.UIList | bpy.types.Menu | bpy.types.Header | bpy.types.Operator | bpy.types.KeyingSetInfo | bpy.types.RenderEngine | bpy.types.AssetShelf | bpy.types.FileHandler | bpy.types.PropertyGroup | bpy.types.AddonPreferences | bpy.types.NodeTree | bpy.types.Node | bpy.types.NodeSocket]
212
212
  """
213
213
 
214
- def register_classes_factory(classes):
214
+ def register_classes_factory(classes) -> None:
215
215
  """Utility function to create register and unregister functions
216
216
  which simply registers and unregisters a sequence of classes.
217
217
 
218
218
  """
219
219
 
220
- def register_cli_command(id: str, execute: collections.abc.Callable):
220
+ def register_cli_command(id: str, execute: collections.abc.Callable) -> None:
221
221
  """Register a command, accessible via the (-c / --command) command-line argument.Custom CommandsRegistering commands makes it possible to conveniently expose command line
222
222
  functionality via commands passed to (-c / --command).Using Python Argument ParsingThis example shows how the Python argparse module can be used with a custom command.Using argparse is generally recommended as it has many useful utilities and
223
223
  generates a --help message for your command.
@@ -235,7 +235,7 @@ def register_cli_command(id: str, execute: collections.abc.Callable):
235
235
  This uses Python's capsule type however the result should be considered an opaque handle only used for unregistering.
236
236
  """
237
237
 
238
- def register_manual_map(manual_hook): ...
238
+ def register_manual_map(manual_hook) -> None: ...
239
239
  def register_preset_path(path: str) -> bool:
240
240
  """Register a preset search path.
241
241
 
@@ -273,7 +273,7 @@ def register_tool(
273
273
  after: None | collections.abc.Sequence[str] | None = None,
274
274
  separator: bool = False,
275
275
  group: bool = False,
276
- ):
276
+ ) -> None:
277
277
  """Register a tool in the toolbar.
278
278
 
279
279
  :param tool_cls: A tool subclass.
@@ -301,7 +301,7 @@ def resource_path(
301
301
  :rtype: str
302
302
  """
303
303
 
304
- def script_path_user():
304
+ def script_path_user() -> None:
305
305
  """returns the env var and falls back to home dir or None"""
306
306
 
307
307
  def script_paths(
@@ -328,10 +328,10 @@ def script_paths(
328
328
  :rtype: list[str]
329
329
  """
330
330
 
331
- def script_paths_pref():
331
+ def script_paths_pref() -> None:
332
332
  """Returns a list of user preference script directories."""
333
333
 
334
- def script_paths_system_environment():
334
+ def script_paths_system_environment() -> None:
335
335
  """Returns a list of system script directories from environment variables."""
336
336
 
337
337
  def smpte_from_frame(frame: float, *, fps=None, fps_base=None) -> str:
@@ -354,7 +354,7 @@ def smpte_from_seconds(time: float, *, fps=None, fps_base=None) -> str:
354
354
  :rtype: str
355
355
  """
356
356
 
357
- def time_from_frame(frame: float, *, fps=None, fps_base=None):
357
+ def time_from_frame(frame: float, *, fps=None, fps_base=None) -> None:
358
358
  """Returns the time from a frame number .If fps and fps_base are not given the current scene is used.
359
359
 
360
360
  :param frame: number.
@@ -399,7 +399,7 @@ def unregister_class(
399
399
  | bpy.types.Node
400
400
  | bpy.types.NodeSocket
401
401
  ],
402
- ):
402
+ ) -> None:
403
403
  """Unload the Python class from blender.
404
404
 
405
405
  :param cls: Blender type class,
@@ -408,13 +408,13 @@ def unregister_class(
408
408
  :type cls: type[bpy.types.Panel | bpy.types.UIList | bpy.types.Menu | bpy.types.Header | bpy.types.Operator | bpy.types.KeyingSetInfo | bpy.types.RenderEngine | bpy.types.AssetShelf | bpy.types.FileHandler | bpy.types.PropertyGroup | bpy.types.AddonPreferences | bpy.types.NodeTree | bpy.types.Node | bpy.types.NodeSocket]
409
409
  """
410
410
 
411
- def unregister_cli_command(handle):
411
+ def unregister_cli_command(handle) -> None:
412
412
  """Unregister a CLI command.
413
413
 
414
414
  :param handle: The return value of `register_cli_command`.
415
415
  """
416
416
 
417
- def unregister_manual_map(manual_hook): ...
417
+ def unregister_manual_map(manual_hook) -> None: ...
418
418
  def unregister_preset_path(path: str) -> bool:
419
419
  """Unregister a preset search path.
420
420
 
@@ -426,7 +426,7 @@ def unregister_preset_path(path: str) -> bool:
426
426
  :rtype: bool
427
427
  """
428
428
 
429
- def unregister_tool(tool_cls): ...
429
+ def unregister_tool(tool_cls) -> None: ...
430
430
  def user_resource(resource_type: str, *, path: str = "", create: bool = False) -> str:
431
431
  """Return a user resource path (normally from the users home directory).
432
432
 
@@ -24,10 +24,10 @@ class ImagePreviewCollection(dict[str, bpy.types.ImagePreview]):
24
24
  used to store multiple image previews.
25
25
  """
26
26
 
27
- def clear(self):
27
+ def clear(self) -> None:
28
28
  """Clear all previews."""
29
29
 
30
- def close(self):
30
+ def close(self) -> None:
31
31
  """Close the collection and clear all previews."""
32
32
 
33
33
  def load(
@@ -67,7 +67,7 @@ def new() -> ImagePreviewCollection:
67
67
  :rtype: ImagePreviewCollection
68
68
  """
69
69
 
70
- def remove(pcoll: ImagePreviewCollection | None):
70
+ def remove(pcoll: ImagePreviewCollection | None) -> None:
71
71
  """Remove the specified previews collection.
72
72
 
73
73
  :param pcoll: Preview collection to close.
@@ -15,14 +15,14 @@ class KeyframesCo:
15
15
 
16
16
  keyframes_from_fcurve: typing.Any
17
17
 
18
- def add_paths(self, rna_path, total_indices):
18
+ def add_paths(self, rna_path, total_indices) -> None:
19
19
  """
20
20
 
21
21
  :param rna_path:
22
22
  :param total_indices:
23
23
  """
24
24
 
25
- def extend_co_value(self, rna_path, frame, value):
25
+ def extend_co_value(self, rna_path, frame, value) -> None:
26
26
  """
27
27
 
28
28
  :param rna_path:
@@ -30,7 +30,7 @@ class KeyframesCo:
30
30
  :param value:
31
31
  """
32
32
 
33
- def extend_co_values(self, rna_path, total_indices, frame, values):
33
+ def extend_co_values(self, rna_path, total_indices, frame, values) -> None:
34
34
  """
35
35
 
36
36
  :param rna_path:
@@ -41,7 +41,7 @@ class KeyframesCo:
41
41
 
42
42
  def insert_keyframes_into_existing_action(
43
43
  self, lookup_fcurves, total_new_keys, action, action_slot
44
- ):
44
+ ) -> None:
45
45
  """Assumes the action already exists, that it might already have F-curves. Otherwise, the
46
46
  only difference between versions is performance and implementation simplicity.
47
47
 
@@ -54,7 +54,7 @@ class KeyframesCo:
54
54
 
55
55
  def insert_keyframes_into_new_action(
56
56
  self, total_new_keys, action, action_group_name: str
57
- ):
57
+ ) -> None:
58
58
  """Assumes the action is new, that it has no F-curves. Otherwise, the only difference between versions is
59
59
  performance and implementation simplicity.
60
60
 
@@ -64,7 +64,7 @@ class KeyframesCo:
64
64
  :type action_group_name: str
65
65
  """
66
66
 
67
- def action_get_channelbag_for_slot(action, slot):
67
+ def action_get_channelbag_for_slot(action, slot) -> None:
68
68
  """Returns the first channelbag found for the slot.
69
69
  In case there are multiple layers or strips they are iterated until a
70
70
  channelbag for that slot is found. In case no matching channelbag is found, returns None.
@@ -114,7 +114,7 @@ def bake_action_objects(
114
114
  :rtype: collections.abc.Sequence[bpy.types.Action]
115
115
  """
116
116
 
117
- def bake_action_objects_iter(object_action_pairs, bake_options):
117
+ def bake_action_objects_iter(object_action_pairs, bake_options) -> None:
118
118
  """An coroutine that bakes actions for multiple objects.
119
119
 
120
120
  :param object_action_pairs: Sequence of object action tuples,
@@ -12,4 +12,4 @@ def bmesh_linked_uv_islands(bm, uv_layer) -> list[list[int]]:
12
12
  :rtype: list[list[int]]
13
13
  """
14
14
 
15
- def match_uv(face, vert, uv, uv_layer): ...
15
+ def match_uv(face, vert, uv, uv_layer) -> None: ...
@@ -3,11 +3,11 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
5
 
6
- def get_all_referenced_ids(id, ref_map):
6
+ def get_all_referenced_ids(id, ref_map) -> None:
7
7
  """Return a set of IDs directly or indirectly referenced by id."""
8
8
 
9
- def get_id_reference_map():
9
+ def get_id_reference_map() -> None:
10
10
  """Return a dictionary of direct datablock references for every datablock in the blend file."""
11
11
 
12
- def recursive_get_referenced_ids(ref_map, id, referenced_ids, visited):
12
+ def recursive_get_referenced_ids(ref_map, id, referenced_ids, visited) -> None:
13
13
  """Recursively populate referenced_ids with IDs referenced by id."""
@@ -6,13 +6,13 @@ import bpy.types
6
6
  import mathutils
7
7
 
8
8
  class ExportHelper:
9
- def check(self, _context):
9
+ def check(self, _context) -> None:
10
10
  """
11
11
 
12
12
  :param _context:
13
13
  """
14
14
 
15
- def invoke(self, context, _event):
15
+ def invoke(self, context, _event) -> None:
16
16
  """
17
17
 
18
18
  :param context:
@@ -20,27 +20,27 @@ class ExportHelper:
20
20
  """
21
21
 
22
22
  class ImportHelper:
23
- def check(self, _context):
23
+ def check(self, _context) -> None:
24
24
  """
25
25
 
26
26
  :param _context:
27
27
  """
28
28
 
29
- def invoke(self, context, _event):
29
+ def invoke(self, context, _event) -> None:
30
30
  """
31
31
 
32
32
  :param context:
33
33
  :param _event:
34
34
  """
35
35
 
36
- def invoke_popup(self, context, confirm_text=""):
36
+ def invoke_popup(self, context, confirm_text="") -> None:
37
37
  """
38
38
 
39
39
  :param context:
40
40
  :param confirm_text:
41
41
  """
42
42
 
43
- def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z"):
43
+ def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z") -> None:
44
44
  """Each argument us an axis in ['X', 'Y', 'Z', '-X', '-Y', '-Z']
45
45
  where the first 2 are a source and the second 2 are the target.
46
46
 
@@ -76,7 +76,7 @@ def create_derived_objects(
76
76
  :rtype: dict[bpy.types.Object, list[tuple[bpy.types.Object, mathutils.Matrix]]]
77
77
  """
78
78
 
79
- def orientation_helper(axis_forward="Y", axis_up="Z"):
79
+ def orientation_helper(axis_forward="Y", axis_up="Z") -> None:
80
80
  """A decorator for import/export classes, generating properties needed by the axis conversion system and IO helpers,
81
81
  with specified default values (axes).
82
82
 
@@ -116,7 +116,9 @@ def path_reference(
116
116
  :rtype: str
117
117
  """
118
118
 
119
- def path_reference_copy(copy_set, report: collections.abc.Callable[str, None] = print):
119
+ def path_reference_copy(
120
+ copy_set, report: collections.abc.Callable[str, None] = print
121
+ ) -> None:
120
122
  """Execute copying files of path_reference
121
123
 
122
124
  :param copy_set: set of (from, to) pairs to copy.
@@ -124,7 +126,7 @@ def path_reference_copy(copy_set, report: collections.abc.Callable[str, None] =
124
126
  :type report: collections.abc.Callable[str, None]
125
127
  """
126
128
 
127
- def poll_file_object_drop(context):
129
+ def poll_file_object_drop(context) -> None:
128
130
  """A default implementation for FileHandler poll_drop methods. Allows for both the 3D Viewport and
129
131
  the Outliner (in ViewLayer display mode) to be targets for file drag and drop.
130
132
 
@@ -137,7 +139,7 @@ def unique_name(
137
139
  name_max=-1,
138
140
  clean_func: typing.Any | None = None,
139
141
  sep: str = ".",
140
- ):
142
+ ) -> None:
141
143
  """Helper function for storing unique names which may have special characters
142
144
  stripped and restricted to a maximum length.
143
145
 
@@ -159,5 +161,5 @@ def unique_name(
159
161
  :type sep: str
160
162
  """
161
163
 
162
- def unpack_face_list(list_of_tuples): ...
163
- def unpack_list(list_of_tuples): ...
164
+ def unpack_face_list(list_of_tuples) -> None: ...
165
+ def unpack_list(list_of_tuples) -> None: ...
@@ -3,10 +3,10 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
5
 
6
- def addon_keymap_register(keymap_data):
6
+ def addon_keymap_register(keymap_data) -> None:
7
7
  """Register a set of keymaps for addons using a list of keymaps.See 'blender_defaults.py' for examples of the format this takes."""
8
8
 
9
- def addon_keymap_unregister(keymap_data):
9
+ def addon_keymap_unregister(keymap_data) -> None:
10
10
  """Unregister a set of keymaps for addons."""
11
11
 
12
- def keyconfig_test(kc): ...
12
+ def keyconfig_test(kc) -> None: ...
@@ -19,7 +19,7 @@ def edge_face_count_dict(mesh) -> dict[tuple[int, int], int]:
19
19
  :rtype: dict[tuple[int, int], int]
20
20
  """
21
21
 
22
- def edge_loops_from_edges(mesh, edges=None):
22
+ def edge_loops_from_edges(mesh, edges=None) -> None:
23
23
  """Edge loops defined by edgesTakes me.edges or a list of edges and returns the edge loopsreturn a list of vertex indices.
24
24
  [ [1, 6, 7, 2], ...]closed loops have matching start and end values.
25
25
 
@@ -53,7 +53,7 @@ def ngon_tessellate(
53
53
  indices: list[int],
54
54
  fix_loops: bool = True,
55
55
  debug_print=True,
56
- ):
56
+ ) -> None:
57
57
  """Takes a poly-line of indices (ngon) and returns a list of face
58
58
  index lists. Designed to be used for importers that need indices for an
59
59
  ngon to create from existing verts.
@@ -13,10 +13,10 @@ class ShaderWrapper:
13
13
  node_texcoords: typing.Any
14
14
  use_nodes: typing.Any
15
15
 
16
- def node_texcoords_get(self): ...
17
- def update(self): ...
18
- def use_nodes_get(self): ...
19
- def use_nodes_set(self, val):
16
+ def node_texcoords_get(self) -> None: ...
17
+ def update(self) -> None: ...
18
+ def use_nodes_get(self) -> None: ...
19
+ def use_nodes_set(self, val) -> None:
20
20
  """
21
21
 
22
22
  :param val:
@@ -46,65 +46,65 @@ class ShaderImageTextureWrapper:
46
46
  translation: typing.Any
47
47
  use_alpha: typing.Any
48
48
 
49
- def copy_from(self, tex):
49
+ def copy_from(self, tex) -> None:
50
50
  """
51
51
 
52
52
  :param tex:
53
53
  """
54
54
 
55
- def copy_mapping_from(self, tex):
55
+ def copy_mapping_from(self, tex) -> None:
56
56
  """
57
57
 
58
58
  :param tex:
59
59
  """
60
60
 
61
- def extension_get(self): ...
62
- def extension_set(self, extension):
61
+ def extension_get(self) -> None: ...
62
+ def extension_set(self, extension) -> None:
63
63
  """
64
64
 
65
65
  :param extension:
66
66
  """
67
67
 
68
- def has_mapping_node(self): ...
69
- def image_get(self): ...
70
- def image_set(self, image):
68
+ def has_mapping_node(self) -> None: ...
69
+ def image_get(self) -> None: ...
70
+ def image_set(self, image) -> None:
71
71
  """
72
72
 
73
73
  :param image:
74
74
  """
75
75
 
76
- def node_image_get(self): ...
77
- def node_mapping_get(self): ...
78
- def projection_get(self): ...
79
- def projection_set(self, projection):
76
+ def node_image_get(self) -> None: ...
77
+ def node_mapping_get(self) -> None: ...
78
+ def projection_get(self) -> None: ...
79
+ def projection_set(self, projection) -> None:
80
80
  """
81
81
 
82
82
  :param projection:
83
83
  """
84
84
 
85
- def rotation_get(self): ...
86
- def rotation_set(self, rotation):
85
+ def rotation_get(self) -> None: ...
86
+ def rotation_set(self, rotation) -> None:
87
87
  """
88
88
 
89
89
  :param rotation:
90
90
  """
91
91
 
92
- def scale_get(self): ...
93
- def scale_set(self, scale):
92
+ def scale_get(self) -> None: ...
93
+ def scale_set(self, scale) -> None:
94
94
  """
95
95
 
96
96
  :param scale:
97
97
  """
98
98
 
99
- def texcoords_get(self): ...
100
- def texcoords_set(self, texcoords):
99
+ def texcoords_get(self) -> None: ...
100
+ def texcoords_set(self, texcoords) -> None:
101
101
  """
102
102
 
103
103
  :param texcoords:
104
104
  """
105
105
 
106
- def translation_get(self): ...
107
- def translation_set(self, translation):
106
+ def translation_get(self) -> None: ...
107
+ def translation_set(self, translation) -> None:
108
108
  """
109
109
 
110
110
  :param translation:
@@ -147,99 +147,99 @@ class PrincipledBSDFWrapper(ShaderWrapper):
147
147
  transmission_texture: typing.Any
148
148
  use_nodes: typing.Any
149
149
 
150
- def alpha_get(self): ...
151
- def alpha_set(self, value):
150
+ def alpha_get(self) -> None: ...
151
+ def alpha_set(self, value) -> None:
152
152
  """
153
153
 
154
154
  :param value:
155
155
  """
156
156
 
157
- def alpha_texture_get(self): ...
158
- def base_color_get(self): ...
159
- def base_color_set(self, color):
157
+ def alpha_texture_get(self) -> None: ...
158
+ def base_color_get(self) -> None: ...
159
+ def base_color_set(self, color) -> None:
160
160
  """
161
161
 
162
162
  :param color:
163
163
  """
164
164
 
165
- def base_color_texture_get(self): ...
166
- def emission_color_get(self): ...
167
- def emission_color_set(self, color):
165
+ def base_color_texture_get(self) -> None: ...
166
+ def emission_color_get(self) -> None: ...
167
+ def emission_color_set(self, color) -> None:
168
168
  """
169
169
 
170
170
  :param color:
171
171
  """
172
172
 
173
- def emission_color_texture_get(self): ...
174
- def emission_strength_get(self): ...
175
- def emission_strength_set(self, value):
173
+ def emission_color_texture_get(self) -> None: ...
174
+ def emission_strength_get(self) -> None: ...
175
+ def emission_strength_set(self, value) -> None:
176
176
  """
177
177
 
178
178
  :param value:
179
179
  """
180
180
 
181
- def emission_strength_texture_get(self): ...
182
- def ior_get(self): ...
183
- def ior_set(self, value):
181
+ def emission_strength_texture_get(self) -> None: ...
182
+ def ior_get(self) -> None: ...
183
+ def ior_set(self, value) -> None:
184
184
  """
185
185
 
186
186
  :param value:
187
187
  """
188
188
 
189
- def ior_texture_get(self): ...
190
- def metallic_get(self): ...
191
- def metallic_set(self, value):
189
+ def ior_texture_get(self) -> None: ...
190
+ def metallic_get(self) -> None: ...
191
+ def metallic_set(self, value) -> None:
192
192
  """
193
193
 
194
194
  :param value:
195
195
  """
196
196
 
197
- def metallic_texture_get(self): ...
198
- def node_normalmap_get(self): ...
199
- def normalmap_strength_get(self): ...
200
- def normalmap_strength_set(self, value):
197
+ def metallic_texture_get(self) -> None: ...
198
+ def node_normalmap_get(self) -> None: ...
199
+ def normalmap_strength_get(self) -> None: ...
200
+ def normalmap_strength_set(self, value) -> None:
201
201
  """
202
202
 
203
203
  :param value:
204
204
  """
205
205
 
206
- def normalmap_texture_get(self): ...
207
- def roughness_get(self): ...
208
- def roughness_set(self, value):
206
+ def normalmap_texture_get(self) -> None: ...
207
+ def roughness_get(self) -> None: ...
208
+ def roughness_set(self, value) -> None:
209
209
  """
210
210
 
211
211
  :param value:
212
212
  """
213
213
 
214
- def roughness_texture_get(self): ...
215
- def specular_get(self): ...
216
- def specular_set(self, value):
214
+ def roughness_texture_get(self) -> None: ...
215
+ def specular_get(self) -> None: ...
216
+ def specular_set(self, value) -> None:
217
217
  """
218
218
 
219
219
  :param value:
220
220
  """
221
221
 
222
- def specular_texture_get(self): ...
223
- def specular_tint_get(self): ...
224
- def specular_tint_set(self, color):
222
+ def specular_texture_get(self) -> None: ...
223
+ def specular_tint_get(self) -> None: ...
224
+ def specular_tint_set(self, color) -> None:
225
225
  """
226
226
 
227
227
  :param color:
228
228
  """
229
229
 
230
- def specular_tint_texture_get(self): ...
231
- def transmission_get(self): ...
232
- def transmission_set(self, value):
230
+ def specular_tint_texture_get(self) -> None: ...
231
+ def transmission_get(self) -> None: ...
232
+ def transmission_set(self, value) -> None:
233
233
  """
234
234
 
235
235
  :param value:
236
236
  """
237
237
 
238
- def transmission_texture_get(self): ...
239
- def update(self): ...
238
+ def transmission_texture_get(self) -> None: ...
239
+ def update(self) -> None: ...
240
240
 
241
- def node_input_value_get(node, input, default_value=None): ...
242
- def node_input_value_set(node, input, value): ...
243
- def rgb_to_rgba(rgb): ...
244
- def rgba_to_rgb(rgba): ...
245
- def values_clamp(val, minv, maxv): ...
241
+ def node_input_value_get(node, input, default_value=None) -> None: ...
242
+ def node_input_value_set(node, input, value) -> None: ...
243
+ def rgb_to_rgba(rgb) -> None: ...
244
+ def rgba_to_rgb(rgba) -> None: ...
245
+ def values_clamp(val, minv, maxv) -> None: ...
@@ -3,17 +3,17 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
5
 
6
- def connect_sockets(input, output):
6
+ def connect_sockets(input, output) -> None:
7
7
  """Connect sockets in a node tree.This is useful because the links created through the normal Python API are
8
8
  invalid when one of the sockets is a virtual socket (grayed out sockets in
9
9
  Group Input and Group Output nodes).It replaces node_tree.links.new(input, output)
10
10
 
11
11
  """
12
12
 
13
- def find_base_socket_type(socket):
13
+ def find_base_socket_type(socket) -> None:
14
14
  """Find the base class of the socket.Sockets can have a subtype such as NodeSocketFloatFactor,
15
15
  but only the base type is allowed, e. g. NodeSocketFloat
16
16
 
17
17
  """
18
18
 
19
- def find_node_input(node, name): ...
19
+ def find_node_input(node, name) -> None: ...