fake-bpy-module 20240914__py3-none-any.whl → 20240916__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 (325) hide show
  1. _bpy_internal/__init__.pyi +2 -2
  2. _bpy_internal/addons/__init__.pyi +2 -2
  3. _bpy_internal/addons/cli/__init__.pyi +2 -2
  4. _bpy_internal/extensions/__init__.pyi +2 -2
  5. _bpy_internal/extensions/junction_module/__init__.pyi +2 -8
  6. _bpy_internal/extensions/stale_file_manager/__init__.pyi +2 -6
  7. _bpy_internal/extensions/wheel_manager/__init__.pyi +2 -6
  8. _bpy_internal/freedesktop/__init__.pyi +2 -2
  9. _bpy_internal/grease_pencil/__init__.pyi +2 -2
  10. _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -16
  11. _bpy_internal/system_info/__init__.pyi +2 -2
  12. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -2
  13. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -2
  14. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
  15. addon_utils/__init__.pyi +2 -12
  16. animsys_refactor/__init__.pyi +2 -3
  17. aud/__init__.pyi +2 -71
  18. bgl/__init__.pyi +2 -526
  19. bl_app_override/__init__.pyi +2 -2
  20. bl_app_override/helpers/__init__.pyi +2 -2
  21. bl_app_template_utils/__init__.pyi +2 -4
  22. bl_console_utils/__init__.pyi +2 -2
  23. bl_console_utils/autocomplete/__init__.pyi +2 -2
  24. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -12
  25. bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -8
  26. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -12
  27. bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -6
  28. bl_i18n_utils/__init__.pyi +2 -2
  29. bl_i18n_utils/bl_extract_messages/__init__.pyi +2 -6
  30. bl_i18n_utils/merge_po/__init__.pyi +2 -2
  31. bl_i18n_utils/settings/__init__.pyi +2 -6
  32. bl_i18n_utils/utils/__init__.pyi +2 -45
  33. bl_i18n_utils/utils_cli/__init__.pyi +2 -2
  34. bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -2
  35. bl_i18n_utils/utils_rtl/__init__.pyi +2 -6
  36. bl_keymap_utils/__init__.pyi +2 -2
  37. bl_keymap_utils/io/__init__.pyi +2 -4
  38. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -4
  39. bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -2
  40. bl_keymap_utils/platform_helpers/__init__.pyi +2 -4
  41. bl_keymap_utils/versioning/__init__.pyi +2 -2
  42. bl_math/__init__.pyi +2 -8
  43. bl_operators/__init__.pyi +2 -2
  44. bl_operators/add_mesh_torus/__init__.pyi +2 -8
  45. bl_operators/anim/__init__.pyi +2 -48
  46. bl_operators/assets/__init__.pyi +2 -17
  47. bl_operators/bmesh/__init__.pyi +2 -2
  48. bl_operators/bmesh/find_adjacent/__init__.pyi +2 -6
  49. bl_operators/bone_selection_sets/__init__.pyi +2 -46
  50. bl_operators/clip/__init__.pyi +2 -43
  51. bl_operators/connect_to_output/__init__.pyi +2 -18
  52. bl_operators/console/__init__.pyi +2 -22
  53. bl_operators/constraint/__init__.pyi +2 -18
  54. bl_operators/file/__init__.pyi +2 -14
  55. bl_operators/freestyle/__init__.pyi +2 -19
  56. bl_operators/geometry_nodes/__init__.pyi +2 -21
  57. bl_operators/image/__init__.pyi +2 -19
  58. bl_operators/image_as_planes/__init__.pyi +2 -43
  59. bl_operators/mesh/__init__.pyi +2 -15
  60. bl_operators/node/__init__.pyi +2 -41
  61. bl_operators/node_editor/__init__.pyi +2 -2
  62. bl_operators/node_editor/node_functions/__init__.pyi +2 -3
  63. bl_operators/object/__init__.pyi +2 -63
  64. bl_operators/object_align/__init__.pyi +2 -6
  65. bl_operators/object_quick_effects/__init__.pyi +2 -18
  66. bl_operators/object_randomize_transform/__init__.pyi +2 -6
  67. bl_operators/presets/__init__.pyi +2 -70
  68. bl_operators/rigidbody/__init__.pyi +2 -15
  69. bl_operators/screen_play_rendered_anim/__init__.pyi +2 -5
  70. bl_operators/sequencer/__init__.pyi +2 -36
  71. bl_operators/spreadsheet/__init__.pyi +2 -8
  72. bl_operators/userpref/__init__.pyi +2 -93
  73. bl_operators/uvcalc_follow_active/__init__.pyi +2 -7
  74. bl_operators/uvcalc_lightmap/__init__.pyi +2 -11
  75. bl_operators/uvcalc_transform/__init__.pyi +2 -19
  76. bl_operators/vertexpaint_dirt/__init__.pyi +2 -6
  77. bl_operators/view3d/__init__.pyi +2 -37
  78. bl_operators/wm/__init__.pyi +2 -168
  79. bl_operators/world/__init__.pyi +2 -6
  80. bl_previews_utils/__init__.pyi +2 -2
  81. bl_previews_utils/bl_previews_render/__init__.pyi +2 -2
  82. bl_rna_utils/__init__.pyi +2 -2
  83. bl_rna_utils/data_path/__init__.pyi +2 -6
  84. bl_text_utils/__init__.pyi +2 -2
  85. bl_text_utils/external_editor/__init__.pyi +2 -2
  86. bl_ui/__init__.pyi +2 -11
  87. bl_ui/anim/__init__.pyi +2 -5
  88. bl_ui/asset_shelf/__init__.pyi +2 -6
  89. bl_ui/generic_ui_list/__init__.pyi +2 -16
  90. bl_ui/node_add_menu/__init__.pyi +2 -11
  91. bl_ui/node_add_menu_compositor/__init__.pyi +2 -53
  92. bl_ui/node_add_menu_geometry/__init__.pyi +2 -152
  93. bl_ui/node_add_menu_shader/__init__.pyi +2 -31
  94. bl_ui/node_add_menu_texture/__init__.pyi +2 -29
  95. bl_ui/properties_animviz/__init__.pyi +2 -4
  96. bl_ui/properties_collection/__init__.pyi +2 -20
  97. bl_ui/properties_constraint/__init__.pyi +2 -288
  98. bl_ui/properties_data_armature/__init__.pyi +2 -60
  99. bl_ui/properties_data_bone/__init__.pyi +2 -42
  100. bl_ui/properties_data_camera/__init__.pyi +2 -51
  101. bl_ui/properties_data_curve/__init__.pyi +2 -58
  102. bl_ui/properties_data_curves/__init__.pyi +2 -24
  103. bl_ui/properties_data_empty/__init__.pyi +2 -10
  104. bl_ui/properties_data_gpencil/__init__.pyi +2 -57
  105. bl_ui/properties_data_grease_pencil/__init__.pyi +2 -49
  106. bl_ui/properties_data_lattice/__init__.pyi +2 -14
  107. bl_ui/properties_data_light/__init__.pyi +2 -50
  108. bl_ui/properties_data_lightprobe/__init__.pyi +2 -48
  109. bl_ui/properties_data_mesh/__init__.pyi +2 -69
  110. bl_ui/properties_data_metaball/__init__.pyi +2 -20
  111. bl_ui/properties_data_modifier/__init__.pyi +2 -36
  112. bl_ui/properties_data_pointcloud/__init__.pyi +2 -19
  113. bl_ui/properties_data_shaderfx/__init__.pyi +2 -5
  114. bl_ui/properties_data_speaker/__init__.pyi +2 -19
  115. bl_ui/properties_data_volume/__init__.pyi +2 -29
  116. bl_ui/properties_freestyle/__init__.pyi +2 -98
  117. bl_ui/properties_grease_pencil_common/__init__.pyi +2 -74
  118. bl_ui/properties_mask_common/__init__.pyi +2 -37
  119. bl_ui/properties_material/__init__.pyi +2 -59
  120. bl_ui/properties_material_gpencil/__init__.pyi +2 -36
  121. bl_ui/properties_object/__init__.pyi +2 -52
  122. bl_ui/properties_output/__init__.pyi +2 -65
  123. bl_ui/properties_paint_common/__init__.pyi +2 -41
  124. bl_ui/properties_particle/__init__.pyi +2 -205
  125. bl_ui/properties_physics_cloth/__init__.pyi +2 -49
  126. bl_ui/properties_physics_common/__init__.pyi +2 -6
  127. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -103
  128. bl_ui/properties_physics_field/__init__.pyi +2 -44
  129. bl_ui/properties_physics_fluid/__init__.pyi +2 -134
  130. bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -7
  131. bl_ui/properties_physics_rigidbody/__init__.pyi +2 -35
  132. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -57
  133. bl_ui/properties_physics_softbody/__init__.pyi +2 -52
  134. bl_ui/properties_render/__init__.pyi +2 -220
  135. bl_ui/properties_scene/__init__.pyi +2 -55
  136. bl_ui/properties_texture/__init__.pyi +2 -93
  137. bl_ui/properties_view_layer/__init__.pyi +2 -47
  138. bl_ui/properties_workspace/__init__.pyi +2 -15
  139. bl_ui/properties_world/__init__.pyi +2 -42
  140. bl_ui/space_clip/__init__.pyi +2 -224
  141. bl_ui/space_console/__init__.pyi +2 -20
  142. bl_ui/space_dopesheet/__init__.pyi +2 -96
  143. bl_ui/space_filebrowser/__init__.pyi +2 -99
  144. bl_ui/space_graph/__init__.pyi +2 -62
  145. bl_ui/space_image/__init__.pyi +2 -211
  146. bl_ui/space_info/__init__.pyi +2 -20
  147. bl_ui/space_nla/__init__.pyi +2 -54
  148. bl_ui/space_node/__init__.pyi +2 -100
  149. bl_ui/space_outliner/__init__.pyi +2 -48
  150. bl_ui/space_properties/__init__.pyi +2 -14
  151. bl_ui/space_sequencer/__init__.pyi +2 -280
  152. bl_ui/space_spreadsheet/__init__.pyi +2 -11
  153. bl_ui/space_statusbar/__init__.pyi +2 -5
  154. bl_ui/space_text/__init__.pyi +2 -51
  155. bl_ui/space_time/__init__.pyi +2 -27
  156. bl_ui/space_toolsystem_common/__init__.pyi +2 -13
  157. bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -36
  158. bl_ui/space_topbar/__init__.pyi +2 -86
  159. bl_ui/space_userpref/__init__.pyi +2 -313
  160. bl_ui/space_view3d/__init__.pyi +2 -881
  161. bl_ui/space_view3d_toolbar/__init__.pyi +2 -344
  162. bl_ui/utils/__init__.pyi +2 -5
  163. bl_ui_utils/__init__.pyi +2 -2
  164. bl_ui_utils/layout/__init__.pyi +2 -4
  165. blend_render_info/__init__.pyi +2 -4
  166. blf/__init__.pyi +2 -32
  167. bmesh/__init__.pyi +2 -8
  168. bmesh/geometry/__init__.pyi +2 -4
  169. bmesh/ops/__init__.pyi +2 -162
  170. bmesh/types/__init__.pyi +19 -133
  171. bmesh/utils/__init__.pyi +2 -28
  172. bpy/__init__.pyi +2 -2
  173. bpy/app/__init__.pyi +2 -6
  174. bpy/app/handlers/__init__.pyi +2 -2
  175. bpy/app/icons/__init__.pyi +2 -8
  176. bpy/app/timers/__init__.pyi +2 -8
  177. bpy/app/translations/__init__.pyi +2 -20
  178. bpy/msgbus/__init__.pyi +2 -8
  179. bpy/ops/__init__.pyi +2 -2
  180. bpy/ops/action/__init__.pyi +15 -110
  181. bpy/ops/anim/__init__.pyi +2 -118
  182. bpy/ops/armature/__init__.pyi +2 -98
  183. bpy/ops/asset/__init__.pyi +2 -34
  184. bpy/ops/boid/__init__.pyi +5 -30
  185. bpy/ops/brush/__init__.pyi +5 -31
  186. bpy/ops/buttons/__init__.pyi +2 -14
  187. bpy/ops/cachefile/__init__.pyi +2 -12
  188. bpy/ops/camera/__init__.pyi +2 -6
  189. bpy/ops/clip/__init__.pyi +5 -188
  190. bpy/ops/cloth/__init__.pyi +2 -4
  191. bpy/ops/collection/__init__.pyi +2 -20
  192. bpy/ops/console/__init__.pyi +2 -44
  193. bpy/ops/constraint/__init__.pyi +2 -38
  194. bpy/ops/curve/__init__.pyi +7 -143
  195. bpy/ops/curves/__init__.pyi +11 -64
  196. bpy/ops/cycles/__init__.pyi +2 -8
  197. bpy/ops/dpaint/__init__.pyi +5 -14
  198. bpy/ops/ed/__init__.pyi +2 -26
  199. bpy/ops/export_anim/__init__.pyi +2 -4
  200. bpy/ops/export_scene/__init__.pyi +2 -6
  201. bpy/ops/extensions/__init__.pyi +2 -70
  202. bpy/ops/file/__init__.pyi +2 -82
  203. bpy/ops/fluid/__init__.pyi +2 -30
  204. bpy/ops/font/__init__.pyi +2 -48
  205. bpy/ops/geometry/__init__.pyi +21 -75
  206. bpy/ops/gizmogroup/__init__.pyi +2 -6
  207. bpy/ops/gpencil/__init__.pyi +2 -286
  208. bpy/ops/graph/__init__.pyi +19 -213
  209. bpy/ops/grease_pencil/__init__.pyi +9 -196
  210. bpy/ops/image/__init__.pyi +11 -111
  211. bpy/ops/import_anim/__init__.pyi +2 -4
  212. bpy/ops/import_curve/__init__.pyi +2 -4
  213. bpy/ops/import_scene/__init__.pyi +2 -6
  214. bpy/ops/info/__init__.pyi +2 -16
  215. bpy/ops/lattice/__init__.pyi +5 -20
  216. bpy/ops/marker/__init__.pyi +2 -24
  217. bpy/ops/mask/__init__.pyi +2 -80
  218. bpy/ops/material/__init__.pyi +2 -8
  219. bpy/ops/mball/__init__.pyi +2 -18
  220. bpy/ops/mesh/__init__.pyi +45 -467
  221. bpy/ops/nla/__init__.pyi +5 -92
  222. bpy/ops/node/__init__.pyi +5 -215
  223. bpy/ops/object/__init__.pyi +73 -870
  224. bpy/ops/outliner/__init__.pyi +7 -200
  225. bpy/ops/paint/__init__.pyi +9 -116
  226. bpy/ops/paintcurve/__init__.pyi +2 -18
  227. bpy/ops/palette/__init__.pyi +2 -16
  228. bpy/ops/particle/__init__.pyi +2 -74
  229. bpy/ops/pose/__init__.pyi +15 -180
  230. bpy/ops/poselib/__init__.pyi +2 -20
  231. bpy/ops/preferences/__init__.pyi +2 -72
  232. bpy/ops/ptcache/__init__.pyi +2 -16
  233. bpy/ops/render/__init__.pyi +2 -28
  234. bpy/ops/rigidbody/__init__.pyi +11 -56
  235. bpy/ops/scene/__init__.pyi +11 -131
  236. bpy/ops/screen/__init__.pyi +9 -142
  237. bpy/ops/script/__init__.pyi +2 -8
  238. bpy/ops/sculpt/__init__.pyi +2 -74
  239. bpy/ops/sculpt_curves/__init__.pyi +2 -10
  240. bpy/ops/sequencer/__init__.pyi +5 -194
  241. bpy/ops/sound/__init__.pyi +5 -21
  242. bpy/ops/spreadsheet/__init__.pyi +2 -10
  243. bpy/ops/surface/__init__.pyi +2 -14
  244. bpy/ops/text/__init__.pyi +2 -88
  245. bpy/ops/text_editor/__init__.pyi +2 -4
  246. bpy/ops/texture/__init__.pyi +2 -10
  247. bpy/ops/transform/__init__.pyi +75 -400
  248. bpy/ops/ui/__init__.pyi +2 -68
  249. bpy/ops/uilist/__init__.pyi +2 -8
  250. bpy/ops/uv/__init__.pyi +5 -102
  251. bpy/ops/view2d/__init__.pyi +2 -30
  252. bpy/ops/view3d/__init__.pyi +2 -136
  253. bpy/ops/wm/__init__.pyi +17 -259
  254. bpy/ops/workspace/__init__.pyi +2 -16
  255. bpy/ops/world/__init__.pyi +2 -6
  256. bpy/path/__init__.pyi +2 -28
  257. bpy/props/__init__.pyi +2 -24
  258. bpy/types/__init__.pyi +1937 -31353
  259. bpy/typing/__init__.pyi +2490 -0
  260. bpy/utils/__init__.pyi +4 -74
  261. bpy/utils/previews/__init__.pyi +2 -10
  262. bpy/utils/units/__init__.pyi +2 -6
  263. bpy_extras/__init__.pyi +2 -2
  264. bpy_extras/anim_utils/__init__.pyi +2 -17
  265. bpy_extras/asset_utils/__init__.pyi +2 -5
  266. bpy_extras/bmesh_utils/__init__.pyi +2 -4
  267. bpy_extras/id_map_utils/__init__.pyi +2 -8
  268. bpy_extras/image_utils/__init__.pyi +2 -4
  269. bpy_extras/io_utils/__init__.pyi +2 -23
  270. bpy_extras/keyconfig_utils/__init__.pyi +2 -6
  271. bpy_extras/mesh_utils/__init__.pyi +2 -16
  272. bpy_extras/node_shader_utils/__init__.pyi +2 -23
  273. bpy_extras/node_utils/__init__.pyi +2 -6
  274. bpy_extras/object_utils/__init__.pyi +2 -15
  275. bpy_extras/view3d_utils/__init__.pyi +2 -10
  276. bpy_extras/wm_utils/__init__.pyi +2 -2
  277. bpy_extras/wm_utils/progress_report/__init__.pyi +2 -10
  278. bpy_restrict_state/__init__.pyi +2 -2
  279. bpy_types/__init__.pyi +2 -5
  280. console_python/__init__.pyi +2 -4
  281. console_shell/__init__.pyi +2 -2
  282. {fake_bpy_module-20240914.dist-info → fake_bpy_module-20240916.dist-info}/METADATA +1 -1
  283. fake_bpy_module-20240916.dist-info/RECORD +365 -0
  284. {fake_bpy_module-20240914.dist-info → fake_bpy_module-20240916.dist-info}/WHEEL +1 -1
  285. freestyle/__init__.pyi +2 -2
  286. freestyle/chainingiterators/__init__.pyi +2 -25
  287. freestyle/functions/__init__.pyi +2 -109
  288. freestyle/predicates/__init__.pyi +2 -30
  289. freestyle/shaders/__init__.pyi +2 -77
  290. freestyle/types/__init__.pyi +2 -192
  291. freestyle/utils/ContextFunctions/__init__.pyi +2 -20
  292. freestyle/utils/__init__.pyi +5 -51
  293. gpu/__init__.pyi +2 -2
  294. gpu/capabilities/__init__.pyi +2 -40
  295. gpu/matrix/__init__.pyi +2 -36
  296. gpu/platform/__init__.pyi +2 -12
  297. gpu/select/__init__.pyi +2 -4
  298. gpu/shader/__init__.pyi +2 -8
  299. gpu/state/__init__.pyi +2 -42
  300. gpu/texture/__init__.pyi +2 -4
  301. gpu/types/__init__.pyi +2 -54
  302. gpu_extras/__init__.pyi +2 -2
  303. gpu_extras/batch/__init__.pyi +2 -4
  304. gpu_extras/presets/__init__.pyi +2 -6
  305. graphviz_export/__init__.pyi +2 -2
  306. idprop/__init__.pyi +2 -2
  307. idprop/types/__init__.pyi +2 -11
  308. imbuf/__init__.pyi +2 -8
  309. imbuf/types/__init__.pyi +2 -6
  310. keyingsets_builtins/__init__.pyi +2 -70
  311. keyingsets_utils/__init__.pyi +2 -2
  312. mathutils/__init__.pyi +38 -228
  313. mathutils/bvhtree/__init__.pyi +2 -10
  314. mathutils/geometry/__init__.pyi +2 -54
  315. mathutils/interpolate/__init__.pyi +2 -4
  316. mathutils/kdtree/__init__.pyi +2 -8
  317. mathutils/noise/__init__.pyi +2 -36
  318. nodeitems_builtins/__init__.pyi +2 -4
  319. nodeitems_utils/__init__.pyi +2 -4
  320. rna_info/__init__.pyi +2 -7
  321. rna_keymap_ui/__init__.pyi +2 -2
  322. rna_prop_ui/__init__.pyi +2 -6
  323. rna_xml/__init__.pyi +2 -2
  324. fake_bpy_module-20240914.dist-info/RECORD +0 -364
  325. {fake_bpy_module-20240914.dist-info → fake_bpy_module-20240916.dist-info}/top_level.txt +0 -0
