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.
- addon_utils/__init__.pyi +54 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/preferences/__init__.pyi
CHANGED
|
@@ -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.
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
"""
|
|
12
|
+
"""Turn off this extension
|
|
17
13
|
|
|
18
|
-
:type override_context: typing.
|
|
19
|
-
:type execution_context: typing.
|
|
20
|
-
:type undo:
|
|
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.
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
"""
|
|
29
|
+
"""Turn on this extension
|
|
37
30
|
|
|
38
|
-
:type override_context: typing.
|
|
39
|
-
:type execution_context: typing.
|
|
40
|
-
:type undo:
|
|
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.
|
|
49
|
-
|
|
50
|
-
|
|
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
|
|
46
|
+
"""Display information and preferences for this add-on
|
|
57
47
|
|
|
58
|
-
:type override_context: typing.
|
|
59
|
-
:type execution_context: typing.
|
|
60
|
-
:type undo:
|
|
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.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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.
|
|
78
|
-
filter_python: typing.
|
|
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
|
|
68
|
+
"""Install an add-on
|
|
82
69
|
|
|
83
|
-
:type override_context: typing.
|
|
84
|
-
:type execution_context: typing.
|
|
85
|
-
:type undo:
|
|
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.
|
|
74
|
+
:type overwrite: typing.Union[bool, typing.Any]
|
|
88
75
|
:param target: Target Path
|
|
89
|
-
:type target: typing.
|
|
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.
|
|
80
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
94
81
|
:param filter_python: Filter Python
|
|
95
|
-
:type filter_python: typing.
|
|
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.
|
|
104
|
-
|
|
105
|
-
|
|
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
|
|
94
|
+
"""Scan add-on directories for new modules
|
|
110
95
|
|
|
111
|
-
:type override_context: typing.
|
|
112
|
-
:type execution_context: typing.
|
|
113
|
-
:type undo:
|
|
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.
|
|
120
|
-
|
|
121
|
-
|
|
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
|
|
109
|
+
"""Delete the add-on from the file system
|
|
128
110
|
|
|
129
|
-
:type override_context: typing.
|
|
130
|
-
:type execution_context: typing.
|
|
131
|
-
:type undo:
|
|
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.
|
|
140
|
-
|
|
141
|
-
|
|
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
|
|
126
|
+
"""Show add-on preferences
|
|
148
127
|
|
|
149
|
-
:type override_context: typing.
|
|
150
|
-
:type execution_context: typing.
|
|
151
|
-
:type undo:
|
|
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.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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.
|
|
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
|
|
146
|
+
"""Install an application template
|
|
171
147
|
|
|
172
|
-
:type override_context: typing.
|
|
173
|
-
:type execution_context: typing.
|
|
174
|
-
:type undo:
|
|
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.
|
|
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.
|
|
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.
|
|
189
|
-
|
|
190
|
-
|
|
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.
|
|
196
|
-
check_existing: typing.
|
|
197
|
-
filter_blender: typing.
|
|
198
|
-
filter_backup: typing.
|
|
199
|
-
filter_image: typing.
|
|
200
|
-
filter_movie: typing.
|
|
201
|
-
filter_python: typing.
|
|
202
|
-
filter_font: typing.
|
|
203
|
-
filter_sound: typing.
|
|
204
|
-
filter_text: typing.
|
|
205
|
-
filter_archive: typing.
|
|
206
|
-
filter_btx: typing.
|
|
207
|
-
filter_collada: typing.
|
|
208
|
-
filter_alembic: typing.
|
|
209
|
-
filter_usd: typing.
|
|
210
|
-
filter_obj: typing.
|
|
211
|
-
filter_volume: typing.
|
|
212
|
-
filter_folder: typing.
|
|
213
|
-
filter_blenlib: typing.
|
|
214
|
-
filemode: typing.
|
|
215
|
-
display_type: typing.
|
|
216
|
-
sort_method: typing.
|
|
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
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
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.
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
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.
|
|
285
|
-
:type execution_context: typing.
|
|
286
|
-
:type undo:
|
|
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.
|
|
270
|
+
:type index: typing.Any
|
|
289
271
|
"""
|
|
290
272
|
|
|
291
273
|
...
|
|
292
274
|
|
|
293
275
|
def associate_blend(
|
|
294
|
-
override_context: typing.
|
|
295
|
-
|
|
296
|
-
|
|
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.
|
|
303
|
-
:type execution_context: typing.
|
|
304
|
-
:type undo:
|
|
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.
|
|
311
|
-
|
|
312
|
-
|
|
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.
|
|
319
|
-
:type execution_context: typing.
|
|
320
|
-
:type undo:
|
|
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.
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
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.
|
|
337
|
-
:type execution_context: typing.
|
|
338
|
-
:type undo:
|
|
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.
|
|
315
|
+
:type index: typing.Any
|
|
341
316
|
"""
|
|
342
317
|
|
|
343
318
|
...
|
|
344
319
|
|
|
345
320
|
def copy_prev(
|
|
346
|
-
override_context: typing.
|
|
347
|
-
|
|
348
|
-
|
|
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
|
|
325
|
+
"""Copy settings from previous version
|
|
353
326
|
|
|
354
|
-
:type override_context: typing.
|
|
355
|
-
:type execution_context: typing.
|
|
356
|
-
:type undo:
|
|
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.
|
|
363
|
-
|
|
364
|
-
|
|
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.
|
|
340
|
+
use_custom_directory: typing.Union[bool, typing.Any] = False,
|
|
371
341
|
custom_directory: typing.Union[str, typing.Any] = "",
|
|
372
|
-
type: typing.
|
|
342
|
+
type: typing.Any = "REMOTE",
|
|
373
343
|
):
|
|
374
|
-
"""Add a
|
|
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
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
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.
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
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
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
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.
|
|
418
|
-
|
|
419
|
-
|
|
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.
|
|
426
|
-
:type execution_context: typing.
|
|
427
|
-
:type undo:
|
|
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.
|
|
434
|
-
|
|
435
|
-
|
|
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.
|
|
442
|
-
:type execution_context: typing.
|
|
443
|
-
:type undo:
|
|
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.
|
|
450
|
-
|
|
451
|
-
|
|
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
|
|
446
|
+
"""Undocumented, consider contributing.
|
|
458
447
|
|
|
459
|
-
:type override_context: typing.
|
|
460
|
-
:type execution_context: typing.
|
|
461
|
-
:type undo:
|
|
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.
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
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.
|
|
478
|
-
filter_text: typing.
|
|
479
|
-
filter_python: typing.
|
|
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
|
|
467
|
+
"""Export key configuration to a Python script
|
|
482
468
|
|
|
483
|
-
:type override_context: typing.
|
|
484
|
-
:type execution_context: typing.
|
|
485
|
-
:type undo:
|
|
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.
|
|
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.
|
|
477
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
492
478
|
:param filter_text: Filter text
|
|
493
|
-
:type filter_text: typing.
|
|
479
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
494
480
|
:param filter_python: Filter Python
|
|
495
|
-
:type filter_python: typing.
|
|
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.
|
|
502
|
-
|
|
503
|
-
|
|
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.
|
|
509
|
-
filter_text: typing.
|
|
510
|
-
filter_python: typing.
|
|
511
|
-
keep_original: typing.
|
|
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
|
|
496
|
+
"""Import key configuration from a Python script
|
|
514
497
|
|
|
515
|
-
:type override_context: typing.
|
|
516
|
-
:type execution_context: typing.
|
|
517
|
-
:type undo:
|
|
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.
|
|
504
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
522
505
|
:param filter_text: Filter text
|
|
523
|
-
:type filter_text: typing.
|
|
506
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
524
507
|
:param filter_python: Filter Python
|
|
525
|
-
:type filter_python: typing.
|
|
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.
|
|
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.
|
|
534
|
-
|
|
535
|
-
|
|
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
|
|
520
|
+
"""Remove key config
|
|
540
521
|
|
|
541
|
-
:type override_context: typing.
|
|
542
|
-
:type execution_context: typing.
|
|
543
|
-
:type undo:
|
|
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.
|
|
550
|
-
|
|
551
|
-
|
|
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
|
|
534
|
+
"""Test key configuration for conflicts
|
|
556
535
|
|
|
557
|
-
:type override_context: typing.
|
|
558
|
-
:type execution_context: typing.
|
|
559
|
-
:type undo:
|
|
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.
|
|
566
|
-
|
|
567
|
-
|
|
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
|
|
548
|
+
"""Add key map item
|
|
572
549
|
|
|
573
|
-
:type override_context: typing.
|
|
574
|
-
:type execution_context: typing.
|
|
575
|
-
:type undo:
|
|
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.
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
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.
|
|
569
|
+
:type item_id: typing.Any
|
|
596
570
|
"""
|
|
597
571
|
|
|
598
572
|
...
|
|
599
573
|
|
|
600
574
|
def keyitem_restore(
|
|
601
|
-
override_context: typing.
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
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.
|
|
586
|
+
:type item_id: typing.Any
|
|
616
587
|
"""
|
|
617
588
|
|
|
618
589
|
...
|
|
619
590
|
|
|
620
591
|
def keymap_restore(
|
|
621
|
-
override_context: typing.
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
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.
|
|
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.
|
|
642
|
-
|
|
643
|
-
|
|
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.
|
|
650
|
-
:type execution_context: typing.
|
|
651
|
-
:type undo:
|
|
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.
|
|
658
|
-
|
|
659
|
-
|
|
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.
|
|
627
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
665
628
|
):
|
|
666
|
-
"""Undocumented, consider
|
|
629
|
+
"""Undocumented, consider contributing.
|
|
667
630
|
|
|
668
|
-
:type override_context: typing.
|
|
669
|
-
:type execution_context: typing.
|
|
670
|
-
:type undo:
|
|
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.
|
|
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.
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
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.
|
|
654
|
+
:type index: typing.Any
|
|
695
655
|
"""
|
|
696
656
|
|
|
697
657
|
...
|
|
698
658
|
|
|
699
659
|
def studiolight_copy_settings(
|
|
700
|
-
override_context: typing.
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
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.
|
|
671
|
+
:type index: typing.Any
|
|
715
672
|
"""
|
|
716
673
|
|
|
717
674
|
...
|
|
718
675
|
|
|
719
676
|
def studiolight_install(
|
|
720
|
-
override_context: typing.
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
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.
|
|
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.
|
|
684
|
+
type: typing.Any = "MATCAP",
|
|
733
685
|
):
|
|
734
|
-
"""Install a user defined light
|
|
686
|
+
"""Install a user defined light
|
|
735
687
|
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
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.
|
|
755
|
-
|
|
756
|
-
|
|
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
|
|
720
|
+
"""Save custom studio light from the studio light editor settings
|
|
763
721
|
|
|
764
|
-
:type override_context: typing.
|
|
765
|
-
:type execution_context: typing.
|
|
766
|
-
:type undo:
|
|
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.
|
|
775
|
-
|
|
776
|
-
|
|
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
|
|
736
|
+
"""Show light preferences
|
|
781
737
|
|
|
782
|
-
:type override_context: typing.
|
|
783
|
-
:type execution_context: typing.
|
|
784
|
-
:type undo:
|
|
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.
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
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.
|
|
757
|
+
:type index: typing.Any
|
|
805
758
|
"""
|
|
806
759
|
|
|
807
760
|
...
|
|
808
761
|
|
|
809
762
|
def theme_install(
|
|
810
|
-
override_context: typing.
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
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.
|
|
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
|
|
771
|
+
"""Load and apply a Blender XML theme file
|
|
822
772
|
|
|
823
|
-
:type override_context: typing.
|
|
824
|
-
:type execution_context: typing.
|
|
825
|
-
:type undo:
|
|
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.
|
|
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.
|
|
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.
|
|
840
|
-
|
|
841
|
-
|
|
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.
|
|
848
|
-
:type execution_context: typing.
|
|
849
|
-
:type undo:
|
|
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
|
...
|