fake-bpy-module 20240320__py3-none-any.whl → 20240322__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 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- 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 +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- 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 +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- 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 +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- 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 +253 -247
- bmesh/utils/__init__.pyi +54 -54
- 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 +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +642 -822
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +331 -429
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86358 -87091
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- 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 -1
- 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 +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.dist-info/RECORD +343 -0
- 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 +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- 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 +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- 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 +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240320.dist-info/RECORD +0 -343
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
bpy/ops/preferences/__init__.pyi
CHANGED
|
@@ -4,19 +4,16 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def addon_disable(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
12
|
-
*,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
13
10
|
module: typing.Union[str, typing.Any] = "",
|
|
14
11
|
):
|
|
15
12
|
"""Turn off this extension
|
|
16
13
|
|
|
17
|
-
:type override_context: typing.
|
|
18
|
-
:type execution_context: typing.
|
|
19
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
20
17
|
:param module: Module, Module name of the add-on to disable
|
|
21
18
|
:type module: typing.Union[str, typing.Any]
|
|
22
19
|
"""
|
|
@@ -24,19 +21,16 @@ def addon_disable(
|
|
|
24
21
|
...
|
|
25
22
|
|
|
26
23
|
def addon_enable(
|
|
27
|
-
override_context: typing.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
31
|
-
undo: typing.Optional[bool] = None,
|
|
32
|
-
*,
|
|
24
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
25
|
+
execution_context: typing.Union[str, int] = None,
|
|
26
|
+
undo: bool = None,
|
|
33
27
|
module: typing.Union[str, typing.Any] = "",
|
|
34
28
|
):
|
|
35
29
|
"""Turn on this extension
|
|
36
30
|
|
|
37
|
-
:type override_context: typing.
|
|
38
|
-
:type execution_context: typing.
|
|
39
|
-
:type undo:
|
|
31
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
32
|
+
:type execution_context: typing.Union[str, int]
|
|
33
|
+
:type undo: bool
|
|
40
34
|
:param module: Module, Module name of the add-on to enable
|
|
41
35
|
:type module: typing.Union[str, typing.Any]
|
|
42
36
|
"""
|
|
@@ -44,19 +38,16 @@ def addon_enable(
|
|
|
44
38
|
...
|
|
45
39
|
|
|
46
40
|
def addon_expand(
|
|
47
|
-
override_context: typing.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
51
|
-
undo: typing.Optional[bool] = None,
|
|
52
|
-
*,
|
|
41
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
42
|
+
execution_context: typing.Union[str, int] = None,
|
|
43
|
+
undo: bool = None,
|
|
53
44
|
module: typing.Union[str, typing.Any] = "",
|
|
54
45
|
):
|
|
55
46
|
"""Display information and preferences for this add-on
|
|
56
47
|
|
|
57
|
-
:type override_context: typing.
|
|
58
|
-
:type execution_context: typing.
|
|
59
|
-
:type undo:
|
|
48
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
49
|
+
:type execution_context: typing.Union[str, int]
|
|
50
|
+
:type undo: bool
|
|
60
51
|
:param module: Module, Module name of the add-on to expand
|
|
61
52
|
:type module: typing.Union[str, typing.Any]
|
|
62
53
|
"""
|
|
@@ -64,34 +55,31 @@ def addon_expand(
|
|
|
64
55
|
...
|
|
65
56
|
|
|
66
57
|
def addon_install(
|
|
67
|
-
override_context: typing.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
*,
|
|
73
|
-
overwrite: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
74
|
-
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] = "",
|
|
75
63
|
filepath: typing.Union[str, typing.Any] = "",
|
|
76
|
-
filter_folder: typing.
|
|
77
|
-
filter_python: typing.
|
|
64
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
65
|
+
filter_python: typing.Union[bool, typing.Any] = True,
|
|
78
66
|
filter_glob: typing.Union[str, typing.Any] = "*.py;*.zip",
|
|
79
67
|
):
|
|
80
68
|
"""Install an add-on
|
|
81
69
|
|
|
82
|
-
:type override_context: typing.
|
|
83
|
-
:type execution_context: typing.
|
|
84
|
-
:type undo:
|
|
70
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
71
|
+
:type execution_context: typing.Union[str, int]
|
|
72
|
+
:type undo: bool
|
|
85
73
|
:param overwrite: Overwrite, Remove existing add-ons with the same ID
|
|
86
|
-
:type overwrite: typing.
|
|
74
|
+
:type overwrite: typing.Union[bool, typing.Any]
|
|
87
75
|
:param target: Target Path
|
|
88
|
-
:type target: typing.
|
|
76
|
+
:type target: typing.Union[str, int, typing.Any]
|
|
89
77
|
:param filepath: filepath
|
|
90
78
|
:type filepath: typing.Union[str, typing.Any]
|
|
91
79
|
:param filter_folder: Filter folders
|
|
92
|
-
:type filter_folder: typing.
|
|
80
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
93
81
|
:param filter_python: Filter Python
|
|
94
|
-
:type filter_python: typing.
|
|
82
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
95
83
|
:param filter_glob: filter_glob
|
|
96
84
|
:type filter_glob: typing.Union[str, typing.Any]
|
|
97
85
|
"""
|
|
@@ -99,35 +87,30 @@ def addon_install(
|
|
|
99
87
|
...
|
|
100
88
|
|
|
101
89
|
def addon_refresh(
|
|
102
|
-
override_context: typing.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
106
|
-
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,
|
|
107
93
|
):
|
|
108
94
|
"""Scan add-on directories for new modules
|
|
109
95
|
|
|
110
|
-
:type override_context: typing.
|
|
111
|
-
:type execution_context: typing.
|
|
112
|
-
:type undo:
|
|
96
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
97
|
+
:type execution_context: typing.Union[str, int]
|
|
98
|
+
:type undo: bool
|
|
113
99
|
"""
|
|
114
100
|
|
|
115
101
|
...
|
|
116
102
|
|
|
117
103
|
def addon_remove(
|
|
118
|
-
override_context: typing.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
122
|
-
undo: typing.Optional[bool] = None,
|
|
123
|
-
*,
|
|
104
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
105
|
+
execution_context: typing.Union[str, int] = None,
|
|
106
|
+
undo: bool = None,
|
|
124
107
|
module: typing.Union[str, typing.Any] = "",
|
|
125
108
|
):
|
|
126
109
|
"""Delete the add-on from the file system
|
|
127
110
|
|
|
128
|
-
:type override_context: typing.
|
|
129
|
-
:type execution_context: typing.
|
|
130
|
-
:type undo:
|
|
111
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
112
|
+
:type execution_context: typing.Union[str, int]
|
|
113
|
+
:type undo: bool
|
|
131
114
|
:param module: Module, Module name of the add-on to remove
|
|
132
115
|
:type module: typing.Union[str, typing.Any]
|
|
133
116
|
"""
|
|
@@ -135,19 +118,16 @@ def addon_remove(
|
|
|
135
118
|
...
|
|
136
119
|
|
|
137
120
|
def addon_show(
|
|
138
|
-
override_context: typing.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
142
|
-
undo: typing.Optional[bool] = None,
|
|
143
|
-
*,
|
|
121
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
122
|
+
execution_context: typing.Union[str, int] = None,
|
|
123
|
+
undo: bool = None,
|
|
144
124
|
module: typing.Union[str, typing.Any] = "",
|
|
145
125
|
):
|
|
146
126
|
"""Show add-on preferences
|
|
147
127
|
|
|
148
|
-
:type override_context: typing.
|
|
149
|
-
:type execution_context: typing.
|
|
150
|
-
:type undo:
|
|
128
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
129
|
+
:type execution_context: typing.Union[str, int]
|
|
130
|
+
:type undo: bool
|
|
151
131
|
:param module: Module, Module name of the add-on to expand
|
|
152
132
|
:type module: typing.Union[str, typing.Any]
|
|
153
133
|
"""
|
|
@@ -155,28 +135,25 @@ def addon_show(
|
|
|
155
135
|
...
|
|
156
136
|
|
|
157
137
|
def app_template_install(
|
|
158
|
-
override_context: typing.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
undo: typing.Optional[bool] = None,
|
|
163
|
-
*,
|
|
164
|
-
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,
|
|
165
142
|
filepath: typing.Union[str, typing.Any] = "",
|
|
166
|
-
filter_folder: typing.
|
|
143
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
167
144
|
filter_glob: typing.Union[str, typing.Any] = "*.zip",
|
|
168
145
|
):
|
|
169
146
|
"""Install an application template
|
|
170
147
|
|
|
171
|
-
:type override_context: typing.
|
|
172
|
-
:type execution_context: typing.
|
|
173
|
-
:type undo:
|
|
148
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
149
|
+
:type execution_context: typing.Union[str, int]
|
|
150
|
+
:type undo: bool
|
|
174
151
|
:param overwrite: Overwrite, Remove existing template with the same ID
|
|
175
|
-
:type overwrite: typing.
|
|
152
|
+
:type overwrite: typing.Union[bool, typing.Any]
|
|
176
153
|
:param filepath: filepath
|
|
177
154
|
:type filepath: typing.Union[str, typing.Any]
|
|
178
155
|
:param filter_folder: Filter folders
|
|
179
|
-
:type filter_folder: typing.
|
|
156
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
180
157
|
:param filter_glob: filter_glob
|
|
181
158
|
:type filter_glob: typing.Union[str, typing.Any]
|
|
182
159
|
"""
|
|
@@ -184,83 +161,80 @@ def app_template_install(
|
|
|
184
161
|
...
|
|
185
162
|
|
|
186
163
|
def asset_library_add(
|
|
187
|
-
override_context: typing.
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
191
|
-
undo: typing.Optional[bool] = None,
|
|
192
|
-
*,
|
|
164
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
165
|
+
execution_context: typing.Union[str, int] = None,
|
|
166
|
+
undo: bool = None,
|
|
193
167
|
directory: typing.Union[str, typing.Any] = "",
|
|
194
|
-
hide_props_region: typing.
|
|
195
|
-
check_existing: typing.
|
|
196
|
-
filter_blender: typing.
|
|
197
|
-
filter_backup: typing.
|
|
198
|
-
filter_image: typing.
|
|
199
|
-
filter_movie: typing.
|
|
200
|
-
filter_python: typing.
|
|
201
|
-
filter_font: typing.
|
|
202
|
-
filter_sound: typing.
|
|
203
|
-
filter_text: typing.
|
|
204
|
-
filter_archive: typing.
|
|
205
|
-
filter_btx: typing.
|
|
206
|
-
filter_collada: typing.
|
|
207
|
-
filter_alembic: typing.
|
|
208
|
-
filter_usd: typing.
|
|
209
|
-
filter_obj: typing.
|
|
210
|
-
filter_volume: typing.
|
|
211
|
-
filter_folder: typing.
|
|
212
|
-
filter_blenlib: typing.
|
|
213
|
-
filemode: typing.
|
|
214
|
-
display_type: typing.
|
|
215
|
-
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] = "",
|
|
216
190
|
):
|
|
217
191
|
"""Add a directory to be used by the Asset Browser as source of assets
|
|
218
192
|
|
|
219
|
-
:type override_context: typing.
|
|
220
|
-
:type execution_context: typing.
|
|
221
|
-
:type undo:
|
|
193
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
194
|
+
:type execution_context: typing.Union[str, int]
|
|
195
|
+
:type undo: bool
|
|
222
196
|
:param directory: Directory, Directory of the file
|
|
223
197
|
:type directory: typing.Union[str, typing.Any]
|
|
224
198
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
225
|
-
:type hide_props_region: typing.
|
|
199
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
226
200
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
227
|
-
:type check_existing: typing.
|
|
201
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
228
202
|
:param filter_blender: Filter .blend files
|
|
229
|
-
:type filter_blender: typing.
|
|
203
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
230
204
|
:param filter_backup: Filter .blend files
|
|
231
|
-
:type filter_backup: typing.
|
|
205
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
232
206
|
:param filter_image: Filter image files
|
|
233
|
-
:type filter_image: typing.
|
|
207
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
234
208
|
:param filter_movie: Filter movie files
|
|
235
|
-
:type filter_movie: typing.
|
|
209
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
236
210
|
:param filter_python: Filter Python files
|
|
237
|
-
:type filter_python: typing.
|
|
211
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
238
212
|
:param filter_font: Filter font files
|
|
239
|
-
:type filter_font: typing.
|
|
213
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
240
214
|
:param filter_sound: Filter sound files
|
|
241
|
-
:type filter_sound: typing.
|
|
215
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
242
216
|
:param filter_text: Filter text files
|
|
243
|
-
:type filter_text: typing.
|
|
217
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
244
218
|
:param filter_archive: Filter archive files
|
|
245
|
-
:type filter_archive: typing.
|
|
219
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
246
220
|
:param filter_btx: Filter btx files
|
|
247
|
-
:type filter_btx: typing.
|
|
221
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
248
222
|
:param filter_collada: Filter COLLADA files
|
|
249
|
-
:type filter_collada: typing.
|
|
223
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
250
224
|
:param filter_alembic: Filter Alembic files
|
|
251
|
-
:type filter_alembic: typing.
|
|
225
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
252
226
|
:param filter_usd: Filter USD files
|
|
253
|
-
:type filter_usd: typing.
|
|
227
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
254
228
|
:param filter_obj: Filter OBJ files
|
|
255
|
-
:type filter_obj: typing.
|
|
229
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
256
230
|
:param filter_volume: Filter OpenVDB volume files
|
|
257
|
-
:type filter_volume: typing.
|
|
231
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
258
232
|
:param filter_folder: Filter folders
|
|
259
|
-
:type filter_folder: typing.
|
|
233
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
260
234
|
:param filter_blenlib: Filter Blender IDs
|
|
261
|
-
:type filter_blenlib: typing.
|
|
235
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
262
236
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
263
|
-
:type filemode: typing.
|
|
237
|
+
:type filemode: typing.Any
|
|
264
238
|
:param display_type: Display Type
|
|
265
239
|
|
|
266
240
|
DEFAULT
|
|
@@ -274,125 +248,110 @@ def asset_library_add(
|
|
|
274
248
|
|
|
275
249
|
THUMBNAIL
|
|
276
250
|
Thumbnails -- Display files as thumbnails.
|
|
277
|
-
:type display_type: typing.
|
|
251
|
+
:type display_type: typing.Any
|
|
278
252
|
:param sort_method: File sorting mode
|
|
279
|
-
:type sort_method: typing.
|
|
253
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
280
254
|
"""
|
|
281
255
|
|
|
282
256
|
...
|
|
283
257
|
|
|
284
258
|
def asset_library_remove(
|
|
285
|
-
override_context: typing.
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
undo: typing.Optional[bool] = None,
|
|
290
|
-
*,
|
|
291
|
-
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,
|
|
292
263
|
):
|
|
293
264
|
"""Remove a path to a .blend file, so the Asset Browser will not attempt to show it anymore
|
|
294
265
|
|
|
295
|
-
:type override_context: typing.
|
|
296
|
-
:type execution_context: typing.
|
|
297
|
-
:type undo:
|
|
266
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
267
|
+
:type execution_context: typing.Union[str, int]
|
|
268
|
+
:type undo: bool
|
|
298
269
|
:param index: Index
|
|
299
|
-
:type index: typing.
|
|
270
|
+
:type index: typing.Any
|
|
300
271
|
"""
|
|
301
272
|
|
|
302
273
|
...
|
|
303
274
|
|
|
304
275
|
def associate_blend(
|
|
305
|
-
override_context: typing.
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
309
|
-
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,
|
|
310
279
|
):
|
|
311
280
|
"""Use this installation for .blend files and to display thumbnails
|
|
312
281
|
|
|
313
|
-
:type override_context: typing.
|
|
314
|
-
:type execution_context: typing.
|
|
315
|
-
:type undo:
|
|
282
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
283
|
+
:type execution_context: typing.Union[str, int]
|
|
284
|
+
:type undo: bool
|
|
316
285
|
"""
|
|
317
286
|
|
|
318
287
|
...
|
|
319
288
|
|
|
320
289
|
def autoexec_path_add(
|
|
321
|
-
override_context: typing.
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
325
|
-
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,
|
|
326
293
|
):
|
|
327
294
|
"""Add path to exclude from auto-execution
|
|
328
295
|
|
|
329
|
-
:type override_context: typing.
|
|
330
|
-
:type execution_context: typing.
|
|
331
|
-
:type undo:
|
|
296
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
297
|
+
:type execution_context: typing.Union[str, int]
|
|
298
|
+
:type undo: bool
|
|
332
299
|
"""
|
|
333
300
|
|
|
334
301
|
...
|
|
335
302
|
|
|
336
303
|
def autoexec_path_remove(
|
|
337
|
-
override_context: typing.
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
undo: typing.Optional[bool] = None,
|
|
342
|
-
*,
|
|
343
|
-
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,
|
|
344
308
|
):
|
|
345
309
|
"""Remove path to exclude from auto-execution
|
|
346
310
|
|
|
347
|
-
:type override_context: typing.
|
|
348
|
-
:type execution_context: typing.
|
|
349
|
-
:type undo:
|
|
311
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
312
|
+
:type execution_context: typing.Union[str, int]
|
|
313
|
+
:type undo: bool
|
|
350
314
|
:param index: Index
|
|
351
|
-
:type index: typing.
|
|
315
|
+
:type index: typing.Any
|
|
352
316
|
"""
|
|
353
317
|
|
|
354
318
|
...
|
|
355
319
|
|
|
356
320
|
def copy_prev(
|
|
357
|
-
override_context: typing.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
361
|
-
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,
|
|
362
324
|
):
|
|
363
325
|
"""Copy settings from previous version
|
|
364
326
|
|
|
365
|
-
:type override_context: typing.
|
|
366
|
-
:type execution_context: typing.
|
|
367
|
-
:type undo:
|
|
327
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
328
|
+
:type execution_context: typing.Union[str, int]
|
|
329
|
+
:type undo: bool
|
|
368
330
|
"""
|
|
369
331
|
|
|
370
332
|
...
|
|
371
333
|
|
|
372
334
|
def extension_repo_add(
|
|
373
|
-
override_context: typing.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
377
|
-
undo: typing.Optional[bool] = None,
|
|
378
|
-
*,
|
|
335
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
336
|
+
execution_context: typing.Union[str, int] = None,
|
|
337
|
+
undo: bool = None,
|
|
379
338
|
name: typing.Union[str, typing.Any] = "",
|
|
380
339
|
remote_path: typing.Union[str, typing.Any] = "",
|
|
381
|
-
use_custom_directory: typing.
|
|
340
|
+
use_custom_directory: typing.Union[bool, typing.Any] = False,
|
|
382
341
|
custom_directory: typing.Union[str, typing.Any] = "",
|
|
383
|
-
type: typing.
|
|
342
|
+
type: typing.Any = "REMOTE",
|
|
384
343
|
):
|
|
385
344
|
"""Add a new repository used to store extensions
|
|
386
345
|
|
|
387
|
-
:type override_context: typing.
|
|
388
|
-
:type execution_context: typing.
|
|
389
|
-
:type undo:
|
|
346
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
347
|
+
:type execution_context: typing.Union[str, int]
|
|
348
|
+
:type undo: bool
|
|
390
349
|
:param name: Name, Unique repository name
|
|
391
350
|
:type name: typing.Union[str, typing.Any]
|
|
392
351
|
:param remote_path: URL, Remote URL or path for extension repository
|
|
393
352
|
:type remote_path: typing.Union[str, typing.Any]
|
|
394
353
|
:param use_custom_directory: Custom Directory, Manually set the path for extensions to be stored. When disabled a users extensions directory is created
|
|
395
|
-
:type use_custom_directory: typing.
|
|
354
|
+
:type use_custom_directory: typing.Union[bool, typing.Any]
|
|
396
355
|
:param custom_directory: Custom Directory, The local directory containing extensions
|
|
397
356
|
:type custom_directory: typing.Union[str, typing.Any]
|
|
398
357
|
:param type: Type, The kind of repository to add
|
|
@@ -402,28 +361,25 @@ def extension_repo_add(
|
|
|
402
361
|
|
|
403
362
|
LOCAL
|
|
404
363
|
Add Local Repository -- Add a repository managed manually without referencing an external repository.
|
|
405
|
-
:type type: typing.
|
|
364
|
+
:type type: typing.Any
|
|
406
365
|
"""
|
|
407
366
|
|
|
408
367
|
...
|
|
409
368
|
|
|
410
369
|
def extension_repo_remove(
|
|
411
|
-
override_context: typing.
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
*,
|
|
417
|
-
index: typing.Optional[typing.Any] = 0,
|
|
418
|
-
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",
|
|
419
375
|
):
|
|
420
376
|
"""Remove an extension repository
|
|
421
377
|
|
|
422
|
-
:type override_context: typing.
|
|
423
|
-
:type execution_context: typing.
|
|
424
|
-
:type undo:
|
|
378
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
379
|
+
:type execution_context: typing.Union[str, int]
|
|
380
|
+
:type undo: bool
|
|
425
381
|
:param index: Index
|
|
426
|
-
:type index: typing.
|
|
382
|
+
:type index: typing.Any
|
|
427
383
|
:param type: Type, Method for removing the repository
|
|
428
384
|
|
|
429
385
|
REPO_ONLY
|
|
@@ -431,57 +387,50 @@ def extension_repo_remove(
|
|
|
431
387
|
|
|
432
388
|
REPO_AND_DIRECTORY
|
|
433
389
|
Remove Repository & Files -- Delete all associated local files when removing.
|
|
434
|
-
:type type: typing.
|
|
390
|
+
:type type: typing.Any
|
|
435
391
|
"""
|
|
436
392
|
|
|
437
393
|
...
|
|
438
394
|
|
|
439
395
|
def extension_repo_sync(
|
|
440
|
-
override_context: typing.
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
444
|
-
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,
|
|
445
399
|
):
|
|
446
400
|
"""Synchronize the active extension repository with its remote URL
|
|
447
401
|
|
|
448
|
-
:type override_context: typing.
|
|
449
|
-
:type execution_context: typing.
|
|
450
|
-
:type undo:
|
|
402
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
403
|
+
:type execution_context: typing.Union[str, int]
|
|
404
|
+
:type undo: bool
|
|
451
405
|
"""
|
|
452
406
|
|
|
453
407
|
...
|
|
454
408
|
|
|
455
409
|
def extension_repo_upgrade(
|
|
456
|
-
override_context: typing.
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
460
|
-
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,
|
|
461
413
|
):
|
|
462
414
|
"""Update any outdated extensions for the active extension repository
|
|
463
415
|
|
|
464
|
-
:type override_context: typing.
|
|
465
|
-
:type execution_context: typing.
|
|
466
|
-
:type undo:
|
|
416
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
417
|
+
:type execution_context: typing.Union[str, int]
|
|
418
|
+
:type undo: bool
|
|
467
419
|
"""
|
|
468
420
|
|
|
469
421
|
...
|
|
470
422
|
|
|
471
423
|
def extension_url_drop(
|
|
472
|
-
override_context: typing.
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
476
|
-
undo: typing.Optional[bool] = None,
|
|
477
|
-
*,
|
|
424
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
425
|
+
execution_context: typing.Union[str, int] = None,
|
|
426
|
+
undo: bool = None,
|
|
478
427
|
url: typing.Union[str, typing.Any] = "",
|
|
479
428
|
):
|
|
480
429
|
"""Handle dropping an extension URL
|
|
481
430
|
|
|
482
|
-
:type override_context: typing.
|
|
483
|
-
:type execution_context: typing.
|
|
484
|
-
:type undo:
|
|
431
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
432
|
+
:type execution_context: typing.Union[str, int]
|
|
433
|
+
:type undo: bool
|
|
485
434
|
:param url: URL, Location of the extension to install
|
|
486
435
|
:type url: typing.Union[str, typing.Any]
|
|
487
436
|
"""
|
|
@@ -489,19 +438,16 @@ def extension_url_drop(
|
|
|
489
438
|
...
|
|
490
439
|
|
|
491
440
|
def keyconfig_activate(
|
|
492
|
-
override_context: typing.
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
496
|
-
undo: typing.Optional[bool] = None,
|
|
497
|
-
*,
|
|
441
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
442
|
+
execution_context: typing.Union[str, int] = None,
|
|
443
|
+
undo: bool = None,
|
|
498
444
|
filepath: typing.Union[str, typing.Any] = "",
|
|
499
445
|
):
|
|
500
446
|
"""Undocumented, consider contributing.
|
|
501
447
|
|
|
502
|
-
:type override_context: typing.
|
|
503
|
-
:type execution_context: typing.
|
|
504
|
-
:type undo:
|
|
448
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
449
|
+
:type execution_context: typing.Union[str, int]
|
|
450
|
+
:type undo: bool
|
|
505
451
|
:param filepath: filepath
|
|
506
452
|
:type filepath: typing.Union[str, typing.Any]
|
|
507
453
|
"""
|
|
@@ -509,282 +455,245 @@ def keyconfig_activate(
|
|
|
509
455
|
...
|
|
510
456
|
|
|
511
457
|
def keyconfig_export(
|
|
512
|
-
override_context: typing.
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
undo: typing.Optional[bool] = None,
|
|
517
|
-
*,
|
|
518
|
-
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,
|
|
519
462
|
filepath: typing.Union[str, typing.Any] = "",
|
|
520
|
-
filter_folder: typing.
|
|
521
|
-
filter_text: typing.
|
|
522
|
-
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,
|
|
523
466
|
):
|
|
524
467
|
"""Export key configuration to a Python script
|
|
525
468
|
|
|
526
|
-
:type override_context: typing.
|
|
527
|
-
:type execution_context: typing.
|
|
528
|
-
:type undo:
|
|
469
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
470
|
+
:type execution_context: typing.Union[str, int]
|
|
471
|
+
:type undo: bool
|
|
529
472
|
:param all: All Keymaps, Write all keymaps (not just user modified)
|
|
530
|
-
:type all: typing.
|
|
473
|
+
:type all: typing.Union[bool, typing.Any]
|
|
531
474
|
:param filepath: filepath
|
|
532
475
|
:type filepath: typing.Union[str, typing.Any]
|
|
533
476
|
:param filter_folder: Filter folders
|
|
534
|
-
:type filter_folder: typing.
|
|
477
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
535
478
|
:param filter_text: Filter text
|
|
536
|
-
:type filter_text: typing.
|
|
479
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
537
480
|
:param filter_python: Filter Python
|
|
538
|
-
:type filter_python: typing.
|
|
481
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
539
482
|
"""
|
|
540
483
|
|
|
541
484
|
...
|
|
542
485
|
|
|
543
486
|
def keyconfig_import(
|
|
544
|
-
override_context: typing.
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
548
|
-
undo: typing.Optional[bool] = None,
|
|
549
|
-
*,
|
|
487
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
488
|
+
execution_context: typing.Union[str, int] = None,
|
|
489
|
+
undo: bool = None,
|
|
550
490
|
filepath: typing.Union[str, typing.Any] = "keymap.py",
|
|
551
|
-
filter_folder: typing.
|
|
552
|
-
filter_text: typing.
|
|
553
|
-
filter_python: typing.
|
|
554
|
-
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,
|
|
555
495
|
):
|
|
556
496
|
"""Import key configuration from a Python script
|
|
557
497
|
|
|
558
|
-
:type override_context: typing.
|
|
559
|
-
:type execution_context: typing.
|
|
560
|
-
:type undo:
|
|
498
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
499
|
+
:type execution_context: typing.Union[str, int]
|
|
500
|
+
:type undo: bool
|
|
561
501
|
:param filepath: filepath
|
|
562
502
|
:type filepath: typing.Union[str, typing.Any]
|
|
563
503
|
:param filter_folder: Filter folders
|
|
564
|
-
:type filter_folder: typing.
|
|
504
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
565
505
|
:param filter_text: Filter text
|
|
566
|
-
:type filter_text: typing.
|
|
506
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
567
507
|
:param filter_python: Filter Python
|
|
568
|
-
:type filter_python: typing.
|
|
508
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
569
509
|
:param keep_original: Keep Original, Keep original file after copying to configuration folder
|
|
570
|
-
:type keep_original: typing.
|
|
510
|
+
:type keep_original: typing.Union[bool, typing.Any]
|
|
571
511
|
"""
|
|
572
512
|
|
|
573
513
|
...
|
|
574
514
|
|
|
575
515
|
def keyconfig_remove(
|
|
576
|
-
override_context: typing.
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
580
|
-
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,
|
|
581
519
|
):
|
|
582
520
|
"""Remove key config
|
|
583
521
|
|
|
584
|
-
:type override_context: typing.
|
|
585
|
-
:type execution_context: typing.
|
|
586
|
-
:type undo:
|
|
522
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
523
|
+
:type execution_context: typing.Union[str, int]
|
|
524
|
+
:type undo: bool
|
|
587
525
|
"""
|
|
588
526
|
|
|
589
527
|
...
|
|
590
528
|
|
|
591
529
|
def keyconfig_test(
|
|
592
|
-
override_context: typing.
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
596
|
-
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,
|
|
597
533
|
):
|
|
598
534
|
"""Test key configuration for conflicts
|
|
599
535
|
|
|
600
|
-
:type override_context: typing.
|
|
601
|
-
:type execution_context: typing.
|
|
602
|
-
:type undo:
|
|
536
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
537
|
+
:type execution_context: typing.Union[str, int]
|
|
538
|
+
:type undo: bool
|
|
603
539
|
"""
|
|
604
540
|
|
|
605
541
|
...
|
|
606
542
|
|
|
607
543
|
def keyitem_add(
|
|
608
|
-
override_context: typing.
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
612
|
-
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,
|
|
613
547
|
):
|
|
614
548
|
"""Add key map item
|
|
615
549
|
|
|
616
|
-
:type override_context: typing.
|
|
617
|
-
:type execution_context: typing.
|
|
618
|
-
:type undo:
|
|
550
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
551
|
+
:type execution_context: typing.Union[str, int]
|
|
552
|
+
:type undo: bool
|
|
619
553
|
"""
|
|
620
554
|
|
|
621
555
|
...
|
|
622
556
|
|
|
623
557
|
def keyitem_remove(
|
|
624
|
-
override_context: typing.
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
undo: typing.Optional[bool] = None,
|
|
629
|
-
*,
|
|
630
|
-
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,
|
|
631
562
|
):
|
|
632
563
|
"""Remove key map item
|
|
633
564
|
|
|
634
|
-
:type override_context: typing.
|
|
635
|
-
:type execution_context: typing.
|
|
636
|
-
:type undo:
|
|
565
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
566
|
+
:type execution_context: typing.Union[str, int]
|
|
567
|
+
:type undo: bool
|
|
637
568
|
:param item_id: Item Identifier, Identifier of the item to remove
|
|
638
|
-
:type item_id: typing.
|
|
569
|
+
:type item_id: typing.Any
|
|
639
570
|
"""
|
|
640
571
|
|
|
641
572
|
...
|
|
642
573
|
|
|
643
574
|
def keyitem_restore(
|
|
644
|
-
override_context: typing.
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
undo: typing.Optional[bool] = None,
|
|
649
|
-
*,
|
|
650
|
-
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,
|
|
651
579
|
):
|
|
652
580
|
"""Restore key map item
|
|
653
581
|
|
|
654
|
-
:type override_context: typing.
|
|
655
|
-
:type execution_context: typing.
|
|
656
|
-
:type undo:
|
|
582
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
583
|
+
:type execution_context: typing.Union[str, int]
|
|
584
|
+
:type undo: bool
|
|
657
585
|
:param item_id: Item Identifier, Identifier of the item to restore
|
|
658
|
-
:type item_id: typing.
|
|
586
|
+
:type item_id: typing.Any
|
|
659
587
|
"""
|
|
660
588
|
|
|
661
589
|
...
|
|
662
590
|
|
|
663
591
|
def keymap_restore(
|
|
664
|
-
override_context: typing.
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
undo: typing.Optional[bool] = None,
|
|
669
|
-
*,
|
|
670
|
-
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,
|
|
671
596
|
):
|
|
672
597
|
"""Restore key map(s)
|
|
673
598
|
|
|
674
|
-
:type override_context: typing.
|
|
675
|
-
:type execution_context: typing.
|
|
676
|
-
:type undo:
|
|
599
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
600
|
+
:type execution_context: typing.Union[str, int]
|
|
601
|
+
:type undo: bool
|
|
677
602
|
:param all: All Keymaps, Restore all keymaps to default
|
|
678
|
-
:type all: typing.
|
|
603
|
+
:type all: typing.Union[bool, typing.Any]
|
|
679
604
|
"""
|
|
680
605
|
|
|
681
606
|
...
|
|
682
607
|
|
|
683
608
|
def reset_default_theme(
|
|
684
|
-
override_context: typing.
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
688
|
-
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,
|
|
689
612
|
):
|
|
690
613
|
"""Reset to the default theme colors
|
|
691
614
|
|
|
692
|
-
:type override_context: typing.
|
|
693
|
-
:type execution_context: typing.
|
|
694
|
-
:type undo:
|
|
615
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
616
|
+
:type execution_context: typing.Union[str, int]
|
|
617
|
+
:type undo: bool
|
|
695
618
|
"""
|
|
696
619
|
|
|
697
620
|
...
|
|
698
621
|
|
|
699
622
|
def script_directory_add(
|
|
700
|
-
override_context: typing.
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
704
|
-
undo: typing.Optional[bool] = None,
|
|
705
|
-
*,
|
|
623
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
624
|
+
execution_context: typing.Union[str, int] = None,
|
|
625
|
+
undo: bool = None,
|
|
706
626
|
directory: typing.Union[str, typing.Any] = "",
|
|
707
|
-
filter_folder: typing.
|
|
627
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
708
628
|
):
|
|
709
629
|
"""Undocumented, consider contributing.
|
|
710
630
|
|
|
711
|
-
:type override_context: typing.
|
|
712
|
-
:type execution_context: typing.
|
|
713
|
-
:type undo:
|
|
631
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
632
|
+
:type execution_context: typing.Union[str, int]
|
|
633
|
+
:type undo: bool
|
|
714
634
|
:param directory: directory
|
|
715
635
|
:type directory: typing.Union[str, typing.Any]
|
|
716
636
|
:param filter_folder: Filter Folders
|
|
717
|
-
:type filter_folder: typing.
|
|
637
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
718
638
|
"""
|
|
719
639
|
|
|
720
640
|
...
|
|
721
641
|
|
|
722
642
|
def script_directory_remove(
|
|
723
|
-
override_context: typing.
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
undo: typing.Optional[bool] = None,
|
|
728
|
-
*,
|
|
729
|
-
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,
|
|
730
647
|
):
|
|
731
648
|
"""Undocumented, consider contributing.
|
|
732
649
|
|
|
733
|
-
:type override_context: typing.
|
|
734
|
-
:type execution_context: typing.
|
|
735
|
-
:type undo:
|
|
650
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
651
|
+
:type execution_context: typing.Union[str, int]
|
|
652
|
+
:type undo: bool
|
|
736
653
|
:param index: Index, Index of the script directory to remove
|
|
737
|
-
:type index: typing.
|
|
654
|
+
:type index: typing.Any
|
|
738
655
|
"""
|
|
739
656
|
|
|
740
657
|
...
|
|
741
658
|
|
|
742
659
|
def studiolight_copy_settings(
|
|
743
|
-
override_context: typing.
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
undo: typing.Optional[bool] = None,
|
|
748
|
-
*,
|
|
749
|
-
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,
|
|
750
664
|
):
|
|
751
665
|
"""Copy Studio Light settings to the Studio Light editor
|
|
752
666
|
|
|
753
|
-
:type override_context: typing.
|
|
754
|
-
:type execution_context: typing.
|
|
755
|
-
:type undo:
|
|
667
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
668
|
+
:type execution_context: typing.Union[str, int]
|
|
669
|
+
:type undo: bool
|
|
756
670
|
:param index: index
|
|
757
|
-
:type index: typing.
|
|
671
|
+
:type index: typing.Any
|
|
758
672
|
"""
|
|
759
673
|
|
|
760
674
|
...
|
|
761
675
|
|
|
762
676
|
def studiolight_install(
|
|
763
|
-
override_context: typing.
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
undo: typing.Optional[bool] = None,
|
|
768
|
-
*,
|
|
769
|
-
files: typing.Optional[
|
|
770
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorFileListElement"]
|
|
771
|
-
] = 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,
|
|
772
681
|
directory: typing.Union[str, typing.Any] = "",
|
|
773
|
-
filter_folder: typing.
|
|
682
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
774
683
|
filter_glob: typing.Union[str, typing.Any] = "*.png;*.jpg;*.hdr;*.exr",
|
|
775
|
-
type: typing.
|
|
684
|
+
type: typing.Any = "MATCAP",
|
|
776
685
|
):
|
|
777
686
|
"""Install a user defined light
|
|
778
687
|
|
|
779
|
-
:type override_context: typing.
|
|
780
|
-
:type execution_context: typing.
|
|
781
|
-
:type undo:
|
|
688
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
689
|
+
:type execution_context: typing.Union[str, int]
|
|
690
|
+
:type undo: bool
|
|
782
691
|
:param files: File Path
|
|
783
|
-
:type files:
|
|
692
|
+
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
784
693
|
:param directory: directory
|
|
785
694
|
:type directory: typing.Union[str, typing.Any]
|
|
786
695
|
:param filter_folder: Filter Folders
|
|
787
|
-
:type filter_folder: typing.
|
|
696
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
788
697
|
:param filter_glob: filter_glob
|
|
789
698
|
:type filter_glob: typing.Union[str, typing.Any]
|
|
790
699
|
:param type: Type
|
|
@@ -797,25 +706,22 @@ def studiolight_install(
|
|
|
797
706
|
|
|
798
707
|
STUDIO
|
|
799
708
|
Studio -- Install custom Studio Lights.
|
|
800
|
-
:type type: typing.
|
|
709
|
+
:type type: typing.Any
|
|
801
710
|
"""
|
|
802
711
|
|
|
803
712
|
...
|
|
804
713
|
|
|
805
714
|
def studiolight_new(
|
|
806
|
-
override_context: typing.
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
810
|
-
undo: typing.Optional[bool] = None,
|
|
811
|
-
*,
|
|
715
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
716
|
+
execution_context: typing.Union[str, int] = None,
|
|
717
|
+
undo: bool = None,
|
|
812
718
|
filename: typing.Union[str, typing.Any] = "StudioLight",
|
|
813
719
|
):
|
|
814
720
|
"""Save custom studio light from the studio light editor settings
|
|
815
721
|
|
|
816
|
-
:type override_context: typing.
|
|
817
|
-
:type execution_context: typing.
|
|
818
|
-
:type undo:
|
|
722
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
723
|
+
:type execution_context: typing.Union[str, int]
|
|
724
|
+
:type undo: bool
|
|
819
725
|
:param filename: Name
|
|
820
726
|
:type filename: typing.Union[str, typing.Any]
|
|
821
727
|
"""
|
|
@@ -823,64 +729,56 @@ def studiolight_new(
|
|
|
823
729
|
...
|
|
824
730
|
|
|
825
731
|
def studiolight_show(
|
|
826
|
-
override_context: typing.
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
830
|
-
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,
|
|
831
735
|
):
|
|
832
736
|
"""Show light preferences
|
|
833
737
|
|
|
834
|
-
:type override_context: typing.
|
|
835
|
-
:type execution_context: typing.
|
|
836
|
-
:type undo:
|
|
738
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
739
|
+
:type execution_context: typing.Union[str, int]
|
|
740
|
+
:type undo: bool
|
|
837
741
|
"""
|
|
838
742
|
|
|
839
743
|
...
|
|
840
744
|
|
|
841
745
|
def studiolight_uninstall(
|
|
842
|
-
override_context: typing.
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
undo: typing.Optional[bool] = None,
|
|
847
|
-
*,
|
|
848
|
-
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,
|
|
849
750
|
):
|
|
850
751
|
"""Delete Studio Light
|
|
851
752
|
|
|
852
|
-
:type override_context: typing.
|
|
853
|
-
:type execution_context: typing.
|
|
854
|
-
:type undo:
|
|
753
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
754
|
+
:type execution_context: typing.Union[str, int]
|
|
755
|
+
:type undo: bool
|
|
855
756
|
:param index: index
|
|
856
|
-
:type index: typing.
|
|
757
|
+
:type index: typing.Any
|
|
857
758
|
"""
|
|
858
759
|
|
|
859
760
|
...
|
|
860
761
|
|
|
861
762
|
def theme_install(
|
|
862
|
-
override_context: typing.
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
undo: typing.Optional[bool] = None,
|
|
867
|
-
*,
|
|
868
|
-
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,
|
|
869
767
|
filepath: typing.Union[str, typing.Any] = "",
|
|
870
|
-
filter_folder: typing.
|
|
768
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
871
769
|
filter_glob: typing.Union[str, typing.Any] = "*.xml",
|
|
872
770
|
):
|
|
873
771
|
"""Load and apply a Blender XML theme file
|
|
874
772
|
|
|
875
|
-
:type override_context: typing.
|
|
876
|
-
:type execution_context: typing.
|
|
877
|
-
:type undo:
|
|
773
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
774
|
+
:type execution_context: typing.Union[str, int]
|
|
775
|
+
:type undo: bool
|
|
878
776
|
:param overwrite: Overwrite, Remove existing theme file if exists
|
|
879
|
-
:type overwrite: typing.
|
|
777
|
+
:type overwrite: typing.Union[bool, typing.Any]
|
|
880
778
|
:param filepath: filepath
|
|
881
779
|
:type filepath: typing.Union[str, typing.Any]
|
|
882
780
|
:param filter_folder: Filter folders
|
|
883
|
-
:type filter_folder: typing.
|
|
781
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
884
782
|
:param filter_glob: filter_glob
|
|
885
783
|
:type filter_glob: typing.Union[str, typing.Any]
|
|
886
784
|
"""
|
|
@@ -888,17 +786,15 @@ def theme_install(
|
|
|
888
786
|
...
|
|
889
787
|
|
|
890
788
|
def unassociate_blend(
|
|
891
|
-
override_context: typing.
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
895
|
-
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,
|
|
896
792
|
):
|
|
897
793
|
"""Remove this installation's associations with .blend files
|
|
898
794
|
|
|
899
|
-
:type override_context: typing.
|
|
900
|
-
:type execution_context: typing.
|
|
901
|
-
:type undo:
|
|
795
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
796
|
+
:type execution_context: typing.Union[str, int]
|
|
797
|
+
:type undo: bool
|
|
902
798
|
"""
|
|
903
799
|
|
|
904
800
|
...
|