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/file/__init__.pyi
CHANGED
|
@@ -4,75 +4,75 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def autopack_toggle(
|
|
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
|
):
|
|
11
11
|
"""Automatically pack all external files into the .blend file
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def bookmark_add(
|
|
21
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context: typing.Union[str, int] = None,
|
|
23
|
-
undo: bool = None,
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
24
|
):
|
|
25
25
|
"""Add a bookmark for the selected/active directory
|
|
26
26
|
|
|
27
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
-
:type execution_context: typing.Union[str, int]
|
|
29
|
-
:type undo: bool
|
|
27
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
28
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
29
|
+
:type undo: typing.Optional[bool]
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
...
|
|
33
33
|
|
|
34
34
|
def bookmark_cleanup(
|
|
35
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
-
execution_context: typing.Union[str, int] = None,
|
|
37
|
-
undo: bool = None,
|
|
35
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
36
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
37
|
+
undo: typing.Optional[bool] = None,
|
|
38
38
|
):
|
|
39
39
|
"""Delete all invalid bookmarks
|
|
40
40
|
|
|
41
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
42
|
-
:type execution_context: typing.Union[str, int]
|
|
43
|
-
:type undo: bool
|
|
41
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
42
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
43
|
+
:type undo: typing.Optional[bool]
|
|
44
44
|
"""
|
|
45
45
|
|
|
46
46
|
...
|
|
47
47
|
|
|
48
48
|
def bookmark_delete(
|
|
49
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
50
|
-
execution_context: typing.Union[str, int] = None,
|
|
51
|
-
undo: bool = None,
|
|
52
|
-
index: typing.Any = -1,
|
|
49
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
50
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
51
|
+
undo: typing.Optional[bool] = None,
|
|
52
|
+
index: typing.Optional[typing.Any] = -1,
|
|
53
53
|
):
|
|
54
54
|
"""Delete selected bookmark
|
|
55
55
|
|
|
56
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
57
|
-
:type execution_context: typing.Union[str, int]
|
|
58
|
-
:type undo: bool
|
|
56
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
57
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
58
|
+
:type undo: typing.Optional[bool]
|
|
59
59
|
:param index: Index
|
|
60
|
-
:type index: typing.Any
|
|
60
|
+
:type index: typing.Optional[typing.Any]
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
...
|
|
64
64
|
|
|
65
65
|
def bookmark_move(
|
|
66
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
-
execution_context: typing.Union[str, int] = None,
|
|
68
|
-
undo: bool = None,
|
|
69
|
-
direction: typing.Any = "TOP",
|
|
66
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
67
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
68
|
+
undo: typing.Optional[bool] = None,
|
|
69
|
+
direction: typing.Optional[typing.Any] = "TOP",
|
|
70
70
|
):
|
|
71
71
|
"""Move the active bookmark up/down in the list
|
|
72
72
|
|
|
73
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
-
:type execution_context: typing.Union[str, int]
|
|
75
|
-
:type undo: bool
|
|
73
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
74
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
75
|
+
:type undo: typing.Optional[bool]
|
|
76
76
|
:param direction: Direction, Direction to move the active bookmark towards
|
|
77
77
|
|
|
78
78
|
TOP
|
|
@@ -86,99 +86,99 @@ def bookmark_move(
|
|
|
86
86
|
|
|
87
87
|
BOTTOM
|
|
88
88
|
Bottom -- Bottom of the list.
|
|
89
|
-
:type direction: typing.Any
|
|
89
|
+
:type direction: typing.Optional[typing.Any]
|
|
90
90
|
"""
|
|
91
91
|
|
|
92
92
|
...
|
|
93
93
|
|
|
94
94
|
def cancel(
|
|
95
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
96
|
-
execution_context: typing.Union[str, int] = None,
|
|
97
|
-
undo: bool = None,
|
|
95
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
96
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
97
|
+
undo: typing.Optional[bool] = None,
|
|
98
98
|
):
|
|
99
99
|
"""Cancel loading of selected file
|
|
100
100
|
|
|
101
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
102
|
-
:type execution_context: typing.Union[str, int]
|
|
103
|
-
:type undo: bool
|
|
101
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
102
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
103
|
+
:type undo: typing.Optional[bool]
|
|
104
104
|
"""
|
|
105
105
|
|
|
106
106
|
...
|
|
107
107
|
|
|
108
108
|
def delete(
|
|
109
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
110
|
-
execution_context: typing.Union[str, int] = None,
|
|
111
|
-
undo: bool = None,
|
|
109
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
110
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
111
|
+
undo: typing.Optional[bool] = None,
|
|
112
112
|
):
|
|
113
113
|
"""Move selected files to the trash or recycle bin
|
|
114
114
|
|
|
115
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
116
|
-
:type execution_context: typing.Union[str, int]
|
|
117
|
-
:type undo: bool
|
|
115
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
116
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
117
|
+
:type undo: typing.Optional[bool]
|
|
118
118
|
"""
|
|
119
119
|
|
|
120
120
|
...
|
|
121
121
|
|
|
122
122
|
def directory_new(
|
|
123
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
124
|
-
execution_context: typing.Union[str, int] = None,
|
|
125
|
-
undo: bool = None,
|
|
123
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
124
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
125
|
+
undo: typing.Optional[bool] = None,
|
|
126
126
|
directory: typing.Union[str, typing.Any] = "",
|
|
127
|
-
open: typing.Union[bool, typing.Any] = False,
|
|
127
|
+
open: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
128
128
|
):
|
|
129
129
|
"""Create a new directory
|
|
130
130
|
|
|
131
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
132
|
-
:type execution_context: typing.Union[str, int]
|
|
133
|
-
:type undo: bool
|
|
131
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
132
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
133
|
+
:type undo: typing.Optional[bool]
|
|
134
134
|
:param directory: Directory, Name of new directory
|
|
135
135
|
:type directory: typing.Union[str, typing.Any]
|
|
136
136
|
:param open: Open, Open new directory
|
|
137
|
-
:type open: typing.Union[bool, typing.Any]
|
|
137
|
+
:type open: typing.Optional[typing.Union[bool, typing.Any]]
|
|
138
138
|
"""
|
|
139
139
|
|
|
140
140
|
...
|
|
141
141
|
|
|
142
142
|
def edit_directory_path(
|
|
143
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
144
|
-
execution_context: typing.Union[str, int] = None,
|
|
145
|
-
undo: bool = None,
|
|
143
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
144
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
145
|
+
undo: typing.Optional[bool] = None,
|
|
146
146
|
):
|
|
147
147
|
"""Start editing directory field
|
|
148
148
|
|
|
149
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
150
|
-
:type execution_context: typing.Union[str, int]
|
|
151
|
-
:type undo: bool
|
|
149
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
150
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
151
|
+
:type undo: typing.Optional[bool]
|
|
152
152
|
"""
|
|
153
153
|
|
|
154
154
|
...
|
|
155
155
|
|
|
156
156
|
def execute(
|
|
157
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
158
|
-
execution_context: typing.Union[str, int] = None,
|
|
159
|
-
undo: bool = None,
|
|
157
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
158
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
159
|
+
undo: typing.Optional[bool] = None,
|
|
160
160
|
):
|
|
161
161
|
"""Execute selected file
|
|
162
162
|
|
|
163
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
164
|
-
:type execution_context: typing.Union[str, int]
|
|
165
|
-
:type undo: bool
|
|
163
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
164
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
165
|
+
:type undo: typing.Optional[bool]
|
|
166
166
|
"""
|
|
167
167
|
|
|
168
168
|
...
|
|
169
169
|
|
|
170
170
|
def external_operation(
|
|
171
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
172
|
-
execution_context: typing.Union[str, int] = None,
|
|
173
|
-
undo: bool = None,
|
|
171
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
172
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
173
|
+
undo: typing.Optional[bool] = None,
|
|
174
174
|
filepath: typing.Union[str, typing.Any] = "",
|
|
175
|
-
operation: typing.Any = "OPEN",
|
|
175
|
+
operation: typing.Optional[typing.Any] = "OPEN",
|
|
176
176
|
):
|
|
177
177
|
"""Perform external operation on a file or folder
|
|
178
178
|
|
|
179
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
180
|
-
:type execution_context: typing.Union[str, int]
|
|
181
|
-
:type undo: bool
|
|
179
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
180
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
181
|
+
:type undo: typing.Optional[bool]
|
|
182
182
|
:param filepath: File or folder path
|
|
183
183
|
:type filepath: typing.Union[str, typing.Any]
|
|
184
184
|
:param operation: Operation, Operation to perform on the file or path
|
|
@@ -227,122 +227,122 @@ def external_operation(
|
|
|
227
227
|
|
|
228
228
|
CMD
|
|
229
229
|
Command Prompt Here -- Open a command prompt here.
|
|
230
|
-
:type operation: typing.Any
|
|
230
|
+
:type operation: typing.Optional[typing.Any]
|
|
231
231
|
"""
|
|
232
232
|
|
|
233
233
|
...
|
|
234
234
|
|
|
235
235
|
def filenum(
|
|
236
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
237
|
-
execution_context: typing.Union[str, int] = None,
|
|
238
|
-
undo: bool = None,
|
|
239
|
-
increment: typing.Any = 1,
|
|
236
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
237
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
238
|
+
undo: typing.Optional[bool] = None,
|
|
239
|
+
increment: typing.Optional[typing.Any] = 1,
|
|
240
240
|
):
|
|
241
241
|
"""Increment number in filename
|
|
242
242
|
|
|
243
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
244
|
-
:type execution_context: typing.Union[str, int]
|
|
245
|
-
:type undo: bool
|
|
243
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
244
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
245
|
+
:type undo: typing.Optional[bool]
|
|
246
246
|
:param increment: Increment
|
|
247
|
-
:type increment: typing.Any
|
|
247
|
+
:type increment: typing.Optional[typing.Any]
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
...
|
|
251
251
|
|
|
252
252
|
def filepath_drop(
|
|
253
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
254
|
-
execution_context: typing.Union[str, int] = None,
|
|
255
|
-
undo: bool = None,
|
|
253
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
254
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
255
|
+
undo: typing.Optional[bool] = None,
|
|
256
256
|
filepath: typing.Union[str, typing.Any] = "Path",
|
|
257
257
|
):
|
|
258
258
|
"""Undocumented, consider contributing.
|
|
259
259
|
|
|
260
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
261
|
-
:type execution_context: typing.Union[str, int]
|
|
262
|
-
:type undo: bool
|
|
260
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
261
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
262
|
+
:type undo: typing.Optional[bool]
|
|
263
263
|
:type filepath: typing.Union[str, typing.Any]
|
|
264
264
|
"""
|
|
265
265
|
|
|
266
266
|
...
|
|
267
267
|
|
|
268
268
|
def find_missing_files(
|
|
269
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
270
|
-
execution_context: typing.Union[str, int] = None,
|
|
271
|
-
undo: bool = None,
|
|
272
|
-
find_all: typing.Union[bool, typing.Any] = False,
|
|
269
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
270
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
271
|
+
undo: typing.Optional[bool] = None,
|
|
272
|
+
find_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
273
273
|
directory: typing.Union[str, typing.Any] = "",
|
|
274
|
-
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
275
|
-
check_existing: typing.Union[bool, typing.Any] = False,
|
|
276
|
-
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
277
|
-
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
278
|
-
filter_image: typing.Union[bool, typing.Any] = False,
|
|
279
|
-
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
280
|
-
filter_python: typing.Union[bool, typing.Any] = False,
|
|
281
|
-
filter_font: typing.Union[bool, typing.Any] = False,
|
|
282
|
-
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
283
|
-
filter_text: typing.Union[bool, typing.Any] = False,
|
|
284
|
-
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
285
|
-
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
286
|
-
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
287
|
-
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
288
|
-
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
289
|
-
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
290
|
-
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
291
|
-
filter_folder: typing.Union[bool, typing.Any] = False,
|
|
292
|
-
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
293
|
-
filemode: typing.Any = 9,
|
|
294
|
-
display_type: typing.Any = "DEFAULT",
|
|
295
|
-
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
274
|
+
hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
275
|
+
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
276
|
+
filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
277
|
+
filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
278
|
+
filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
279
|
+
filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
280
|
+
filter_python: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
281
|
+
filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
282
|
+
filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
283
|
+
filter_text: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
284
|
+
filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
285
|
+
filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
286
|
+
filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
287
|
+
filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
288
|
+
filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
289
|
+
filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
290
|
+
filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
291
|
+
filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
292
|
+
filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
293
|
+
filemode: typing.Optional[typing.Any] = 9,
|
|
294
|
+
display_type: typing.Optional[typing.Any] = "DEFAULT",
|
|
295
|
+
sort_method: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
296
296
|
):
|
|
297
297
|
"""Try to find missing external files
|
|
298
298
|
|
|
299
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
300
|
-
:type execution_context: typing.Union[str, int]
|
|
301
|
-
:type undo: bool
|
|
299
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
300
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
301
|
+
:type undo: typing.Optional[bool]
|
|
302
302
|
:param find_all: Find All, Find all files in the search path (not just missing)
|
|
303
|
-
:type find_all: typing.Union[bool, typing.Any]
|
|
303
|
+
:type find_all: typing.Optional[typing.Union[bool, typing.Any]]
|
|
304
304
|
:param directory: Directory, Directory of the file
|
|
305
305
|
:type directory: typing.Union[str, typing.Any]
|
|
306
306
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
307
|
-
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
307
|
+
:type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
|
|
308
308
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
309
|
-
:type check_existing: typing.Union[bool, typing.Any]
|
|
309
|
+
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
310
310
|
:param filter_blender: Filter .blend files
|
|
311
|
-
:type filter_blender: typing.Union[bool, typing.Any]
|
|
311
|
+
:type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
|
|
312
312
|
:param filter_backup: Filter .blend files
|
|
313
|
-
:type filter_backup: typing.Union[bool, typing.Any]
|
|
313
|
+
:type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
|
|
314
314
|
:param filter_image: Filter image files
|
|
315
|
-
:type filter_image: typing.Union[bool, typing.Any]
|
|
315
|
+
:type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
|
|
316
316
|
:param filter_movie: Filter movie files
|
|
317
|
-
:type filter_movie: typing.Union[bool, typing.Any]
|
|
317
|
+
:type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
|
|
318
318
|
:param filter_python: Filter Python files
|
|
319
|
-
:type filter_python: typing.Union[bool, typing.Any]
|
|
319
|
+
:type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
|
|
320
320
|
:param filter_font: Filter font files
|
|
321
|
-
:type filter_font: typing.Union[bool, typing.Any]
|
|
321
|
+
:type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
|
|
322
322
|
:param filter_sound: Filter sound files
|
|
323
|
-
:type filter_sound: typing.Union[bool, typing.Any]
|
|
323
|
+
:type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
|
|
324
324
|
:param filter_text: Filter text files
|
|
325
|
-
:type filter_text: typing.Union[bool, typing.Any]
|
|
325
|
+
:type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
|
|
326
326
|
:param filter_archive: Filter archive files
|
|
327
|
-
:type filter_archive: typing.Union[bool, typing.Any]
|
|
327
|
+
:type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
328
328
|
:param filter_btx: Filter btx files
|
|
329
|
-
:type filter_btx: typing.Union[bool, typing.Any]
|
|
329
|
+
:type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
|
|
330
330
|
:param filter_collada: Filter COLLADA files
|
|
331
|
-
:type filter_collada: typing.Union[bool, typing.Any]
|
|
331
|
+
:type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
|
|
332
332
|
:param filter_alembic: Filter Alembic files
|
|
333
|
-
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
333
|
+
:type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
334
334
|
:param filter_usd: Filter USD files
|
|
335
|
-
:type filter_usd: typing.Union[bool, typing.Any]
|
|
335
|
+
:type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
|
|
336
336
|
:param filter_obj: Filter OBJ files
|
|
337
|
-
:type filter_obj: typing.Union[bool, typing.Any]
|
|
337
|
+
:type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
|
|
338
338
|
:param filter_volume: Filter OpenVDB volume files
|
|
339
|
-
:type filter_volume: typing.Union[bool, typing.Any]
|
|
339
|
+
:type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
|
|
340
340
|
:param filter_folder: Filter folders
|
|
341
|
-
:type filter_folder: typing.Union[bool, typing.Any]
|
|
341
|
+
:type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
|
|
342
342
|
:param filter_blenlib: Filter Blender IDs
|
|
343
|
-
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
343
|
+
:type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
|
|
344
344
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
345
|
-
:type filemode: typing.Any
|
|
345
|
+
:type filemode: typing.Optional[typing.Any]
|
|
346
346
|
:param display_type: Display Type
|
|
347
347
|
|
|
348
348
|
DEFAULT
|
|
@@ -356,261 +356,261 @@ def find_missing_files(
|
|
|
356
356
|
|
|
357
357
|
THUMBNAIL
|
|
358
358
|
Thumbnails -- Display files as thumbnails.
|
|
359
|
-
:type display_type: typing.Any
|
|
359
|
+
:type display_type: typing.Optional[typing.Any]
|
|
360
360
|
:param sort_method: File sorting mode
|
|
361
|
-
:type sort_method: typing.Union[str, int, typing.Any]
|
|
361
|
+
:type sort_method: typing.Optional[typing.Union[str, int, typing.Any]]
|
|
362
362
|
"""
|
|
363
363
|
|
|
364
364
|
...
|
|
365
365
|
|
|
366
366
|
def hidedot(
|
|
367
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
368
|
-
execution_context: typing.Union[str, int] = None,
|
|
369
|
-
undo: bool = None,
|
|
367
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
368
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
369
|
+
undo: typing.Optional[bool] = None,
|
|
370
370
|
):
|
|
371
371
|
"""Toggle hide hidden dot files
|
|
372
372
|
|
|
373
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
374
|
-
:type execution_context: typing.Union[str, int]
|
|
375
|
-
:type undo: bool
|
|
373
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
374
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
375
|
+
:type undo: typing.Optional[bool]
|
|
376
376
|
"""
|
|
377
377
|
|
|
378
378
|
...
|
|
379
379
|
|
|
380
380
|
def highlight(
|
|
381
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
382
|
-
execution_context: typing.Union[str, int] = None,
|
|
383
|
-
undo: bool = None,
|
|
381
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
382
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
383
|
+
undo: typing.Optional[bool] = None,
|
|
384
384
|
):
|
|
385
385
|
"""Highlight selected file(s)
|
|
386
386
|
|
|
387
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
388
|
-
:type execution_context: typing.Union[str, int]
|
|
389
|
-
:type undo: bool
|
|
387
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
388
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
389
|
+
:type undo: typing.Optional[bool]
|
|
390
390
|
"""
|
|
391
391
|
|
|
392
392
|
...
|
|
393
393
|
|
|
394
394
|
def make_paths_absolute(
|
|
395
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
396
|
-
execution_context: typing.Union[str, int] = None,
|
|
397
|
-
undo: bool = None,
|
|
395
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
396
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
397
|
+
undo: typing.Optional[bool] = None,
|
|
398
398
|
):
|
|
399
399
|
"""Make all paths to external files absolute
|
|
400
400
|
|
|
401
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
402
|
-
:type execution_context: typing.Union[str, int]
|
|
403
|
-
:type undo: bool
|
|
401
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
402
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
403
|
+
:type undo: typing.Optional[bool]
|
|
404
404
|
"""
|
|
405
405
|
|
|
406
406
|
...
|
|
407
407
|
|
|
408
408
|
def make_paths_relative(
|
|
409
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
410
|
-
execution_context: typing.Union[str, int] = None,
|
|
411
|
-
undo: bool = None,
|
|
409
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
410
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
411
|
+
undo: typing.Optional[bool] = None,
|
|
412
412
|
):
|
|
413
413
|
"""Make all paths to external files relative to current .blend
|
|
414
414
|
|
|
415
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
416
|
-
:type execution_context: typing.Union[str, int]
|
|
417
|
-
:type undo: bool
|
|
415
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
416
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
417
|
+
:type undo: typing.Optional[bool]
|
|
418
418
|
"""
|
|
419
419
|
|
|
420
420
|
...
|
|
421
421
|
|
|
422
422
|
def mouse_execute(
|
|
423
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
424
|
-
execution_context: typing.Union[str, int] = None,
|
|
425
|
-
undo: bool = None,
|
|
423
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
424
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
425
|
+
undo: typing.Optional[bool] = None,
|
|
426
426
|
):
|
|
427
427
|
"""Perform the current execute action for the file under the cursor (e.g. open the file)
|
|
428
428
|
|
|
429
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
430
|
-
:type execution_context: typing.Union[str, int]
|
|
431
|
-
:type undo: bool
|
|
429
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
430
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
431
|
+
:type undo: typing.Optional[bool]
|
|
432
432
|
"""
|
|
433
433
|
|
|
434
434
|
...
|
|
435
435
|
|
|
436
436
|
def next(
|
|
437
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
438
|
-
execution_context: typing.Union[str, int] = None,
|
|
439
|
-
undo: bool = None,
|
|
437
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
438
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
439
|
+
undo: typing.Optional[bool] = None,
|
|
440
440
|
):
|
|
441
441
|
"""Move to next folder
|
|
442
442
|
|
|
443
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
444
|
-
:type execution_context: typing.Union[str, int]
|
|
445
|
-
:type undo: bool
|
|
443
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
444
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
445
|
+
:type undo: typing.Optional[bool]
|
|
446
446
|
"""
|
|
447
447
|
|
|
448
448
|
...
|
|
449
449
|
|
|
450
450
|
def pack_all(
|
|
451
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
452
|
-
execution_context: typing.Union[str, int] = None,
|
|
453
|
-
undo: bool = None,
|
|
451
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
452
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
453
|
+
undo: typing.Optional[bool] = None,
|
|
454
454
|
):
|
|
455
455
|
"""Pack all used external files into this .blend
|
|
456
456
|
|
|
457
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
458
|
-
:type execution_context: typing.Union[str, int]
|
|
459
|
-
:type undo: bool
|
|
457
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
458
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
459
|
+
:type undo: typing.Optional[bool]
|
|
460
460
|
"""
|
|
461
461
|
|
|
462
462
|
...
|
|
463
463
|
|
|
464
464
|
def pack_libraries(
|
|
465
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
466
|
-
execution_context: typing.Union[str, int] = None,
|
|
467
|
-
undo: bool = None,
|
|
465
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
466
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
467
|
+
undo: typing.Optional[bool] = None,
|
|
468
468
|
):
|
|
469
469
|
"""Store all data-blocks linked from other .blend files in the current .blend file. Library references are preserved so the linked data-blocks can be unpacked again
|
|
470
470
|
|
|
471
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
472
|
-
:type execution_context: typing.Union[str, int]
|
|
473
|
-
:type undo: bool
|
|
471
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
472
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
473
|
+
:type undo: typing.Optional[bool]
|
|
474
474
|
"""
|
|
475
475
|
|
|
476
476
|
...
|
|
477
477
|
|
|
478
478
|
def parent(
|
|
479
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
480
|
-
execution_context: typing.Union[str, int] = None,
|
|
481
|
-
undo: bool = None,
|
|
479
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
480
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
481
|
+
undo: typing.Optional[bool] = None,
|
|
482
482
|
):
|
|
483
483
|
"""Move to parent directory
|
|
484
484
|
|
|
485
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
486
|
-
:type execution_context: typing.Union[str, int]
|
|
487
|
-
:type undo: bool
|
|
485
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
486
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
487
|
+
:type undo: typing.Optional[bool]
|
|
488
488
|
"""
|
|
489
489
|
|
|
490
490
|
...
|
|
491
491
|
|
|
492
492
|
def previous(
|
|
493
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
494
|
-
execution_context: typing.Union[str, int] = None,
|
|
495
|
-
undo: bool = None,
|
|
493
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
494
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
495
|
+
undo: typing.Optional[bool] = None,
|
|
496
496
|
):
|
|
497
497
|
"""Move to previous folder
|
|
498
498
|
|
|
499
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
500
|
-
:type execution_context: typing.Union[str, int]
|
|
501
|
-
:type undo: bool
|
|
499
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
500
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
501
|
+
:type undo: typing.Optional[bool]
|
|
502
502
|
"""
|
|
503
503
|
|
|
504
504
|
...
|
|
505
505
|
|
|
506
506
|
def refresh(
|
|
507
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
508
|
-
execution_context: typing.Union[str, int] = None,
|
|
509
|
-
undo: bool = None,
|
|
507
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
508
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
509
|
+
undo: typing.Optional[bool] = None,
|
|
510
510
|
):
|
|
511
511
|
"""Refresh the file list
|
|
512
512
|
|
|
513
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
514
|
-
:type execution_context: typing.Union[str, int]
|
|
515
|
-
:type undo: bool
|
|
513
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
514
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
515
|
+
:type undo: typing.Optional[bool]
|
|
516
516
|
"""
|
|
517
517
|
|
|
518
518
|
...
|
|
519
519
|
|
|
520
520
|
def rename(
|
|
521
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
522
|
-
execution_context: typing.Union[str, int] = None,
|
|
523
|
-
undo: bool = None,
|
|
521
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
522
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
523
|
+
undo: typing.Optional[bool] = None,
|
|
524
524
|
):
|
|
525
525
|
"""Rename file or file directory
|
|
526
526
|
|
|
527
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
528
|
-
:type execution_context: typing.Union[str, int]
|
|
529
|
-
:type undo: bool
|
|
527
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
528
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
529
|
+
:type undo: typing.Optional[bool]
|
|
530
530
|
"""
|
|
531
531
|
|
|
532
532
|
...
|
|
533
533
|
|
|
534
534
|
def report_missing_files(
|
|
535
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
536
|
-
execution_context: typing.Union[str, int] = None,
|
|
537
|
-
undo: bool = None,
|
|
535
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
536
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
537
|
+
undo: typing.Optional[bool] = None,
|
|
538
538
|
):
|
|
539
539
|
"""Report all missing external files
|
|
540
540
|
|
|
541
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
542
|
-
:type execution_context: typing.Union[str, int]
|
|
543
|
-
:type undo: bool
|
|
541
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
542
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
543
|
+
:type undo: typing.Optional[bool]
|
|
544
544
|
"""
|
|
545
545
|
|
|
546
546
|
...
|
|
547
547
|
|
|
548
548
|
def reset_recent(
|
|
549
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
550
|
-
execution_context: typing.Union[str, int] = None,
|
|
551
|
-
undo: bool = None,
|
|
549
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
550
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
551
|
+
undo: typing.Optional[bool] = None,
|
|
552
552
|
):
|
|
553
553
|
"""Reset recent files
|
|
554
554
|
|
|
555
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
556
|
-
:type execution_context: typing.Union[str, int]
|
|
557
|
-
:type undo: bool
|
|
555
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
556
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
557
|
+
:type undo: typing.Optional[bool]
|
|
558
558
|
"""
|
|
559
559
|
|
|
560
560
|
...
|
|
561
561
|
|
|
562
562
|
def select(
|
|
563
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
564
|
-
execution_context: typing.Union[str, int] = None,
|
|
565
|
-
undo: bool = None,
|
|
566
|
-
wait_to_deselect_others: typing.Union[bool, typing.Any] = False,
|
|
567
|
-
mouse_x: typing.Any = 0,
|
|
568
|
-
mouse_y: typing.Any = 0,
|
|
569
|
-
extend: typing.Union[bool, typing.Any] = False,
|
|
570
|
-
fill: typing.Union[bool, typing.Any] = False,
|
|
571
|
-
open: typing.Union[bool, typing.Any] = True,
|
|
572
|
-
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
573
|
-
only_activate_if_selected: typing.Union[bool, typing.Any] = False,
|
|
574
|
-
pass_through: typing.Union[bool, typing.Any] = False,
|
|
563
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
564
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
565
|
+
undo: typing.Optional[bool] = None,
|
|
566
|
+
wait_to_deselect_others: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
567
|
+
mouse_x: typing.Optional[typing.Any] = 0,
|
|
568
|
+
mouse_y: typing.Optional[typing.Any] = 0,
|
|
569
|
+
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
570
|
+
fill: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
571
|
+
open: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
572
|
+
deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
573
|
+
only_activate_if_selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
574
|
+
pass_through: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
575
575
|
):
|
|
576
576
|
"""Handle mouse clicks to select and activate items
|
|
577
577
|
|
|
578
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
579
|
-
:type execution_context: typing.Union[str, int]
|
|
580
|
-
:type undo: bool
|
|
578
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
579
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
580
|
+
:type undo: typing.Optional[bool]
|
|
581
581
|
:param wait_to_deselect_others: Wait to Deselect Others
|
|
582
|
-
:type wait_to_deselect_others: typing.Union[bool, typing.Any]
|
|
582
|
+
:type wait_to_deselect_others: typing.Optional[typing.Union[bool, typing.Any]]
|
|
583
583
|
:param mouse_x: Mouse X
|
|
584
|
-
:type mouse_x: typing.Any
|
|
584
|
+
:type mouse_x: typing.Optional[typing.Any]
|
|
585
585
|
:param mouse_y: Mouse Y
|
|
586
|
-
:type mouse_y: typing.Any
|
|
586
|
+
:type mouse_y: typing.Optional[typing.Any]
|
|
587
587
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
588
|
-
:type extend: typing.Union[bool, typing.Any]
|
|
588
|
+
:type extend: typing.Optional[typing.Union[bool, typing.Any]]
|
|
589
589
|
:param fill: Fill, Select everything beginning with the last selection
|
|
590
|
-
:type fill: typing.Union[bool, typing.Any]
|
|
590
|
+
:type fill: typing.Optional[typing.Union[bool, typing.Any]]
|
|
591
591
|
:param open: Open, Open a directory when selecting it
|
|
592
|
-
:type open: typing.Union[bool, typing.Any]
|
|
592
|
+
:type open: typing.Optional[typing.Union[bool, typing.Any]]
|
|
593
593
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
594
|
-
:type deselect_all: typing.Union[bool, typing.Any]
|
|
594
|
+
:type deselect_all: typing.Optional[typing.Union[bool, typing.Any]]
|
|
595
595
|
:param only_activate_if_selected: Only Activate if Selected, Do not change selection if the item under the cursor is already selected, only activate it
|
|
596
|
-
:type only_activate_if_selected: typing.Union[bool, typing.Any]
|
|
596
|
+
:type only_activate_if_selected: typing.Optional[typing.Union[bool, typing.Any]]
|
|
597
597
|
:param pass_through: Pass Through, Even on successful execution, pass the event on so other operators can execute on it as well
|
|
598
|
-
:type pass_through: typing.Union[bool, typing.Any]
|
|
598
|
+
:type pass_through: typing.Optional[typing.Union[bool, typing.Any]]
|
|
599
599
|
"""
|
|
600
600
|
|
|
601
601
|
...
|
|
602
602
|
|
|
603
603
|
def select_all(
|
|
604
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
605
|
-
execution_context: typing.Union[str, int] = None,
|
|
606
|
-
undo: bool = None,
|
|
607
|
-
action: typing.Any = "TOGGLE",
|
|
604
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
605
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
606
|
+
undo: typing.Optional[bool] = None,
|
|
607
|
+
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
608
608
|
):
|
|
609
609
|
"""Select or deselect all files
|
|
610
610
|
|
|
611
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
612
|
-
:type execution_context: typing.Union[str, int]
|
|
613
|
-
:type undo: bool
|
|
611
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
612
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
613
|
+
:type undo: typing.Optional[bool]
|
|
614
614
|
:param action: Action, Selection action to execute
|
|
615
615
|
|
|
616
616
|
TOGGLE
|
|
@@ -624,22 +624,22 @@ def select_all(
|
|
|
624
624
|
|
|
625
625
|
INVERT
|
|
626
626
|
Invert -- Invert selection of all elements.
|
|
627
|
-
:type action: typing.Any
|
|
627
|
+
:type action: typing.Optional[typing.Any]
|
|
628
628
|
"""
|
|
629
629
|
|
|
630
630
|
...
|
|
631
631
|
|
|
632
632
|
def select_bookmark(
|
|
633
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
634
|
-
execution_context: typing.Union[str, int] = None,
|
|
635
|
-
undo: bool = None,
|
|
633
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
634
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
635
|
+
undo: typing.Optional[bool] = None,
|
|
636
636
|
dir: typing.Union[str, typing.Any] = "",
|
|
637
637
|
):
|
|
638
638
|
"""Select a bookmarked directory
|
|
639
639
|
|
|
640
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
641
|
-
:type execution_context: typing.Union[str, int]
|
|
642
|
-
:type undo: bool
|
|
640
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
641
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
642
|
+
:type undo: typing.Optional[bool]
|
|
643
643
|
:param dir: Directory
|
|
644
644
|
:type dir: typing.Union[str, typing.Any]
|
|
645
645
|
"""
|
|
@@ -647,31 +647,31 @@ def select_bookmark(
|
|
|
647
647
|
...
|
|
648
648
|
|
|
649
649
|
def select_box(
|
|
650
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
651
|
-
execution_context: typing.Union[str, int] = None,
|
|
652
|
-
undo: bool = None,
|
|
653
|
-
xmin: typing.Any = 0,
|
|
654
|
-
xmax: typing.Any = 0,
|
|
655
|
-
ymin: typing.Any = 0,
|
|
656
|
-
ymax: typing.Any = 0,
|
|
657
|
-
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
658
|
-
mode: typing.Any = "SET",
|
|
650
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
651
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
652
|
+
undo: typing.Optional[bool] = None,
|
|
653
|
+
xmin: typing.Optional[typing.Any] = 0,
|
|
654
|
+
xmax: typing.Optional[typing.Any] = 0,
|
|
655
|
+
ymin: typing.Optional[typing.Any] = 0,
|
|
656
|
+
ymax: typing.Optional[typing.Any] = 0,
|
|
657
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
658
|
+
mode: typing.Optional[typing.Any] = "SET",
|
|
659
659
|
):
|
|
660
660
|
"""Activate/select the file(s) contained in the border
|
|
661
661
|
|
|
662
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
663
|
-
:type execution_context: typing.Union[str, int]
|
|
664
|
-
:type undo: bool
|
|
662
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
663
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
664
|
+
:type undo: typing.Optional[bool]
|
|
665
665
|
:param xmin: X Min
|
|
666
|
-
:type xmin: typing.Any
|
|
666
|
+
:type xmin: typing.Optional[typing.Any]
|
|
667
667
|
:param xmax: X Max
|
|
668
|
-
:type xmax: typing.Any
|
|
668
|
+
:type xmax: typing.Optional[typing.Any]
|
|
669
669
|
:param ymin: Y Min
|
|
670
|
-
:type ymin: typing.Any
|
|
670
|
+
:type ymin: typing.Optional[typing.Any]
|
|
671
671
|
:param ymax: Y Max
|
|
672
|
-
:type ymax: typing.Any
|
|
672
|
+
:type ymax: typing.Optional[typing.Any]
|
|
673
673
|
:param wait_for_input: Wait for Input
|
|
674
|
-
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
674
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
675
675
|
:param mode: Mode
|
|
676
676
|
|
|
677
677
|
SET
|
|
@@ -682,140 +682,140 @@ def select_box(
|
|
|
682
682
|
|
|
683
683
|
SUB
|
|
684
684
|
Subtract -- Subtract existing selection.
|
|
685
|
-
:type mode: typing.Any
|
|
685
|
+
:type mode: typing.Optional[typing.Any]
|
|
686
686
|
"""
|
|
687
687
|
|
|
688
688
|
...
|
|
689
689
|
|
|
690
690
|
def select_walk(
|
|
691
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
692
|
-
execution_context: typing.Union[str, int] = None,
|
|
693
|
-
undo: bool = None,
|
|
694
|
-
direction: typing.Any = "UP",
|
|
695
|
-
extend: typing.Union[bool, typing.Any] = False,
|
|
696
|
-
fill: typing.Union[bool, typing.Any] = False,
|
|
691
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
692
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
693
|
+
undo: typing.Optional[bool] = None,
|
|
694
|
+
direction: typing.Optional[typing.Any] = "UP",
|
|
695
|
+
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
696
|
+
fill: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
697
697
|
):
|
|
698
698
|
"""Select/Deselect files by walking through them
|
|
699
699
|
|
|
700
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
701
|
-
:type execution_context: typing.Union[str, int]
|
|
702
|
-
:type undo: bool
|
|
700
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
701
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
702
|
+
:type undo: typing.Optional[bool]
|
|
703
703
|
:param direction: Walk Direction, Select/Deselect element in this direction
|
|
704
|
-
:type direction: typing.Any
|
|
704
|
+
:type direction: typing.Optional[typing.Any]
|
|
705
705
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
706
|
-
:type extend: typing.Union[bool, typing.Any]
|
|
706
|
+
:type extend: typing.Optional[typing.Union[bool, typing.Any]]
|
|
707
707
|
:param fill: Fill, Select everything beginning with the last selection
|
|
708
|
-
:type fill: typing.Union[bool, typing.Any]
|
|
708
|
+
:type fill: typing.Optional[typing.Union[bool, typing.Any]]
|
|
709
709
|
"""
|
|
710
710
|
|
|
711
711
|
...
|
|
712
712
|
|
|
713
713
|
def smoothscroll(
|
|
714
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
715
|
-
execution_context: typing.Union[str, int] = None,
|
|
716
|
-
undo: bool = None,
|
|
714
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
715
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
716
|
+
undo: typing.Optional[bool] = None,
|
|
717
717
|
):
|
|
718
718
|
"""Smooth scroll to make editable file visible
|
|
719
719
|
|
|
720
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
721
|
-
:type execution_context: typing.Union[str, int]
|
|
722
|
-
:type undo: bool
|
|
720
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
721
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
722
|
+
:type undo: typing.Optional[bool]
|
|
723
723
|
"""
|
|
724
724
|
|
|
725
725
|
...
|
|
726
726
|
|
|
727
727
|
def sort_column_ui_context(
|
|
728
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
729
|
-
execution_context: typing.Union[str, int] = None,
|
|
730
|
-
undo: bool = None,
|
|
728
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
729
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
730
|
+
undo: typing.Optional[bool] = None,
|
|
731
731
|
):
|
|
732
732
|
"""Change sorting to use column under cursor
|
|
733
733
|
|
|
734
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
735
|
-
:type execution_context: typing.Union[str, int]
|
|
736
|
-
:type undo: bool
|
|
734
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
735
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
736
|
+
:type undo: typing.Optional[bool]
|
|
737
737
|
"""
|
|
738
738
|
|
|
739
739
|
...
|
|
740
740
|
|
|
741
741
|
def start_filter(
|
|
742
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
743
|
-
execution_context: typing.Union[str, int] = None,
|
|
744
|
-
undo: bool = None,
|
|
742
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
743
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
744
|
+
undo: typing.Optional[bool] = None,
|
|
745
745
|
):
|
|
746
746
|
"""Start entering filter text
|
|
747
747
|
|
|
748
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
749
|
-
:type execution_context: typing.Union[str, int]
|
|
750
|
-
:type undo: bool
|
|
748
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
749
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
750
|
+
:type undo: typing.Optional[bool]
|
|
751
751
|
"""
|
|
752
752
|
|
|
753
753
|
...
|
|
754
754
|
|
|
755
755
|
def unpack_all(
|
|
756
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
757
|
-
execution_context: typing.Union[str, int] = None,
|
|
758
|
-
undo: bool = None,
|
|
759
|
-
method: typing.Any = "USE_LOCAL",
|
|
756
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
757
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
758
|
+
undo: typing.Optional[bool] = None,
|
|
759
|
+
method: typing.Optional[typing.Any] = "USE_LOCAL",
|
|
760
760
|
):
|
|
761
761
|
"""Unpack all files packed into this .blend to external ones
|
|
762
762
|
|
|
763
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
764
|
-
:type execution_context: typing.Union[str, int]
|
|
765
|
-
:type undo: bool
|
|
763
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
764
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
765
|
+
:type undo: typing.Optional[bool]
|
|
766
766
|
:param method: Method, How to unpack
|
|
767
|
-
:type method: typing.Any
|
|
767
|
+
:type method: typing.Optional[typing.Any]
|
|
768
768
|
"""
|
|
769
769
|
|
|
770
770
|
...
|
|
771
771
|
|
|
772
772
|
def unpack_item(
|
|
773
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
774
|
-
execution_context: typing.Union[str, int] = None,
|
|
775
|
-
undo: bool = None,
|
|
776
|
-
method: typing.Any = "USE_LOCAL",
|
|
773
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
774
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
775
|
+
undo: typing.Optional[bool] = None,
|
|
776
|
+
method: typing.Optional[typing.Any] = "USE_LOCAL",
|
|
777
777
|
id_name: typing.Union[str, typing.Any] = "",
|
|
778
|
-
id_type: typing.Any = 19785,
|
|
778
|
+
id_type: typing.Optional[typing.Any] = 19785,
|
|
779
779
|
):
|
|
780
780
|
"""Unpack this file to an external file
|
|
781
781
|
|
|
782
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
783
|
-
:type execution_context: typing.Union[str, int]
|
|
784
|
-
:type undo: bool
|
|
782
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
783
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
784
|
+
:type undo: typing.Optional[bool]
|
|
785
785
|
:param method: Method, How to unpack
|
|
786
|
-
:type method: typing.Any
|
|
786
|
+
:type method: typing.Optional[typing.Any]
|
|
787
787
|
:param id_name: ID Name, Name of ID block to unpack
|
|
788
788
|
:type id_name: typing.Union[str, typing.Any]
|
|
789
789
|
:param id_type: ID Type, Identifier type of ID block
|
|
790
|
-
:type id_type: typing.Any
|
|
790
|
+
:type id_type: typing.Optional[typing.Any]
|
|
791
791
|
"""
|
|
792
792
|
|
|
793
793
|
...
|
|
794
794
|
|
|
795
795
|
def unpack_libraries(
|
|
796
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
797
|
-
execution_context: typing.Union[str, int] = None,
|
|
798
|
-
undo: bool = None,
|
|
796
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
797
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
798
|
+
undo: typing.Optional[bool] = None,
|
|
799
799
|
):
|
|
800
800
|
"""Restore all packed linked data-blocks to their original locations
|
|
801
801
|
|
|
802
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
803
|
-
:type execution_context: typing.Union[str, int]
|
|
804
|
-
:type undo: bool
|
|
802
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
803
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
804
|
+
:type undo: typing.Optional[bool]
|
|
805
805
|
"""
|
|
806
806
|
|
|
807
807
|
...
|
|
808
808
|
|
|
809
809
|
def view_selected(
|
|
810
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
811
|
-
execution_context: typing.Union[str, int] = None,
|
|
812
|
-
undo: bool = None,
|
|
810
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
811
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
812
|
+
undo: typing.Optional[bool] = None,
|
|
813
813
|
):
|
|
814
814
|
"""Scroll the selected files into view
|
|
815
815
|
|
|
816
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
817
|
-
:type execution_context: typing.Union[str, int]
|
|
818
|
-
:type undo: bool
|
|
816
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
817
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
818
|
+
:type undo: typing.Optional[bool]
|
|
819
819
|
"""
|
|
820
820
|
|
|
821
821
|
...
|