fake-bpy-module 20240516__py3-none-any.whl → 20240518__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 (549) hide show
  1. _bpy_internal/freedesktop/__init__.pyi +17 -84
  2. addon_utils/__init__.pyi +44 -38
  3. animsys_refactor/__init__.pyi +7 -27
  4. aud/__init__.pyi +8 -11
  5. bgl/__init__.pyi +121 -1812
  6. bl_app_override/__init__.pyi +8 -19
  7. bl_app_override/helpers/__init__.pyi +5 -23
  8. bl_app_template_utils/__init__.pyi +5 -17
  9. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
  10. bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
  11. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
  12. bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
  13. bl_i18n_utils/bl_extract_messages/__init__.pyi +16 -67
  14. bl_i18n_utils/merge_po/__init__.pyi +1 -4
  15. bl_i18n_utils/settings/__init__.pyi +6 -24
  16. bl_i18n_utils/utils/__init__.pyi +93 -122
  17. bl_i18n_utils/utils_cli/__init__.pyi +6 -29
  18. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -4
  19. bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
  20. bl_keymap_utils/io/__init__.pyi +9 -40
  21. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
  22. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -4
  23. bl_keymap_utils/platform_helpers/__init__.pyi +2 -6
  24. bl_keymap_utils/versioning/__init__.pyi +1 -4
  25. bl_operators/__init__.pyi +2 -9
  26. bl_operators/add_mesh_torus/__init__.pyi +128 -59
  27. bl_operators/anim/__init__.pyi +1001 -398
  28. bl_operators/assets/__init__.pyi +376 -152
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +10 -37
  30. bl_operators/clip/__init__.pyi +1264 -532
  31. bl_operators/console/__init__.pyi +626 -242
  32. bl_operators/constraint/__init__.pyi +502 -201
  33. bl_operators/file/__init__.pyi +376 -150
  34. bl_operators/freestyle/__init__.pyi +501 -200
  35. bl_operators/geometry_nodes/__init__.pyi +514 -266
  36. bl_operators/image/__init__.pyi +621 -251
  37. bl_operators/mesh/__init__.pyi +376 -150
  38. bl_operators/node/__init__.pyi +1253 -516
  39. bl_operators/object/__init__.pyi +1879 -755
  40. bl_operators/object_align/__init__.pyi +129 -64
  41. bl_operators/object_quick_effects/__init__.pyi +504 -213
  42. bl_operators/object_randomize_transform/__init__.pyi +129 -54
  43. bl_operators/presets/__init__.pyi +3072 -1403
  44. bl_operators/rigidbody/__init__.pyi +376 -150
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +127 -54
  46. bl_operators/sequencer/__init__.pyi +1010 -434
  47. bl_operators/spreadsheet/__init__.pyi +126 -50
  48. bl_operators/userpref/__init__.pyi +3253 -1267
  49. bl_operators/uvcalc_follow_active/__init__.pyi +128 -59
  50. bl_operators/uvcalc_lightmap/__init__.pyi +139 -80
  51. bl_operators/uvcalc_transform/__init__.pyi +297 -159
  52. bl_operators/vertexpaint_dirt/__init__.pyi +128 -59
  53. bl_operators/view3d/__init__.pyi +868 -342
  54. bl_operators/wm/__init__.pyi +5795 -2388
  55. bl_operators/world/__init__.pyi +126 -50
  56. bl_previews_utils/bl_previews_render/__init__.pyi +7 -34
  57. bl_rna_utils/data_path/__init__.pyi +8 -4
  58. bl_text_utils/external_editor/__init__.pyi +1 -4
  59. bl_ui/__init__.pyi +366 -269
  60. bl_ui/anim/__init__.pyi +164 -74
  61. bl_ui/asset_shelf/__init__.pyi +129 -56
  62. bl_ui/generic_ui_list/__init__.pyi +412 -163
  63. bl_ui/node_add_menu/__init__.pyi +171 -94
  64. bl_ui/node_add_menu_compositor/__init__.pyi +2918 -1353
  65. bl_ui/node_add_menu_geometry/__init__.pyi +7789 -3616
  66. bl_ui/node_add_menu_shader/__init__.pyi +1630 -790
  67. bl_ui/node_add_menu_texture/__init__.pyi +1459 -675
  68. bl_ui/properties_animviz/__init__.pyi +2 -16
  69. bl_ui/properties_collection/__init__.pyi +807 -379
  70. bl_ui/properties_constraint/__init__.pyi +10292 -4941
  71. bl_ui/properties_data_armature/__init__.pyi +1615 -753
  72. bl_ui/properties_data_bone/__init__.pyi +1284 -608
  73. bl_ui/properties_data_camera/__init__.pyi +1854 -927
  74. bl_ui/properties_data_curve/__init__.pyi +1927 -937
  75. bl_ui/properties_data_curves/__init__.pyi +806 -375
  76. bl_ui/properties_data_empty/__init__.pyi +257 -125
  77. bl_ui/properties_data_gpencil/__init__.pyi +2376 -1130
  78. bl_ui/properties_data_grease_pencil/__init__.pyi +1898 -894
  79. bl_ui/properties_data_lattice/__init__.pyi +388 -188
  80. bl_ui/properties_data_light/__init__.pyi +1540 -756
  81. bl_ui/properties_data_lightprobe/__init__.pyi +1666 -810
  82. bl_ui/properties_data_mesh/__init__.pyi +2707 -1235
  83. bl_ui/properties_data_metaball/__init__.pyi +644 -308
  84. bl_ui/properties_data_modifier/__init__.pyi +1353 -671
  85. bl_ui/properties_data_pointcloud/__init__.pyi +679 -316
  86. bl_ui/properties_data_shaderfx/__init__.pyi +129 -67
  87. bl_ui/properties_data_speaker/__init__.pyi +644 -316
  88. bl_ui/properties_data_volume/__init__.pyi +1028 -484
  89. bl_ui/properties_freestyle/__init__.pyi +3112 -1619
  90. bl_ui/properties_grease_pencil_common/__init__.pyi +2454 -1123
  91. bl_ui/properties_mask_common/__init__.pyi +1102 -523
  92. bl_ui/properties_material/__init__.pyi +2089 -1009
  93. bl_ui/properties_material_gpencil/__init__.pyi +1348 -635
  94. bl_ui/properties_object/__init__.pyi +1832 -873
  95. bl_ui/properties_output/__init__.pyi +2405 -1173
  96. bl_ui/properties_paint_common/__init__.pyi +416 -386
  97. bl_ui/properties_particle/__init__.pyi +6740 -3346
  98. bl_ui/properties_physics_cloth/__init__.pyi +1822 -907
  99. bl_ui/properties_physics_common/__init__.pyi +135 -98
  100. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2817 -1391
  101. bl_ui/properties_physics_field/__init__.pyi +1282 -627
  102. bl_ui/properties_physics_fluid/__init__.pyi +3614 -1794
  103. bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -60
  104. bl_ui/properties_physics_rigidbody/__init__.pyi +1026 -515
  105. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1665 -811
  106. bl_ui/properties_physics_softbody/__init__.pyi +1922 -967
  107. bl_ui/properties_render/__init__.pyi +6843 -3367
  108. bl_ui/properties_scene/__init__.pyi +1924 -913
  109. bl_ui/properties_texture/__init__.pyi +3371 -1667
  110. bl_ui/properties_view_layer/__init__.pyi +2344 -1107
  111. bl_ui/properties_workspace/__init__.pyi +516 -244
  112. bl_ui/properties_world/__init__.pyi +1284 -630
  113. bl_ui/space_clip/__init__.pyi +10172 -4695
  114. bl_ui/space_console/__init__.pyi +940 -423
  115. bl_ui/space_dopesheet/__init__.pyi +4325 -2013
  116. bl_ui/space_filebrowser/__init__.pyi +4172 -1903
  117. bl_ui/space_graph/__init__.pyi +3107 -1394
  118. bl_ui/space_image/__init__.pyi +9764 -4614
  119. bl_ui/space_info/__init__.pyi +939 -421
  120. bl_ui/space_nla/__init__.pyi +2623 -1183
  121. bl_ui/space_node/__init__.pyi +3995 -1840
  122. bl_ui/space_outliner/__init__.pyi +2203 -991
  123. bl_ui/space_properties/__init__.pyi +386 -165
  124. bl_ui/space_sequencer/__init__.pyi +10809 -4978
  125. bl_ui/space_spreadsheet/__init__.pyi +130 -53
  126. bl_ui/space_statusbar/__init__.pyi +129 -52
  127. bl_ui/space_text/__init__.pyi +2457 -1100
  128. bl_ui/space_time/__init__.pyi +1034 -481
  129. bl_ui/space_toolsystem_common/__init__.pyi +56 -211
  130. bl_ui/space_toolsystem_toolbar/__init__.pyi +153 -882
  131. bl_ui/space_topbar/__init__.pyi +3982 -1805
  132. bl_ui/space_userpref/__init__.pyi +11383 -5290
  133. bl_ui/space_view3d/__init__.pyi +40873 -18532
  134. bl_ui/space_view3d_toolbar/__init__.pyi +12570 -6502
  135. bl_ui/temp_anim_layers/__init__.pyi +130 -62
  136. bl_ui/utils/__init__.pyi +28 -27
  137. bl_ui_utils/bug_report_url/__init__.pyi +1 -4
  138. bl_ui_utils/layout/__init__.pyi +1 -1
  139. blend_render_info/__init__.pyi +3 -10
  140. blf/__init__.pyi +4 -4
  141. bmesh/geometry/__init__.pyi +2 -3
  142. bmesh/ops/__init__.pyi +372 -419
  143. bmesh/types/__init__.pyi +39 -56
  144. bmesh/utils/__init__.pyi +10 -13
  145. bpy/app/__init__.pyi +4 -4
  146. bpy/app/handlers/__init__.pyi +36 -36
  147. bpy/app/icons/__init__.pyi +8 -8
  148. bpy/app/timers/__init__.pyi +10 -10
  149. bpy/app/translations/__init__.pyi +20 -22
  150. bpy/msgbus/__init__.pyi +2 -4
  151. bpy/ops/action/__init__.pyi +316 -394
  152. bpy/ops/anim/__init__.pyi +442 -548
  153. bpy/ops/armature/__init__.pyi +374 -470
  154. bpy/ops/asset/__init__.pyi +152 -184
  155. bpy/ops/bl_pkg/__init__.pyi +221 -272
  156. bpy/ops/boid/__init__.pyi +50 -66
  157. bpy/ops/brush/__init__.pyi +72 -90
  158. bpy/ops/buttons/__init__.pyi +132 -144
  159. bpy/ops/cachefile/__init__.pyi +128 -138
  160. bpy/ops/camera/__init__.pyi +26 -30
  161. bpy/ops/clip/__init__.pyi +777 -964
  162. bpy/ops/cloth/__init__.pyi +12 -14
  163. bpy/ops/collection/__init__.pyi +68 -86
  164. bpy/ops/console/__init__.pyi +158 -200
  165. bpy/ops/constraint/__init__.pyi +178 -214
  166. bpy/ops/curve/__init__.pyi +473 -576
  167. bpy/ops/curves/__init__.pyi +247 -302
  168. bpy/ops/cycles/__init__.pyi +28 -34
  169. bpy/ops/dpaint/__init__.pyi +34 -44
  170. bpy/ops/ed/__init__.pyi +126 -150
  171. bpy/ops/export_anim/__init__.pyi +22 -24
  172. bpy/ops/export_scene/__init__.pyi +302 -336
  173. bpy/ops/file/__init__.pyi +352 -432
  174. bpy/ops/fluid/__init__.pyi +90 -118
  175. bpy/ops/font/__init__.pyi +258 -304
  176. bpy/ops/geometry/__init__.pyi +100 -120
  177. bpy/ops/gizmogroup/__init__.pyi +22 -26
  178. bpy/ops/gpencil/__init__.pyi +1469 -1778
  179. bpy/ops/graph/__init__.pyi +644 -776
  180. bpy/ops/grease_pencil/__init__.pyi +597 -748
  181. bpy/ops/image/__init__.pyi +648 -744
  182. bpy/ops/import_anim/__init__.pyi +30 -32
  183. bpy/ops/import_curve/__init__.pyi +10 -12
  184. bpy/ops/import_scene/__init__.pyi +88 -96
  185. bpy/ops/info/__init__.pyi +60 -74
  186. bpy/ops/lattice/__init__.pyi +64 -80
  187. bpy/ops/marker/__init__.pyi +108 -130
  188. bpy/ops/mask/__init__.pyi +322 -402
  189. bpy/ops/material/__init__.pyi +18 -24
  190. bpy/ops/mball/__init__.pyi +70 -86
  191. bpy/ops/mesh/__init__.pyi +1986 -2322
  192. bpy/ops/nla/__init__.pyi +333 -411
  193. bpy/ops/node/__init__.pyi +886 -1100
  194. bpy/ops/object/__init__.pyi +2585 -3078
  195. bpy/ops/outliner/__init__.pyi +498 -636
  196. bpy/ops/paint/__init__.pyi +565 -680
  197. bpy/ops/paintcurve/__init__.pyi +64 -80
  198. bpy/ops/palette/__init__.pyi +50 -64
  199. bpy/ops/particle/__init__.pyi +267 -340
  200. bpy/ops/pose/__init__.pyi +336 -414
  201. bpy/ops/poselib/__init__.pyi +72 -90
  202. bpy/ops/preferences/__init__.pyi +386 -463
  203. bpy/ops/ptcache/__init__.pyi +46 -60
  204. bpy/ops/render/__init__.pyi +130 -154
  205. bpy/ops/rigidbody/__init__.pyi +102 -128
  206. bpy/ops/scene/__init__.pyi +280 -358
  207. bpy/ops/screen/__init__.pyi +382 -460
  208. bpy/ops/script/__init__.pyi +24 -30
  209. bpy/ops/sculpt/__init__.pyi +458 -532
  210. bpy/ops/sculpt_curves/__init__.pyi +41 -50
  211. bpy/ops/sequencer/__init__.pyi +1066 -1244
  212. bpy/ops/sound/__init__.pyi +216 -230
  213. bpy/ops/spreadsheet/__init__.pyi +30 -38
  214. bpy/ops/surface/__init__.pyi +108 -120
  215. bpy/ops/text/__init__.pyi +390 -476
  216. bpy/ops/text_editor/__init__.pyi +12 -14
  217. bpy/ops/texture/__init__.pyi +26 -34
  218. bpy/ops/transform/__init__.pyi +792 -878
  219. bpy/ops/ui/__init__.pyi +228 -294
  220. bpy/ops/uilist/__init__.pyi +32 -38
  221. bpy/ops/uv/__init__.pyi +602 -704
  222. bpy/ops/view2d/__init__.pyi +156 -184
  223. bpy/ops/view3d/__init__.pyi +582 -718
  224. bpy/ops/wm/__init__.pyi +2683 -2928
  225. bpy/ops/workspace/__init__.pyi +46 -60
  226. bpy/ops/world/__init__.pyi +12 -16
  227. bpy/path/__init__.pyi +179 -75
  228. bpy/props/__init__.pyi +261 -263
  229. bpy/types/__init__.pyi +17058 -26311
  230. bpy/utils/__init__.pyi +247 -179
  231. bpy/utils/previews/__init__.pyi +58 -28
  232. bpy/utils/units/__init__.pyi +20 -20
  233. bpy_extras/anim_utils/__init__.pyi +68 -29
  234. bpy_extras/asset_utils/__init__.pyi +0 -10
  235. bpy_extras/bmesh_utils/__init__.pyi +9 -6
  236. bpy_extras/extensions/junction_module/__init__.pyi +6 -8
  237. bpy_extras/id_map_utils/__init__.pyi +3 -3
  238. bpy_extras/image_utils/__init__.pyi +44 -11
  239. bpy_extras/io_utils/__init__.pyi +116 -41
  240. bpy_extras/keyconfig_utils/__init__.pyi +4 -11
  241. bpy_extras/mesh_utils/__init__.pyi +71 -19
  242. bpy_extras/node_shader_utils/__init__.pyi +52 -288
  243. bpy_extras/node_utils/__init__.pyi +10 -10
  244. bpy_extras/object_utils/__init__.pyi +71 -14
  245. bpy_extras/view3d_utils/__init__.pyi +80 -10
  246. bpy_extras/wm_utils/progress_report/__init__.pyi +15 -38
  247. bpy_restrict_state/__init__.pyi +1 -14
  248. bpy_types/__init__.pyi +4203 -1605
  249. console_python/__init__.pyi +12 -37
  250. console_shell/__init__.pyi +5 -24
  251. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/METADATA +1 -1
  252. fake_bpy_module-20240518.dist-info/RECORD +353 -0
  253. freestyle/chainingiterators/__init__.pyi +14 -44
  254. freestyle/functions/__init__.pyi +7 -33
  255. freestyle/predicates/__init__.pyi +44 -217
  256. freestyle/shaders/__init__.pyi +2 -12
  257. freestyle/types/__init__.pyi +84 -96
  258. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  259. freestyle/utils/__init__.pyi +6 -18
  260. gpu/matrix/__init__.pyi +6 -8
  261. gpu/state/__init__.pyi +2 -2
  262. gpu/types/__init__.pyi +12 -12
  263. gpu_extras/presets/__init__.pyi +2 -5
  264. graphviz_export/__init__.pyi +4 -9
  265. idprop/types/__init__.pyi +8 -35
  266. imbuf/__init__.pyi +4 -4
  267. imbuf/types/__init__.pyi +0 -2
  268. keyingsets_builtins/__init__.pyi +2692 -997
  269. keyingsets_utils/__init__.pyi +14 -69
  270. mathutils/__init__.pyi +194 -238
  271. mathutils/bvhtree/__init__.pyi +4 -6
  272. mathutils/geometry/__init__.pyi +153 -155
  273. mathutils/kdtree/__init__.pyi +8 -12
  274. mathutils/noise/__init__.pyi +26 -26
  275. nodeitems_builtins/__init__.pyi +5 -30
  276. nodeitems_utils/__init__.pyi +8 -45
  277. rna_info/__init__.pyi +39 -215
  278. rna_keymap_ui/__init__.pyi +6 -29
  279. rna_prop_ui/__init__.pyi +24 -62
  280. rna_xml/__init__.pyi +16 -39
  281. sys_info/__init__.pyi +1 -4
  282. _bpy_internal/freedesktop/py.typed +0 -0
  283. bl_app_override/helpers/py.typed +0 -0
  284. bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
  285. bl_console_utils/autocomplete/complete_import/py.typed +0 -0
  286. bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
  287. bl_console_utils/autocomplete/intellisense/py.typed +0 -0
  288. bl_console_utils/autocomplete/py.typed +0 -0
  289. bl_i18n_utils/bl_extract_messages/py.typed +0 -0
  290. bl_i18n_utils/merge_po/py.typed +0 -0
  291. bl_i18n_utils/settings/py.typed +0 -0
  292. bl_i18n_utils/utils/py.typed +0 -0
  293. bl_i18n_utils/utils_cli/py.typed +0 -0
  294. bl_i18n_utils/utils_languages_menu/py.typed +0 -0
  295. bl_i18n_utils/utils_rtl/py.typed +0 -0
  296. bl_keymap_utils/io/py.typed +0 -0
  297. bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
  298. bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
  299. bl_keymap_utils/platform_helpers/py.typed +0 -0
  300. bl_keymap_utils/versioning/py.typed +0 -0
  301. bl_operators/add_mesh_torus/py.typed +0 -0
  302. bl_operators/anim/py.typed +0 -0
  303. bl_operators/assets/py.typed +0 -0
  304. bl_operators/bmesh/find_adjacent/py.typed +0 -0
  305. bl_operators/bmesh/py.typed +0 -0
  306. bl_operators/clip/py.typed +0 -0
  307. bl_operators/console/py.typed +0 -0
  308. bl_operators/constraint/py.typed +0 -0
  309. bl_operators/file/py.typed +0 -0
  310. bl_operators/freestyle/py.typed +0 -0
  311. bl_operators/geometry_nodes/py.typed +0 -0
  312. bl_operators/image/py.typed +0 -0
  313. bl_operators/mesh/py.typed +0 -0
  314. bl_operators/node/py.typed +0 -0
  315. bl_operators/object/py.typed +0 -0
  316. bl_operators/object_align/py.typed +0 -0
  317. bl_operators/object_quick_effects/py.typed +0 -0
  318. bl_operators/object_randomize_transform/py.typed +0 -0
  319. bl_operators/presets/py.typed +0 -0
  320. bl_operators/rigidbody/py.typed +0 -0
  321. bl_operators/screen_play_rendered_anim/py.typed +0 -0
  322. bl_operators/sequencer/py.typed +0 -0
  323. bl_operators/spreadsheet/py.typed +0 -0
  324. bl_operators/userpref/py.typed +0 -0
  325. bl_operators/uvcalc_follow_active/py.typed +0 -0
  326. bl_operators/uvcalc_lightmap/py.typed +0 -0
  327. bl_operators/uvcalc_transform/py.typed +0 -0
  328. bl_operators/vertexpaint_dirt/py.typed +0 -0
  329. bl_operators/view3d/py.typed +0 -0
  330. bl_operators/wm/py.typed +0 -0
  331. bl_operators/world/py.typed +0 -0
  332. bl_previews_utils/bl_previews_render/py.typed +0 -0
  333. bl_rna_utils/data_path/py.typed +0 -0
  334. bl_text_utils/external_editor/py.typed +0 -0
  335. bl_ui/anim/py.typed +0 -0
  336. bl_ui/asset_shelf/py.typed +0 -0
  337. bl_ui/generic_ui_list/py.typed +0 -0
  338. bl_ui/node_add_menu/py.typed +0 -0
  339. bl_ui/node_add_menu_compositor/py.typed +0 -0
  340. bl_ui/node_add_menu_geometry/py.typed +0 -0
  341. bl_ui/node_add_menu_shader/py.typed +0 -0
  342. bl_ui/node_add_menu_texture/py.typed +0 -0
  343. bl_ui/properties_animviz/py.typed +0 -0
  344. bl_ui/properties_collection/py.typed +0 -0
  345. bl_ui/properties_constraint/py.typed +0 -0
  346. bl_ui/properties_data_armature/py.typed +0 -0
  347. bl_ui/properties_data_bone/py.typed +0 -0
  348. bl_ui/properties_data_camera/py.typed +0 -0
  349. bl_ui/properties_data_curve/py.typed +0 -0
  350. bl_ui/properties_data_curves/py.typed +0 -0
  351. bl_ui/properties_data_empty/py.typed +0 -0
  352. bl_ui/properties_data_gpencil/py.typed +0 -0
  353. bl_ui/properties_data_grease_pencil/py.typed +0 -0
  354. bl_ui/properties_data_lattice/py.typed +0 -0
  355. bl_ui/properties_data_light/py.typed +0 -0
  356. bl_ui/properties_data_lightprobe/py.typed +0 -0
  357. bl_ui/properties_data_mesh/py.typed +0 -0
  358. bl_ui/properties_data_metaball/py.typed +0 -0
  359. bl_ui/properties_data_modifier/py.typed +0 -0
  360. bl_ui/properties_data_pointcloud/py.typed +0 -0
  361. bl_ui/properties_data_shaderfx/py.typed +0 -0
  362. bl_ui/properties_data_speaker/py.typed +0 -0
  363. bl_ui/properties_data_volume/py.typed +0 -0
  364. bl_ui/properties_freestyle/py.typed +0 -0
  365. bl_ui/properties_grease_pencil_common/py.typed +0 -0
  366. bl_ui/properties_mask_common/py.typed +0 -0
  367. bl_ui/properties_material/py.typed +0 -0
  368. bl_ui/properties_material_gpencil/py.typed +0 -0
  369. bl_ui/properties_object/py.typed +0 -0
  370. bl_ui/properties_output/py.typed +0 -0
  371. bl_ui/properties_paint_common/py.typed +0 -0
  372. bl_ui/properties_particle/py.typed +0 -0
  373. bl_ui/properties_physics_cloth/py.typed +0 -0
  374. bl_ui/properties_physics_common/py.typed +0 -0
  375. bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
  376. bl_ui/properties_physics_field/py.typed +0 -0
  377. bl_ui/properties_physics_fluid/py.typed +0 -0
  378. bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
  379. bl_ui/properties_physics_rigidbody/py.typed +0 -0
  380. bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
  381. bl_ui/properties_physics_softbody/py.typed +0 -0
  382. bl_ui/properties_render/py.typed +0 -0
  383. bl_ui/properties_scene/py.typed +0 -0
  384. bl_ui/properties_texture/py.typed +0 -0
  385. bl_ui/properties_view_layer/py.typed +0 -0
  386. bl_ui/properties_workspace/py.typed +0 -0
  387. bl_ui/properties_world/py.typed +0 -0
  388. bl_ui/space_clip/py.typed +0 -0
  389. bl_ui/space_console/py.typed +0 -0
  390. bl_ui/space_dopesheet/py.typed +0 -0
  391. bl_ui/space_filebrowser/py.typed +0 -0
  392. bl_ui/space_graph/py.typed +0 -0
  393. bl_ui/space_image/py.typed +0 -0
  394. bl_ui/space_info/py.typed +0 -0
  395. bl_ui/space_nla/py.typed +0 -0
  396. bl_ui/space_node/py.typed +0 -0
  397. bl_ui/space_outliner/py.typed +0 -0
  398. bl_ui/space_properties/py.typed +0 -0
  399. bl_ui/space_sequencer/py.typed +0 -0
  400. bl_ui/space_spreadsheet/py.typed +0 -0
  401. bl_ui/space_statusbar/py.typed +0 -0
  402. bl_ui/space_text/py.typed +0 -0
  403. bl_ui/space_time/py.typed +0 -0
  404. bl_ui/space_toolsystem_common/py.typed +0 -0
  405. bl_ui/space_toolsystem_toolbar/py.typed +0 -0
  406. bl_ui/space_topbar/py.typed +0 -0
  407. bl_ui/space_userpref/py.typed +0 -0
  408. bl_ui/space_view3d/py.typed +0 -0
  409. bl_ui/space_view3d_toolbar/py.typed +0 -0
  410. bl_ui/temp_anim_layers/py.typed +0 -0
  411. bl_ui/utils/py.typed +0 -0
  412. bl_ui_utils/bug_report_url/py.typed +0 -0
  413. bl_ui_utils/layout/py.typed +0 -0
  414. bmesh/geometry/py.typed +0 -0
  415. bmesh/ops/py.typed +0 -0
  416. bmesh/types/py.typed +0 -0
  417. bmesh/utils/py.typed +0 -0
  418. bpy/app/handlers/py.typed +0 -0
  419. bpy/app/icons/py.typed +0 -0
  420. bpy/app/py.typed +0 -0
  421. bpy/app/timers/py.typed +0 -0
  422. bpy/app/translations/py.typed +0 -0
  423. bpy/msgbus/py.typed +0 -0
  424. bpy/ops/action/py.typed +0 -0
  425. bpy/ops/anim/py.typed +0 -0
  426. bpy/ops/armature/py.typed +0 -0
  427. bpy/ops/asset/py.typed +0 -0
  428. bpy/ops/bl_pkg/py.typed +0 -0
  429. bpy/ops/boid/py.typed +0 -0
  430. bpy/ops/brush/py.typed +0 -0
  431. bpy/ops/buttons/py.typed +0 -0
  432. bpy/ops/cachefile/py.typed +0 -0
  433. bpy/ops/camera/py.typed +0 -0
  434. bpy/ops/clip/py.typed +0 -0
  435. bpy/ops/cloth/py.typed +0 -0
  436. bpy/ops/collection/py.typed +0 -0
  437. bpy/ops/console/py.typed +0 -0
  438. bpy/ops/constraint/py.typed +0 -0
  439. bpy/ops/curve/py.typed +0 -0
  440. bpy/ops/curves/py.typed +0 -0
  441. bpy/ops/cycles/py.typed +0 -0
  442. bpy/ops/dpaint/py.typed +0 -0
  443. bpy/ops/ed/py.typed +0 -0
  444. bpy/ops/export_anim/py.typed +0 -0
  445. bpy/ops/export_scene/py.typed +0 -0
  446. bpy/ops/file/py.typed +0 -0
  447. bpy/ops/fluid/py.typed +0 -0
  448. bpy/ops/font/py.typed +0 -0
  449. bpy/ops/geometry/py.typed +0 -0
  450. bpy/ops/gizmogroup/py.typed +0 -0
  451. bpy/ops/gpencil/py.typed +0 -0
  452. bpy/ops/graph/py.typed +0 -0
  453. bpy/ops/grease_pencil/py.typed +0 -0
  454. bpy/ops/image/py.typed +0 -0
  455. bpy/ops/import_anim/py.typed +0 -0
  456. bpy/ops/import_curve/py.typed +0 -0
  457. bpy/ops/import_scene/py.typed +0 -0
  458. bpy/ops/info/py.typed +0 -0
  459. bpy/ops/lattice/py.typed +0 -0
  460. bpy/ops/marker/py.typed +0 -0
  461. bpy/ops/mask/py.typed +0 -0
  462. bpy/ops/material/py.typed +0 -0
  463. bpy/ops/mball/py.typed +0 -0
  464. bpy/ops/mesh/py.typed +0 -0
  465. bpy/ops/nla/py.typed +0 -0
  466. bpy/ops/node/py.typed +0 -0
  467. bpy/ops/object/py.typed +0 -0
  468. bpy/ops/outliner/py.typed +0 -0
  469. bpy/ops/paint/py.typed +0 -0
  470. bpy/ops/paintcurve/py.typed +0 -0
  471. bpy/ops/palette/py.typed +0 -0
  472. bpy/ops/particle/py.typed +0 -0
  473. bpy/ops/pose/py.typed +0 -0
  474. bpy/ops/poselib/py.typed +0 -0
  475. bpy/ops/preferences/py.typed +0 -0
  476. bpy/ops/ptcache/py.typed +0 -0
  477. bpy/ops/py.typed +0 -0
  478. bpy/ops/render/py.typed +0 -0
  479. bpy/ops/rigidbody/py.typed +0 -0
  480. bpy/ops/scene/py.typed +0 -0
  481. bpy/ops/screen/py.typed +0 -0
  482. bpy/ops/script/py.typed +0 -0
  483. bpy/ops/sculpt/py.typed +0 -0
  484. bpy/ops/sculpt_curves/py.typed +0 -0
  485. bpy/ops/sequencer/py.typed +0 -0
  486. bpy/ops/sound/py.typed +0 -0
  487. bpy/ops/spreadsheet/py.typed +0 -0
  488. bpy/ops/surface/py.typed +0 -0
  489. bpy/ops/text/py.typed +0 -0
  490. bpy/ops/text_editor/py.typed +0 -0
  491. bpy/ops/texture/py.typed +0 -0
  492. bpy/ops/transform/py.typed +0 -0
  493. bpy/ops/ui/py.typed +0 -0
  494. bpy/ops/uilist/py.typed +0 -0
  495. bpy/ops/uv/py.typed +0 -0
  496. bpy/ops/view2d/py.typed +0 -0
  497. bpy/ops/view3d/py.typed +0 -0
  498. bpy/ops/wm/py.typed +0 -0
  499. bpy/ops/workspace/py.typed +0 -0
  500. bpy/ops/world/py.typed +0 -0
  501. bpy/path/py.typed +0 -0
  502. bpy/props/py.typed +0 -0
  503. bpy/types/py.typed +0 -0
  504. bpy/utils/previews/py.typed +0 -0
  505. bpy/utils/py.typed +0 -0
  506. bpy/utils/units/py.typed +0 -0
  507. bpy_extras/anim_utils/py.typed +0 -0
  508. bpy_extras/asset_utils/py.typed +0 -0
  509. bpy_extras/bmesh_utils/py.typed +0 -0
  510. bpy_extras/extensions/junction_module/py.typed +0 -0
  511. bpy_extras/extensions/py.typed +0 -0
  512. bpy_extras/id_map_utils/py.typed +0 -0
  513. bpy_extras/image_utils/py.typed +0 -0
  514. bpy_extras/io_utils/py.typed +0 -0
  515. bpy_extras/keyconfig_utils/py.typed +0 -0
  516. bpy_extras/mesh_utils/py.typed +0 -0
  517. bpy_extras/node_shader_utils/py.typed +0 -0
  518. bpy_extras/node_utils/py.typed +0 -0
  519. bpy_extras/object_utils/py.typed +0 -0
  520. bpy_extras/view3d_utils/py.typed +0 -0
  521. bpy_extras/wm_utils/progress_report/py.typed +0 -0
  522. bpy_extras/wm_utils/py.typed +0 -0
  523. fake_bpy_module-20240516.dist-info/RECORD +0 -618
  524. freestyle/chainingiterators/py.typed +0 -0
  525. freestyle/functions/py.typed +0 -0
  526. freestyle/predicates/py.typed +0 -0
  527. freestyle/shaders/py.typed +0 -0
  528. freestyle/types/py.typed +0 -0
  529. freestyle/utils/ContextFunctions/py.typed +0 -0
  530. freestyle/utils/py.typed +0 -0
  531. gpu/capabilities/py.typed +0 -0
  532. gpu/matrix/py.typed +0 -0
  533. gpu/platform/py.typed +0 -0
  534. gpu/select/py.typed +0 -0
  535. gpu/shader/py.typed +0 -0
  536. gpu/state/py.typed +0 -0
  537. gpu/texture/py.typed +0 -0
  538. gpu/types/py.typed +0 -0
  539. gpu_extras/batch/py.typed +0 -0
  540. gpu_extras/presets/py.typed +0 -0
  541. idprop/types/py.typed +0 -0
  542. imbuf/types/py.typed +0 -0
  543. mathutils/bvhtree/py.typed +0 -0
  544. mathutils/geometry/py.typed +0 -0
  545. mathutils/interpolate/py.typed +0 -0
  546. mathutils/kdtree/py.typed +0 -0
  547. mathutils/noise/py.typed +0 -0
  548. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/WHEEL +0 -0
  549. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/top_level.txt +0 -0
