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