fake-bpy-module 20240210__py3-none-any.whl → 20240326__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 (309) hide show
  1. addon_utils/__init__.pyi +54 -11
  2. animsys_refactor/__init__.pyi +36 -7
  3. aud/__init__.pyi +307 -321
  4. bgl/__init__.pyi +2926 -865
  5. bl_app_override/__init__.pyi +14 -4
  6. bl_app_override/helpers/__init__.pyi +24 -3
  7. bl_app_template_utils/__init__.pyi +19 -5
  8. bl_console_utils/__init__.pyi +0 -1
  9. bl_console_utils/autocomplete/__init__.pyi +2 -3
  10. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
  11. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
  12. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
  13. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
  14. bl_i18n_utils/__init__.pyi +2 -3
  15. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
  16. bl_i18n_utils/merge_po/__init__.pyi +4 -2
  17. bl_i18n_utils/settings/__init__.pyi +53 -7
  18. bl_i18n_utils/utils/__init__.pyi +332 -45
  19. bl_i18n_utils/utils_cli/__init__.pyi +29 -7
  20. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
  21. bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
  22. bl_keymap_utils/__init__.pyi +2 -3
  23. bl_keymap_utils/io/__init__.pyi +44 -10
  24. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
  25. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
  26. bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
  27. bl_keymap_utils/versioning/__init__.pyi +4 -2
  28. bl_math/__init__.pyi +21 -22
  29. bl_operators/__init__.pyi +30 -24
  30. bl_operators/add_mesh_torus/__init__.pyi +171 -38
  31. bl_operators/anim/__init__.pyi +1065 -227
  32. bl_operators/assets/__init__.pyi +427 -93
  33. bl_operators/bmesh/__init__.pyi +0 -1
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
  35. bl_operators/clip/__init__.pyi +1342 -288
  36. bl_operators/console/__init__.pyi +647 -141
  37. bl_operators/constraint/__init__.pyi +524 -113
  38. bl_operators/file/__init__.pyi +396 -85
  39. bl_operators/freestyle/__init__.pyi +532 -114
  40. bl_operators/geometry_nodes/__init__.pyi +2412 -597
  41. bl_operators/image/__init__.pyi +380 -83
  42. bl_operators/mesh/__init__.pyi +401 -86
  43. bl_operators/node/__init__.pyi +1756 -385
  44. bl_operators/object/__init__.pyi +2022 -553
  45. bl_operators/object_align/__init__.pyi +145 -32
  46. bl_operators/object_quick_effects/__init__.pyi +555 -125
  47. bl_operators/object_randomize_transform/__init__.pyi +136 -33
  48. bl_operators/presets/__init__.pyi +3516 -709
  49. bl_operators/rigidbody/__init__.pyi +401 -86
  50. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
  51. bl_operators/sequencer/__init__.pyi +731 -150
  52. bl_operators/spreadsheet/__init__.pyi +145 -31
  53. bl_operators/userpref/__init__.pyi +3416 -825
  54. bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
  55. bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
  56. bl_operators/uvcalc_transform/__init__.pyi +344 -74
  57. bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
  58. bl_operators/view3d/__init__.pyi +697 -147
  59. bl_operators/wm/__init__.pyi +6287 -1534
  60. bl_previews_utils/__init__.pyi +0 -1
  61. bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
  62. bl_rna_utils/__init__.pyi +0 -1
  63. bl_rna_utils/data_path/__init__.pyi +12 -3
  64. bl_text_utils/__init__.pyi +0 -1
  65. bl_text_utils/external_editor/__init__.pyi +4 -2
  66. bl_ui/__init__.pyi +567 -170
  67. bl_ui/anim/__init__.pyi +164 -34
  68. bl_ui/asset_shelf/__init__.pyi +146 -32
  69. bl_ui/generic_ui_list/__init__.pyi +471 -100
  70. bl_ui/node_add_menu/__init__.pyi +196 -41
  71. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
  72. bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
  73. bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
  74. bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
  75. bl_ui/properties_animviz/__init__.pyi +32 -3
  76. bl_ui/properties_collection/__init__.pyi +787 -180
  77. bl_ui/properties_constraint/__init__.pyi +28635 -5524
  78. bl_ui/properties_data_armature/__init__.pyi +1905 -449
  79. bl_ui/properties_data_bone/__init__.pyi +1560 -337
  80. bl_ui/properties_data_camera/__init__.pyi +2269 -495
  81. bl_ui/properties_data_curve/__init__.pyi +2362 -535
  82. bl_ui/properties_data_curves/__init__.pyi +951 -204
  83. bl_ui/properties_data_empty/__init__.pyi +317 -70
  84. bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
  85. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
  86. bl_ui/properties_data_lattice/__init__.pyi +472 -105
  87. bl_ui/properties_data_light/__init__.pyi +1570 -338
  88. bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
  89. bl_ui/properties_data_mesh/__init__.pyi +3205 -768
  90. bl_ui/properties_data_metaball/__init__.pyi +774 -171
  91. bl_ui/properties_data_modifier/__init__.pyi +1554 -329
  92. bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
  93. bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
  94. bl_ui/properties_data_speaker/__init__.pyi +782 -169
  95. bl_ui/properties_data_volume/__init__.pyi +1243 -282
  96. bl_ui/properties_freestyle/__init__.pyi +4071 -1031
  97. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
  98. bl_ui/properties_mask_common/__init__.pyi +1256 -250
  99. bl_ui/properties_material/__init__.pyi +2351 -543
  100. bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
  101. bl_ui/properties_object/__init__.pyi +2179 -513
  102. bl_ui/properties_output/__init__.pyi +2956 -706
  103. bl_ui/properties_paint_common/__init__.pyi +947 -141
  104. bl_ui/properties_particle/__init__.pyi +8322 -1971
  105. bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
  106. bl_ui/properties_physics_common/__init__.pyi +200 -45
  107. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
  108. bl_ui/properties_physics_field/__init__.pyi +1695 -365
  109. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
  110. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
  111. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
  112. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
  113. bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
  114. bl_ui/properties_render/__init__.pyi +8312 -1934
  115. bl_ui/properties_scene/__init__.pyi +2211 -540
  116. bl_ui/properties_texture/__init__.pyi +4185 -1014
  117. bl_ui/properties_view_layer/__init__.pyi +2803 -665
  118. bl_ui/properties_workspace/__init__.pyi +626 -149
  119. bl_ui/properties_world/__init__.pyi +1092 -235
  120. bl_ui/space_clip/__init__.pyi +11475 -2806
  121. bl_ui/space_console/__init__.pyi +967 -203
  122. bl_ui/space_dopesheet/__init__.pyi +4260 -967
  123. bl_ui/space_filebrowser/__init__.pyi +4852 -1188
  124. bl_ui/space_graph/__init__.pyi +3251 -703
  125. bl_ui/space_image/__init__.pyi +12218 -2968
  126. bl_ui/space_info/__init__.pyi +964 -201
  127. bl_ui/space_nla/__init__.pyi +2756 -585
  128. bl_ui/space_node/__init__.pyi +5661 -1266
  129. bl_ui/space_outliner/__init__.pyi +2294 -479
  130. bl_ui/space_properties/__init__.pyi +417 -93
  131. bl_ui/space_sequencer/__init__.pyi +12436 -3010
  132. bl_ui/space_spreadsheet/__init__.pyi +184 -37
  133. bl_ui/space_statusbar/__init__.pyi +135 -31
  134. bl_ui/space_text/__init__.pyi +2556 -543
  135. bl_ui/space_time/__init__.pyi +1151 -244
  136. bl_ui/space_toolsystem_common/__init__.pyi +368 -67
  137. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
  138. bl_ui/space_topbar/__init__.pyi +4214 -888
  139. bl_ui/space_userpref/__init__.pyi +13920 -3468
  140. bl_ui/space_view3d/__init__.pyi +42751 -9613
  141. bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
  142. bl_ui/utils/__init__.pyi +42 -5
  143. bl_ui_utils/__init__.pyi +0 -1
  144. bl_ui_utils/bug_report_url/__init__.pyi +4 -2
  145. bl_ui_utils/layout/__init__.pyi +4 -2
  146. blend_render_info/__init__.pyi +13 -4
  147. blf/__init__.pyi +15 -18
  148. bmesh/__init__.pyi +18 -18
  149. bmesh/geometry/__init__.pyi +5 -6
  150. bmesh/ops/__init__.pyi +1337 -1158
  151. bmesh/types/__init__.pyi +464 -374
  152. bmesh/utils/__init__.pyi +64 -70
  153. bpy/__init__.pyi +6 -7
  154. bpy/app/__init__.pyi +36 -38
  155. bpy/app/handlers/__init__.pyi +37 -38
  156. bpy/app/icons/__init__.pyi +8 -11
  157. bpy/app/timers/__init__.pyi +18 -17
  158. bpy/app/translations/__init__.pyi +32 -30
  159. bpy/msgbus/__init__.pyi +25 -20
  160. bpy/ops/__init__.pyi +63 -64
  161. bpy/ops/action/__init__.pyi +408 -436
  162. bpy/ops/anim/__init__.pyi +459 -577
  163. bpy/ops/armature/__init__.pyi +396 -498
  164. bpy/ops/asset/__init__.pyi +187 -213
  165. bpy/ops/boid/__init__.pyi +50 -68
  166. bpy/ops/brush/__init__.pyi +72 -97
  167. bpy/ops/buttons/__init__.pyi +202 -193
  168. bpy/ops/cachefile/__init__.pyi +198 -188
  169. bpy/ops/camera/__init__.pyi +24 -31
  170. bpy/ops/clip/__init__.pyi +1021 -1082
  171. bpy/ops/cloth/__init__.pyi +11 -15
  172. bpy/ops/collection/__init__.pyi +36 -51
  173. bpy/ops/console/__init__.pyi +155 -209
  174. bpy/ops/constraint/__init__.pyi +286 -254
  175. bpy/ops/curve/__init__.pyi +597 -659
  176. bpy/ops/curves/__init__.pyi +191 -225
  177. bpy/ops/cycles/__init__.pyi +21 -30
  178. bpy/ops/dpaint/__init__.pyi +34 -47
  179. bpy/ops/ed/__init__.pyi +160 -176
  180. bpy/ops/export_anim/__init__.pyi +51 -34
  181. bpy/ops/export_mesh/__init__.pyi +47 -45
  182. bpy/ops/export_scene/__init__.pyi +659 -504
  183. bpy/ops/file/__init__.pyi +469 -474
  184. bpy/ops/fluid/__init__.pyi +89 -119
  185. bpy/ops/font/__init__.pyi +325 -361
  186. bpy/ops/geometry/__init__.pyi +86 -114
  187. bpy/ops/gizmogroup/__init__.pyi +22 -28
  188. bpy/ops/gpencil/__init__.pyi +1900 -1976
  189. bpy/ops/graph/__init__.pyi +875 -894
  190. bpy/ops/grease_pencil/__init__.pyi +572 -508
  191. bpy/ops/image/__init__.pyi +805 -855
  192. bpy/ops/import_anim/__init__.pyi +66 -46
  193. bpy/ops/import_curve/__init__.pyi +7 -11
  194. bpy/ops/import_mesh/__init__.pyi +19 -25
  195. bpy/ops/import_scene/__init__.pyi +164 -147
  196. bpy/ops/info/__init__.pyi +88 -85
  197. bpy/ops/lattice/__init__.pyi +86 -90
  198. bpy/ops/marker/__init__.pyi +135 -146
  199. bpy/ops/mask/__init__.pyi +372 -436
  200. bpy/ops/material/__init__.pyi +18 -25
  201. bpy/ops/mball/__init__.pyi +93 -99
  202. bpy/ops/mesh/__init__.pyi +2525 -2664
  203. bpy/ops/nla/__init__.pyi +398 -455
  204. bpy/ops/node/__init__.pyi +1015 -1207
  205. bpy/ops/object/__init__.pyi +3423 -3390
  206. bpy/ops/outliner/__init__.pyi +667 -685
  207. bpy/ops/paint/__init__.pyi +719 -672
  208. bpy/ops/paintcurve/__init__.pyi +64 -85
  209. bpy/ops/palette/__init__.pyi +48 -67
  210. bpy/ops/particle/__init__.pyi +323 -367
  211. bpy/ops/pose/__init__.pyi +569 -474
  212. bpy/ops/poselib/__init__.pyi +77 -100
  213. bpy/ops/preferences/__init__.pyi +460 -512
  214. bpy/ops/ptcache/__init__.pyi +46 -63
  215. bpy/ops/render/__init__.pyi +121 -155
  216. bpy/ops/rigidbody/__init__.pyi +148 -143
  217. bpy/ops/scene/__init__.pyi +336 -380
  218. bpy/ops/screen/__init__.pyi +454 -530
  219. bpy/ops/script/__init__.pyi +19 -28
  220. bpy/ops/sculpt/__init__.pyi +734 -587
  221. bpy/ops/sculpt_curves/__init__.pyi +51 -56
  222. bpy/ops/sequencer/__init__.pyi +1617 -1500
  223. bpy/ops/sound/__init__.pyi +392 -315
  224. bpy/ops/spreadsheet/__init__.pyi +31 -42
  225. bpy/ops/surface/__init__.pyi +198 -163
  226. bpy/ops/text/__init__.pyi +479 -545
  227. bpy/ops/text_editor/__init__.pyi +11 -15
  228. bpy/ops/texture/__init__.pyi +26 -36
  229. bpy/ops/transform/__init__.pyi +825 -941
  230. bpy/ops/ui/__init__.pyi +246 -295
  231. bpy/ops/uilist/__init__.pyi +34 -38
  232. bpy/ops/uv/__init__.pyi +912 -824
  233. bpy/ops/view2d/__init__.pyi +157 -197
  234. bpy/ops/view3d/__init__.pyi +777 -878
  235. bpy/ops/wm/__init__.pyi +4102 -3595
  236. bpy/ops/workspace/__init__.pyi +42 -58
  237. bpy/ops/world/__init__.pyi +6 -9
  238. bpy/path/__init__.pyi +166 -109
  239. bpy/props/__init__.pyi +478 -395
  240. bpy/types/__init__.pyi +87194 -81467
  241. bpy/utils/__init__.pyi +325 -169
  242. bpy/utils/previews/__init__.pyi +108 -21
  243. bpy/utils/units/__init__.pyi +37 -39
  244. bpy_extras/__init__.pyi +4 -9
  245. bpy_extras/anim_utils/__init__.pyi +25 -55
  246. bpy_extras/asset_utils/__init__.pyi +3 -13
  247. bpy_extras/id_map_utils/__init__.pyi +1 -4
  248. bpy_extras/image_utils/__init__.pyi +33 -23
  249. bpy_extras/io_utils/__init__.pyi +116 -66
  250. bpy_extras/keyconfig_utils/__init__.pyi +5 -3
  251. bpy_extras/mesh_utils/__init__.pyi +42 -34
  252. bpy_extras/node_utils/__init__.pyi +4 -4
  253. bpy_extras/object_utils/__init__.pyi +58 -43
  254. bpy_extras/view3d_utils/__init__.pyi +64 -63
  255. bpy_restrict_state/__init__.pyi +14 -2
  256. bpy_types/__init__.pyi +3873 -998
  257. console_python/__init__.pyi +41 -8
  258. console_shell/__init__.pyi +24 -6
  259. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  260. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  261. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  262. freestyle/__init__.pyi +4 -5
  263. freestyle/chainingiterators/__init__.pyi +229 -73
  264. freestyle/functions/__init__.pyi +624 -402
  265. freestyle/predicates/__init__.pyi +381 -169
  266. freestyle/shaders/__init__.pyi +424 -155
  267. freestyle/types/__init__.pyi +1572 -726
  268. freestyle/utils/ContextFunctions/__init__.pyi +54 -43
  269. freestyle/utils/__init__.pyi +67 -31
  270. gpu/__init__.pyi +3 -4
  271. gpu/capabilities/__init__.pyi +57 -37
  272. gpu/matrix/__init__.pyi +14 -17
  273. gpu/platform/__init__.pyi +5 -6
  274. gpu/select/__init__.pyi +2 -5
  275. gpu/shader/__init__.pyi +14 -12
  276. gpu/state/__init__.pyi +48 -62
  277. gpu/texture/__init__.pyi +7 -7
  278. gpu/types/__init__.pyi +670 -229
  279. gpu_extras/__init__.pyi +1 -2
  280. gpu_extras/batch/__init__.pyi +27 -6
  281. gpu_extras/presets/__init__.pyi +67 -27
  282. graphviz_export/__init__.pyi +9 -3
  283. idprop/__init__.pyi +0 -1
  284. idprop/types/__init__.pyi +42 -13
  285. imbuf/__init__.pyi +6 -10
  286. imbuf/types/__init__.pyi +8 -16
  287. keyingsets_builtins/__init__.pyi +3149 -702
  288. keyingsets_utils/__init__.pyi +69 -15
  289. mathutils/__init__.pyi +951 -876
  290. mathutils/bvhtree/__init__.pyi +47 -48
  291. mathutils/geometry/__init__.pyi +237 -242
  292. mathutils/interpolate/__init__.pyi +3 -6
  293. mathutils/kdtree/__init__.pyi +23 -26
  294. mathutils/noise/__init__.pyi +50 -51
  295. nodeitems_builtins/__init__.pyi +50 -11
  296. nodeitems_utils/__init__.pyi +58 -11
  297. rna_info/__init__.pyi +230 -27
  298. rna_keymap_ui/__init__.pyi +29 -7
  299. rna_prop_ui/__init__.pyi +69 -13
  300. rna_xml/__init__.pyi +29 -7
  301. sys_info/__init__.pyi +4 -2
  302. bpy_extras/bmesh_utils/__init__.pyi +0 -7
  303. bpy_extras/extensions/__init__.pyi +0 -5
  304. bpy_extras/extensions/junction_module/__init__.pyi +0 -13
  305. bpy_extras/node_shader_utils/__init__.pyi +0 -132
  306. bpy_extras/wm_utils/__init__.pyi +0 -5
  307. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
  308. fake_bpy_module-20240210.dist-info/RECORD +0 -349
  309. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -1,23 +1,19 @@