bpy/utils/__init__.pyi CHANGED
@@ -16,8 +16,8 @@ import typing_extensions
16
16
  from . import previews as previews
17
17
  from . import units as units
18
18
 
19
- GenericType1 = typing.TypeVar("GenericType1")
20
- GenericType2 = typing.TypeVar("GenericType2")
19
+ _GenericType1 = typing.TypeVar("_GenericType1")
20
+ _GenericType2 = typing.TypeVar("_GenericType2")
21
21
 
22
22
  def app_template_paths(*, path: str | None = None):
23
23
  """Returns valid application template paths.
@@ -27,8 +27,6 @@ def app_template_paths(*, path: str | None = None):
27
27
  :return: app template paths.
28
28
  """
29
29
 
30
- ...
31
-
32
30
  def blend_paths(
33
31
  absolute: bool = False, packed: bool = False, local: bool = False
34
32
  ) -> list[str]:
@@ -44,8 +42,6 @@ def blend_paths(
44
42
  :rtype: list[str]
45
43
  """
46
44
 
47
- ...
48
-
49
45
  def escape_identifier(string: str) -> str:
50
46
  """Simple string escaping function used for animation paths.
51
47
 
@@ -55,8 +51,6 @@ def escape_identifier(string: str) -> str:
55
51
  :rtype: str
56
52
  """
57
53
 
58
- ...
59
-
60
54
  def execfile(filepath: str, *, mod=None):
61
55
  """Execute a file path as a Python script.
62
56
 
@@ -66,8 +60,6 @@ def execfile(filepath: str, *, mod=None):
66
60
  :return: The module which can be passed back in as mod.
67
61
  """
68
62
 
69
- ...
70
-
71
63
  def extension_path_user(package: str, *, path: str = "", create: bool = False) -> str:
72
64
  """Return a user writable directory associated with an extension.
73
65
 
@@ -81,8 +73,6 @@ def extension_path_user(package: str, *, path: str = "", create: bool = False) -
81
73
  :rtype: str
82
74
  """
83
75
 
84
- ...
85
-
86
76
  def flip_name(name: str, strip_digits: bool = False) -> str:
87
77
  """Flip a name between left/right sides, useful for
88
78
  mirroring bone names.
@@ -95,8 +85,6 @@ def flip_name(name: str, strip_digits: bool = False) -> str:
95
85
  :rtype: str
96
86
  """
97
87
 
98
- ...
99
-
100
88
  def is_path_builtin(path: str) -> bool:
101
89
  """Returns True if the path is one of the built-in paths used by Blender.
102
90
 
@@ -105,8 +93,6 @@ def is_path_builtin(path: str) -> bool:
105
93
  :rtype: bool
106
94
  """
107
95
 
108
- ...
109
-
110
96
  def is_path_extension(path: str) -> bool:
111
97
  """Returns True if the path is from an extensions repository.
112
98
 
@@ -115,8 +101,6 @@ def is_path_extension(path: str) -> bool:
115
101
  :rtype: bool
116
102
  """
117
103
 
118
- ...
119
-
120
104
  def keyconfig_init(): ...
121
105
  def keyconfig_set(filepath, *, report=None): ...
122
106
  def load_scripts(
@@ -137,8 +121,6 @@ def load_scripts(
137
121
  :type extensions: bool
138
122
  """
139
123
 
140
- ...
141
-
142
124
  def load_scripts_extensions(*, reload_scripts: bool = False):
143
125
  """Load extensions scripts (add-ons and app-templates)
144
126
 
@@ -147,8 +129,6 @@ def load_scripts_extensions(*, reload_scripts: bool = False):
147
129
  :type reload_scripts: bool
148
130
  """
149
131
 
150
- ...
151
-
152
132
  def make_rna_paths(struct_name: str, prop_name: str, enum_name: str):
153
133
  """Create RNA "paths" from given names.
154
134
 
@@ -163,8 +143,6 @@ def make_rna_paths(struct_name: str, prop_name: str, enum_name: str):
163
143
  If no enum_name is given, the third element will always be void.
164
144
  """
165
145
 
166
- ...
167
-
168
146
  def manual_language_code(default="en") -> str:
169
147
  """
170
148
 
@@ -173,8 +151,6 @@ def manual_language_code(default="en") -> str:
173
151
  :rtype: str
174
152
  """
175
153
 
176
- ...
177
-
178
154
  def manual_map(): ...
179
155
  def modules_from_path(path: str, loaded_modules: set) -> list:
180
156
  """Load all modules in a path and return them as a list.
@@ -188,8 +164,6 @@ def modules_from_path(path: str, loaded_modules: set) -> list:
188
164
  :rtype: list
189
165
  """
190
166
 
191
- ...
192
-
193
167
  def preset_find(name, preset_path, *, display_name=False, ext=".py"): ...
194
168
  def preset_paths(subdir: str) -> list:
195
169
  """Returns a list of paths for a specific preset.
@@ -200,13 +174,9 @@ def preset_paths(subdir: str) -> list:
200
174
  :rtype: list
201
175
  """
202
176
 
203
- ...
204
-
205
177
  def refresh_script_paths():
206
178
  """Run this after creating new script paths to update sys.path"""
207
179
 
208
- ...
209
-
210
180
  def register_class(cls):
211
181
  """Register a subclass of a Blender type class.
212
182
 
@@ -218,16 +188,12 @@ def register_class(cls):
218
188
  `bpy.types.FileHandler`
219
189
  """
220
190
 
221
- ...
222
-
223
191
  def register_classes_factory(classes):
224
192
  """Utility function to create register and unregister functions
225
193
  which simply registers and unregisters a sequence of classes.
226
194
 
227
195
  """
228
196
 
229
- ...
230
-
231
197
  def register_cli_command(id: str, execute: collections.abc.Callable):
232
198
  """Register a command, accessible via the (-c / --command) command-line argument.Custom CommandsRegistering commands makes it possible to conveniently expose command line
233
199
  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
@@ -244,8 +210,6 @@ def register_cli_command(id: str, execute: collections.abc.Callable):
244
210
  :return: The command handle which can be passed to `unregister_cli_command`.
245
211
  """
246
212
 
247
- ...
248
-
249
213
  def register_manual_map(manual_hook): ...
250
214
  def register_preset_path(path: str) -> bool:
251
215
  """Register a preset search path.
@@ -263,8 +227,6 @@ def register_preset_path(path: str) -> bool:
263
227
  :rtype: bool
264
228
  """
265
229
 
266
- ...
267
-
268
230
  def register_submodule_factory(module_name: str, submodule_names: list[str]):
269
231
  """Utility function to create register and unregister functions
270
232
  which simply load submodules,
@@ -277,8 +239,6 @@ def register_submodule_factory(module_name: str, submodule_names: list[str]):
277
239
  :return: register and unregister functions.
278
240
  """
279
241
 
280
- ...
281
-
282
242
  def register_tool(
283
243
  tool_cls, *, after=None, separator: bool = False, group: bool = False
284
244
  ):
@@ -292,8 +252,6 @@ def register_tool(
292
252
  :type group: bool
293
253
  """
294
254
 
295
- ...
296
-
297
255
  def resource_path(
298
256
  type: str, major: int = bpy.app.version[0], minor: str = bpy.app.version[1]
299
257
  ) -> str:
@@ -309,13 +267,9 @@ def resource_path(
309
267
  :rtype: str
310
268
  """
311
269
 
312
- ...
313
-
314
270
  def script_path_user():
315
271
  """returns the env var and falls back to home dir or None"""
316
272
 
317
- ...
318
-
319
273
  def script_paths(
320
274
  *,
321
275
  subdir: str | None = None,
@@ -340,18 +294,12 @@ def script_paths(
340
294
  :rtype: list
341
295
  """
342
296
 
343
- ...
344
-
345
297
  def script_paths_pref():
346
298
  """Returns a list of user preference script directories."""
347
299
 
348
- ...
349
-
350
300
  def script_paths_system_environment():
351
301
  """Returns a list of system script directories from environment variables."""
352
302
 
353
- ...
354
-
355
303
  def smpte_from_frame(frame: int, *, fps=None, fps_base=None) -> str:
356
304
  """Returns an SMPTE formatted string from the frame:
357
305
  HH:MM:SS:FF.If fps and fps_base are not given the current scene is used.
@@ -362,20 +310,16 @@ def smpte_from_frame(frame: int, *, fps=None, fps_base=None) -> str:
362
310
  :rtype: str
363
311
  """
364
312
 
365
- ...
366
-
367
- def smpte_from_seconds(time: float | int, *, fps=None, fps_base=None) -> str:
313
+ def smpte_from_seconds(time: float, *, fps=None, fps_base=None) -> str:
368
314
  """Returns an SMPTE formatted string from the time:
369
315
  HH:MM:SS:FF.If fps and fps_base are not given the current scene is used.
370
316
 
371
317
  :param time: time in seconds.
372
- :type time: float | int
318
+ :type time: float
373
319
  :return: the frame string.
374
320
  :rtype: str
375
321
  """
376
322
 
377
- ...
378
-
379
323
  def time_from_frame(frame: int, *, fps=None, fps_base=None):
380
324
  """Returns the time from a frame number .If fps and fps_base are not given the current scene is used.
381
325
 
@@ -384,8 +328,6 @@ def time_from_frame(frame: int, *, fps=None, fps_base=None):
384
328
  :return: the time in seconds.
385
329
  """
386
330
 
387
- ...
388
-
389
331
  def time_to_frame(time, *, fps=None, fps_base=None) -> float:
390
332
  """Returns a float frame number from a time given in seconds or
391
333
  as a datetime.timedelta object.If fps and fps_base are not given the current scene is used.
@@ -395,8 +337,6 @@ def time_to_frame(time, *, fps=None, fps_base=None) -> float:
395
337
  :rtype: float
396
338
  """
397
339
 
398
- ...
399
-
400
340
  def unescape_identifier(string: str) -> str:
401
341
  """Simple string un-escape function used for animation paths.
402
342
  This performs the reverse of escape_identifier.
@@ -407,8 +347,6 @@ def unescape_identifier(string: str) -> str:
407
347
  :rtype: str
408
348
  """
409
349
 
410
- ...
411
-
412
350
  def unregister_class(cls):
413
351
  """Unload the Python class from blender.
414
352
 
@@ -417,16 +355,12 @@ def unregister_class(cls):
417
355
  be registered.
418
356
  """
419
357
 
420
- ...
421
-
422
358
  def unregister_cli_command(handle):
423
359
  """Unregister a CLI command.
424
360
 
425
361
  :param handle: The return value of `register_cli_command`.
426
362
  """
427
363
 
428
- ...
429
-
430
364
  def unregister_manual_map(manual_hook): ...
431
365
  def unregister_preset_path(path: str) -> bool:
432
366
  """Unregister a preset search path.
@@ -439,8 +373,6 @@ def unregister_preset_path(path: str) -> bool:
439
373
  :rtype: bool
440
374
  """
441
375
 
442
- ...
443
-
444
376
  def unregister_tool(tool_cls): ...
445
377
  def user_resource(resource_type: str, *, path: str = "", create: bool = False) -> str:
446
378
  """Return a user resource path (normally from the users home directory).
@@ -454,5 +386,3 @@ def user_resource(resource_type: str, *, path: str = "", create: bool = False) -
454
386
  :return: a path.
455
387
  :rtype: str
456
388
  """
457
-
458
- ...
@@ -18,8 +18,8 @@ import collections.abc
18
18
  import typing_extensions
19
19
  import bpy.types
20
20
 
21
- GenericType1 = typing.TypeVar("GenericType1")
22
- GenericType2 = typing.TypeVar("GenericType2")
21
+ _GenericType1 = typing.TypeVar("_GenericType1")
22
+ _GenericType2 = typing.TypeVar("_GenericType2")
23
23
 
24
24
  class ImagePreviewCollection:
25
25
  """Dictionary-like class of previews.This is a subclass of Python's built-in dict type,
@@ -28,11 +28,9 @@ class ImagePreviewCollection:
28
28
 
29
29
  def clear(self):
30
30
  """Clear all previews."""
31
- ...
32
31
 
33
32
  def close(self):
34
33
  """Close the collection and clear all previews."""
35
- ...
36
34
 
37
35
  def load(
38
36
  self,
@@ -54,7 +52,6 @@ class ImagePreviewCollection:
54
52
  :return: The Preview matching given name, or a new empty one.
55
53
  :rtype: bpy.types.ImagePreview
56
54
  """
57
- ...
58
55
 
59
56
  def new(self, name: str | None) -> bpy.types.ImagePreview:
60
57
  """Generate a new empty preview.
@@ -64,7 +61,6 @@ class ImagePreviewCollection:
64
61
  :return: The Preview matching given name, or a new empty one.
65
62
  :rtype: bpy.types.ImagePreview
66
63
  """
67
- ...
68
64
 
69
65
  def new() -> ImagePreviewCollection:
70
66
  """
@@ -73,13 +69,9 @@ def new() -> ImagePreviewCollection:
73
69
  :rtype: ImagePreviewCollection
74
70
  """
75
71
 
76
- ...
77
-
78
72
  def remove(pcoll: ImagePreviewCollection | None):
79
73
  """Remove the specified previews collection.
80
74
 
81
75
  :param pcoll: Preview collection to close.
82
76
  :type pcoll: ImagePreviewCollection | None
83
77
  """
84
-
85
- ...
@@ -7,8 +7,8 @@ import typing
7
7
  import collections.abc
8
8
  import typing_extensions
9
9
 
10
- GenericType1 = typing.TypeVar("GenericType1")
11
- GenericType2 = typing.TypeVar("GenericType2")
10
+ _GenericType1 = typing.TypeVar("_GenericType1")
11
+ _GenericType2 = typing.TypeVar("_GenericType2")
12
12
 
13
13
  def to_string(
14
14
  unit_system: str | None,
@@ -37,8 +37,6 @@ def to_string(
37
37
  :rtype: str
38
38
  """
39
39
 
40
- ...
41
-
42
40
  def to_value(
43
41
  unit_system: str | None,
44
42
  unit_category: str | None,
@@ -60,8 +58,6 @@ def to_value(
60
58
  :rtype: float
61
59
  """
62
60
 
63
- ...
64
-
65
61
  categories: typing.Any
66
62
  """ Constant value bpy.utils.units.categories(NONE='NONE', LENGTH='LENGTH', AREA='AREA', VOLUME='VOLUME', MASS='MASS', ROTATION='ROTATION', TIME='TIME', TIME_ABSOLUTE='TIME_ABSOLUTE', VELOCITY='VELOCITY', ACCELERATION='ACCELERATION', CAMERA='CAMERA', POWER='POWER', TEMPERATURE='TEMPERATURE', WAVELENGTH='WAVELENGTH', COLOR_TEMPERATURE='COLOR_TEMPERATURE', FREQUENCY='FREQUENCY')
67
63
  """
bpy_extras/__init__.pyi CHANGED
@@ -34,5 +34,5 @@ from . import object_utils as object_utils
34
34
  from . import view3d_utils as view3d_utils
35
35
  from . import wm_utils as wm_utils
36
36
 
37
- GenericType1 = typing.TypeVar("GenericType1")
38
- GenericType2 = typing.TypeVar("GenericType2")
37
+ _GenericType1 = typing.TypeVar("_GenericType1")
38
+ _GenericType2 = typing.TypeVar("_GenericType2")
@@ -3,14 +3,12 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import bpy.types
5
5
 
6
- GenericType1 = typing.TypeVar("GenericType1")
7
- GenericType2 = typing.TypeVar("GenericType2")
6
+ _GenericType1 = typing.TypeVar("_GenericType1")
7
+ _GenericType2 = typing.TypeVar("_GenericType2")
8
8
 
9
9
  class BakeOptions:
10
10
  """BakeOptions(only_selected: bool, do_pose: bool, do_object: bool, do_visual_keying: bool, do_constraint_clear: bool, do_parents_clear: bool, do_clean: bool, do_location: bool, do_rotation: bool, do_scale: bool, do_bbone: bool, do_custom_props: bool)"""
11
11
 
12
- ...
13
-
14
12
  class KeyframesCo:
15
13
  """A buffer for keyframe Co unpacked values per FCurveKey. FCurveKeys are added using
16
14
  add_paths(), Co values stored using extend_co_values(), then finally use
@@ -25,7 +23,6 @@ class KeyframesCo:
25
23
  :param rna_path:
26
24
  :param total_indices:
27
25
  """
28
- ...
29
26
 
30
27
  def extend_co_value(self, rna_path, frame, value):
31
28
  """
@@ -34,7 +31,6 @@ class KeyframesCo:
34
31
  :param frame:
35
32
  :param value:
36
33
  """
37
- ...
38
34
 
39
35
  def extend_co_values(self, rna_path, total_indices, frame, values):
40
36
  """
@@ -44,7 +40,6 @@ class KeyframesCo:
44
40
  :param frame:
45
41
  :param values:
46
42
  """
47
- ...
48
43
 
49
44
  def insert_keyframes_into_existing_action(
50
45
  self, lookup_fcurves, total_new_keys, action, action_group_name: str
@@ -59,7 +54,6 @@ class KeyframesCo:
59
54
  :param action_group_name: Name of Action Group that F-curves are added to.
60
55
  :type action_group_name: str
61
56
  """
62
- ...
63
57
 
64
58
  def insert_keyframes_into_new_action(
65
59
  self, total_new_keys, action, action_group_name: str
@@ -72,7 +66,6 @@ class KeyframesCo:
72
66
  :param action_group_name: Name of Action Group that F-curves are added to.
73
67
  :type action_group_name: str
74
68
  """
75
- ...
76
69
 
77
70
  def bake_action(
78
71
  obj: bpy.types.Object, *, action: bpy.types.Action | None, frames, bake_options
@@ -89,8 +82,6 @@ def bake_action(
89
82
  :rtype: bpy.types.Action
90
83
  """
91
84
 
92
- ...
93
-
94
85
  def bake_action_iter(
95
86
  obj: bpy.types.Object, *, action: bpy.types.Action | None, bake_options
96
87
  ) -> bpy.types.Action:
@@ -106,8 +97,6 @@ def bake_action_iter(
106
97
  :rtype: bpy.types.Action
107
98
  """
108
99
 
109
- ...
110
-
111
100
  def bake_action_objects(
112
101
  object_action_pairs, *, frames, bake_options
113
102
  ) -> list[bpy.types.Action]:
@@ -118,13 +107,9 @@ def bake_action_objects(
118
107
  :rtype: list[bpy.types.Action]
119
108
  """
120
109
 
121
- ...
122
-
123
110
  def bake_action_objects_iter(object_action_pairs, bake_options):
124
111
  """An coroutine that bakes actions for multiple objects.
125
112
 
126
113
  :param object_action_pairs: Sequence of object action tuples,
127
114
  action is the destination for the baked data. When None a new action will be created.
128
115
  """
129
-
130
- ...
@@ -7,8 +7,8 @@ import typing
7
7
  import collections.abc
8
8
  import typing_extensions
9
9
 
10
- GenericType1 = typing.TypeVar("GenericType1")
11
- GenericType2 = typing.TypeVar("GenericType2")
10
+ _GenericType1 = typing.TypeVar("_GenericType1")
11
+ _GenericType2 = typing.TypeVar("_GenericType2")
12
12
 
13
13
  class AssetBrowserPanel:
14
14
  bl_space_type: typing.Any
@@ -19,7 +19,6 @@ class AssetBrowserPanel:
19
19
 
20
20
  :param context:
21
21
  """
22
- ...
23
22
 
24
23
  @classmethod
25
24
  def poll(cls, context):
@@ -27,7 +26,6 @@ class AssetBrowserPanel:
27
26
 
28
27
  :param context:
29
28
  """
30
- ...
31
29
 
32
30
  class AssetMetaDataPanel:
33
31
  bl_region_type: typing.Any
@@ -39,6 +37,5 @@ class AssetMetaDataPanel:
39
37
 
40
38
  :param context:
41
39
  """
42
- ...
43
40
 
44
41
  class SpaceAssetInfo: ...
@@ -2,8 +2,8 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- GenericType1 = typing.TypeVar("GenericType1")
6
- GenericType2 = typing.TypeVar("GenericType2")
5
+ _GenericType1 = typing.TypeVar("_GenericType1")
6
+ _GenericType2 = typing.TypeVar("_GenericType2")
7
7
 
8
8
  def bmesh_linked_uv_islands(bm, uv_layer) -> list:
9
9
  """Returns lists of faces connected by UV islands.For meshes use `bpy.types.Mesh.mesh_linked_uv_islands` instead.
@@ -14,6 +14,4 @@ def bmesh_linked_uv_islands(bm, uv_layer) -> list:
14
14
  :rtype: list
15
15
  """
16
16
 
17
- ...
18
-
19
17
  def match_uv(face, vert, uv, uv_layer): ...
@@ -2,20 +2,14 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- GenericType1 = typing.TypeVar("GenericType1")
6
- GenericType2 = typing.TypeVar("GenericType2")
5
+ _GenericType1 = typing.TypeVar("_GenericType1")
6
+ _GenericType2 = typing.TypeVar("_GenericType2")
7
7
 
8
8
  def get_all_referenced_ids(id, ref_map):
9
9
  """Return a set of IDs directly or indirectly referenced by id."""
10
10
 
11
- ...
12
-
13
11
  def get_id_reference_map():
14
12
  """Return a dictionary of direct datablock references for every datablock in the blend file."""
15
13
 
16
- ...
17
-
18
14
  def recursive_get_referenced_ids(ref_map, id, referenced_ids, visited):
19
15
  """Recursively populate referenced_ids with IDs referenced by id."""
20
-
21
- ...
@@ -3,8 +3,8 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import bpy.types
5
5
 
6
- GenericType1 = typing.TypeVar("GenericType1")
7
- GenericType2 = typing.TypeVar("GenericType2")
6
+ _GenericType1 = typing.TypeVar("_GenericType1")
7
+ _GenericType2 = typing.TypeVar("_GenericType2")
8
8
 
9
9
  def load_image(
10
10
  imagepath,
@@ -52,5 +52,3 @@ def load_image(
52
52
  :return: an image or None
53
53
  :rtype: bpy.types.Image
54
54
  """
55
-
56
- ...
@@ -3,8 +3,8 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import bpy.types
5
5
 
6
- GenericType1 = typing.TypeVar("GenericType1")
7
- GenericType2 = typing.TypeVar("GenericType2")
6
+ _GenericType1 = typing.TypeVar("_GenericType1")
7
+ _GenericType2 = typing.TypeVar("_GenericType2")
8
8
 
9
9
  class ExportHelper:
10
10
  def check(self, _context):
@@ -12,7 +12,6 @@ class ExportHelper:
12
12
 
13
13
  :param _context:
14
14
  """
15
- ...
16
15
 
17
16
  def invoke(self, context, _event):
18
17
  """
@@ -20,7 +19,6 @@ class ExportHelper:
20
19
  :param context:
21
20
  :param _event:
22
21
  """
23
- ...
24
22
 
25
23
  class ImportHelper:
26
24
  def check(self, _context):
@@ -28,7 +26,6 @@ class ImportHelper:
28
26
 
29
27
  :param _context:
30
28
  """
31
- ...
32
29
 
33
30
  def invoke(self, context, _event):
34
31
  """
@@ -36,7 +33,6 @@ class ImportHelper:
36
33
  :param context:
37
34
  :param _event:
38
35
  """
39
- ...
40
36
 
41
37
  def invoke_popup(self, context, confirm_text=""):
42
38
  """
@@ -44,7 +40,6 @@ class ImportHelper:
44
40
  :param context:
45
41
  :param confirm_text:
46
42
  """
47
- ...
48
43
 
49
44
  def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z"):
50
45
  """Each argument us an axis in ['X', 'Y', 'Z', '-X', '-Y', '-Z']
@@ -52,8 +47,6 @@ def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z"):
52
47
 
53
48
  """
54
49
 
55
- ...
56
-
57
50
  def axis_conversion_ensure(
58
51
  operator: bpy.types.Operator, forward_attr: str, up_attr: str
59
52
  ) -> bool:
@@ -70,8 +63,6 @@ def axis_conversion_ensure(
70
63
  :rtype: bool
71
64
  """
72
65
 
73
- ...
74
-
75
66
  def create_derived_objects(
76
67
  depsgraph: bpy.types.Depsgraph, objects: list[bpy.types.Object]
77
68
  ) -> dict:
@@ -86,16 +77,12 @@ def create_derived_objects(
86
77
  :rtype: dict
87
78
  """
88
79
 
89
- ...
90
-
91
80
  def orientation_helper(axis_forward="Y", axis_up="Z"):
92
81
  """A decorator for import/export classes, generating properties needed by the axis conversion system and IO helpers,
93
82
  with specified default values (axes).
94
83
 
95
84
  """
96
85
 
97
- ...
98
-
99
86
  def path_reference(
100
87
  filepath: str,
101
88
  base_src: str,
@@ -131,8 +118,6 @@ def path_reference(
131
118
  :rtype: str
132
119
  """
133
120
 
134
- ...
135
-
136
121
  def path_reference_copy(copy_set: set, report: typing.Any = print):
137
122
  """Execute copying files of path_reference
138
123
 
@@ -142,16 +127,12 @@ def path_reference_copy(copy_set: set, report: typing.Any = print):
142
127
  :type report: typing.Any
143
128
  """
144
129
 
145
- ...
146
-
147
130
  def poll_file_object_drop(context):
148
131
  """A default implementation for FileHandler poll_drop methods. Allows for both the 3D Viewport and
149
132
  the Outliner (in ViewLayer display mode) to be targets for file drag and drop.
150
133
 
151
134
  """
152
135
 
153
- ...
154
-
155
136
  def unique_name(
156
137
  key,
157
138
  name: str,
@@ -179,7 +160,5 @@ def unique_name(
179
160
  :type sep: str
180
161
  """
181
162
 
182
- ...
183
-
184
163
  def unpack_face_list(list_of_tuples): ...
185
164
  def unpack_list(list_of_tuples): ...