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