1
- import sys
2
1
  import typing
3
2
  import bpy.types
4
3
 
5
4
  GenericType = typing.TypeVar("GenericType")
6
5
 
7
6
  def addon_disable(
8
- override_context: typing.Optional[
9
- typing.Union[typing.Dict, "bpy.types.Context"]
10
- ] = None,
11
- execution_context: typing.Optional[typing.Union[str, int]] = None,
12
- undo: typing.Optional[bool] = None,
13
- *,
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
14
10
  module: typing.Union[str, typing.Any] = "",
15
11
  ):
16
- """Disable an add-on :File: `startup/bl_operators/userpref.py\:485 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L485>`__
12
+ """Turn off this extension
17
13
 
18
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
19
- :type execution_context: typing.Optional[typing.Union[str, int]]
20
- :type undo: typing.Optional[bool]
14
+ :type override_context: typing.Union[dict, bpy.types.Context]
15
+ :type execution_context: typing.Union[str, int]
16
+ :type undo: bool
21
17
  :param module: Module, Module name of the add-on to disable
22
18
  :type module: typing.Union[str, typing.Any]
23
19
  """
@@ -25,19 +21,16 @@ def addon_disable(
25
21
  ...
26
22
 
27
23
  def addon_enable(
28
- override_context: typing.Optional[
29
- typing.Union[typing.Dict, "bpy.types.Context"]
30
- ] = None,
31
- execution_context: typing.Optional[typing.Union[str, int]] = None,
32
- undo: typing.Optional[bool] = None,
33
- *,
24
+ override_context: typing.Union[dict, bpy.types.Context] = None,
25
+ execution_context: typing.Union[str, int] = None,
26
+ undo: bool = None,
34
27
  module: typing.Union[str, typing.Any] = "",
35
28
  ):
36
- """Enable an add-on :File: `startup/bl_operators/userpref.py\:439 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L439>`__
29
+ """Turn on this extension
37
30
 
38
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
39
- :type execution_context: typing.Optional[typing.Union[str, int]]
40
- :type undo: typing.Optional[bool]
31
+ :type override_context: typing.Union[dict, bpy.types.Context]
32
+ :type execution_context: typing.Union[str, int]
33
+ :type undo: bool
41
34
  :param module: Module, Module name of the add-on to enable
42
35
  :type module: typing.Union[str, typing.Any]
43
36
  """
