fake-bpy-module 20240224__py3-none-any.whl → 20240326__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +268 -262
- bmesh/utils/__init__.pyi +55 -55
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/file/__init__.pyi
CHANGED
|
@@ -3,66 +3,76 @@ import bpy.types
|
|
|
3
3
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
|
-
def autopack_toggle(
|
|
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,
|
|
10
|
+
):
|
|
7
11
|
"""Automatically pack all external files into the .blend file
|
|
8
12
|
|
|
9
|
-
:type override_context: typing.
|
|
10
|
-
:type execution_context: typing.
|
|
11
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
12
16
|
"""
|
|
13
17
|
|
|
14
18
|
...
|
|
15
19
|
|
|
16
|
-
def bookmark_add(
|
|
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,
|
|
24
|
+
):
|
|
17
25
|
"""Add a bookmark for the selected/active directory
|
|
18
26
|
|
|
19
|
-
:type override_context: typing.
|
|
20
|
-
:type execution_context: typing.
|
|
21
|
-
:type undo:
|
|
27
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
+
:type execution_context: typing.Union[str, int]
|
|
29
|
+
:type undo: bool
|
|
22
30
|
"""
|
|
23
31
|
|
|
24
32
|
...
|
|
25
33
|
|
|
26
|
-
def bookmark_cleanup(
|
|
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,
|
|
38
|
+
):
|
|
27
39
|
"""Delete all invalid bookmarks
|
|
28
40
|
|
|
29
|
-
:type override_context: typing.
|
|
30
|
-
:type execution_context: typing.
|
|
31
|
-
:type undo:
|
|
41
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
42
|
+
:type execution_context: typing.Union[str, int]
|
|
43
|
+
:type undo: bool
|
|
32
44
|
"""
|
|
33
45
|
|
|
34
46
|
...
|
|
35
47
|
|
|
36
48
|
def bookmark_delete(
|
|
37
|
-
override_context=None,
|
|
38
|
-
execution_context=None,
|
|
39
|
-
undo=None,
|
|
40
|
-
|
|
41
|
-
index: typing.Optional[typing.Any] = -1,
|
|
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,
|
|
42
53
|
):
|
|
43
54
|
"""Delete selected bookmark
|
|
44
55
|
|
|
45
|
-
:type override_context: typing.
|
|
46
|
-
:type execution_context: typing.
|
|
47
|
-
:type undo:
|
|
56
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
57
|
+
:type execution_context: typing.Union[str, int]
|
|
58
|
+
:type undo: bool
|
|
48
59
|
:param index: Index
|
|
49
|
-
:type index: typing.
|
|
60
|
+
:type index: typing.Any
|
|
50
61
|
"""
|
|
51
62
|
|
|
52
63
|
...
|
|
53
64
|
|
|
54
65
|
def bookmark_move(
|
|
55
|
-
override_context=None,
|
|
56
|
-
execution_context=None,
|
|
57
|
-
undo=None,
|
|
58
|
-
|
|
59
|
-
direction: typing.Optional[typing.Any] = "TOP",
|
|
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",
|
|
60
70
|
):
|
|
61
71
|
"""Move the active bookmark up/down in the list
|
|
62
72
|
|
|
63
|
-
:type override_context: typing.
|
|
64
|
-
:type execution_context: typing.
|
|
65
|
-
:type undo:
|
|
73
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
+
:type execution_context: typing.Union[str, int]
|
|
75
|
+
:type undo: bool
|
|
66
76
|
:param direction: Direction, Direction to move the active bookmark towards
|
|
67
77
|
|
|
68
78
|
TOP
|
|
@@ -76,88 +86,102 @@ def bookmark_move(
|
|
|
76
86
|
|
|
77
87
|
BOTTOM
|
|
78
88
|
Bottom -- Bottom of the list.
|
|
79
|
-
:type direction: typing.
|
|
89
|
+
:type direction: typing.Any
|
|
80
90
|
"""
|
|
81
91
|
|
|
82
92
|
...
|
|
83
93
|
|
|
84
|
-
def cancel(
|
|
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,
|
|
98
|
+
):
|
|
85
99
|
"""Cancel loading of selected file
|
|
86
100
|
|
|
87
|
-
:type override_context: typing.
|
|
88
|
-
:type execution_context: typing.
|
|
89
|
-
:type undo:
|
|
101
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
102
|
+
:type execution_context: typing.Union[str, int]
|
|
103
|
+
:type undo: bool
|
|
90
104
|
"""
|
|
91
105
|
|
|
92
106
|
...
|
|
93
107
|
|
|
94
|
-
def delete(
|
|
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,
|
|
112
|
+
):
|
|
95
113
|
"""Move selected files to the trash or recycle bin
|
|
96
114
|
|
|
97
|
-
:type override_context: typing.
|
|
98
|
-
:type execution_context: typing.
|
|
99
|
-
:type undo:
|
|
115
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
116
|
+
:type execution_context: typing.Union[str, int]
|
|
117
|
+
:type undo: bool
|
|
100
118
|
"""
|
|
101
119
|
|
|
102
120
|
...
|
|
103
121
|
|
|
104
122
|
def directory_new(
|
|
105
|
-
override_context=None,
|
|
106
|
-
execution_context=None,
|
|
107
|
-
undo=None,
|
|
108
|
-
*,
|
|
123
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
124
|
+
execution_context: typing.Union[str, int] = None,
|
|
125
|
+
undo: bool = None,
|
|
109
126
|
directory: typing.Union[str, typing.Any] = "",
|
|
110
|
-
open: typing.
|
|
111
|
-
confirm: typing.
|
|
127
|
+
open: typing.Union[bool, typing.Any] = False,
|
|
128
|
+
confirm: typing.Union[bool, typing.Any] = True,
|
|
112
129
|
):
|
|
113
130
|
"""Create a new directory
|
|
114
131
|
|
|
115
|
-
:type override_context: typing.
|
|
116
|
-
:type execution_context: typing.
|
|
117
|
-
:type undo:
|
|
132
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
133
|
+
:type execution_context: typing.Union[str, int]
|
|
134
|
+
:type undo: bool
|
|
118
135
|
:param directory: Directory, Name of new directory
|
|
119
136
|
:type directory: typing.Union[str, typing.Any]
|
|
120
137
|
:param open: Open, Open new directory
|
|
121
|
-
:type open: typing.
|
|
138
|
+
:type open: typing.Union[bool, typing.Any]
|
|
122
139
|
:param confirm: Confirm, Prompt for confirmation
|
|
123
|
-
:type confirm: typing.
|
|
140
|
+
:type confirm: typing.Union[bool, typing.Any]
|
|
124
141
|
"""
|
|
125
142
|
|
|
126
143
|
...
|
|
127
144
|
|
|
128
|
-
def edit_directory_path(
|
|
145
|
+
def edit_directory_path(
|
|
146
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
147
|
+
execution_context: typing.Union[str, int] = None,
|
|
148
|
+
undo: bool = None,
|
|
149
|
+
):
|
|
129
150
|
"""Start editing directory field
|
|
130
151
|
|
|
131
|
-
:type override_context: typing.
|
|
132
|
-
:type execution_context: typing.
|
|
133
|
-
:type undo:
|
|
152
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
153
|
+
:type execution_context: typing.Union[str, int]
|
|
154
|
+
:type undo: bool
|
|
134
155
|
"""
|
|
135
156
|
|
|
136
157
|
...
|
|
137
158
|
|
|
138
|
-
def execute(
|
|
159
|
+
def execute(
|
|
160
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
161
|
+
execution_context: typing.Union[str, int] = None,
|
|
162
|
+
undo: bool = None,
|
|
163
|
+
):
|
|
139
164
|
"""Execute selected file
|
|
140
165
|
|
|
141
|
-
:type override_context: typing.
|
|
142
|
-
:type execution_context: typing.
|
|
143
|
-
:type undo:
|
|
166
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
167
|
+
:type execution_context: typing.Union[str, int]
|
|
168
|
+
:type undo: bool
|
|
144
169
|
"""
|
|
145
170
|
|
|
146
171
|
...
|
|
147
172
|
|
|
148
173
|
def external_operation(
|
|
149
|
-
override_context=None,
|
|
150
|
-
execution_context=None,
|
|
151
|
-
undo=None,
|
|
152
|
-
*,
|
|
174
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
+
execution_context: typing.Union[str, int] = None,
|
|
176
|
+
undo: bool = None,
|
|
153
177
|
filepath: typing.Union[str, typing.Any] = "",
|
|
154
|
-
operation: typing.
|
|
178
|
+
operation: typing.Any = "OPEN",
|
|
155
179
|
):
|
|
156
180
|
"""Perform external operation on a file or folder
|
|
157
181
|
|
|
158
|
-
:type override_context: typing.
|
|
159
|
-
:type execution_context: typing.
|
|
160
|
-
:type undo:
|
|
182
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
+
:type execution_context: typing.Union[str, int]
|
|
184
|
+
:type undo: bool
|
|
161
185
|
:param filepath: File or folder path
|
|
162
186
|
:type filepath: typing.Union[str, typing.Any]
|
|
163
187
|
:param operation: Operation, Operation to perform on the file or path
|
|
@@ -206,125 +230,122 @@ def external_operation(
|
|
|
206
230
|
|
|
207
231
|
CMD
|
|
208
232
|
Command Prompt Here -- Open a command prompt here.
|
|
209
|
-
:type operation: typing.
|
|
233
|
+
:type operation: typing.Any
|
|
210
234
|
"""
|
|
211
235
|
|
|
212
236
|
...
|
|
213
237
|
|
|
214
238
|
def filenum(
|
|
215
|
-
override_context=None,
|
|
216
|
-
execution_context=None,
|
|
217
|
-
undo=None,
|
|
218
|
-
|
|
219
|
-
increment: typing.Optional[typing.Any] = 1,
|
|
239
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
240
|
+
execution_context: typing.Union[str, int] = None,
|
|
241
|
+
undo: bool = None,
|
|
242
|
+
increment: typing.Any = 1,
|
|
220
243
|
):
|
|
221
244
|
"""Increment number in filename
|
|
222
245
|
|
|
223
|
-
:type override_context: typing.
|
|
224
|
-
:type execution_context: typing.
|
|
225
|
-
:type undo:
|
|
246
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
247
|
+
:type execution_context: typing.Union[str, int]
|
|
248
|
+
:type undo: bool
|
|
226
249
|
:param increment: Increment
|
|
227
|
-
:type increment: typing.
|
|
250
|
+
:type increment: typing.Any
|
|
228
251
|
"""
|
|
229
252
|
|
|
230
253
|
...
|
|
231
254
|
|
|
232
255
|
def filepath_drop(
|
|
233
|
-
override_context=None,
|
|
234
|
-
execution_context=None,
|
|
235
|
-
undo=None,
|
|
236
|
-
*,
|
|
256
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
257
|
+
execution_context: typing.Union[str, int] = None,
|
|
258
|
+
undo: bool = None,
|
|
237
259
|
filepath: typing.Union[str, typing.Any] = "Path",
|
|
238
260
|
):
|
|
239
261
|
"""Undocumented, consider contributing.
|
|
240
262
|
|
|
241
|
-
:type override_context: typing.
|
|
242
|
-
:type execution_context: typing.
|
|
243
|
-
:type undo:
|
|
263
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
264
|
+
:type execution_context: typing.Union[str, int]
|
|
265
|
+
:type undo: bool
|
|
244
266
|
:type filepath: typing.Union[str, typing.Any]
|
|
245
267
|
"""
|
|
246
268
|
|
|
247
269
|
...
|
|
248
270
|
|
|
249
271
|
def find_missing_files(
|
|
250
|
-
override_context=None,
|
|
251
|
-
execution_context=None,
|
|
252
|
-
undo=None,
|
|
253
|
-
|
|
254
|
-
find_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
272
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
273
|
+
execution_context: typing.Union[str, int] = None,
|
|
274
|
+
undo: bool = None,
|
|
275
|
+
find_all: typing.Union[bool, typing.Any] = False,
|
|
255
276
|
directory: typing.Union[str, typing.Any] = "",
|
|
256
|
-
hide_props_region: typing.
|
|
257
|
-
check_existing: typing.
|
|
258
|
-
filter_blender: typing.
|
|
259
|
-
filter_backup: typing.
|
|
260
|
-
filter_image: typing.
|
|
261
|
-
filter_movie: typing.
|
|
262
|
-
filter_python: typing.
|
|
263
|
-
filter_font: typing.
|
|
264
|
-
filter_sound: typing.
|
|
265
|
-
filter_text: typing.
|
|
266
|
-
filter_archive: typing.
|
|
267
|
-
filter_btx: typing.
|
|
268
|
-
filter_collada: typing.
|
|
269
|
-
filter_alembic: typing.
|
|
270
|
-
filter_usd: typing.
|
|
271
|
-
filter_obj: typing.
|
|
272
|
-
filter_volume: typing.
|
|
273
|
-
filter_folder: typing.
|
|
274
|
-
filter_blenlib: typing.
|
|
275
|
-
filemode: typing.
|
|
276
|
-
display_type: typing.
|
|
277
|
-
sort_method: typing.
|
|
277
|
+
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
278
|
+
check_existing: typing.Union[bool, typing.Any] = False,
|
|
279
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
280
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
281
|
+
filter_image: typing.Union[bool, typing.Any] = False,
|
|
282
|
+
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
283
|
+
filter_python: typing.Union[bool, typing.Any] = False,
|
|
284
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
285
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
286
|
+
filter_text: typing.Union[bool, typing.Any] = False,
|
|
287
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
288
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
289
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
290
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
291
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
292
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
293
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
294
|
+
filter_folder: typing.Union[bool, typing.Any] = False,
|
|
295
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
296
|
+
filemode: typing.Any = 9,
|
|
297
|
+
display_type: typing.Any = "DEFAULT",
|
|
298
|
+
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
278
299
|
):
|
|
279
300
|
"""Try to find missing external files
|
|
280
301
|
|
|
281
|
-
:type override_context: typing.
|
|
282
|
-
:type execution_context: typing.
|
|
283
|
-
:type undo:
|
|
302
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
303
|
+
:type execution_context: typing.Union[str, int]
|
|
304
|
+
:type undo: bool
|
|
284
305
|
:param find_all: Find All, Find all files in the search path (not just missing)
|
|
285
|
-
:type find_all: typing.
|
|
306
|
+
:type find_all: typing.Union[bool, typing.Any]
|
|
286
307
|
:param directory: Directory, Directory of the file
|
|
287
308
|
:type directory: typing.Union[str, typing.Any]
|
|
288
309
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
289
|
-
:type hide_props_region: typing.
|
|
310
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
290
311
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
291
|
-
:type check_existing: typing.
|
|
312
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
292
313
|
:param filter_blender: Filter .blend files
|
|
293
|
-
:type filter_blender: typing.
|
|
314
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
294
315
|
:param filter_backup: Filter .blend files
|
|
295
|
-
:type filter_backup: typing.
|
|
316
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
296
317
|
:param filter_image: Filter image files
|
|
297
|
-
:type filter_image: typing.
|
|
318
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
298
319
|
:param filter_movie: Filter movie files
|
|
299
|
-
:type filter_movie: typing.
|
|
320
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
300
321
|
:param filter_python: Filter Python files
|
|
301
|
-
:type filter_python: typing.
|
|
322
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
302
323
|
:param filter_font: Filter font files
|
|
303
|
-
:type filter_font: typing.
|
|
324
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
304
325
|
:param filter_sound: Filter sound files
|
|
305
|
-
:type filter_sound: typing.
|
|
326
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
306
327
|
:param filter_text: Filter text files
|
|
307
|
-
:type filter_text: typing.
|
|
328
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
308
329
|
:param filter_archive: Filter archive files
|
|
309
|
-
:type filter_archive: typing.
|
|
330
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
310
331
|
:param filter_btx: Filter btx files
|
|
311
|
-
:type filter_btx: typing.
|
|
332
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
312
333
|
:param filter_collada: Filter COLLADA files
|
|
313
|
-
:type filter_collada: typing.
|
|
334
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
314
335
|
:param filter_alembic: Filter Alembic files
|
|
315
|
-
:type filter_alembic: typing.
|
|
336
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
316
337
|
:param filter_usd: Filter USD files
|
|
317
|
-
:type filter_usd: typing.
|
|
338
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
318
339
|
:param filter_obj: Filter OBJ files
|
|
319
|
-
:type filter_obj: typing.
|
|
340
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
320
341
|
:param filter_volume: Filter OpenVDB volume files
|
|
321
|
-
:type filter_volume: typing.
|
|
342
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
322
343
|
:param filter_folder: Filter folders
|
|
323
|
-
:type filter_folder: typing.
|
|
344
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
324
345
|
:param filter_blenlib: Filter Blender IDs
|
|
325
|
-
:type filter_blenlib: typing.
|
|
346
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
326
347
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
327
|
-
:type filemode: typing.
|
|
348
|
+
:type filemode: typing.Any
|
|
328
349
|
:param display_type: Display Type
|
|
329
350
|
|
|
330
351
|
DEFAULT
|
|
@@ -338,207 +359,261 @@ def find_missing_files(
|
|
|
338
359
|
|
|
339
360
|
THUMBNAIL
|
|
340
361
|
Thumbnails -- Display files as thumbnails.
|
|
341
|
-
:type display_type: typing.
|
|
362
|
+
:type display_type: typing.Any
|
|
342
363
|
:param sort_method: File sorting mode
|
|
343
|
-
:type sort_method: typing.
|
|
364
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
344
365
|
"""
|
|
345
366
|
|
|
346
367
|
...
|
|
347
368
|
|
|
348
|
-
def hidedot(
|
|
369
|
+
def hidedot(
|
|
370
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
371
|
+
execution_context: typing.Union[str, int] = None,
|
|
372
|
+
undo: bool = None,
|
|
373
|
+
):
|
|
349
374
|
"""Toggle hide hidden dot files
|
|
350
375
|
|
|
351
|
-
:type override_context: typing.
|
|
352
|
-
:type execution_context: typing.
|
|
353
|
-
:type undo:
|
|
376
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
377
|
+
:type execution_context: typing.Union[str, int]
|
|
378
|
+
:type undo: bool
|
|
354
379
|
"""
|
|
355
380
|
|
|
356
381
|
...
|
|
357
382
|
|
|
358
|
-
def highlight(
|
|
383
|
+
def highlight(
|
|
384
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
385
|
+
execution_context: typing.Union[str, int] = None,
|
|
386
|
+
undo: bool = None,
|
|
387
|
+
):
|
|
359
388
|
"""Highlight selected file(s)
|
|
360
389
|
|
|
361
|
-
:type override_context: typing.
|
|
362
|
-
:type execution_context: typing.
|
|
363
|
-
:type undo:
|
|
390
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
391
|
+
:type execution_context: typing.Union[str, int]
|
|
392
|
+
:type undo: bool
|
|
364
393
|
"""
|
|
365
394
|
|
|
366
395
|
...
|
|
367
396
|
|
|
368
|
-
def make_paths_absolute(
|
|
397
|
+
def make_paths_absolute(
|
|
398
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
399
|
+
execution_context: typing.Union[str, int] = None,
|
|
400
|
+
undo: bool = None,
|
|
401
|
+
):
|
|
369
402
|
"""Make all paths to external files absolute
|
|
370
403
|
|
|
371
|
-
:type override_context: typing.
|
|
372
|
-
:type execution_context: typing.
|
|
373
|
-
:type undo:
|
|
404
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
405
|
+
:type execution_context: typing.Union[str, int]
|
|
406
|
+
:type undo: bool
|
|
374
407
|
"""
|
|
375
408
|
|
|
376
409
|
...
|
|
377
410
|
|
|
378
|
-
def make_paths_relative(
|
|
411
|
+
def make_paths_relative(
|
|
412
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
413
|
+
execution_context: typing.Union[str, int] = None,
|
|
414
|
+
undo: bool = None,
|
|
415
|
+
):
|
|
379
416
|
"""Make all paths to external files relative to current .blend
|
|
380
417
|
|
|
381
|
-
:type override_context: typing.
|
|
382
|
-
:type execution_context: typing.
|
|
383
|
-
:type undo:
|
|
418
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
419
|
+
:type execution_context: typing.Union[str, int]
|
|
420
|
+
:type undo: bool
|
|
384
421
|
"""
|
|
385
422
|
|
|
386
423
|
...
|
|
387
424
|
|
|
388
|
-
def mouse_execute(
|
|
425
|
+
def mouse_execute(
|
|
426
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
427
|
+
execution_context: typing.Union[str, int] = None,
|
|
428
|
+
undo: bool = None,
|
|
429
|
+
):
|
|
389
430
|
"""Perform the current execute action for the file under the cursor (e.g. open the file)
|
|
390
431
|
|
|
391
|
-
:type override_context: typing.
|
|
392
|
-
:type execution_context: typing.
|
|
393
|
-
:type undo:
|
|
432
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
433
|
+
:type execution_context: typing.Union[str, int]
|
|
434
|
+
:type undo: bool
|
|
394
435
|
"""
|
|
395
436
|
|
|
396
437
|
...
|
|
397
438
|
|
|
398
|
-
def next(
|
|
439
|
+
def next(
|
|
440
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
441
|
+
execution_context: typing.Union[str, int] = None,
|
|
442
|
+
undo: bool = None,
|
|
443
|
+
):
|
|
399
444
|
"""Move to next folder
|
|
400
445
|
|
|
401
|
-
:type override_context: typing.
|
|
402
|
-
:type execution_context: typing.
|
|
403
|
-
:type undo:
|
|
446
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
447
|
+
:type execution_context: typing.Union[str, int]
|
|
448
|
+
:type undo: bool
|
|
404
449
|
"""
|
|
405
450
|
|
|
406
451
|
...
|
|
407
452
|
|
|
408
|
-
def pack_all(
|
|
453
|
+
def pack_all(
|
|
454
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
455
|
+
execution_context: typing.Union[str, int] = None,
|
|
456
|
+
undo: bool = None,
|
|
457
|
+
):
|
|
409
458
|
"""Pack all used external files into this .blend
|
|
410
459
|
|
|
411
|
-
:type override_context: typing.
|
|
412
|
-
:type execution_context: typing.
|
|
413
|
-
:type undo:
|
|
460
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
461
|
+
:type execution_context: typing.Union[str, int]
|
|
462
|
+
:type undo: bool
|
|
414
463
|
"""
|
|
415
464
|
|
|
416
465
|
...
|
|
417
466
|
|
|
418
|
-
def pack_libraries(
|
|
467
|
+
def pack_libraries(
|
|
468
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
469
|
+
execution_context: typing.Union[str, int] = None,
|
|
470
|
+
undo: bool = None,
|
|
471
|
+
):
|
|
419
472
|
"""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
|
|
420
473
|
|
|
421
|
-
:type override_context: typing.
|
|
422
|
-
:type execution_context: typing.
|
|
423
|
-
:type undo:
|
|
474
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
475
|
+
:type execution_context: typing.Union[str, int]
|
|
476
|
+
:type undo: bool
|
|
424
477
|
"""
|
|
425
478
|
|
|
426
479
|
...
|
|
427
480
|
|
|
428
|
-
def parent(
|
|
481
|
+
def parent(
|
|
482
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
483
|
+
execution_context: typing.Union[str, int] = None,
|
|
484
|
+
undo: bool = None,
|
|
485
|
+
):
|
|
429
486
|
"""Move to parent directory
|
|
430
487
|
|
|
431
|
-
:type override_context: typing.
|
|
432
|
-
:type execution_context: typing.
|
|
433
|
-
:type undo:
|
|
488
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
489
|
+
:type execution_context: typing.Union[str, int]
|
|
490
|
+
:type undo: bool
|
|
434
491
|
"""
|
|
435
492
|
|
|
436
493
|
...
|
|
437
494
|
|
|
438
|
-
def previous(
|
|
495
|
+
def previous(
|
|
496
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
497
|
+
execution_context: typing.Union[str, int] = None,
|
|
498
|
+
undo: bool = None,
|
|
499
|
+
):
|
|
439
500
|
"""Move to previous folder
|
|
440
501
|
|
|
441
|
-
:type override_context: typing.
|
|
442
|
-
:type execution_context: typing.
|
|
443
|
-
:type undo:
|
|
502
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
503
|
+
:type execution_context: typing.Union[str, int]
|
|
504
|
+
:type undo: bool
|
|
444
505
|
"""
|
|
445
506
|
|
|
446
507
|
...
|
|
447
508
|
|
|
448
|
-
def refresh(
|
|
509
|
+
def refresh(
|
|
510
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
511
|
+
execution_context: typing.Union[str, int] = None,
|
|
512
|
+
undo: bool = None,
|
|
513
|
+
):
|
|
449
514
|
"""Refresh the file list
|
|
450
515
|
|
|
451
|
-
:type override_context: typing.
|
|
452
|
-
:type execution_context: typing.
|
|
453
|
-
:type undo:
|
|
516
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
517
|
+
:type execution_context: typing.Union[str, int]
|
|
518
|
+
:type undo: bool
|
|
454
519
|
"""
|
|
455
520
|
|
|
456
521
|
...
|
|
457
522
|
|
|
458
|
-
def rename(
|
|
523
|
+
def rename(
|
|
524
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
525
|
+
execution_context: typing.Union[str, int] = None,
|
|
526
|
+
undo: bool = None,
|
|
527
|
+
):
|
|
459
528
|
"""Rename file or file directory
|
|
460
529
|
|
|
461
|
-
:type override_context: typing.
|
|
462
|
-
:type execution_context: typing.
|
|
463
|
-
:type undo:
|
|
530
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
531
|
+
:type execution_context: typing.Union[str, int]
|
|
532
|
+
:type undo: bool
|
|
464
533
|
"""
|
|
465
534
|
|
|
466
535
|
...
|
|
467
536
|
|
|
468
|
-
def report_missing_files(
|
|
537
|
+
def report_missing_files(
|
|
538
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
539
|
+
execution_context: typing.Union[str, int] = None,
|
|
540
|
+
undo: bool = None,
|
|
541
|
+
):
|
|
469
542
|
"""Report all missing external files
|
|
470
543
|
|
|
471
|
-
:type override_context: typing.
|
|
472
|
-
:type execution_context: typing.
|
|
473
|
-
:type undo:
|
|
544
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
545
|
+
:type execution_context: typing.Union[str, int]
|
|
546
|
+
:type undo: bool
|
|
474
547
|
"""
|
|
475
548
|
|
|
476
549
|
...
|
|
477
550
|
|
|
478
|
-
def reset_recent(
|
|
551
|
+
def reset_recent(
|
|
552
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
553
|
+
execution_context: typing.Union[str, int] = None,
|
|
554
|
+
undo: bool = None,
|
|
555
|
+
):
|
|
479
556
|
"""Reset recent files
|
|
480
557
|
|
|
481
|
-
:type override_context: typing.
|
|
482
|
-
:type execution_context: typing.
|
|
483
|
-
:type undo:
|
|
558
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
559
|
+
:type execution_context: typing.Union[str, int]
|
|
560
|
+
:type undo: bool
|
|
484
561
|
"""
|
|
485
562
|
|
|
486
563
|
...
|
|
487
564
|
|
|
488
565
|
def select(
|
|
489
|
-
override_context=None,
|
|
490
|
-
execution_context=None,
|
|
491
|
-
undo=None,
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
pass_through: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
566
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
567
|
+
execution_context: typing.Union[str, int] = None,
|
|
568
|
+
undo: bool = None,
|
|
569
|
+
wait_to_deselect_others: typing.Union[bool, typing.Any] = False,
|
|
570
|
+
mouse_x: typing.Any = 0,
|
|
571
|
+
mouse_y: typing.Any = 0,
|
|
572
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
573
|
+
fill: typing.Union[bool, typing.Any] = False,
|
|
574
|
+
open: typing.Union[bool, typing.Any] = True,
|
|
575
|
+
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
576
|
+
only_activate_if_selected: typing.Union[bool, typing.Any] = False,
|
|
577
|
+
pass_through: typing.Union[bool, typing.Any] = False,
|
|
502
578
|
):
|
|
503
579
|
"""Handle mouse clicks to select and activate items
|
|
504
580
|
|
|
505
|
-
:type override_context: typing.
|
|
506
|
-
:type execution_context: typing.
|
|
507
|
-
:type undo:
|
|
581
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
582
|
+
:type execution_context: typing.Union[str, int]
|
|
583
|
+
:type undo: bool
|
|
508
584
|
:param wait_to_deselect_others: Wait to Deselect Others
|
|
509
|
-
:type wait_to_deselect_others: typing.
|
|
585
|
+
:type wait_to_deselect_others: typing.Union[bool, typing.Any]
|
|
510
586
|
:param mouse_x: Mouse X
|
|
511
|
-
:type mouse_x: typing.
|
|
587
|
+
:type mouse_x: typing.Any
|
|
512
588
|
:param mouse_y: Mouse Y
|
|
513
|
-
:type mouse_y: typing.
|
|
589
|
+
:type mouse_y: typing.Any
|
|
514
590
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
515
|
-
:type extend: typing.
|
|
591
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
516
592
|
:param fill: Fill, Select everything beginning with the last selection
|
|
517
|
-
:type fill: typing.
|
|
593
|
+
:type fill: typing.Union[bool, typing.Any]
|
|
518
594
|
:param open: Open, Open a directory when selecting it
|
|
519
|
-
:type open: typing.
|
|
595
|
+
:type open: typing.Union[bool, typing.Any]
|
|
520
596
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
521
|
-
:type deselect_all: typing.
|
|
597
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
522
598
|
: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
|
|
523
|
-
:type only_activate_if_selected: typing.
|
|
599
|
+
:type only_activate_if_selected: typing.Union[bool, typing.Any]
|
|
524
600
|
:param pass_through: Pass Through, Even on successful execution, pass the event on so other operators can execute on it as well
|
|
525
|
-
:type pass_through: typing.
|
|
601
|
+
:type pass_through: typing.Union[bool, typing.Any]
|
|
526
602
|
"""
|
|
527
603
|
|
|
528
604
|
...
|
|
529
605
|
|
|
530
606
|
def select_all(
|
|
531
|
-
override_context=None,
|
|
532
|
-
execution_context=None,
|
|
533
|
-
undo=None,
|
|
534
|
-
|
|
535
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
607
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
608
|
+
execution_context: typing.Union[str, int] = None,
|
|
609
|
+
undo: bool = None,
|
|
610
|
+
action: typing.Any = "TOGGLE",
|
|
536
611
|
):
|
|
537
612
|
"""Select or deselect all files
|
|
538
613
|
|
|
539
|
-
:type override_context: typing.
|
|
540
|
-
:type execution_context: typing.
|
|
541
|
-
:type undo:
|
|
614
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
615
|
+
:type execution_context: typing.Union[str, int]
|
|
616
|
+
:type undo: bool
|
|
542
617
|
:param action: Action, Selection action to execute
|
|
543
618
|
|
|
544
619
|
TOGGLE
|
|
@@ -552,23 +627,22 @@ def select_all(
|
|
|
552
627
|
|
|
553
628
|
INVERT
|
|
554
629
|
Invert -- Invert selection of all elements.
|
|
555
|
-
:type action: typing.
|
|
630
|
+
:type action: typing.Any
|
|
556
631
|
"""
|
|
557
632
|
|
|
558
633
|
...
|
|
559
634
|
|
|
560
635
|
def select_bookmark(
|
|
561
|
-
override_context=None,
|
|
562
|
-
execution_context=None,
|
|
563
|
-
undo=None,
|
|
564
|
-
*,
|
|
636
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
637
|
+
execution_context: typing.Union[str, int] = None,
|
|
638
|
+
undo: bool = None,
|
|
565
639
|
dir: typing.Union[str, typing.Any] = "",
|
|
566
640
|
):
|
|
567
641
|
"""Select a bookmarked directory
|
|
568
642
|
|
|
569
|
-
:type override_context: typing.
|
|
570
|
-
:type execution_context: typing.
|
|
571
|
-
:type undo:
|
|
643
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
644
|
+
:type execution_context: typing.Union[str, int]
|
|
645
|
+
:type undo: bool
|
|
572
646
|
:param dir: Directory
|
|
573
647
|
:type dir: typing.Union[str, typing.Any]
|
|
574
648
|
"""
|
|
@@ -576,32 +650,31 @@ def select_bookmark(
|
|
|
576
650
|
...
|
|
577
651
|
|
|
578
652
|
def select_box(
|
|
579
|
-
override_context=None,
|
|
580
|
-
execution_context=None,
|
|
581
|
-
undo=None,
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
653
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
654
|
+
execution_context: typing.Union[str, int] = None,
|
|
655
|
+
undo: bool = None,
|
|
656
|
+
xmin: typing.Any = 0,
|
|
657
|
+
xmax: typing.Any = 0,
|
|
658
|
+
ymin: typing.Any = 0,
|
|
659
|
+
ymax: typing.Any = 0,
|
|
660
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
661
|
+
mode: typing.Any = "SET",
|
|
589
662
|
):
|
|
590
663
|
"""Activate/select the file(s) contained in the border
|
|
591
664
|
|
|
592
|
-
:type override_context: typing.
|
|
593
|
-
:type execution_context: typing.
|
|
594
|
-
:type undo:
|
|
665
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
666
|
+
:type execution_context: typing.Union[str, int]
|
|
667
|
+
:type undo: bool
|
|
595
668
|
:param xmin: X Min
|
|
596
|
-
:type xmin: typing.
|
|
669
|
+
:type xmin: typing.Any
|
|
597
670
|
:param xmax: X Max
|
|
598
|
-
:type xmax: typing.
|
|
671
|
+
:type xmax: typing.Any
|
|
599
672
|
:param ymin: Y Min
|
|
600
|
-
:type ymin: typing.
|
|
673
|
+
:type ymin: typing.Any
|
|
601
674
|
:param ymax: Y Max
|
|
602
|
-
:type ymax: typing.
|
|
675
|
+
:type ymax: typing.Any
|
|
603
676
|
:param wait_for_input: Wait for Input
|
|
604
|
-
:type wait_for_input: typing.
|
|
677
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
605
678
|
:param mode: Mode
|
|
606
679
|
|
|
607
680
|
SET
|
|
@@ -612,123 +685,140 @@ def select_box(
|
|
|
612
685
|
|
|
613
686
|
SUB
|
|
614
687
|
Subtract -- Subtract existing selection.
|
|
615
|
-
:type mode: typing.
|
|
688
|
+
:type mode: typing.Any
|
|
616
689
|
"""
|
|
617
690
|
|
|
618
691
|
...
|
|
619
692
|
|
|
620
693
|
def select_walk(
|
|
621
|
-
override_context=None,
|
|
622
|
-
execution_context=None,
|
|
623
|
-
undo=None,
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
fill: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
694
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
695
|
+
execution_context: typing.Union[str, int] = None,
|
|
696
|
+
undo: bool = None,
|
|
697
|
+
direction: typing.Any = "UP",
|
|
698
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
699
|
+
fill: typing.Union[bool, typing.Any] = False,
|
|
628
700
|
):
|
|
629
701
|
"""Select/Deselect files by walking through them
|
|
630
702
|
|
|
631
|
-
:type override_context: typing.
|
|
632
|
-
:type execution_context: typing.
|
|
633
|
-
:type undo:
|
|
703
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
704
|
+
:type execution_context: typing.Union[str, int]
|
|
705
|
+
:type undo: bool
|
|
634
706
|
:param direction: Walk Direction, Select/Deselect element in this direction
|
|
635
|
-
:type direction: typing.
|
|
707
|
+
:type direction: typing.Any
|
|
636
708
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
637
|
-
:type extend: typing.
|
|
709
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
638
710
|
:param fill: Fill, Select everything beginning with the last selection
|
|
639
|
-
:type fill: typing.
|
|
711
|
+
:type fill: typing.Union[bool, typing.Any]
|
|
640
712
|
"""
|
|
641
713
|
|
|
642
714
|
...
|
|
643
715
|
|
|
644
|
-
def smoothscroll(
|
|
716
|
+
def smoothscroll(
|
|
717
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
718
|
+
execution_context: typing.Union[str, int] = None,
|
|
719
|
+
undo: bool = None,
|
|
720
|
+
):
|
|
645
721
|
"""Smooth scroll to make editable file visible
|
|
646
722
|
|
|
647
|
-
:type override_context: typing.
|
|
648
|
-
:type execution_context: typing.
|
|
649
|
-
:type undo:
|
|
723
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
724
|
+
:type execution_context: typing.Union[str, int]
|
|
725
|
+
:type undo: bool
|
|
650
726
|
"""
|
|
651
727
|
|
|
652
728
|
...
|
|
653
729
|
|
|
654
|
-
def sort_column_ui_context(
|
|
730
|
+
def sort_column_ui_context(
|
|
731
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
732
|
+
execution_context: typing.Union[str, int] = None,
|
|
733
|
+
undo: bool = None,
|
|
734
|
+
):
|
|
655
735
|
"""Change sorting to use column under cursor
|
|
656
736
|
|
|
657
|
-
:type override_context: typing.
|
|
658
|
-
:type execution_context: typing.
|
|
659
|
-
:type undo:
|
|
737
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
738
|
+
:type execution_context: typing.Union[str, int]
|
|
739
|
+
:type undo: bool
|
|
660
740
|
"""
|
|
661
741
|
|
|
662
742
|
...
|
|
663
743
|
|
|
664
|
-
def start_filter(
|
|
744
|
+
def start_filter(
|
|
745
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
746
|
+
execution_context: typing.Union[str, int] = None,
|
|
747
|
+
undo: bool = None,
|
|
748
|
+
):
|
|
665
749
|
"""Start entering filter text
|
|
666
750
|
|
|
667
|
-
:type override_context: typing.
|
|
668
|
-
:type execution_context: typing.
|
|
669
|
-
:type undo:
|
|
751
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
752
|
+
:type execution_context: typing.Union[str, int]
|
|
753
|
+
:type undo: bool
|
|
670
754
|
"""
|
|
671
755
|
|
|
672
756
|
...
|
|
673
757
|
|
|
674
758
|
def unpack_all(
|
|
675
|
-
override_context=None,
|
|
676
|
-
execution_context=None,
|
|
677
|
-
undo=None,
|
|
678
|
-
|
|
679
|
-
method: typing.Optional[typing.Any] = "USE_LOCAL",
|
|
759
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
760
|
+
execution_context: typing.Union[str, int] = None,
|
|
761
|
+
undo: bool = None,
|
|
762
|
+
method: typing.Any = "USE_LOCAL",
|
|
680
763
|
):
|
|
681
764
|
"""Unpack all files packed into this .blend to external ones
|
|
682
765
|
|
|
683
|
-
:type override_context: typing.
|
|
684
|
-
:type execution_context: typing.
|
|
685
|
-
:type undo:
|
|
766
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
767
|
+
:type execution_context: typing.Union[str, int]
|
|
768
|
+
:type undo: bool
|
|
686
769
|
:param method: Method, How to unpack
|
|
687
|
-
:type method: typing.
|
|
770
|
+
:type method: typing.Any
|
|
688
771
|
"""
|
|
689
772
|
|
|
690
773
|
...
|
|
691
774
|
|
|
692
775
|
def unpack_item(
|
|
693
|
-
override_context=None,
|
|
694
|
-
execution_context=None,
|
|
695
|
-
undo=None,
|
|
696
|
-
|
|
697
|
-
method: typing.Optional[typing.Any] = "USE_LOCAL",
|
|
776
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
777
|
+
execution_context: typing.Union[str, int] = None,
|
|
778
|
+
undo: bool = None,
|
|
779
|
+
method: typing.Any = "USE_LOCAL",
|
|
698
780
|
id_name: typing.Union[str, typing.Any] = "",
|
|
699
|
-
id_type: typing.
|
|
781
|
+
id_type: typing.Any = 19785,
|
|
700
782
|
):
|
|
701
783
|
"""Unpack this file to an external file
|
|
702
784
|
|
|
703
|
-
:type override_context: typing.
|
|
704
|
-
:type execution_context: typing.
|
|
705
|
-
:type undo:
|
|
785
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
786
|
+
:type execution_context: typing.Union[str, int]
|
|
787
|
+
:type undo: bool
|
|
706
788
|
:param method: Method, How to unpack
|
|
707
|
-
:type method: typing.
|
|
789
|
+
:type method: typing.Any
|
|
708
790
|
:param id_name: ID Name, Name of ID block to unpack
|
|
709
791
|
:type id_name: typing.Union[str, typing.Any]
|
|
710
792
|
:param id_type: ID Type, Identifier type of ID block
|
|
711
|
-
:type id_type: typing.
|
|
793
|
+
:type id_type: typing.Any
|
|
712
794
|
"""
|
|
713
795
|
|
|
714
796
|
...
|
|
715
797
|
|
|
716
|
-
def unpack_libraries(
|
|
798
|
+
def unpack_libraries(
|
|
799
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
800
|
+
execution_context: typing.Union[str, int] = None,
|
|
801
|
+
undo: bool = None,
|
|
802
|
+
):
|
|
717
803
|
"""Restore all packed linked data-blocks to their original locations
|
|
718
804
|
|
|
719
|
-
:type override_context: typing.
|
|
720
|
-
:type execution_context: typing.
|
|
721
|
-
:type undo:
|
|
805
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
806
|
+
:type execution_context: typing.Union[str, int]
|
|
807
|
+
:type undo: bool
|
|
722
808
|
"""
|
|
723
809
|
|
|
724
810
|
...
|
|
725
811
|
|
|
726
|
-
def view_selected(
|
|
812
|
+
def view_selected(
|
|
813
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
814
|
+
execution_context: typing.Union[str, int] = None,
|
|
815
|
+
undo: bool = None,
|
|
816
|
+
):
|
|
727
817
|
"""Scroll the selected files into view
|
|
728
818
|
|
|
729
|
-
:type override_context: typing.
|
|
730
|
-
:type execution_context: typing.
|
|
731
|
-
:type undo:
|
|
819
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
820
|
+
:type execution_context: typing.Union[str, int]
|
|
821
|
+
:type undo: bool
|
|
732
822
|
"""
|
|
733
823
|
|
|
734
824
|
...
|