bmesh/types/__init__.pyi CHANGED
@@ -26,8 +26,6 @@ import mathutils
26
26
  GenericType = typing.TypeVar("GenericType")
27
27
 
28
28
  class BMDeformVert:
29
- """ """
30
-
31
29
  def clear(self):
32
30
  """Clears all weights."""
33
31
  ...
@@ -51,21 +49,21 @@ class BMDeformVert:
51
49
  """
52
50
  ...
53
51
 
54
- def keys(self) -> typing.List[int]:
52
+ def keys(self) -> list[int]:
55
53
  """Return the group indices used by this vertex
56
54
  (matching Python's dict.keys() functionality).
57
55
 
58
56
  :return: the deform group this vertex uses
59
- :rtype: typing.List[int]
57
+ :rtype: list[int]
60
58
  """
61
59
  ...
62
60
 
63
- def values(self) -> typing.List[float]:
61
+ def values(self) -> list[float]:
64
62
  """Return the weights of the deform vertex
65
63
  (matching Python's dict.values() functionality).
66
64
 
67
65
  :return: The weights that influence this vertex
68
- :rtype: typing.List[float]
66
+ :rtype: list[float]
69
67
  """
70
68
  ...
71
69
 
@@ -120,16 +118,16 @@ class BMEdge:
120
118
  :type: bool
121
119
  """
122
120
 
123
- link_faces: typing.Union[typing.List[BMFace], BMElemSeq]
121
+ link_faces: list[BMFace] | BMElemSeq
124
122
  """ Faces connected to this edge, (read-only).
125
123
 
126
- :type: typing.Union[typing.List[BMFace], BMElemSeq]
124
+ :type: list[BMFace] | BMElemSeq
127
125
  """
128
126
 
129
- link_loops: typing.Union[typing.List[BMLoop], BMElemSeq]
127
+ link_loops: list[BMLoop] | BMElemSeq
130
128
  """ Loops connected to this edge, (read-only).
131
129
 
132
- :type: typing.Union[typing.List[BMLoop], BMElemSeq]
130
+ :type: list[BMLoop] | BMElemSeq
133
131
  """
134
132
 
135
133
  seam: bool
@@ -156,10 +154,10 @@ class BMEdge:
156
154
  :type: bool
157
155
  """
158
156
 
159
- verts: typing.Union[typing.List[BMVert], BMElemSeq]
157
+ verts: list[BMVert] | BMElemSeq
160
158
  """ Verts this edge uses (always 2), (read-only).
161
159
 
162
- :type: typing.Union[typing.List[BMVert], BMElemSeq]
160
+ :type: list[BMVert] | BMElemSeq
163
161
  """
164
162
 
165
163
  def calc_face_angle(self, fallback: typing.Any = None) -> float:
@@ -243,8 +241,6 @@ class BMEdge:
243
241
  ...
244
242
 
245
243
  class BMEdgeSeq:
246
- """ """
247
-
248
244
  layers: BMLayerAccessEdge
249
245
  """ custom-data layers (read-only).
250
246
 
@@ -352,18 +348,13 @@ class BMEdgeSeq:
352
348
  """
353
349
  ...
354
350
 
355
- class BMEditSelIter:
356
- """ """
357
-
358
- ...
351
+ class BMEditSelIter: ...
359
352
 
360
353
  class BMEditSelSeq:
361
- """ """
362
-
363
- active: typing.Union[BMVert, BMEdge, BMFace]
354
+ active: BMVert | BMEdge | BMFace
364
355
  """ The last selected element or None (read-only).
365
356
 
366
- :type: typing.Union[BMVert, BMEdge, BMFace]
357
+ :type: BMVert | BMEdge | BMFace
367
358
  """
368
359
 
369
360
  def add(self, element):
@@ -462,10 +453,10 @@ class BMElemSeq:
462
453
  class BMFace:
463
454
  """The BMesh face with 3 or more sides"""
464
455
 
465
- edges: typing.Union[typing.List[BMEdge], BMElemSeq]
456
+ edges: list[BMEdge] | BMElemSeq
466
457
  """ Edges of this face, (read-only).
467
458
 
468
- :type: typing.Union[typing.List[BMEdge], BMElemSeq]
459
+ :type: list[BMEdge] | BMElemSeq
469
460
  """
470
461
 
471
462
  hide: bool
@@ -486,10 +477,10 @@ class BMFace:
486
477
  :type: bool
487
478
  """
488
479
 
489
- loops: typing.Union[typing.List[BMLoop], BMElemSeq]
480
+ loops: list[BMLoop] | BMElemSeq
490
481
  """ Loops of this face, (read-only).
491
482
 
492
- :type: typing.Union[typing.List[BMLoop], BMElemSeq]
483
+ :type: list[BMLoop] | BMElemSeq
493
484
  """
494
485
 
495
486
  material_index: int
@@ -498,10 +489,10 @@ class BMFace:
498
489
  :type: int
499
490
  """
500
491
 
501
- normal: typing.Union[typing.Sequence[float], mathutils.Vector]
492
+ normal: typing.Sequence[float] | mathutils.Vector
502
493
  """ The normal for this face as a 3D, wrapped vector.
503
494
 
504
- :type: typing.Union[typing.Sequence[float], mathutils.Vector]
495
+ :type: typing.Sequence[float] | mathutils.Vector
505
496
  """
506
497
 
507
498
  select: bool
@@ -522,10 +513,10 @@ class BMFace:
522
513
  :type: bool
523
514
  """
524
515
 
525
- verts: typing.Union[typing.List[BMVert], BMElemSeq]
516
+ verts: list[BMVert] | BMElemSeq
526
517
  """ Verts of this face, (read-only).
527
518
 
528
- :type: typing.Union[typing.List[BMVert], BMElemSeq]
519
+ :type: list[BMVert] | BMElemSeq
529
520
  """
530
521
 
531
522
  def calc_area(self) -> float:
@@ -659,8 +650,6 @@ class BMFace:
659
650
  ...
660
651
 
661
652
  class BMFaceSeq:
662
- """ """
663
-
664
653
  active: BMFace
665
654
  """ active face.
666
655
 
@@ -921,12 +910,12 @@ class BMLayerCollection:
921
910
  """
922
911
  ...
923
912
 
924
- def keys(self) -> typing.List[str]:
913
+ def keys(self) -> list[str]:
925
914
  """Return the identifiers of collection members
926
915
  (matching Python's dict.keys() functionality).
927
916
 
928
917
  :return: the identifiers for each member of this collection.
929
- :rtype: typing.List[str]
918
+ :rtype: list[str]
930
919
  """
931
920
  ...
932
921
 
@@ -1038,10 +1027,10 @@ class BMLoop:
1038
1027
  :type: BMLoop
1039
1028
  """
1040
1029
 
1041
- link_loops: typing.Union[typing.List[BMLoop], BMElemSeq]
1030
+ link_loops: list[BMLoop] | BMElemSeq
1042
1031
  """ Loops connected to this loop, (read-only).
1043
1032
 
1044
- :type: typing.Union[typing.List[BMLoop], BMElemSeq]
1033
+ :type: list[BMLoop] | BMElemSeq
1045
1034
  """
1046
1035
 
1047
1036
  tag: bool
@@ -1105,8 +1094,6 @@ class BMLoop:
1105
1094
  ...
1106
1095
 
1107
1096
  class BMLoopSeq:
1108
- """ """
1109
-
1110
1097
  layers: BMLayerAccessLoop
1111
1098
  """ custom-data layers (read-only).
1112
1099
 
@@ -1168,8 +1155,6 @@ class BMLoopSeq:
1168
1155
  ...
1169
1156
 
1170
1157
  class BMLoopUV:
1171
- """ """
1172
-
1173
1158
  pin_uv: bool
1174
1159
  """ UV pin state.
1175
1160
 
@@ -1188,19 +1173,19 @@ class BMLoopUV:
1188
1173
  :type: bool
1189
1174
  """
1190
1175
 
1191
- uv: typing.Union[typing.Sequence[float], mathutils.Vector]
1176
+ uv: typing.Sequence[float] | mathutils.Vector
1192
1177
  """ Loops UV (as a 2D Vector).
1193
1178
 
1194
- :type: typing.Union[typing.Sequence[float], mathutils.Vector]
1179
+ :type: typing.Sequence[float] | mathutils.Vector
1195
1180
  """
1196
1181
 
1197
1182
  class BMVert:
1198
1183
  """The BMesh vertex type"""
1199
1184
 
1200
- co: typing.Union[typing.Sequence[float], mathutils.Vector]
1185
+ co: typing.Sequence[float] | mathutils.Vector
1201
1186
  """ The coordinates for this vertex as a 3D, wrapped vector.
1202
1187
 
1203
- :type: typing.Union[typing.Sequence[float], mathutils.Vector]
1188
+ :type: typing.Sequence[float] | mathutils.Vector
1204
1189
  """
1205
1190
 
1206
1191
  hide: bool
@@ -1239,28 +1224,28 @@ class BMVert:
1239
1224
  :type: bool
1240
1225
  """
1241
1226
 
1242
- link_edges: typing.Union[typing.List[BMEdge], BMElemSeq]
1227
+ link_edges: list[BMEdge] | BMElemSeq
1243
1228
  """ Edges connected to this vertex (read-only).
1244
1229
 
1245
- :type: typing.Union[typing.List[BMEdge], BMElemSeq]
1230
+ :type: list[BMEdge] | BMElemSeq
1246
1231
  """
1247
1232
 
1248
- link_faces: typing.Union[typing.List[BMFace], BMElemSeq]
1233
+ link_faces: list[BMFace] | BMElemSeq
1249
1234
  """ Faces connected to this vertex (read-only).
1250
1235
 
1251
- :type: typing.Union[typing.List[BMFace], BMElemSeq]
1236
+ :type: list[BMFace] | BMElemSeq
1252
1237
  """
1253
1238
 
1254
- link_loops: typing.Union[typing.List[BMLoop], BMElemSeq]
1239
+ link_loops: list[BMLoop] | BMElemSeq
1255
1240
  """ Loops that use this vertex (read-only).
1256
1241
 
1257
- :type: typing.Union[typing.List[BMLoop], BMElemSeq]
1242
+ :type: list[BMLoop] | BMElemSeq
1258
1243
  """
1259
1244
 
1260
- normal: typing.Union[typing.Sequence[float], mathutils.Vector]
1245
+ normal: typing.Sequence[float] | mathutils.Vector
1261
1246
  """ The normal for this vertex as a 3D, wrapped vector.
1262
1247
 
1263
- :type: typing.Union[typing.Sequence[float], mathutils.Vector]
1248
+ :type: typing.Sequence[float] | mathutils.Vector
1264
1249
  """
1265
1250
 
1266
1251
  select: bool
@@ -1346,8 +1331,6 @@ class BMVert:
1346
1331
  ...
1347
1332
 
1348
1333
  class BMVertSeq:
1349
- """ """
1350
-
1351
1334
  layers: BMLayerAccessVert
1352
1335
  """ custom-data layers (read-only).
1353
1336
 
@@ -1364,13 +1347,13 @@ class BMVertSeq:
1364
1347
 
1365
1348
  def new(
1366
1349
  self,
1367
- co: typing.Union[typing.Sequence[float], mathutils.Vector] = (0.0, 0.0, 0.0),
1350
+ co: typing.Sequence[float] | mathutils.Vector = (0.0, 0.0, 0.0),
1368
1351
  example: BMVert = None,
1369
1352
  ) -> BMVert:
1370
1353
  """Create a new vertex.
1371
1354
 
1372
1355
  :param co: The initial location of the vertex (optional argument).
1373
- :type co: typing.Union[typing.Sequence[float], mathutils.Vector]
1356
+ :type co: typing.Sequence[float] | mathutils.Vector
1374
1357
  :param example: Existing vert to initialize settings.
1375
1358
  :type example: BMVert
1376
1359
  :return: The newly created vertex.
bmesh/utils/__init__.pyi CHANGED
@@ -22,9 +22,7 @@ def edge_rotate(edge: bmesh.types.BMEdge, ccw: bool = False) -> bmesh.types.BMEd
22
22
 
23
23
  ...
24
24
 
25
- def edge_split(
26
- edge: bmesh.types.BMEdge, vert: bmesh.types.BMVert, fac: float
27
- ) -> typing.Tuple:
25
+ def edge_split(edge: bmesh.types.BMEdge, vert: bmesh.types.BMVert, fac: float) -> tuple:
28
26
  """Split an edge, return the newly created data.
29
27
 
30
28
  :param edge: The edge to split.
@@ -34,7 +32,7 @@ def edge_split(
34
32
  :param fac: The point on the edge where the new vert will be created [0 - 1].
35
33
  :type fac: float
36
34
  :return: The newly created (edge, vert) pair.
37
- :rtype: typing.Tuple
35
+ :rtype: tuple
38
36
  """
39
37
 
40
38
  ...
@@ -61,10 +59,10 @@ def face_split(
61
59
  face: bmesh.types.BMFace,
62
60
  vert_a: bmesh.types.BMVert,
63
61
  vert_b: bmesh.types.BMVert,
64
- coords: typing.List[float] = (),
62
+ coords: list[float] = (),
65
63
  use_exist: bool = True,
66
64
  example: bmesh.types.BMEdge = None,
67
- ) -> typing.Tuple[bmesh.types.BMFace, bmesh.types.BMLoop]:
65
+ ) -> tuple[bmesh.types.BMFace, bmesh.types.BMLoop]:
68
66
  """Face split with optional intermediate points.
69
67
 
70
68
  :param face: The face to cut.
@@ -74,25 +72,24 @@ def face_split(
74
72
  :param vert_b: Second vertex to cut in the face (face must contain the vert).
75
73
  :type vert_b: bmesh.types.BMVert
76
74
  :param coords: Optional argument to define points in between vert_a and vert_b.
77
- :type coords: typing.List[float]
75
+ :type coords: list[float]
78
76
  :param use_exist: .Use an existing edge if it exists (Only used when coords argument is empty or omitted)
79
77
  :type use_exist: bool
80
78
  :param example: Newly created edge will copy settings from this one.
81
79
  :type example: bmesh.types.BMEdge
82
80
  :return: The newly created face or None on failure.
83
- :rtype: typing.Tuple[bmesh.types.BMFace, bmesh.types.BMLoop]
81
+ :rtype: tuple[bmesh.types.BMFace, bmesh.types.BMLoop]
84
82
  """
85
83
 
86
84
  ...
87
85
 
88
86
  def face_split_edgenet(
89
- face: typing.Union[bmesh.types.BMFace, bmesh.types.BMFace],
90
- edgenet: bmesh.types.BMEdge,
87
+ face: bmesh.types.BMFace | bmesh.types.BMFace, edgenet: bmesh.types.BMEdge
91
88
  ):
92
89
  """Splits a face into any number of regions defined by an edgenet.
93
90
 
94
91
  :param face: The face to split.The face to split.
95
- :type face: typing.Union[bmesh.types.BMFace, bmesh.types.BMFace]
92
+ :type face: bmesh.types.BMFace | bmesh.types.BMFace
96
93
  :param edgenet: Sequence of edges.
97
94
  :type edgenet: bmesh.types.BMEdge
98
95
  :return: The newly created faces.
@@ -173,7 +170,7 @@ def vert_dissolve(vert: bmesh.types.BMVert) -> bool:
173
170
 
174
171
  def vert_separate(
175
172
  vert: bmesh.types.BMVert, edges: bmesh.types.BMEdge
176
- ) -> typing.Tuple[bmesh.types.BMVert, ...]:
173
+ ) -> tuple[bmesh.types.BMVert, ...]:
177
174
  """Separate this vertex at every edge.
178
175
 
179
176
  :param vert: The vert to be separated.
@@ -181,7 +178,7 @@ def vert_separate(
181
178
  :param edges: The edges to separated.
182
179
  :type edges: bmesh.types.BMEdge
183
180
  :return: The newly separated verts (including the vertex passed).
184
- :rtype: typing.Tuple[bmesh.types.BMVert, ...]
181
+ :rtype: tuple[bmesh.types.BMVert, ...]
185
182
  """
186
183
 
187
184
  ...
bpy/app/__init__.pyi CHANGED
@@ -19,20 +19,20 @@ from . import translations
19
19
 
20
20
  GenericType = typing.TypeVar("GenericType")
21
21
 
22
- def help_text(all: typing.Optional[bool] = False):
22
+ def help_text(all: bool | None = False):
23
23
  """Return the help text as a string.
24
24
 
25
25
  :param all: Return all arguments, even those which aren't available for the current platform.
26
- :type all: typing.Optional[bool]
26
+ :type all: bool | None
27
27
  """
28
28
 
29
29
  ...
30
30
 
31
- def is_job_running(job_type: typing.Optional[str]):
31
+ def is_job_running(job_type: str | None):
32
32
  """Check whether a job of the given type is running.
33
33
 
34
34
  :param job_type: job type in `rna_enum_wm_job_type_items`.
35
- :type job_type: typing.Optional[str]
35
+ :type job_type: str | None
36
36
  :return: Whether a job of the given type is currently running.
37
37
  """
38
38
 
@@ -43,79 +43,79 @@ import typing
43
43
  import bpy.types
44
44
 
45
45
  GenericType = typing.TypeVar("GenericType")
46
- animation_playback_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
46
+ animation_playback_post: list[typing.Callable[[bpy.types.Scene, None]]]
47
47
  """ on ending animation playback
48
48
  """
49
49
 
50
- animation_playback_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
50
+ animation_playback_pre: list[typing.Callable[[bpy.types.Scene, None]]]
51
51
  """ on starting animation playback
52
52
  """
53
53
 
54
- annotation_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
54
+ annotation_post: list[typing.Callable[[bpy.types.Scene, None]]]
55
55
  """ on drawing an annotation (after)
56
56
  """
57
57
 
58
- annotation_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
58
+ annotation_pre: list[typing.Callable[[bpy.types.Scene, None]]]
59
59
  """ on drawing an annotation (before)
60
60
  """
61
61
 
62
- composite_cancel: typing.List[typing.Callable[[bpy.types.Scene, None]]]
62
+ composite_cancel: list[typing.Callable[[bpy.types.Scene, None]]]
63
63
  """ on a compositing background job (cancel)
64
64
  """
65
65
 
66
- composite_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
66
+ composite_post: list[typing.Callable[[bpy.types.Scene, None]]]
67
67
  """ on a compositing background job (after)
68
68
  """
69
69
 
70
- composite_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
70
+ composite_pre: list[typing.Callable[[bpy.types.Scene, None]]]
71
71
  """ on a compositing background job (before)
72
72
  """
73
73
 
74
- depsgraph_update_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
74
+ depsgraph_update_post: list[typing.Callable[[bpy.types.Scene, None]]]
75
75
  """ on depsgraph update (post)
76
76
  """
77
77
 
78
- depsgraph_update_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
78
+ depsgraph_update_pre: list[typing.Callable[[bpy.types.Scene, None]]]
79
79
  """ on depsgraph update (pre)
80
80
  """
81
81
 
82
- frame_change_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
82
+ frame_change_post: list[typing.Callable[[bpy.types.Scene, None]]]
83
83
  """ Called after frame change for playback and rendering, after the data has been evaluated for the new frame.
84
84
  """
85
85
 
86
- frame_change_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
86
+ frame_change_pre: list[typing.Callable[[bpy.types.Scene, None]]]
87
87
  """ Called after frame change for playback and rendering, before any data is evaluated for the new frame. This makes it possible to change data and relations (for example swap an object to another mesh) for the new frame. Note that this handler is not to be used as 'before the frame changes' event. The dependency graph is not available in this handler, as data and relations may have been altered and the dependency graph has not yet been updated for that.
88
88
  """
89
89
 
90
- load_factory_preferences_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
90
+ load_factory_preferences_post: list[typing.Callable[[bpy.types.Scene, None]]]
91
91
  """ on loading factory preferences (after)
92
92
  """
93
93
 
94
- load_factory_startup_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
94
+ load_factory_startup_post: list[typing.Callable[[bpy.types.Scene, None]]]
95
95
  """ on loading factory startup (after)
96
96
  """
97
97
 
98
- load_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
98
+ load_post: list[typing.Callable[[bpy.types.Scene, None]]]
99
99
  """ on loading a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
100
100
  """
101
101
 
102
- load_post_fail: typing.List[typing.Callable[[bpy.types.Scene, None]]]
102
+ load_post_fail: list[typing.Callable[[bpy.types.Scene, None]]]
103
103
  """ on failure to load a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
104
104
  """
105
105
 
106
- load_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
106
+ load_pre: list[typing.Callable[[bpy.types.Scene, None]]]
107
107
  """ on loading a new blend file (before).Accepts one argument: the file being loaded, an empty string for the startup-file.
108
108
  """
109
109
 
110
- object_bake_cancel: typing.List[typing.Callable[[bpy.types.Scene, None]]]
110
+ object_bake_cancel: list[typing.Callable[[bpy.types.Scene, None]]]
111
111
  """ on canceling a bake job; will be called in the main thread
112
112
  """
113
113
 
114
- object_bake_complete: typing.List[typing.Callable[[bpy.types.Scene, None]]]
114
+ object_bake_complete: list[typing.Callable[[bpy.types.Scene, None]]]
115
115
  """ on completing a bake job; will be called in the main thread
116
116
  """
117
117
 
118
- object_bake_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
118
+ object_bake_pre: list[typing.Callable[[bpy.types.Scene, None]]]
119
119
  """ before starting a bake job
120
120
  """
121
121
 
@@ -123,70 +123,70 @@ persistent: typing.Any
123
123
  """ Function decorator for callback functions not to be removed when loading new files
124
124
  """
125
125
 
126
- redo_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
126
+ redo_post: list[typing.Callable[[bpy.types.Scene, None]]]
127
127
  """ on loading a redo step (after)
128
128
  """
129
129
 
130
- redo_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
130
+ redo_pre: list[typing.Callable[[bpy.types.Scene, None]]]
131
131
  """ on loading a redo step (before)
132
132
  """
133
133
 
134
- render_cancel: typing.List[typing.Callable[[bpy.types.Scene, None]]]
134
+ render_cancel: list[typing.Callable[[bpy.types.Scene, None]]]
135
135
  """ on canceling a render job
136
136
  """
137
137
 
138
- render_complete: typing.List[typing.Callable[[bpy.types.Scene, None]]]
138
+ render_complete: list[typing.Callable[[bpy.types.Scene, None]]]
139
139
  """ on completion of render job
140
140
  """
141
141
 
142
- render_init: typing.List[typing.Callable[[bpy.types.Scene, None]]]
142
+ render_init: list[typing.Callable[[bpy.types.Scene, None]]]
143
143
  """ on initialization of a render job
144
144
  """
145
145
 
146
- render_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
146
+ render_post: list[typing.Callable[[bpy.types.Scene, None]]]
147
147
  """ on render (after)
148
148
  """
149
149
 
150
- render_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
150
+ render_pre: list[typing.Callable[[bpy.types.Scene, None]]]
151
151
  """ on render (before)
152
152
  """
153
153
 
154
- render_stats: typing.List[typing.Callable[[bpy.types.Scene, None]]]
154
+ render_stats: list[typing.Callable[[bpy.types.Scene, None]]]
155
155
  """ on printing render statistics
156
156
  """
157
157
 
158
- render_write: typing.List[typing.Callable[[bpy.types.Scene, None]]]
158
+ render_write: list[typing.Callable[[bpy.types.Scene, None]]]
159
159
  """ on writing a render frame (directly after the frame is written)
160
160
  """
161
161
 
162
- save_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
162
+ save_post: list[typing.Callable[[bpy.types.Scene, None]]]
163
163
  """ on saving a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
164
164
  """
165
165
 
166
- save_post_fail: typing.List[typing.Callable[[bpy.types.Scene, None]]]
166
+ save_post_fail: list[typing.Callable[[bpy.types.Scene, None]]]
167
167
  """ on failure to save a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
168
168
  """
169
169
 
170
- save_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
170
+ save_pre: list[typing.Callable[[bpy.types.Scene, None]]]
171
171
  """ on saving a blend file (before). Accepts one argument: the file being saved, an empty string for the startup-file.
172
172
  """
173
173
 
174
- translation_update_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
174
+ translation_update_post: list[typing.Callable[[bpy.types.Scene, None]]]
175
175
  """ on translation settings update
176
176
  """
177
177
 
178
- undo_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
178
+ undo_post: list[typing.Callable[[bpy.types.Scene, None]]]
179
179
  """ on loading an undo step (after)
180
180
  """
181
181
 
182
- undo_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
182
+ undo_pre: list[typing.Callable[[bpy.types.Scene, None]]]
183
183
  """ on loading an undo step (before)
184
184
  """
185
185
 
186
- version_update: typing.List[typing.Callable[[bpy.types.Scene, None]]]
186
+ version_update: list[typing.Callable[[bpy.types.Scene, None]]]
187
187
  """ on ending the versioning code
188
188
  """
189
189
 
190
- xr_session_start_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
190
+ xr_session_start_pre: list[typing.Callable[[bpy.types.Scene, None]]]
191
191
  """ on starting an xr session (before)
192
192
  """
@@ -3,29 +3,29 @@ import typing
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
5
  def new_triangles(
6
- range: typing.Optional[tuple],
7
- coords: typing.Optional[typing.Sequence[bytes]],
8
- colors: typing.Optional[typing.Sequence[bytes]],
6
+ range: tuple | None,
7
+ coords: typing.Sequence[bytes] | None,
8
+ colors: typing.Sequence[bytes] | None,
9
9
  ) -> int:
10
10
  """Create a new icon from triangle geometry.
11
11
 
12
12
  :param range: Pair of ints.
13
- :type range: typing.Optional[tuple]
13
+ :type range: tuple | None
14
14
  :param coords: Sequence of bytes (6 floats for one triangle) for (X, Y) coordinates.
15
- :type coords: typing.Optional[typing.Sequence[bytes]]
15
+ :type coords: typing.Sequence[bytes] | None
16
16
  :param colors: Sequence of ints (12 for one triangles) for RGBA.
17
- :type colors: typing.Optional[typing.Sequence[bytes]]
17
+ :type colors: typing.Sequence[bytes] | None
18
18
  :return: Unique icon value (pass to interface icon_value argument).
19
19
  :rtype: int
20
20
  """
21
21
 
22
22
  ...
23
23
 
24
- def new_triangles_from_file(filepath: typing.Optional[str]) -> int:
24
+ def new_triangles_from_file(filepath: str | None) -> int:
25
25
  """Create a new icon from triangle geometry.
26
26
 
27
27
  :param filepath: File path.
28
- :type filepath: typing.Optional[str]
28
+ :type filepath: str | None
29
29
  :return: Unique icon value (pass to interface icon_value argument).
30
30
  :rtype: int
31
31
  """
@@ -34,11 +34,11 @@ import typing
34
34
 
35
35
  GenericType = typing.TypeVar("GenericType")
36
36
 
37
- def is_registered(function: typing.Optional[int]) -> bool:
37
+ def is_registered(function: int | None) -> bool:
38
38
  """Check if this function is registered as a timer.
39
39
 
40
40
  :param function: Function to check.
41
- :type function: typing.Optional[int]
41
+ :type function: int | None
42
42
  :return: True when this function is registered, otherwise False.
43
43
  :rtype: bool
44
44
  """
@@ -46,9 +46,9 @@ def is_registered(function: typing.Optional[int]) -> bool:
46
46
  ...
47
47
 
48
48
  def register(
49
- function: typing.Optional[typing.Callable],
50
- first_interval: typing.Optional[float] = 0,
51
- persistent: typing.Optional[bool] = False,
49
+ function: typing.Callable | None,
50
+ first_interval: float | None = 0,
51
+ persistent: bool | None = False,
52
52
  ):
53
53
  """Add a new function that will be called after the specified amount of seconds.
54
54
  The function gets no arguments and is expected to return either None or a float.
@@ -57,20 +57,20 @@ def register(
57
57
  functools.partial can be used to assign some parameters.
58
58
 
59
59
  :param function: The function that should called.
60
- :type function: typing.Optional[typing.Callable]
60
+ :type function: typing.Callable | None
61
61
  :param first_interval: Seconds until the callback should be called the first time.
62
- :type first_interval: typing.Optional[float]
62
+ :type first_interval: float | None
63
63
  :param persistent: Don't remove timer when a new file is loaded.
64
- :type persistent: typing.Optional[bool]
64
+ :type persistent: bool | None
65
65
  """
66
66
 
67
67
  ...
68
68
 
69
- def unregister(function: typing.Optional[typing.Any]):
69
+ def unregister(function: typing.Any | None):
70
70
  """Unregister timer.
71
71
 
72
72
  :param function: Function to unregister.
73
- :type function: typing.Optional[typing.Any]
73
+ :type function: typing.Any | None
74
74
  """
75
75
 
76
76
  ...