@@ -45,19 +38,16 @@ def addon_enable(
45
38
  ...
46
39
 
47
40
  def addon_expand(
48
- override_context: typing.Optional[
49
- typing.Union[typing.Dict, "bpy.types.Context"]
50
- ] = None,
51
- execution_context: typing.Optional[typing.Union[str, int]] = None,
52
- undo: typing.Optional[bool] = None,
53
- *,
41
+ override_context: typing.Union[dict, bpy.types.Context] = None,
42
+ execution_context: typing.Union[str, int] = None,
43
+ undo: bool = None,
54
44
  module: typing.Union[str, typing.Any] = "",
55
45
  ):
56
- """Display information and preferences for this add-on :File: `startup/bl_operators/userpref.py\:827 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L827>`__
46
+ """Display information and preferences for this add-on
57
47
 
58
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
59
- :type execution_context: typing.Optional[typing.Union[str, int]]
60
- :type undo: typing.Optional[bool]
48
+ :type override_context: typing.Union[dict, bpy.types.Context]
49
+ :type execution_context: typing.Union[str, int]
50
+ :type undo: bool
61
51
  :param module: Module, Module name of the add-on to expand
62
52
  :type module: typing.Union[str, typing.Any]
63
53
  """
@@ -65,34 +55,31 @@ def addon_expand(
65
55
  ...
66
56
 
67
57
  def addon_install(
68
- override_context: typing.Optional[
69
- typing.Union[typing.Dict, "bpy.types.Context"]
70
- ] = None,
71
- execution_context: typing.Optional[typing.Union[str, int]] = None,
72
- undo: typing.Optional[bool] = None,
73
- *,
74
- overwrite: typing.Optional[typing.Union[bool, typing.Any]] = True,
75
- target: typing.Optional[typing.Union[str, int, typing.Any]] = "",
58
+ override_context: typing.Union[dict, bpy.types.Context] = None,
59
+ execution_context: typing.Union[str, int] = None,
60
+ undo: bool = None,
61
+ overwrite: typing.Union[bool, typing.Any] = True,
62
+ target: typing.Union[str, int, typing.Any] = "",
76
63
  filepath: typing.Union[str, typing.Any] = "",
77
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
78
- filter_python: typing.Optional[typing.Union[bool, typing.Any]] = True,
64
+ filter_folder: typing.Union[bool, typing.Any] = True,
65
+ filter_python: typing.Union[bool, typing.Any] = True,
79
66
  filter_glob: typing.Union[str, typing.Any] = "*.py;*.zip",
80
67
  ):
81
- """Install an add-on :File: `startup/bl_operators/userpref.py\:626 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L626>`__
68
+ """Install an add-on
82
69
 
83
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
84
- :type execution_context: typing.Optional[typing.Union[str, int]]
85
- :type undo: typing.Optional[bool]
70
+ :type override_context: typing.Union[dict, bpy.types.Context]
71
+ :type execution_context: typing.Union[str, int]
72
+ :type undo: bool
86
73
  :param overwrite: Overwrite, Remove existing add-ons with the same ID
87
- :type overwrite: typing.Optional[typing.Union[bool, typing.Any]]
74
+ :type overwrite: typing.Union[bool, typing.Any]
88
75
  :param target: Target Path
89
- :type target: typing.Optional[typing.Union[str, int, typing.Any]]
76
+ :type target: typing.Union[str, int, typing.Any]
90
77
  :param filepath: filepath
91
78
  :type filepath: typing.Union[str, typing.Any]
92
79
  :param filter_folder: Filter folders
93
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
80
+ :type filter_folder: typing.Union[bool, typing.Any]
94
81
  :param filter_python: Filter Python
95
- :type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
82
+ :type filter_python: typing.Union[bool, typing.Any]
96
83
  :param filter_glob: filter_glob
97
84
  :type filter_glob: typing.Union[str, typing.Any]
98
85
  """
@@ -100,35 +87,30 @@ def addon_install(
100
87
  ...
101
88
 
102
89
  def addon_refresh(
103
- override_context: typing.Optional[
104
- typing.Union[typing.Dict, "bpy.types.Context"]
105
- ] = None,
106
- execution_context: typing.Optional[typing.Union[str, int]] = None,
107
- undo: typing.Optional[bool] = None,
90
+ override_context: typing.Union[dict, bpy.types.Context] = None,
91
+ execution_context: typing.Union[str, int] = None,
92
+ undo: bool = None,
108
93
  ):
109
- """Scan add-on directories for new modules :File: `startup/bl_operators/userpref.py\:574 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L574>`__
94
+ """Scan add-on directories for new modules
110
95
 
111
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
112
- :type execution_context: typing.Optional[typing.Union[str, int]]
113
- :type undo: typing.Optional[bool]
96
+ :type override_context: typing.Union[dict, bpy.types.Context]
97
+ :type execution_context: typing.Union[str, int]
98
+ :type undo: bool
114
99
  """
115
100
 
116
101
  ...
117
102
 
118
103
  def addon_remove(
119
- override_context: typing.Optional[
120
- typing.Union[typing.Dict, "bpy.types.Context"]
121
- ] = None,
122
- execution_context: typing.Optional[typing.Union[str, int]] = None,
123
- undo: typing.Optional[bool] = None,
124
- *,
104
+ override_context: typing.Union[dict, bpy.types.Context] = None,
105
+ execution_context: typing.Union[str, int] = None,
106
+ undo: bool = None,
125
107
  module: typing.Union[str, typing.Any] = "",
126
108
  ):
127
- """Delete the add-on from the file system :File: `startup/bl_operators/userpref.py\:782 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L782>`__
109
+ """Delete the add-on from the file system
128
110
 
129
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
130
- :type execution_context: typing.Optional[typing.Union[str, int]]
131
- :type undo: typing.Optional[bool]
111
+ :type override_context: typing.Union[dict, bpy.types.Context]
112
+ :type execution_context: typing.Union[str, int]
113
+ :type undo: bool
132
114
  :param module: Module, Module name of the add-on to remove
133
115
  :type module: typing.Union[str, typing.Any]
134
116
  """
@@ -136,19 +118,16 @@ def addon_remove(
136
118
  ...
137
119
 
138
120
  def addon_show(
139
- override_context: typing.Optional[
140
- typing.Union[typing.Dict, "bpy.types.Context"]
141
- ] = None,
142
- execution_context: typing.Optional[typing.Union[str, int]] = None,
143
- undo: typing.Optional[bool] = None,
144
- *,
121
+ override_context: typing.Union[dict, bpy.types.Context] = None,
122
+ execution_context: typing.Union[str, int] = None,
123
+ undo: bool = None,
145
124
  module: typing.Union[str, typing.Any] = "",
146
125
  ):
147
- """Show add-on preferences :File: `startup/bl_operators/userpref.py\:851 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L851>`__
126
+ """Show add-on preferences
148
127
 
149
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
150
- :type execution_context: typing.Optional[typing.Union[str, int]]
151
- :type undo: typing.Optional[bool]
128
+ :type override_context: typing.Union[dict, bpy.types.Context]
129
+ :type execution_context: typing.Union[str, int]
130
+ :type undo: bool
152
131
  :param module: Module, Module name of the add-on to expand
153
132
  :type module: typing.Union[str, typing.Any]
154
133
  """
@@ -156,28 +135,25 @@ def addon_show(
156
135
  ...
157
136
 
158
137
  def app_template_install(
159
- override_context: typing.Optional[
160
- typing.Union[typing.Dict, "bpy.types.Context"]
161
- ] = None,
162
- execution_context: typing.Optional[typing.Union[str, int]] = None,
163
- undo: typing.Optional[bool] = None,
164
- *,
165
- overwrite: typing.Optional[typing.Union[bool, typing.Any]] = True,
138
+ override_context: typing.Union[dict, bpy.types.Context] = None,
139
+ execution_context: typing.Union[str, int] = None,
140
+ undo: bool = None,
141
+ overwrite: typing.Union[bool, typing.Any] = True,
166
142
  filepath: typing.Union[str, typing.Any] = "",
167
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
143
+ filter_folder: typing.Union[bool, typing.Any] = True,
168
144
  filter_glob: typing.Union[str, typing.Any] = "*.zip",
169
145
  ):
170
- """Install an application template :File: `startup/bl_operators/userpref.py\:897 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L897>`__
146
+ """Install an application template
171
147
 
172
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
173
- :type execution_context: typing.Optional[typing.Union[str, int]]
174
- :type undo: typing.Optional[bool]
148
+ :type override_context: typing.Union[dict, bpy.types.Context]
149
+ :type execution_context: typing.Union[str, int]
150
+ :type undo: bool
175
151
  :param overwrite: Overwrite, Remove existing template with the same ID
176
- :type overwrite: typing.Optional[typing.Union[bool, typing.Any]]
152
+ :type overwrite: typing.Union[bool, typing.Any]
177
153
  :param filepath: filepath
178
154
  :type filepath: typing.Union[str, typing.Any]
179
155
  :param filter_folder: Filter folders
180
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
156
+ :type filter_folder: typing.Union[bool, typing.Any]
181
157
  :param filter_glob: filter_glob
182
158
  :type filter_glob: typing.Union[str, typing.Any]
183
159
  """
@@ -185,280 +161,293 @@ def app_template_install(
185
161
  ...
186
162
 
187
163
  def asset_library_add(
188
- override_context: typing.Optional[
189
- typing.Union[typing.Dict, "bpy.types.Context"]
190
- ] = None,
191
- execution_context: typing.Optional[typing.Union[str, int]] = None,
192
- undo: typing.Optional[bool] = None,
193
- *,
164
+ override_context: typing.Union[dict, bpy.types.Context] = None,
165
+ execution_context: typing.Union[str, int] = None,
166
+ undo: bool = None,
194
167
  directory: typing.Union[str, typing.Any] = "",
195
- hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
196
- check_existing: typing.Optional[typing.Union[bool, typing.Any]] = False,
197
- filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
198
- filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
199
- filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
200
- filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
201
- filter_python: typing.Optional[typing.Union[bool, typing.Any]] = False,
202
- filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
203
- filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
204
- filter_text: typing.Optional[typing.Union[bool, typing.Any]] = False,
205
- filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
206
- filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
207
- filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
208
- filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
209
- filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
210
- filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
211
- filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
212
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
213
- filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
214
- filemode: typing.Optional[typing.Any] = 9,
215
- display_type: typing.Optional[typing.Any] = "DEFAULT",
216
- sort_method: typing.Optional[typing.Union[str, int, typing.Any]] = "",
168
+ hide_props_region: typing.Union[bool, typing.Any] = True,
169
+ check_existing: typing.Union[bool, typing.Any] = False,
170
+ filter_blender: typing.Union[bool, typing.Any] = False,
171
+ filter_backup: typing.Union[bool, typing.Any] = False,
172
+ filter_image: typing.Union[bool, typing.Any] = False,
173
+ filter_movie: typing.Union[bool, typing.Any] = False,
174
+ filter_python: typing.Union[bool, typing.Any] = False,
175
+ filter_font: typing.Union[bool, typing.Any] = False,
176
+ filter_sound: typing.Union[bool, typing.Any] = False,
177
+ filter_text: typing.Union[bool, typing.Any] = False,
178
+ filter_archive: typing.Union[bool, typing.Any] = False,
179
+ filter_btx: typing.Union[bool, typing.Any] = False,
180
+ filter_collada: typing.Union[bool, typing.Any] = False,
181
+ filter_alembic: typing.Union[bool, typing.Any] = False,
182
+ filter_usd: typing.Union[bool, typing.Any] = False,
183
+ filter_obj: typing.Union[bool, typing.Any] = False,
184
+ filter_volume: typing.Union[bool, typing.Any] = False,
185
+ filter_folder: typing.Union[bool, typing.Any] = True,
186
+ filter_blenlib: typing.Union[bool, typing.Any] = False,
187
+ filemode: typing.Any = 9,
188
+ display_type: typing.Any = "DEFAULT",
189
+ sort_method: typing.Union[str, int, typing.Any] = "",
217
190
  ):
218
191
  """Add a directory to be used by the Asset Browser as source of assets
219
192
 
220
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
221
- :type execution_context: typing.Optional[typing.Union[str, int]]
222
- :type undo: typing.Optional[bool]
223
- :param directory: Directory, Directory of the file
224
- :type directory: typing.Union[str, typing.Any]
225
- :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
226
- :type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
227
- :param check_existing: Check Existing, Check and warn on overwriting existing files
228
- :type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
229
- :param filter_blender: Filter .blend files
230
- :type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
231
- :param filter_backup: Filter .blend files
232
- :type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
233
- :param filter_image: Filter image files
234
- :type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
235
- :param filter_movie: Filter movie files
236
- :type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
237
- :param filter_python: Filter Python files
238
- :type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
239
- :param filter_font: Filter font files
240
- :type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
241
- :param filter_sound: Filter sound files
242
- :type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
243
- :param filter_text: Filter text files
244
- :type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
245
- :param filter_archive: Filter archive files
246
- :type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
247
- :param filter_btx: Filter btx files
248
- :type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
249
- :param filter_collada: Filter COLLADA files
250
- :type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
251
- :param filter_alembic: Filter Alembic files
252
- :type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
253
- :param filter_usd: Filter USD files
254
- :type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
255
- :param filter_obj: Filter OBJ files
256
- :type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
257
- :param filter_volume: Filter OpenVDB volume files
258
- :type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
259
- :param filter_folder: Filter folders
260
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
261
- :param filter_blenlib: Filter Blender IDs
262
- :type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
263
- :param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
264
- :type filemode: typing.Optional[typing.Any]
265
- :param display_type: Display Type * ``DEFAULT`` Default -- Automatically determine display type for files. * ``LIST_VERTICAL`` Short List -- Display files as short list. * ``LIST_HORIZONTAL`` Long List -- Display files as a detailed list. * ``THUMBNAIL`` Thumbnails -- Display files as thumbnails.
266
- :type display_type: typing.Optional[typing.Any]
267
- :param sort_method: File sorting mode
268
- :type sort_method: typing.Optional[typing.Union[str, int, typing.Any]]
193
+ :type override_context: typing.Union[dict, bpy.types.Context]
194
+ :type execution_context: typing.Union[str, int]
195
+ :type undo: bool
196
+ :param directory: Directory, Directory of the file
197
+ :type directory: typing.Union[str, typing.Any]
198
+ :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
199
+ :type hide_props_region: typing.Union[bool, typing.Any]
200
+ :param check_existing: Check Existing, Check and warn on overwriting existing files
201
+ :type check_existing: typing.Union[bool, typing.Any]
202
+ :param filter_blender: Filter .blend files
203
+ :type filter_blender: typing.Union[bool, typing.Any]
204
+ :param filter_backup: Filter .blend files
205
+ :type filter_backup: typing.Union[bool, typing.Any]
206
+ :param filter_image: Filter image files
207
+ :type filter_image: typing.Union[bool, typing.Any]
208
+ :param filter_movie: Filter movie files
209
+ :type filter_movie: typing.Union[bool, typing.Any]
210
+ :param filter_python: Filter Python files
211
+ :type filter_python: typing.Union[bool, typing.Any]
212
+ :param filter_font: Filter font files
213
+ :type filter_font: typing.Union[bool, typing.Any]
214
+ :param filter_sound: Filter sound files
215
+ :type filter_sound: typing.Union[bool, typing.Any]
216
+ :param filter_text: Filter text files
217
+ :type filter_text: typing.Union[bool, typing.Any]
218
+ :param filter_archive: Filter archive files
219
+ :type filter_archive: typing.Union[bool, typing.Any]
220
+ :param filter_btx: Filter btx files
221
+ :type filter_btx: typing.Union[bool, typing.Any]
222
+ :param filter_collada: Filter COLLADA files
223
+ :type filter_collada: typing.Union[bool, typing.Any]
224
+ :param filter_alembic: Filter Alembic files
225
+ :type filter_alembic: typing.Union[bool, typing.Any]
226
+ :param filter_usd: Filter USD files
227
+ :type filter_usd: typing.Union[bool, typing.Any]
228
+ :param filter_obj: Filter OBJ files
229
+ :type filter_obj: typing.Union[bool, typing.Any]
230
+ :param filter_volume: Filter OpenVDB volume files
231
+ :type filter_volume: typing.Union[bool, typing.Any]
232
+ :param filter_folder: Filter folders
233
+ :type filter_folder: typing.Union[bool, typing.Any]
234
+ :param filter_blenlib: Filter Blender IDs
235
+ :type filter_blenlib: typing.Union[bool, typing.Any]
236
+ :param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
237
+ :type filemode: typing.Any
238
+ :param display_type: Display Type
239
+
240
+ DEFAULT
241
+ Default -- Automatically determine display type for files.
242
+
243
+ LIST_VERTICAL
244
+ Short List -- Display files as short list.
245
+
246
+ LIST_HORIZONTAL
247
+ Long List -- Display files as a detailed list.
248
+
249
+ THUMBNAIL
250
+ Thumbnails -- Display files as thumbnails.
251
+ :type display_type: typing.Any
252
+ :param sort_method: File sorting mode
253
+ :type sort_method: typing.Union[str, int, typing.Any]
269
254
  """
270
255
 
271
256
  ...
272
257
 
273
258
  def asset_library_remove(
274
- override_context: typing.Optional[
275
- typing.Union[typing.Dict, "bpy.types.Context"]
276
- ] = None,
277
- execution_context: typing.Optional[typing.Union[str, int]] = None,
278
- undo: typing.Optional[bool] = None,
279
- *,
280
- index: typing.Optional[typing.Any] = 0,
259
+ override_context: typing.Union[dict, bpy.types.Context] = None,
260
+ execution_context: typing.Union[str, int] = None,
261
+ undo: bool = None,
262
+ index: typing.Any = 0,
281
263
  ):
282
264
  """Remove a path to a .blend file, so the Asset Browser will not attempt to show it anymore
283
265
 
284
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
285
- :type execution_context: typing.Optional[typing.Union[str, int]]
286
- :type undo: typing.Optional[bool]
266
+ :type override_context: typing.Union[dict, bpy.types.Context]
267
+ :type execution_context: typing.Union[str, int]
268
+ :type undo: bool
287
269
  :param index: Index
288
- :type index: typing.Optional[typing.Any]
270
+ :type index: typing.Any
289
271
  """
290
272
 
291
273
  ...
292
274
 
293
275
  def associate_blend(
294
- override_context: typing.Optional[
295
- typing.Union[typing.Dict, "bpy.types.Context"]
296
- ] = None,
297
- execution_context: typing.Optional[typing.Union[str, int]] = None,
298
- undo: typing.Optional[bool] = None,
276
+ override_context: typing.Union[dict, bpy.types.Context] = None,
277
+ execution_context: typing.Union[str, int] = None,
278
+ undo: bool = None,
299
279
  ):
300
280
  """Use this installation for .blend files and to display thumbnails
301
281
 
302
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
303
- :type execution_context: typing.Optional[typing.Union[str, int]]
304
- :type undo: typing.Optional[bool]
282
+ :type override_context: typing.Union[dict, bpy.types.Context]
283
+ :type execution_context: typing.Union[str, int]
284
+ :type undo: bool
305
285
  """
306
286
 
307
287
  ...
308
288
 
309
289
  def autoexec_path_add(
310
- override_context: typing.Optional[
311
- typing.Union[typing.Dict, "bpy.types.Context"]
312
- ] = None,
313
- execution_context: typing.Optional[typing.Union[str, int]] = None,
314
- undo: typing.Optional[bool] = None,
290
+ override_context: typing.Union[dict, bpy.types.Context] = None,
291
+ execution_context: typing.Union[str, int] = None,
292
+ undo: bool = None,
315
293
  ):
316
294
  """Add path to exclude from auto-execution
317
295
 
318
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
319
- :type execution_context: typing.Optional[typing.Union[str, int]]
320
- :type undo: typing.Optional[bool]
296
+ :type override_context: typing.Union[dict, bpy.types.Context]
297
+ :type execution_context: typing.Union[str, int]
298
+ :type undo: bool
321
299
  """
322
300
 
323
301
  ...
324
302
 
325
303
  def autoexec_path_remove(
326
- override_context: typing.Optional[
327
- typing.Union[typing.Dict, "bpy.types.Context"]
328
- ] = None,
329
- execution_context: typing.Optional[typing.Union[str, int]] = None,
330
- undo: typing.Optional[bool] = None,
331
- *,
332
- index: typing.Optional[typing.Any] = 0,
304
+ override_context: typing.Union[dict, bpy.types.Context] = None,
305
+ execution_context: typing.Union[str, int] = None,
306
+ undo: bool = None,
307
+ index: typing.Any = 0,
333
308
  ):
334
309
  """Remove path to exclude from auto-execution
335
310
 
336
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
337
- :type execution_context: typing.Optional[typing.Union[str, int]]
338
- :type undo: typing.Optional[bool]
311
+ :type override_context: typing.Union[dict, bpy.types.Context]
312
+ :type execution_context: typing.Union[str, int]
313
+ :type undo: bool
339
314
  :param index: Index
340
- :type index: typing.Optional[typing.Any]
315
+ :type index: typing.Any
341
316
  """
342
317
 
343
318
  ...
344
319
 
345
320
  def copy_prev(
346
- override_context: typing.Optional[
347
- typing.Union[typing.Dict, "bpy.types.Context"]
348
- ] = None,
349
- execution_context: typing.Optional[typing.Union[str, int]] = None,
350
- undo: typing.Optional[bool] = None,
321
+ override_context: typing.Union[dict, bpy.types.Context] = None,
322
+ execution_context: typing.Union[str, int] = None,
323
+ undo: bool = None,
351
324
  ):
352
- """Copy settings from previous version :File: `startup/bl_operators/userpref.py\:144 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L144>`__
325
+ """Copy settings from previous version
353
326
 
354
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
355
- :type execution_context: typing.Optional[typing.Union[str, int]]
356
- :type undo: typing.Optional[bool]
327
+ :type override_context: typing.Union[dict, bpy.types.Context]
328
+ :type execution_context: typing.Union[str, int]
329
+ :type undo: bool
357
330
  """
358
331
 
359
332
  ...
360
333
 
361
334
  def extension_repo_add(
362
- override_context: typing.Optional[
363
- typing.Union[typing.Dict, "bpy.types.Context"]
364
- ] = None,
365
- execution_context: typing.Optional[typing.Union[str, int]] = None,
366
- undo: typing.Optional[bool] = None,
367
- *,
335
+ override_context: typing.Union[dict, bpy.types.Context] = None,
336
+ execution_context: typing.Union[str, int] = None,
337
+ undo: bool = None,
368
338
  name: typing.Union[str, typing.Any] = "",
369
339
  remote_path: typing.Union[str, typing.Any] = "",
370
- use_custom_directory: typing.Optional[typing.Union[bool, typing.Any]] = False,
340
+ use_custom_directory: typing.Union[bool, typing.Any] = False,
371
341
  custom_directory: typing.Union[str, typing.Any] = "",
372
- type: typing.Optional[typing.Any] = "REMOTE",
342
+ type: typing.Any = "REMOTE",
373
343
  ):
374
- """Add a directory to be used as a local extension repository
344
+ """Add a new repository used to store extensions
345
+
346
+ :type override_context: typing.Union[dict, bpy.types.Context]
347
+ :type execution_context: typing.Union[str, int]
348
+ :type undo: bool
349
+ :param name: Name, Unique repository name
350
+ :type name: typing.Union[str, typing.Any]
351
+ :param remote_path: URL, Remote URL or path for extension repository
352
+ :type remote_path: typing.Union[str, typing.Any]
353
+ :param use_custom_directory: Custom Directory, Manually set the path for extensions to be stored. When disabled a users extensions directory is created
354
+ :type use_custom_directory: typing.Union[bool, typing.Any]
355
+ :param custom_directory: Custom Directory, The local directory containing extensions
356
+ :type custom_directory: typing.Union[str, typing.Any]
357
+ :param type: Type, The kind of repository to add
375
358
 
376
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
377
- :type execution_context: typing.Optional[typing.Union[str, int]]
378
- :type undo: typing.Optional[bool]
379
- :param name: Name, Unique repository name
380
- :type name: typing.Union[str, typing.Any]
381
- :param remote_path: URL, Remote URL or path for extension repository
382
- :type remote_path: typing.Union[str, typing.Any]
383
- :param use_custom_directory: Custom Directory, Manually set the path for extensions to be stored. When disabled a users extensions directory is created
384
- :type use_custom_directory: typing.Optional[typing.Union[bool, typing.Any]]
385
- :param custom_directory: Custom Directory, The local directory containing extensions
386
- :type custom_directory: typing.Union[str, typing.Any]
387
- :param type: Type, The kind of repository to add * ``REMOTE`` Add Remote Repository -- Add a repository referencing an remote repository with support for listing and updating extensions. * ``LOCAL`` Add Local Repository -- Add a repository managed manually without referencing an external repository.
388
- :type type: typing.Optional[typing.Any]
359
+ REMOTE
360
+ Add Remote Repository -- Add a repository referencing an remote repository with support for listing and updating extensions.
361
+
362
+ LOCAL
363
+ Add Local Repository -- Add a repository managed manually without referencing an external repository.
364
+ :type type: typing.Any
389
365
  """
390
366
 
391
367
  ...
392
368
 
393
369
  def extension_repo_remove(
394
- override_context: typing.Optional[
395
- typing.Union[typing.Dict, "bpy.types.Context"]
396
- ] = None,
397
- execution_context: typing.Optional[typing.Union[str, int]] = None,
398
- undo: typing.Optional[bool] = None,
399
- *,
400
- index: typing.Optional[typing.Any] = 0,
401
- type: typing.Optional[typing.Any] = "REPO_ONLY",
370
+ override_context: typing.Union[dict, bpy.types.Context] = None,
371
+ execution_context: typing.Union[str, int] = None,
372
+ undo: bool = None,
373
+ index: typing.Any = 0,
374
+ type: typing.Any = "REPO_ONLY",
402
375
  ):
403
376
  """Remove an extension repository
404
377
 
405
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
406
- :type execution_context: typing.Optional[typing.Union[str, int]]
407
- :type undo: typing.Optional[bool]
408
- :param index: Index
409
- :type index: typing.Optional[typing.Any]
410
- :param type: Type, Method for removing the repository * ``REPO_ONLY`` Remove Repository. * ``REPO_AND_DIRECTORY`` Remove Repository & Files -- Delete all associated local files when removing.
411
- :type type: typing.Optional[typing.Any]
378
+ :type override_context: typing.Union[dict, bpy.types.Context]
379
+ :type execution_context: typing.Union[str, int]
380
+ :type undo: bool
381
+ :param index: Index
382
+ :type index: typing.Any
383
+ :param type: Type, Method for removing the repository
384
+
385
+ REPO_ONLY
386
+ Remove Repository.
387
+
388
+ REPO_AND_DIRECTORY
389
+ Remove Repository & Files -- Delete all associated local files when removing.
390
+ :type type: typing.Any
412
391
  """
413
392
 
414
393
  ...
415
394
 
416
395
  def extension_repo_sync(
417
- override_context: typing.Optional[
418
- typing.Union[typing.Dict, "bpy.types.Context"]
419
- ] = None,
420
- execution_context: typing.Optional[typing.Union[str, int]] = None,
421
- undo: typing.Optional[bool] = None,
396
+ override_context: typing.Union[dict, bpy.types.Context] = None,
397
+ execution_context: typing.Union[str, int] = None,
398
+ undo: bool = None,
422
399
  ):
423
400
  """Synchronize the active extension repository with its remote URL
424
401
 
425
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
426
- :type execution_context: typing.Optional[typing.Union[str, int]]
427
- :type undo: typing.Optional[bool]
402
+ :type override_context: typing.Union[dict, bpy.types.Context]
403
+ :type execution_context: typing.Union[str, int]
404
+ :type undo: bool
428
405
  """
429
406
 
430
407
  ...
431
408
 
432
409
  def extension_repo_upgrade(
433
- override_context: typing.Optional[
434
- typing.Union[typing.Dict, "bpy.types.Context"]
435
- ] = None,
436
- execution_context: typing.Optional[typing.Union[str, int]] = None,
437
- undo: typing.Optional[bool] = None,
410
+ override_context: typing.Union[dict, bpy.types.Context] = None,
411
+ execution_context: typing.Union[str, int] = None,
412
+ undo: bool = None,
438
413
  ):
439
414
  """Update any outdated extensions for the active extension repository
440
415
 
441
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
442
- :type execution_context: typing.Optional[typing.Union[str, int]]
443
- :type undo: typing.Optional[bool]
416
+ :type override_context: typing.Union[dict, bpy.types.Context]
417
+ :type execution_context: typing.Union[str, int]
418
+ :type undo: bool
419
+ """
420
+
421
+ ...
422
+
423
+ def extension_url_drop(
424
+ override_context: typing.Union[dict, bpy.types.Context] = None,
425
+ execution_context: typing.Union[str, int] = None,
426
+ undo: bool = None,
427
+ url: typing.Union[str, typing.Any] = "",
428
+ ):
429
+ """Handle dropping an extension URL
430
+
431
+ :type override_context: typing.Union[dict, bpy.types.Context]
432
+ :type execution_context: typing.Union[str, int]
433
+ :type undo: bool
434
+ :param url: URL, Location of the extension to install
435
+ :type url: typing.Union[str, typing.Any]
444
436
  """
445
437
 
446
438
  ...
447
439
 
448
440
  def keyconfig_activate(
449
- override_context: typing.Optional[
450
- typing.Union[typing.Dict, "bpy.types.Context"]
451
- ] = None,
452
- execution_context: typing.Optional[typing.Union[str, int]] = None,
453
- undo: typing.Optional[bool] = None,
454
- *,
441
+ override_context: typing.Union[dict, bpy.types.Context] = None,
442
+ execution_context: typing.Union[str, int] = None,
443
+ undo: bool = None,
455
444
  filepath: typing.Union[str, typing.Any] = "",
456
445
  ):
457
- """Undocumented, consider `contributing <https://developer.blender.org/>`__. :File: `startup/bl_operators/userpref.py\:65 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L65>`__
446
+ """Undocumented, consider contributing.
458
447
 
459
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
460
- :type execution_context: typing.Optional[typing.Union[str, int]]
461
- :type undo: typing.Optional[bool]
448
+ :type override_context: typing.Union[dict, bpy.types.Context]
449
+ :type execution_context: typing.Union[str, int]
450
+ :type undo: bool
462
451
  :param filepath: filepath
463
452
  :type filepath: typing.Union[str, typing.Any]
464
453
  """
@@ -466,304 +455,273 @@ def keyconfig_activate(
466
455
  ...
467
456
 
468
457
  def keyconfig_export(
469
- override_context: typing.Optional[
470
- typing.Union[typing.Dict, "bpy.types.Context"]
471
- ] = None,
472
- execution_context: typing.Optional[typing.Union[str, int]] = None,
473
- undo: typing.Optional[bool] = None,
474
- *,
475
- all: typing.Optional[typing.Union[bool, typing.Any]] = False,
458
+ override_context: typing.Union[dict, bpy.types.Context] = None,
459
+ execution_context: typing.Union[str, int] = None,
460
+ undo: bool = None,
461
+ all: typing.Union[bool, typing.Any] = False,
476
462
  filepath: typing.Union[str, typing.Any] = "",
477
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
478
- filter_text: typing.Optional[typing.Union[bool, typing.Any]] = True,
479
- filter_python: typing.Optional[typing.Union[bool, typing.Any]] = True,
463
+ filter_folder: typing.Union[bool, typing.Any] = True,
464
+ filter_text: typing.Union[bool, typing.Any] = True,
465
+ filter_python: typing.Union[bool, typing.Any] = True,
480
466
  ):
481
- """Export key configuration to a Python script :File: `startup/bl_operators/userpref.py\:281 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L281>`__
467
+ """Export key configuration to a Python script
482
468
 
483
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
484
- :type execution_context: typing.Optional[typing.Union[str, int]]
485
- :type undo: typing.Optional[bool]
469
+ :type override_context: typing.Union[dict, bpy.types.Context]
470
+ :type execution_context: typing.Union[str, int]
471
+ :type undo: bool
486
472
  :param all: All Keymaps, Write all keymaps (not just user modified)
487
- :type all: typing.Optional[typing.Union[bool, typing.Any]]
473
+ :type all: typing.Union[bool, typing.Any]
488
474
  :param filepath: filepath
489
475
  :type filepath: typing.Union[str, typing.Any]
490
476
  :param filter_folder: Filter folders
491
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
477
+ :type filter_folder: typing.Union[bool, typing.Any]
492
478
  :param filter_text: Filter text
493
- :type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
479
+ :type filter_text: typing.Union[bool, typing.Any]
494
480
  :param filter_python: Filter Python
495
- :type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
481
+ :type filter_python: typing.Union[bool, typing.Any]
496
482
  """
497
483
 
498
484
  ...
499
485
 
500
486
  def keyconfig_import(
501
- override_context: typing.Optional[
502
- typing.Union[typing.Dict, "bpy.types.Context"]
503
- ] = None,
504
- execution_context: typing.Optional[typing.Union[str, int]] = None,
505
- undo: typing.Optional[bool] = None,
506
- *,
487
+ override_context: typing.Union[dict, bpy.types.Context] = None,
488
+ execution_context: typing.Union[str, int] = None,
489
+ undo: bool = None,
507
490
  filepath: typing.Union[str, typing.Any] = "keymap.py",
508
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
509
- filter_text: typing.Optional[typing.Union[bool, typing.Any]] = True,
510
- filter_python: typing.Optional[typing.Union[bool, typing.Any]] = True,
511
- keep_original: typing.Optional[typing.Union[bool, typing.Any]] = True,
491
+ filter_folder: typing.Union[bool, typing.Any] = True,
492
+ filter_text: typing.Union[bool, typing.Any] = True,
493
+ filter_python: typing.Union[bool, typing.Any] = True,
494
+ keep_original: typing.Union[bool, typing.Any] = True,
512
495
  ):
513
- """Import key configuration from a Python script :File: `startup/bl_operators/userpref.py\:210 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L210>`__
496
+ """Import key configuration from a Python script
514
497
 
515
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
516
- :type execution_context: typing.Optional[typing.Union[str, int]]
517
- :type undo: typing.Optional[bool]
498
+ :type override_context: typing.Union[dict, bpy.types.Context]
499
+ :type execution_context: typing.Union[str, int]
500
+ :type undo: bool
518
501
  :param filepath: filepath
519
502
  :type filepath: typing.Union[str, typing.Any]
520
503
  :param filter_folder: Filter folders
521
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
504
+ :type filter_folder: typing.Union[bool, typing.Any]
522
505
  :param filter_text: Filter text
523
- :type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
506
+ :type filter_text: typing.Union[bool, typing.Any]
524
507
  :param filter_python: Filter Python
525
- :type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
508
+ :type filter_python: typing.Union[bool, typing.Any]
526
509
  :param keep_original: Keep Original, Keep original file after copying to configuration folder
527
- :type keep_original: typing.Optional[typing.Union[bool, typing.Any]]
510
+ :type keep_original: typing.Union[bool, typing.Any]
528
511
  """
529
512
 
530
513
  ...
531
514
 
532
515
  def keyconfig_remove(
533
- override_context: typing.Optional[
534
- typing.Union[typing.Dict, "bpy.types.Context"]
535
- ] = None,
536
- execution_context: typing.Optional[typing.Union[str, int]] = None,
537
- undo: typing.Optional[bool] = None,
516
+ override_context: typing.Union[dict, bpy.types.Context] = None,
517
+ execution_context: typing.Union[str, int] = None,
518
+ undo: bool = None,
538
519
  ):
539
- """Remove key config :File: `startup/bl_operators/userpref.py\:419 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L419>`__
520
+ """Remove key config
540
521
 
541
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
542
- :type execution_context: typing.Optional[typing.Union[str, int]]
543
- :type undo: typing.Optional[bool]
522
+ :type override_context: typing.Union[dict, bpy.types.Context]
523
+ :type execution_context: typing.Union[str, int]
524
+ :type undo: bool
544
525
  """
545
526
 
546
527
  ...
547
528
 
548
529
  def keyconfig_test(
549
- override_context: typing.Optional[
550
- typing.Union[typing.Dict, "bpy.types.Context"]
551
- ] = None,
552
- execution_context: typing.Optional[typing.Union[str, int]] = None,
553
- undo: typing.Optional[bool] = None,
530
+ override_context: typing.Union[dict, bpy.types.Context] = None,
531
+ execution_context: typing.Union[str, int] = None,
532
+ undo: bool = None,
554
533
  ):
555
- """Test key configuration for conflicts :File: `startup/bl_operators/userpref.py\:168 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L168>`__
534
+ """Test key configuration for conflicts
556
535
 
557
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
558
- :type execution_context: typing.Optional[typing.Union[str, int]]
559
- :type undo: typing.Optional[bool]
536
+ :type override_context: typing.Union[dict, bpy.types.Context]
537
+ :type execution_context: typing.Union[str, int]
538
+ :type undo: bool
560
539
  """
561
540
 
562
541
  ...
563
542
 
564
543
  def keyitem_add(
565
- override_context: typing.Optional[
566
- typing.Union[typing.Dict, "bpy.types.Context"]
567
- ] = None,
568
- execution_context: typing.Optional[typing.Union[str, int]] = None,
569
- undo: typing.Optional[bool] = None,
544
+ override_context: typing.Union[dict, bpy.types.Context] = None,
545
+ execution_context: typing.Union[str, int] = None,
546
+ undo: bool = None,
570
547
  ):
571
- """Add key map item :File: `startup/bl_operators/userpref.py\:367 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L367>`__
548
+ """Add key map item
572
549
 
573
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
574
- :type execution_context: typing.Optional[typing.Union[str, int]]
575
- :type undo: typing.Optional[bool]
550
+ :type override_context: typing.Union[dict, bpy.types.Context]
551
+ :type execution_context: typing.Union[str, int]
552
+ :type undo: bool
576
553
  """
577
554
 
578
555
  ...
579
556
 
580
557
  def keyitem_remove(
581
- override_context: typing.Optional[
582
- typing.Union[typing.Dict, "bpy.types.Context"]
583
- ] = None,
584
- execution_context: typing.Optional[typing.Union[str, int]] = None,
585
- undo: typing.Optional[bool] = None,
586
- *,
587
- item_id: typing.Optional[typing.Any] = 0,
588
- ):
589
- """Remove key map item :File: `startup/bl_operators/userpref.py\:399 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L399>`__
590
-
591
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
592
- :type execution_context: typing.Optional[typing.Union[str, int]]
593
- :type undo: typing.Optional[bool]
558
+ override_context: typing.Union[dict, bpy.types.Context] = None,
559
+ execution_context: typing.Union[str, int] = None,
560
+ undo: bool = None,
561
+ item_id: typing.Any = 0,
562
+ ):
563
+ """Remove key map item
564
+
565
+ :type override_context: typing.Union[dict, bpy.types.Context]
566
+ :type execution_context: typing.Union[str, int]
567
+ :type undo: bool
594
568
  :param item_id: Item Identifier, Identifier of the item to remove
595
- :type item_id: typing.Optional[typing.Any]
569
+ :type item_id: typing.Any
596
570
  """
597
571
 
598
572
  ...
599
573
 
600
574
  def keyitem_restore(
601
- override_context: typing.Optional[
602
- typing.Union[typing.Dict, "bpy.types.Context"]
603
- ] = None,
604
- execution_context: typing.Optional[typing.Union[str, int]] = None,
605
- undo: typing.Optional[bool] = None,
606
- *,
607
- item_id: typing.Optional[typing.Any] = 0,
608
- ):
609
- """Restore key map item :File: `startup/bl_operators/userpref.py\:352 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L352>`__
610
-
611
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
612
- :type execution_context: typing.Optional[typing.Union[str, int]]
613
- :type undo: typing.Optional[bool]
575
+ override_context: typing.Union[dict, bpy.types.Context] = None,
576
+ execution_context: typing.Union[str, int] = None,
577
+ undo: bool = None,
578
+ item_id: typing.Any = 0,
579
+ ):
580
+ """Restore key map item
581
+
582
+ :type override_context: typing.Union[dict, bpy.types.Context]
583
+ :type execution_context: typing.Union[str, int]
584
+ :type undo: bool
614
585
  :param item_id: Item Identifier, Identifier of the item to restore
615
- :type item_id: typing.Optional[typing.Any]
586
+ :type item_id: typing.Any
616
587
  """
617
588
 
618
589
  ...
619
590
 
620
591
  def keymap_restore(
621
- override_context: typing.Optional[
622
- typing.Union[typing.Dict, "bpy.types.Context"]
623
- ] = None,
624
- execution_context: typing.Optional[typing.Union[str, int]] = None,
625
- undo: typing.Optional[bool] = None,
626
- *,
627
- all: typing.Optional[typing.Union[bool, typing.Any]] = False,
628
- ):
629
- """Restore key map(s) :File: `startup/bl_operators/userpref.py\:323 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L323>`__
630
-
631
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
632
- :type execution_context: typing.Optional[typing.Union[str, int]]
633
- :type undo: typing.Optional[bool]
592
+ override_context: typing.Union[dict, bpy.types.Context] = None,
593
+ execution_context: typing.Union[str, int] = None,
594
+ undo: bool = None,
595
+ all: typing.Union[bool, typing.Any] = False,
596
+ ):
597
+ """Restore key map(s)
598
+
599
+ :type override_context: typing.Union[dict, bpy.types.Context]
600
+ :type execution_context: typing.Union[str, int]
601
+ :type undo: bool
634
602
  :param all: All Keymaps, Restore all keymaps to default
635
- :type all: typing.Optional[typing.Union[bool, typing.Any]]
603
+ :type all: typing.Union[bool, typing.Any]
636
604
  """
637
605
 
638
606
  ...
639
607
 
640
608
  def reset_default_theme(
641
- override_context: typing.Optional[
642
- typing.Union[typing.Dict, "bpy.types.Context"]
643
- ] = None,
644
- execution_context: typing.Optional[typing.Union[str, int]] = None,
645
- undo: typing.Optional[bool] = None,
609
+ override_context: typing.Union[dict, bpy.types.Context] = None,
610
+ execution_context: typing.Union[str, int] = None,
611
+ undo: bool = None,
646
612
  ):
647
613
  """Reset to the default theme colors
648
614
 
649
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
650
- :type execution_context: typing.Optional[typing.Union[str, int]]
651
- :type undo: typing.Optional[bool]
615
+ :type override_context: typing.Union[dict, bpy.types.Context]
616
+ :type execution_context: typing.Union[str, int]
617
+ :type undo: bool
652
618
  """
653
619
 
654
620
  ...
655
621
 
656
622
  def script_directory_add(
657
- override_context: typing.Optional[
658
- typing.Union[typing.Dict, "bpy.types.Context"]
659
- ] = None,
660
- execution_context: typing.Optional[typing.Union[str, int]] = None,
661
- undo: typing.Optional[bool] = None,
662
- *,
623
+ override_context: typing.Union[dict, bpy.types.Context] = None,
624
+ execution_context: typing.Union[str, int] = None,
625
+ undo: bool = None,
663
626
  directory: typing.Union[str, typing.Any] = "",
664
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
627
+ filter_folder: typing.Union[bool, typing.Any] = True,
665
628
  ):
666
- """Undocumented, consider `contributing <https://developer.blender.org/>`__. :File: `startup/bl_operators/userpref.py\:1170 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L1170>`__
629
+ """Undocumented, consider contributing.
667
630
 
668
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
669
- :type execution_context: typing.Optional[typing.Union[str, int]]
670
- :type undo: typing.Optional[bool]
631
+ :type override_context: typing.Union[dict, bpy.types.Context]
632
+ :type execution_context: typing.Union[str, int]
633
+ :type undo: bool
671
634
  :param directory: directory
672
635
  :type directory: typing.Union[str, typing.Any]
673
636
  :param filter_folder: Filter Folders
674
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
637
+ :type filter_folder: typing.Union[bool, typing.Any]
675
638
  """
676
639
 
677
640
  ...
678
641
 
679
642
  def script_directory_remove(
680
- override_context: typing.Optional[
681
- typing.Union[typing.Dict, "bpy.types.Context"]
682
- ] = None,
683
- execution_context: typing.Optional[typing.Union[str, int]] = None,
684
- undo: typing.Optional[bool] = None,
685
- *,
686
- index: typing.Optional[typing.Any] = 0,
687
- ):
688
- """Undocumented, consider `contributing <https://developer.blender.org/>`__. :File: `startup/bl_operators/userpref.py\:1200 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L1200>`__
689
-
690
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
691
- :type execution_context: typing.Optional[typing.Union[str, int]]
692
- :type undo: typing.Optional[bool]
643
+ override_context: typing.Union[dict, bpy.types.Context] = None,
644
+ execution_context: typing.Union[str, int] = None,
645
+ undo: bool = None,
646
+ index: typing.Any = 0,
647
+ ):
648
+ """Undocumented, consider contributing.
649
+
650
+ :type override_context: typing.Union[dict, bpy.types.Context]
651
+ :type execution_context: typing.Union[str, int]
652
+ :type undo: bool
693
653
  :param index: Index, Index of the script directory to remove
694
- :type index: typing.Optional[typing.Any]
654
+ :type index: typing.Any
695
655
  """
696
656
 
697
657
  ...
698
658
 
699
659
  def studiolight_copy_settings(
700
- override_context: typing.Optional[
701
- typing.Union[typing.Dict, "bpy.types.Context"]
702
- ] = None,
703
- execution_context: typing.Optional[typing.Union[str, int]] = None,
704
- undo: typing.Optional[bool] = None,
705
- *,
706
- index: typing.Optional[typing.Any] = 0,
707
- ):
708
- """Copy Studio Light settings to the Studio Light editor :File: `startup/bl_operators/userpref.py\:1125 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L1125>`__
709
-
710
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
711
- :type execution_context: typing.Optional[typing.Union[str, int]]
712
- :type undo: typing.Optional[bool]
660
+ override_context: typing.Union[dict, bpy.types.Context] = None,
661
+ execution_context: typing.Union[str, int] = None,
662
+ undo: bool = None,
663
+ index: typing.Any = 0,
664
+ ):
665
+ """Copy Studio Light settings to the Studio Light editor
666
+
667
+ :type override_context: typing.Union[dict, bpy.types.Context]
668
+ :type execution_context: typing.Union[str, int]
669
+ :type undo: bool
713
670
  :param index: index
714
- :type index: typing.Optional[typing.Any]
671
+ :type index: typing.Any
715
672
  """
716
673
 
717
674
  ...
718
675
 
719
676
  def studiolight_install(
720
- override_context: typing.Optional[
721
- typing.Union[typing.Dict, "bpy.types.Context"]
722
- ] = None,
723
- execution_context: typing.Optional[typing.Union[str, int]] = None,
724
- undo: typing.Optional[bool] = None,
725
- *,
726
- files: typing.Optional[
727
- bpy.types.bpy_prop_collection["bpy.types.OperatorFileListElement"]
728
- ] = None,
677
+ override_context: typing.Union[dict, bpy.types.Context] = None,
678
+ execution_context: typing.Union[str, int] = None,
679
+ undo: bool = None,
680
+ files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
729
681
  directory: typing.Union[str, typing.Any] = "",
730
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
682
+ filter_folder: typing.Union[bool, typing.Any] = True,
731
683
  filter_glob: typing.Union[str, typing.Any] = "*.png;*.jpg;*.hdr;*.exr",
732
- type: typing.Optional[typing.Any] = "MATCAP",
684
+ type: typing.Any = "MATCAP",
733
685
  ):
734
- """Install a user defined light :File: `startup/bl_operators/userpref.py\:1006 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L1006>`__
686
+ """Install a user defined light
735
687
 
736
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
737
- :type execution_context: typing.Optional[typing.Union[str, int]]
738
- :type undo: typing.Optional[bool]
739
- :param files: File Path
740
- :type files: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorFileListElement']]
741
- :param directory: directory
742
- :type directory: typing.Union[str, typing.Any]
743
- :param filter_folder: Filter Folders
744
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
745
- :param filter_glob: filter_glob
746
- :type filter_glob: typing.Union[str, typing.Any]
747
- :param type: Type * ``MATCAP`` MatCap -- Install custom MatCaps. * ``WORLD`` World -- Install custom HDRIs. * ``STUDIO`` Studio -- Install custom Studio Lights.
748
- :type type: typing.Optional[typing.Any]
688
+ :type override_context: typing.Union[dict, bpy.types.Context]
689
+ :type execution_context: typing.Union[str, int]
690
+ :type undo: bool
691
+ :param files: File Path
692
+ :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
693
+ :param directory: directory
694
+ :type directory: typing.Union[str, typing.Any]
695
+ :param filter_folder: Filter Folders
696
+ :type filter_folder: typing.Union[bool, typing.Any]
697
+ :param filter_glob: filter_glob
698
+ :type filter_glob: typing.Union[str, typing.Any]
699
+ :param type: Type
700
+
701
+ MATCAP
702
+ MatCap -- Install custom MatCaps.
703
+
704
+ WORLD
705
+ World -- Install custom HDRIs.
706
+
707
+ STUDIO
708
+ Studio -- Install custom Studio Lights.
709
+ :type type: typing.Any
749
710
  """
750
711
 
751
712
  ...
752
713
 
753
714
  def studiolight_new(
754
- override_context: typing.Optional[
755
- typing.Union[typing.Dict, "bpy.types.Context"]
756
- ] = None,
757
- execution_context: typing.Optional[typing.Union[str, int]] = None,
758
- undo: typing.Optional[bool] = None,
759
- *,
715
+ override_context: typing.Union[dict, bpy.types.Context] = None,
716
+ execution_context: typing.Union[str, int] = None,
717
+ undo: bool = None,
760
718
  filename: typing.Union[str, typing.Any] = "StudioLight",
761
719
  ):
762
- """Save custom studio light from the studio light editor settings :File: `startup/bl_operators/userpref.py\:1052 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L1052>`__
720
+ """Save custom studio light from the studio light editor settings
763
721
 
764
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
765
- :type execution_context: typing.Optional[typing.Union[str, int]]
766
- :type undo: typing.Optional[bool]
722
+ :type override_context: typing.Union[dict, bpy.types.Context]
723
+ :type execution_context: typing.Union[str, int]
724
+ :type undo: bool
767
725
  :param filename: Name
768
726
  :type filename: typing.Union[str, typing.Any]
769
727
  """
@@ -771,64 +729,56 @@ def studiolight_new(
771
729
  ...
772
730
 
773
731
  def studiolight_show(
774
- override_context: typing.Optional[
775
- typing.Union[typing.Dict, "bpy.types.Context"]
776
- ] = None,
777
- execution_context: typing.Optional[typing.Union[str, int]] = None,
778
- undo: typing.Optional[bool] = None,
732
+ override_context: typing.Union[dict, bpy.types.Context] = None,
733
+ execution_context: typing.Union[str, int] = None,
734
+ undo: bool = None,
779
735
  ):
780
- """Show light preferences :File: `startup/bl_operators/userpref.py\:1151 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L1151>`__
736
+ """Show light preferences
781
737
 
782
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
783
- :type execution_context: typing.Optional[typing.Union[str, int]]
784
- :type undo: typing.Optional[bool]
738
+ :type override_context: typing.Union[dict, bpy.types.Context]
739
+ :type execution_context: typing.Union[str, int]
740
+ :type undo: bool
785
741
  """
786
742
 
787
743
  ...
788
744
 
789
745
  def studiolight_uninstall(
790
- override_context: typing.Optional[
791
- typing.Union[typing.Dict, "bpy.types.Context"]
792
- ] = None,
793
- execution_context: typing.Optional[typing.Union[str, int]] = None,
794
- undo: typing.Optional[bool] = None,
795
- *,
796
- index: typing.Optional[typing.Any] = 0,
797
- ):
798
- """Delete Studio Light :File: `startup/bl_operators/userpref.py\:1106 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L1106>`__
799
-
800
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
801
- :type execution_context: typing.Optional[typing.Union[str, int]]
802
- :type undo: typing.Optional[bool]
746
+ override_context: typing.Union[dict, bpy.types.Context] = None,
747
+ execution_context: typing.Union[str, int] = None,
748
+ undo: bool = None,
749
+ index: typing.Any = 0,
750
+ ):
751
+ """Delete Studio Light
752
+
753
+ :type override_context: typing.Union[dict, bpy.types.Context]
754
+ :type execution_context: typing.Union[str, int]
755
+ :type undo: bool
803
756
  :param index: index
804
- :type index: typing.Optional[typing.Any]
757
+ :type index: typing.Any
805
758
  """
806
759
 
807
760
  ...
808
761
 
809
762
  def theme_install(
810
- override_context: typing.Optional[
811
- typing.Union[typing.Dict, "bpy.types.Context"]
812
- ] = None,
813
- execution_context: typing.Optional[typing.Union[str, int]] = None,
814
- undo: typing.Optional[bool] = None,
815
- *,
816
- overwrite: typing.Optional[typing.Union[bool, typing.Any]] = True,
763
+ override_context: typing.Union[dict, bpy.types.Context] = None,
764
+ execution_context: typing.Union[str, int] = None,
765
+ undo: bool = None,
766
+ overwrite: typing.Union[bool, typing.Any] = True,
817
767
  filepath: typing.Union[str, typing.Any] = "",
818
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
768
+ filter_folder: typing.Union[bool, typing.Any] = True,
819
769
  filter_glob: typing.Union[str, typing.Any] = "*.xml",
820
770
  ):
821
- """Load and apply a Blender XML theme file :File: `startup/bl_operators/userpref.py\:527 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/userpref.py#L527>`__
771
+ """Load and apply a Blender XML theme file
822
772
 
823
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
824
- :type execution_context: typing.Optional[typing.Union[str, int]]
825
- :type undo: typing.Optional[bool]
773
+ :type override_context: typing.Union[dict, bpy.types.Context]
774
+ :type execution_context: typing.Union[str, int]
775
+ :type undo: bool
826
776
  :param overwrite: Overwrite, Remove existing theme file if exists
827
- :type overwrite: typing.Optional[typing.Union[bool, typing.Any]]
777
+ :type overwrite: typing.Union[bool, typing.Any]
828
778
  :param filepath: filepath
829
779
  :type filepath: typing.Union[str, typing.Any]
830
780
  :param filter_folder: Filter folders
831
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
781
+ :type filter_folder: typing.Union[bool, typing.Any]
832
782
  :param filter_glob: filter_glob
833
783
  :type filter_glob: typing.Union[str, typing.Any]
834
784
  """
@@ -836,17 +786,15 @@ def theme_install(
836
786
  ...
837
787
 
838
788
  def unassociate_blend(
839
- override_context: typing.Optional[
840
- typing.Union[typing.Dict, "bpy.types.Context"]
841
- ] = None,
842
- execution_context: typing.Optional[typing.Union[str, int]] = None,
843
- undo: typing.Optional[bool] = None,
789
+ override_context: typing.Union[dict, bpy.types.Context] = None,
790
+ execution_context: typing.Union[str, int] = None,
791
+ undo: bool = None,
844
792
  ):
845
793
  """Remove this installation's associations with .blend files
846
794
 
847
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
848
- :type execution_context: typing.Optional[typing.Union[str, int]]
849
- :type undo: typing.Optional[bool]
795
+ :type override_context: typing.Union[dict, bpy.types.Context]
796
+ :type execution_context: typing.Union[str, int]
797
+ :type undo: bool
850
798
  """
851
799
 
852
800
  ...