fake-bpy-module 20240210__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 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/image/__init__.pyi
CHANGED
|
@@ -1,166 +1,143 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def add_render_slot(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
13
10
|
):
|
|
14
11
|
"""Add a new render slot
|
|
15
12
|
|
|
16
|
-
:type override_context: typing.
|
|
17
|
-
:type execution_context: typing.
|
|
18
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
19
16
|
"""
|
|
20
17
|
|
|
21
18
|
...
|
|
22
19
|
|
|
23
20
|
def change_frame(
|
|
24
|
-
override_context: typing.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
undo: typing.Optional[bool] = None,
|
|
29
|
-
*,
|
|
30
|
-
frame: typing.Optional[typing.Any] = 0,
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
24
|
+
frame: typing.Any = 0,
|
|
31
25
|
):
|
|
32
26
|
"""Interactively change the current frame number
|
|
33
27
|
|
|
34
|
-
:type override_context: typing.
|
|
35
|
-
:type execution_context: typing.
|
|
36
|
-
:type undo:
|
|
28
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
+
:type execution_context: typing.Union[str, int]
|
|
30
|
+
:type undo: bool
|
|
37
31
|
:param frame: Frame
|
|
38
|
-
:type frame: typing.
|
|
32
|
+
:type frame: typing.Any
|
|
39
33
|
"""
|
|
40
34
|
|
|
41
35
|
...
|
|
42
36
|
|
|
43
37
|
def clear_render_border(
|
|
44
|
-
override_context: typing.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
48
|
-
undo: typing.Optional[bool] = None,
|
|
38
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
39
|
+
execution_context: typing.Union[str, int] = None,
|
|
40
|
+
undo: bool = None,
|
|
49
41
|
):
|
|
50
42
|
"""Clear the boundaries of the render region and disable render region
|
|
51
43
|
|
|
52
|
-
:type override_context: typing.
|
|
53
|
-
:type execution_context: typing.
|
|
54
|
-
:type undo:
|
|
44
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
45
|
+
:type execution_context: typing.Union[str, int]
|
|
46
|
+
:type undo: bool
|
|
55
47
|
"""
|
|
56
48
|
|
|
57
49
|
...
|
|
58
50
|
|
|
59
51
|
def clear_render_slot(
|
|
60
|
-
override_context: typing.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
64
|
-
undo: typing.Optional[bool] = None,
|
|
52
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
53
|
+
execution_context: typing.Union[str, int] = None,
|
|
54
|
+
undo: bool = None,
|
|
65
55
|
):
|
|
66
56
|
"""Clear the currently selected render slot
|
|
67
57
|
|
|
68
|
-
:type override_context: typing.
|
|
69
|
-
:type execution_context: typing.
|
|
70
|
-
:type undo:
|
|
58
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
59
|
+
:type execution_context: typing.Union[str, int]
|
|
60
|
+
:type undo: bool
|
|
71
61
|
"""
|
|
72
62
|
|
|
73
63
|
...
|
|
74
64
|
|
|
75
65
|
def clipboard_copy(
|
|
76
|
-
override_context: typing.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
80
|
-
undo: typing.Optional[bool] = None,
|
|
66
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
+
execution_context: typing.Union[str, int] = None,
|
|
68
|
+
undo: bool = None,
|
|
81
69
|
):
|
|
82
70
|
"""Copy the image to the clipboard
|
|
83
71
|
|
|
84
|
-
:type override_context: typing.
|
|
85
|
-
:type execution_context: typing.
|
|
86
|
-
:type undo:
|
|
72
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
73
|
+
:type execution_context: typing.Union[str, int]
|
|
74
|
+
:type undo: bool
|
|
87
75
|
"""
|
|
88
76
|
|
|
89
77
|
...
|
|
90
78
|
|
|
91
79
|
def clipboard_paste(
|
|
92
|
-
override_context: typing.
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
96
|
-
undo: typing.Optional[bool] = None,
|
|
80
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
81
|
+
execution_context: typing.Union[str, int] = None,
|
|
82
|
+
undo: bool = None,
|
|
97
83
|
):
|
|
98
84
|
"""Paste new image from the clipboard
|
|
99
85
|
|
|
100
|
-
:type override_context: typing.
|
|
101
|
-
:type execution_context: typing.
|
|
102
|
-
:type undo:
|
|
86
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
87
|
+
:type execution_context: typing.Union[str, int]
|
|
88
|
+
:type undo: bool
|
|
103
89
|
"""
|
|
104
90
|
|
|
105
91
|
...
|
|
106
92
|
|
|
107
93
|
def curves_point_set(
|
|
108
|
-
override_context: typing.
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
*,
|
|
114
|
-
point: typing.Optional[typing.Any] = "BLACK_POINT",
|
|
115
|
-
size: typing.Optional[typing.Any] = 1,
|
|
94
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
95
|
+
execution_context: typing.Union[str, int] = None,
|
|
96
|
+
undo: bool = None,
|
|
97
|
+
point: typing.Any = "BLACK_POINT",
|
|
98
|
+
size: typing.Any = 1,
|
|
116
99
|
):
|
|
117
100
|
"""Set black point or white point for curves
|
|
118
101
|
|
|
119
|
-
:type override_context: typing.
|
|
120
|
-
:type execution_context: typing.
|
|
121
|
-
:type undo:
|
|
102
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
103
|
+
:type execution_context: typing.Union[str, int]
|
|
104
|
+
:type undo: bool
|
|
122
105
|
:param point: Point, Set black point or white point for curves
|
|
123
|
-
:type point: typing.
|
|
106
|
+
:type point: typing.Any
|
|
124
107
|
:param size: Sample Size
|
|
125
|
-
:type size: typing.
|
|
108
|
+
:type size: typing.Any
|
|
126
109
|
"""
|
|
127
110
|
|
|
128
111
|
...
|
|
129
112
|
|
|
130
113
|
def cycle_render_slot(
|
|
131
|
-
override_context: typing.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
undo: typing.Optional[bool] = None,
|
|
136
|
-
*,
|
|
137
|
-
reverse: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
114
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
115
|
+
execution_context: typing.Union[str, int] = None,
|
|
116
|
+
undo: bool = None,
|
|
117
|
+
reverse: typing.Union[bool, typing.Any] = False,
|
|
138
118
|
):
|
|
139
119
|
"""Cycle through all non-void render slots
|
|
140
120
|
|
|
141
|
-
:type override_context: typing.
|
|
142
|
-
:type execution_context: typing.
|
|
143
|
-
:type undo:
|
|
121
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
122
|
+
:type execution_context: typing.Union[str, int]
|
|
123
|
+
:type undo: bool
|
|
144
124
|
:param reverse: Cycle in Reverse
|
|
145
|
-
:type reverse: typing.
|
|
125
|
+
:type reverse: typing.Union[bool, typing.Any]
|
|
146
126
|
"""
|
|
147
127
|
|
|
148
128
|
...
|
|
149
129
|
|
|
150
130
|
def external_edit(
|
|
151
|
-
override_context: typing.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
155
|
-
undo: typing.Optional[bool] = None,
|
|
156
|
-
*,
|
|
131
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
132
|
+
execution_context: typing.Union[str, int] = None,
|
|
133
|
+
undo: bool = None,
|
|
157
134
|
filepath: typing.Union[str, typing.Any] = "",
|
|
158
135
|
):
|
|
159
|
-
"""Edit image in an external application
|
|
136
|
+
"""Edit image in an external application
|
|
160
137
|
|
|
161
|
-
:type override_context: typing.
|
|
162
|
-
:type execution_context: typing.
|
|
163
|
-
:type undo:
|
|
138
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
139
|
+
:type execution_context: typing.Union[str, int]
|
|
140
|
+
:type undo: bool
|
|
164
141
|
:param filepath: filepath
|
|
165
142
|
:type filepath: typing.Union[str, typing.Any]
|
|
166
143
|
"""
|
|
@@ -168,906 +145,909 @@ def external_edit(
|
|
|
168
145
|
...
|
|
169
146
|
|
|
170
147
|
def file_browse(
|
|
171
|
-
override_context: typing.
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
175
|
-
undo: typing.Optional[bool] = None,
|
|
176
|
-
*,
|
|
148
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
149
|
+
execution_context: typing.Union[str, int] = None,
|
|
150
|
+
undo: bool = None,
|
|
177
151
|
filepath: typing.Union[str, typing.Any] = "",
|
|
178
|
-
hide_props_region: typing.
|
|
179
|
-
check_existing: typing.
|
|
180
|
-
filter_blender: typing.
|
|
181
|
-
filter_backup: typing.
|
|
182
|
-
filter_image: typing.
|
|
183
|
-
filter_movie: typing.
|
|
184
|
-
filter_python: typing.
|
|
185
|
-
filter_font: typing.
|
|
186
|
-
filter_sound: typing.
|
|
187
|
-
filter_text: typing.
|
|
188
|
-
filter_archive: typing.
|
|
189
|
-
filter_btx: typing.
|
|
190
|
-
filter_collada: typing.
|
|
191
|
-
filter_alembic: typing.
|
|
192
|
-
filter_usd: typing.
|
|
193
|
-
filter_obj: typing.
|
|
194
|
-
filter_volume: typing.
|
|
195
|
-
filter_folder: typing.
|
|
196
|
-
filter_blenlib: typing.
|
|
197
|
-
filemode: typing.
|
|
198
|
-
relative_path: typing.
|
|
199
|
-
show_multiview: typing.
|
|
200
|
-
use_multiview: typing.
|
|
201
|
-
display_type: typing.
|
|
202
|
-
sort_method: typing.
|
|
152
|
+
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
153
|
+
check_existing: typing.Union[bool, typing.Any] = False,
|
|
154
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
155
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
156
|
+
filter_image: typing.Union[bool, typing.Any] = True,
|
|
157
|
+
filter_movie: typing.Union[bool, typing.Any] = True,
|
|
158
|
+
filter_python: typing.Union[bool, typing.Any] = False,
|
|
159
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
160
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
161
|
+
filter_text: typing.Union[bool, typing.Any] = False,
|
|
162
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
163
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
164
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
165
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
166
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
167
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
168
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
169
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
170
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
171
|
+
filemode: typing.Any = 9,
|
|
172
|
+
relative_path: typing.Union[bool, typing.Any] = True,
|
|
173
|
+
show_multiview: typing.Union[bool, typing.Any] = False,
|
|
174
|
+
use_multiview: typing.Union[bool, typing.Any] = False,
|
|
175
|
+
display_type: typing.Any = "DEFAULT",
|
|
176
|
+
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
203
177
|
):
|
|
204
178
|
"""Open an image file browser, hold Shift to open the file, Alt to browse containing directory
|
|
205
179
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
180
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
+
:type execution_context: typing.Union[str, int]
|
|
182
|
+
:type undo: bool
|
|
183
|
+
:param filepath: File Path, Path to file
|
|
184
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
185
|
+
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
186
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
187
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
188
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
189
|
+
:param filter_blender: Filter .blend files
|
|
190
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
191
|
+
:param filter_backup: Filter .blend files
|
|
192
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
193
|
+
:param filter_image: Filter image files
|
|
194
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
195
|
+
:param filter_movie: Filter movie files
|
|
196
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
197
|
+
:param filter_python: Filter Python files
|
|
198
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
199
|
+
:param filter_font: Filter font files
|
|
200
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
201
|
+
:param filter_sound: Filter sound files
|
|
202
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
203
|
+
:param filter_text: Filter text files
|
|
204
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
205
|
+
:param filter_archive: Filter archive files
|
|
206
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
207
|
+
:param filter_btx: Filter btx files
|
|
208
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
209
|
+
:param filter_collada: Filter COLLADA files
|
|
210
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
211
|
+
:param filter_alembic: Filter Alembic files
|
|
212
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
213
|
+
:param filter_usd: Filter USD files
|
|
214
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
215
|
+
:param filter_obj: Filter OBJ files
|
|
216
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
217
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
218
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
219
|
+
:param filter_folder: Filter folders
|
|
220
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
221
|
+
:param filter_blenlib: Filter Blender IDs
|
|
222
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
223
|
+
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
224
|
+
:type filemode: typing.Any
|
|
225
|
+
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
226
|
+
:type relative_path: typing.Union[bool, typing.Any]
|
|
227
|
+
:param show_multiview: Enable Multi-View
|
|
228
|
+
:type show_multiview: typing.Union[bool, typing.Any]
|
|
229
|
+
:param use_multiview: Use Multi-View
|
|
230
|
+
:type use_multiview: typing.Union[bool, typing.Any]
|
|
231
|
+
:param display_type: Display Type
|
|
232
|
+
|
|
233
|
+
DEFAULT
|
|
234
|
+
Default -- Automatically determine display type for files.
|
|
235
|
+
|
|
236
|
+
LIST_VERTICAL
|
|
237
|
+
Short List -- Display files as short list.
|
|
238
|
+
|
|
239
|
+
LIST_HORIZONTAL
|
|
240
|
+
Long List -- Display files as a detailed list.
|
|
241
|
+
|
|
242
|
+
THUMBNAIL
|
|
243
|
+
Thumbnails -- Display files as thumbnails.
|
|
244
|
+
:type display_type: typing.Any
|
|
245
|
+
:param sort_method: File sorting mode
|
|
246
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
261
247
|
"""
|
|
262
248
|
|
|
263
249
|
...
|
|
264
250
|
|
|
265
251
|
def flip(
|
|
266
|
-
override_context: typing.
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
*,
|
|
272
|
-
use_flip_x: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
273
|
-
use_flip_y: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
252
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
253
|
+
execution_context: typing.Union[str, int] = None,
|
|
254
|
+
undo: bool = None,
|
|
255
|
+
use_flip_x: typing.Union[bool, typing.Any] = False,
|
|
256
|
+
use_flip_y: typing.Union[bool, typing.Any] = False,
|
|
274
257
|
):
|
|
275
258
|
"""Flip the image
|
|
276
259
|
|
|
277
|
-
:type override_context: typing.
|
|
278
|
-
:type execution_context: typing.
|
|
279
|
-
:type undo:
|
|
260
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
261
|
+
:type execution_context: typing.Union[str, int]
|
|
262
|
+
:type undo: bool
|
|
280
263
|
:param use_flip_x: Horizontal, Flip the image horizontally
|
|
281
|
-
:type use_flip_x: typing.
|
|
264
|
+
:type use_flip_x: typing.Union[bool, typing.Any]
|
|
282
265
|
:param use_flip_y: Vertical, Flip the image vertically
|
|
283
|
-
:type use_flip_y: typing.
|
|
266
|
+
:type use_flip_y: typing.Union[bool, typing.Any]
|
|
284
267
|
"""
|
|
285
268
|
|
|
286
269
|
...
|
|
287
270
|
|
|
288
271
|
def invert(
|
|
289
|
-
override_context: typing.
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
invert_g: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
297
|
-
invert_b: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
298
|
-
invert_a: 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
|
+
invert_r: typing.Union[bool, typing.Any] = False,
|
|
276
|
+
invert_g: typing.Union[bool, typing.Any] = False,
|
|
277
|
+
invert_b: typing.Union[bool, typing.Any] = False,
|
|
278
|
+
invert_a: typing.Union[bool, typing.Any] = False,
|
|
299
279
|
):
|
|
300
280
|
"""Invert image's channels
|
|
301
281
|
|
|
302
|
-
:type override_context: typing.
|
|
303
|
-
:type execution_context: typing.
|
|
304
|
-
:type undo:
|
|
282
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
283
|
+
:type execution_context: typing.Union[str, int]
|
|
284
|
+
:type undo: bool
|
|
305
285
|
:param invert_r: Red, Invert red channel
|
|
306
|
-
:type invert_r: typing.
|
|
286
|
+
:type invert_r: typing.Union[bool, typing.Any]
|
|
307
287
|
:param invert_g: Green, Invert green channel
|
|
308
|
-
:type invert_g: typing.
|
|
288
|
+
:type invert_g: typing.Union[bool, typing.Any]
|
|
309
289
|
:param invert_b: Blue, Invert blue channel
|
|
310
|
-
:type invert_b: typing.
|
|
290
|
+
:type invert_b: typing.Union[bool, typing.Any]
|
|
311
291
|
:param invert_a: Alpha, Invert alpha channel
|
|
312
|
-
:type invert_a: typing.
|
|
292
|
+
:type invert_a: typing.Union[bool, typing.Any]
|
|
313
293
|
"""
|
|
314
294
|
|
|
315
295
|
...
|
|
316
296
|
|
|
317
297
|
def match_movie_length(
|
|
318
|
-
override_context: typing.
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
322
|
-
undo: typing.Optional[bool] = None,
|
|
298
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
299
|
+
execution_context: typing.Union[str, int] = None,
|
|
300
|
+
undo: bool = None,
|
|
323
301
|
):
|
|
324
302
|
"""Set image's user's length to the one of this video
|
|
325
303
|
|
|
326
|
-
:type override_context: typing.
|
|
327
|
-
:type execution_context: typing.
|
|
328
|
-
:type undo:
|
|
304
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
305
|
+
:type execution_context: typing.Union[str, int]
|
|
306
|
+
:type undo: bool
|
|
329
307
|
"""
|
|
330
308
|
|
|
331
309
|
...
|
|
332
310
|
|
|
333
311
|
def new(
|
|
334
|
-
override_context: typing.
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
338
|
-
undo: typing.Optional[bool] = None,
|
|
339
|
-
*,
|
|
312
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
313
|
+
execution_context: typing.Union[str, int] = None,
|
|
314
|
+
undo: bool = None,
|
|
340
315
|
name: typing.Union[str, typing.Any] = "Untitled",
|
|
341
|
-
width: typing.
|
|
342
|
-
height: typing.
|
|
343
|
-
color: typing.
|
|
344
|
-
alpha: typing.
|
|
345
|
-
generated_type: typing.
|
|
346
|
-
float: typing.
|
|
347
|
-
use_stereo_3d: typing.
|
|
348
|
-
tiled: typing.
|
|
316
|
+
width: typing.Any = 1024,
|
|
317
|
+
height: typing.Any = 1024,
|
|
318
|
+
color: typing.Any = (0.0, 0.0, 0.0, 1.0),
|
|
319
|
+
alpha: typing.Union[bool, typing.Any] = True,
|
|
320
|
+
generated_type: typing.Any = "BLANK",
|
|
321
|
+
float: typing.Union[bool, typing.Any] = False,
|
|
322
|
+
use_stereo_3d: typing.Union[bool, typing.Any] = False,
|
|
323
|
+
tiled: typing.Union[bool, typing.Any] = False,
|
|
349
324
|
):
|
|
350
325
|
"""Create a new image
|
|
351
326
|
|
|
352
|
-
:type override_context: typing.
|
|
353
|
-
:type execution_context: typing.
|
|
354
|
-
:type undo:
|
|
327
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
328
|
+
:type execution_context: typing.Union[str, int]
|
|
329
|
+
:type undo: bool
|
|
355
330
|
:param name: Name, Image data-block name
|
|
356
331
|
:type name: typing.Union[str, typing.Any]
|
|
357
332
|
:param width: Width, Image width
|
|
358
|
-
:type width: typing.
|
|
333
|
+
:type width: typing.Any
|
|
359
334
|
:param height: Height, Image height
|
|
360
|
-
:type height: typing.
|
|
335
|
+
:type height: typing.Any
|
|
361
336
|
:param color: Color, Default fill color
|
|
362
|
-
:type color: typing.
|
|
337
|
+
:type color: typing.Any
|
|
363
338
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
364
|
-
:type alpha: typing.
|
|
339
|
+
:type alpha: typing.Union[bool, typing.Any]
|
|
365
340
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
366
|
-
:type generated_type: typing.
|
|
341
|
+
:type generated_type: typing.Any
|
|
367
342
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
368
|
-
:type float: typing.
|
|
343
|
+
:type float: typing.Union[bool, typing.Any]
|
|
369
344
|
:param use_stereo_3d: Stereo 3D, Create an image with left and right views
|
|
370
|
-
:type use_stereo_3d: typing.
|
|
345
|
+
:type use_stereo_3d: typing.Union[bool, typing.Any]
|
|
371
346
|
:param tiled: Tiled, Create a tiled image
|
|
372
|
-
:type tiled: typing.
|
|
347
|
+
:type tiled: typing.Union[bool, typing.Any]
|
|
373
348
|
"""
|
|
374
349
|
|
|
375
350
|
...
|
|
376
351
|
|
|
377
352
|
def open(
|
|
378
|
-
override_context: typing.
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
undo: typing.Optional[bool] = None,
|
|
383
|
-
*,
|
|
384
|
-
allow_path_tokens: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
353
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
354
|
+
execution_context: typing.Union[str, int] = None,
|
|
355
|
+
undo: bool = None,
|
|
356
|
+
allow_path_tokens: typing.Union[bool, typing.Any] = True,
|
|
385
357
|
filepath: typing.Union[str, typing.Any] = "",
|
|
386
358
|
directory: typing.Union[str, typing.Any] = "",
|
|
387
|
-
files:
|
|
388
|
-
|
|
389
|
-
] =
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
use_sequence_detection: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
416
|
-
use_udim_detecting: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
359
|
+
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
|
|
360
|
+
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
361
|
+
check_existing: typing.Union[bool, typing.Any] = False,
|
|
362
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
363
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
364
|
+
filter_image: typing.Union[bool, typing.Any] = True,
|
|
365
|
+
filter_movie: typing.Union[bool, typing.Any] = True,
|
|
366
|
+
filter_python: typing.Union[bool, typing.Any] = False,
|
|
367
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
368
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
369
|
+
filter_text: typing.Union[bool, typing.Any] = False,
|
|
370
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
371
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
372
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
373
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
374
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
375
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
376
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
377
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
378
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
379
|
+
filemode: typing.Any = 9,
|
|
380
|
+
relative_path: typing.Union[bool, typing.Any] = True,
|
|
381
|
+
show_multiview: typing.Union[bool, typing.Any] = False,
|
|
382
|
+
use_multiview: typing.Union[bool, typing.Any] = False,
|
|
383
|
+
display_type: typing.Any = "DEFAULT",
|
|
384
|
+
sort_method: typing.Any = "",
|
|
385
|
+
use_sequence_detection: typing.Union[bool, typing.Any] = True,
|
|
386
|
+
use_udim_detecting: typing.Union[bool, typing.Any] = True,
|
|
417
387
|
):
|
|
418
388
|
"""Open image
|
|
419
389
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
390
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
391
|
+
:type execution_context: typing.Union[str, int]
|
|
392
|
+
:type undo: bool
|
|
393
|
+
:param allow_path_tokens: Allow the path to contain substitution tokens
|
|
394
|
+
:type allow_path_tokens: typing.Union[bool, typing.Any]
|
|
395
|
+
:param filepath: File Path, Path to file
|
|
396
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
397
|
+
:param directory: Directory, Directory of the file
|
|
398
|
+
:type directory: typing.Union[str, typing.Any]
|
|
399
|
+
:param files: Files
|
|
400
|
+
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
401
|
+
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
402
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
403
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
404
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
405
|
+
:param filter_blender: Filter .blend files
|
|
406
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
407
|
+
:param filter_backup: Filter .blend files
|
|
408
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
409
|
+
:param filter_image: Filter image files
|
|
410
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
411
|
+
:param filter_movie: Filter movie files
|
|
412
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
413
|
+
:param filter_python: Filter Python files
|
|
414
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
415
|
+
:param filter_font: Filter font files
|
|
416
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
417
|
+
:param filter_sound: Filter sound files
|
|
418
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
419
|
+
:param filter_text: Filter text files
|
|
420
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
421
|
+
:param filter_archive: Filter archive files
|
|
422
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
423
|
+
:param filter_btx: Filter btx files
|
|
424
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
425
|
+
:param filter_collada: Filter COLLADA files
|
|
426
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
427
|
+
:param filter_alembic: Filter Alembic files
|
|
428
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
429
|
+
:param filter_usd: Filter USD files
|
|
430
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
431
|
+
:param filter_obj: Filter OBJ files
|
|
432
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
433
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
434
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
435
|
+
:param filter_folder: Filter folders
|
|
436
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
437
|
+
:param filter_blenlib: Filter Blender IDs
|
|
438
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
439
|
+
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
440
|
+
:type filemode: typing.Any
|
|
441
|
+
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
442
|
+
:type relative_path: typing.Union[bool, typing.Any]
|
|
443
|
+
:param show_multiview: Enable Multi-View
|
|
444
|
+
:type show_multiview: typing.Union[bool, typing.Any]
|
|
445
|
+
:param use_multiview: Use Multi-View
|
|
446
|
+
:type use_multiview: typing.Union[bool, typing.Any]
|
|
447
|
+
:param display_type: Display Type
|
|
448
|
+
|
|
449
|
+
DEFAULT
|
|
450
|
+
Default -- Automatically determine display type for files.
|
|
451
|
+
|
|
452
|
+
LIST_VERTICAL
|
|
453
|
+
Short List -- Display files as short list.
|
|
454
|
+
|
|
455
|
+
LIST_HORIZONTAL
|
|
456
|
+
Long List -- Display files as a detailed list.
|
|
457
|
+
|
|
458
|
+
THUMBNAIL
|
|
459
|
+
Thumbnails -- Display files as thumbnails.
|
|
460
|
+
:type display_type: typing.Any
|
|
461
|
+
:param sort_method: File sorting mode
|
|
462
|
+
|
|
463
|
+
DEFAULT
|
|
464
|
+
Default -- Automatically determine sort method for files.
|
|
465
|
+
|
|
466
|
+
FILE_SORT_ALPHA
|
|
467
|
+
Name -- Sort the file list alphabetically.
|
|
468
|
+
|
|
469
|
+
FILE_SORT_EXTENSION
|
|
470
|
+
Extension -- Sort the file list by extension/type.
|
|
471
|
+
|
|
472
|
+
FILE_SORT_TIME
|
|
473
|
+
Modified Date -- Sort files by modification time.
|
|
474
|
+
|
|
475
|
+
FILE_SORT_SIZE
|
|
476
|
+
Size -- Sort files by size.
|
|
477
|
+
:type sort_method: typing.Any
|
|
478
|
+
:param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected images (based on file names)
|
|
479
|
+
:type use_sequence_detection: typing.Union[bool, typing.Any]
|
|
480
|
+
:param use_udim_detecting: Detect UDIMs, Detect selected UDIM files and load all matching tiles
|
|
481
|
+
:type use_udim_detecting: typing.Union[bool, typing.Any]
|
|
485
482
|
"""
|
|
486
483
|
|
|
487
484
|
...
|
|
488
485
|
|
|
489
486
|
def pack(
|
|
490
|
-
override_context: typing.
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
494
|
-
undo: typing.Optional[bool] = None,
|
|
487
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
488
|
+
execution_context: typing.Union[str, int] = None,
|
|
489
|
+
undo: bool = None,
|
|
495
490
|
):
|
|
496
491
|
"""Pack an image as embedded data into the .blend file
|
|
497
492
|
|
|
498
|
-
:type override_context: typing.
|
|
499
|
-
:type execution_context: typing.
|
|
500
|
-
:type undo:
|
|
493
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
494
|
+
:type execution_context: typing.Union[str, int]
|
|
495
|
+
:type undo: bool
|
|
501
496
|
"""
|
|
502
497
|
|
|
503
498
|
...
|
|
504
499
|
|
|
505
500
|
def project_apply(
|
|
506
|
-
override_context: typing.
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
510
|
-
undo: typing.Optional[bool] = None,
|
|
501
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
502
|
+
execution_context: typing.Union[str, int] = None,
|
|
503
|
+
undo: bool = None,
|
|
511
504
|
):
|
|
512
|
-
"""Project edited image back onto the object
|
|
505
|
+
"""Project edited image back onto the object
|
|
513
506
|
|
|
514
|
-
:type override_context: typing.
|
|
515
|
-
:type execution_context: typing.
|
|
516
|
-
:type undo:
|
|
507
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
508
|
+
:type execution_context: typing.Union[str, int]
|
|
509
|
+
:type undo: bool
|
|
517
510
|
"""
|
|
518
511
|
|
|
519
512
|
...
|
|
520
513
|
|
|
521
514
|
def project_edit(
|
|
522
|
-
override_context: typing.
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
526
|
-
undo: typing.Optional[bool] = None,
|
|
515
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
516
|
+
execution_context: typing.Union[str, int] = None,
|
|
517
|
+
undo: bool = None,
|
|
527
518
|
):
|
|
528
|
-
"""Edit a snapshot of the 3D Viewport in an external image editor
|
|
519
|
+
"""Edit a snapshot of the 3D Viewport in an external image editor
|
|
529
520
|
|
|
530
|
-
:type override_context: typing.
|
|
531
|
-
:type execution_context: typing.
|
|
532
|
-
:type undo:
|
|
521
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
522
|
+
:type execution_context: typing.Union[str, int]
|
|
523
|
+
:type undo: bool
|
|
533
524
|
"""
|
|
534
525
|
|
|
535
526
|
...
|
|
536
527
|
|
|
537
528
|
def read_viewlayers(
|
|
538
|
-
override_context: typing.
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
542
|
-
undo: typing.Optional[bool] = None,
|
|
529
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
530
|
+
execution_context: typing.Union[str, int] = None,
|
|
531
|
+
undo: bool = None,
|
|
543
532
|
):
|
|
544
533
|
"""Read all the current scene's view layers from cache, as needed
|
|
545
534
|
|
|
546
|
-
:type override_context: typing.
|
|
547
|
-
:type execution_context: typing.
|
|
548
|
-
:type undo:
|
|
535
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
536
|
+
:type execution_context: typing.Union[str, int]
|
|
537
|
+
:type undo: bool
|
|
549
538
|
"""
|
|
550
539
|
|
|
551
540
|
...
|
|
552
541
|
|
|
553
542
|
def reload(
|
|
554
|
-
override_context: typing.
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
558
|
-
undo: typing.Optional[bool] = None,
|
|
543
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
544
|
+
execution_context: typing.Union[str, int] = None,
|
|
545
|
+
undo: bool = None,
|
|
559
546
|
):
|
|
560
547
|
"""Reload current image from disk
|
|
561
548
|
|
|
562
|
-
:type override_context: typing.
|
|
563
|
-
:type execution_context: typing.
|
|
564
|
-
:type undo:
|
|
549
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
550
|
+
:type execution_context: typing.Union[str, int]
|
|
551
|
+
:type undo: bool
|
|
565
552
|
"""
|
|
566
553
|
|
|
567
554
|
...
|
|
568
555
|
|
|
569
556
|
def remove_render_slot(
|
|
570
|
-
override_context: typing.
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
574
|
-
undo: typing.Optional[bool] = None,
|
|
557
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
558
|
+
execution_context: typing.Union[str, int] = None,
|
|
559
|
+
undo: bool = None,
|
|
575
560
|
):
|
|
576
561
|
"""Remove the current render slot
|
|
577
562
|
|
|
578
|
-
:type override_context: typing.
|
|
579
|
-
:type execution_context: typing.
|
|
580
|
-
:type undo:
|
|
563
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
564
|
+
:type execution_context: typing.Union[str, int]
|
|
565
|
+
:type undo: bool
|
|
581
566
|
"""
|
|
582
567
|
|
|
583
568
|
...
|
|
584
569
|
|
|
585
570
|
def render_border(
|
|
586
|
-
override_context: typing.
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
ymin: typing.Optional[typing.Any] = 0,
|
|
595
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
596
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
571
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
572
|
+
execution_context: typing.Union[str, int] = None,
|
|
573
|
+
undo: bool = None,
|
|
574
|
+
xmin: typing.Any = 0,
|
|
575
|
+
xmax: typing.Any = 0,
|
|
576
|
+
ymin: typing.Any = 0,
|
|
577
|
+
ymax: typing.Any = 0,
|
|
578
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
597
579
|
):
|
|
598
580
|
"""Set the boundaries of the render region and enable render region
|
|
599
581
|
|
|
600
|
-
:type override_context: typing.
|
|
601
|
-
:type execution_context: typing.
|
|
602
|
-
:type undo:
|
|
582
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
583
|
+
:type execution_context: typing.Union[str, int]
|
|
584
|
+
:type undo: bool
|
|
603
585
|
:param xmin: X Min
|
|
604
|
-
:type xmin: typing.
|
|
586
|
+
:type xmin: typing.Any
|
|
605
587
|
:param xmax: X Max
|
|
606
|
-
:type xmax: typing.
|
|
588
|
+
:type xmax: typing.Any
|
|
607
589
|
:param ymin: Y Min
|
|
608
|
-
:type ymin: typing.
|
|
590
|
+
:type ymin: typing.Any
|
|
609
591
|
:param ymax: Y Max
|
|
610
|
-
:type ymax: typing.
|
|
592
|
+
:type ymax: typing.Any
|
|
611
593
|
:param wait_for_input: Wait for Input
|
|
612
|
-
:type wait_for_input: typing.
|
|
594
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
613
595
|
"""
|
|
614
596
|
|
|
615
597
|
...
|
|
616
598
|
|
|
617
599
|
def replace(
|
|
618
|
-
override_context: typing.
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
622
|
-
undo: typing.Optional[bool] = None,
|
|
623
|
-
*,
|
|
600
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
601
|
+
execution_context: typing.Union[str, int] = None,
|
|
602
|
+
undo: bool = None,
|
|
624
603
|
filepath: typing.Union[str, typing.Any] = "",
|
|
625
|
-
hide_props_region: typing.
|
|
626
|
-
check_existing: typing.
|
|
627
|
-
filter_blender: typing.
|
|
628
|
-
filter_backup: typing.
|
|
629
|
-
filter_image: typing.
|
|
630
|
-
filter_movie: typing.
|
|
631
|
-
filter_python: typing.
|
|
632
|
-
filter_font: typing.
|
|
633
|
-
filter_sound: typing.
|
|
634
|
-
filter_text: typing.
|
|
635
|
-
filter_archive: typing.
|
|
636
|
-
filter_btx: typing.
|
|
637
|
-
filter_collada: typing.
|
|
638
|
-
filter_alembic: typing.
|
|
639
|
-
filter_usd: typing.
|
|
640
|
-
filter_obj: typing.
|
|
641
|
-
filter_volume: typing.
|
|
642
|
-
filter_folder: typing.
|
|
643
|
-
filter_blenlib: typing.
|
|
644
|
-
filemode: typing.
|
|
645
|
-
relative_path: typing.
|
|
646
|
-
show_multiview: typing.
|
|
647
|
-
use_multiview: typing.
|
|
648
|
-
display_type: typing.
|
|
649
|
-
sort_method: typing.
|
|
604
|
+
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
605
|
+
check_existing: typing.Union[bool, typing.Any] = False,
|
|
606
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
607
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
608
|
+
filter_image: typing.Union[bool, typing.Any] = True,
|
|
609
|
+
filter_movie: typing.Union[bool, typing.Any] = True,
|
|
610
|
+
filter_python: typing.Union[bool, typing.Any] = False,
|
|
611
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
612
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
613
|
+
filter_text: typing.Union[bool, typing.Any] = False,
|
|
614
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
615
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
616
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
617
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
618
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
619
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
620
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
621
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
622
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
623
|
+
filemode: typing.Any = 9,
|
|
624
|
+
relative_path: typing.Union[bool, typing.Any] = True,
|
|
625
|
+
show_multiview: typing.Union[bool, typing.Any] = False,
|
|
626
|
+
use_multiview: typing.Union[bool, typing.Any] = False,
|
|
627
|
+
display_type: typing.Any = "DEFAULT",
|
|
628
|
+
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
650
629
|
):
|
|
651
630
|
"""Replace current image by another one from disk
|
|
652
631
|
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
632
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
633
|
+
:type execution_context: typing.Union[str, int]
|
|
634
|
+
:type undo: bool
|
|
635
|
+
:param filepath: File Path, Path to file
|
|
636
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
637
|
+
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
638
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
639
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
640
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
641
|
+
:param filter_blender: Filter .blend files
|
|
642
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
643
|
+
:param filter_backup: Filter .blend files
|
|
644
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
645
|
+
:param filter_image: Filter image files
|
|
646
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
647
|
+
:param filter_movie: Filter movie files
|
|
648
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
649
|
+
:param filter_python: Filter Python files
|
|
650
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
651
|
+
:param filter_font: Filter font files
|
|
652
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
653
|
+
:param filter_sound: Filter sound files
|
|
654
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
655
|
+
:param filter_text: Filter text files
|
|
656
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
657
|
+
:param filter_archive: Filter archive files
|
|
658
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
659
|
+
:param filter_btx: Filter btx files
|
|
660
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
661
|
+
:param filter_collada: Filter COLLADA files
|
|
662
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
663
|
+
:param filter_alembic: Filter Alembic files
|
|
664
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
665
|
+
:param filter_usd: Filter USD files
|
|
666
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
667
|
+
:param filter_obj: Filter OBJ files
|
|
668
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
669
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
670
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
671
|
+
:param filter_folder: Filter folders
|
|
672
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
673
|
+
:param filter_blenlib: Filter Blender IDs
|
|
674
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
675
|
+
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
676
|
+
:type filemode: typing.Any
|
|
677
|
+
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
678
|
+
:type relative_path: typing.Union[bool, typing.Any]
|
|
679
|
+
:param show_multiview: Enable Multi-View
|
|
680
|
+
:type show_multiview: typing.Union[bool, typing.Any]
|
|
681
|
+
:param use_multiview: Use Multi-View
|
|
682
|
+
:type use_multiview: typing.Union[bool, typing.Any]
|
|
683
|
+
:param display_type: Display Type
|
|
684
|
+
|
|
685
|
+
DEFAULT
|
|
686
|
+
Default -- Automatically determine display type for files.
|
|
687
|
+
|
|
688
|
+
LIST_VERTICAL
|
|
689
|
+
Short List -- Display files as short list.
|
|
690
|
+
|
|
691
|
+
LIST_HORIZONTAL
|
|
692
|
+
Long List -- Display files as a detailed list.
|
|
693
|
+
|
|
694
|
+
THUMBNAIL
|
|
695
|
+
Thumbnails -- Display files as thumbnails.
|
|
696
|
+
:type display_type: typing.Any
|
|
697
|
+
:param sort_method: File sorting mode
|
|
698
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
708
699
|
"""
|
|
709
700
|
|
|
710
701
|
...
|
|
711
702
|
|
|
712
703
|
def resize(
|
|
713
|
-
override_context: typing.
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
undo: typing.Optional[bool] = None,
|
|
718
|
-
*,
|
|
719
|
-
size: typing.Optional[typing.Any] = (0, 0),
|
|
704
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
705
|
+
execution_context: typing.Union[str, int] = None,
|
|
706
|
+
undo: bool = None,
|
|
707
|
+
size: typing.Any = (0, 0),
|
|
720
708
|
):
|
|
721
709
|
"""Resize the image
|
|
722
710
|
|
|
723
|
-
:type override_context: typing.
|
|
724
|
-
:type execution_context: typing.
|
|
725
|
-
:type undo:
|
|
711
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
712
|
+
:type execution_context: typing.Union[str, int]
|
|
713
|
+
:type undo: bool
|
|
726
714
|
:param size: Size
|
|
727
|
-
:type size: typing.
|
|
715
|
+
:type size: typing.Any
|
|
728
716
|
"""
|
|
729
717
|
|
|
730
718
|
...
|
|
731
719
|
|
|
732
720
|
def rotate_orthogonal(
|
|
733
|
-
override_context: typing.
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
undo: typing.Optional[bool] = None,
|
|
738
|
-
*,
|
|
739
|
-
degrees: typing.Optional[typing.Any] = "90",
|
|
721
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
722
|
+
execution_context: typing.Union[str, int] = None,
|
|
723
|
+
undo: bool = None,
|
|
724
|
+
degrees: typing.Any = "90",
|
|
740
725
|
):
|
|
741
726
|
"""Rotate the image
|
|
742
727
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
728
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
729
|
+
:type execution_context: typing.Union[str, int]
|
|
730
|
+
:type undo: bool
|
|
731
|
+
:param degrees: Degrees, Amount of rotation in degrees (90, 180, 270)
|
|
732
|
+
|
|
733
|
+
90
|
|
734
|
+
90 Degrees -- Rotate 90 degrees clockwise.
|
|
735
|
+
|
|
736
|
+
180
|
|
737
|
+
180 Degrees -- Rotate 180 degrees clockwise.
|
|
738
|
+
|
|
739
|
+
270
|
|
740
|
+
270 Degrees -- Rotate 270 degrees clockwise.
|
|
741
|
+
:type degrees: typing.Any
|
|
748
742
|
"""
|
|
749
743
|
|
|
750
744
|
...
|
|
751
745
|
|
|
752
746
|
def sample(
|
|
753
|
-
override_context: typing.
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
undo: typing.Optional[bool] = None,
|
|
758
|
-
*,
|
|
759
|
-
size: typing.Optional[typing.Any] = 1,
|
|
747
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
748
|
+
execution_context: typing.Union[str, int] = None,
|
|
749
|
+
undo: bool = None,
|
|
750
|
+
size: typing.Any = 1,
|
|
760
751
|
):
|
|
761
752
|
"""Use mouse to sample a color in current image
|
|
762
753
|
|
|
763
|
-
:type override_context: typing.
|
|
764
|
-
:type execution_context: typing.
|
|
765
|
-
:type undo:
|
|
754
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
755
|
+
:type execution_context: typing.Union[str, int]
|
|
756
|
+
:type undo: bool
|
|
766
757
|
:param size: Sample Size
|
|
767
|
-
:type size: typing.
|
|
758
|
+
:type size: typing.Any
|
|
768
759
|
"""
|
|
769
760
|
|
|
770
761
|
...
|
|
771
762
|
|
|
772
763
|
def sample_line(
|
|
773
|
-
override_context: typing.
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
yend: typing.Optional[typing.Any] = 0,
|
|
783
|
-
flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
784
|
-
cursor: typing.Optional[typing.Any] = 5,
|
|
764
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
765
|
+
execution_context: typing.Union[str, int] = None,
|
|
766
|
+
undo: bool = None,
|
|
767
|
+
xstart: typing.Any = 0,
|
|
768
|
+
xend: typing.Any = 0,
|
|
769
|
+
ystart: typing.Any = 0,
|
|
770
|
+
yend: typing.Any = 0,
|
|
771
|
+
flip: typing.Union[bool, typing.Any] = False,
|
|
772
|
+
cursor: typing.Any = 5,
|
|
785
773
|
):
|
|
786
774
|
"""Sample a line and show it in Scope panels
|
|
787
775
|
|
|
788
|
-
:type override_context: typing.
|
|
789
|
-
:type execution_context: typing.
|
|
790
|
-
:type undo:
|
|
776
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
777
|
+
:type execution_context: typing.Union[str, int]
|
|
778
|
+
:type undo: bool
|
|
791
779
|
:param xstart: X Start
|
|
792
|
-
:type xstart: typing.
|
|
780
|
+
:type xstart: typing.Any
|
|
793
781
|
:param xend: X End
|
|
794
|
-
:type xend: typing.
|
|
782
|
+
:type xend: typing.Any
|
|
795
783
|
:param ystart: Y Start
|
|
796
|
-
:type ystart: typing.
|
|
784
|
+
:type ystart: typing.Any
|
|
797
785
|
:param yend: Y End
|
|
798
|
-
:type yend: typing.
|
|
786
|
+
:type yend: typing.Any
|
|
799
787
|
:param flip: Flip
|
|
800
|
-
:type flip: typing.
|
|
788
|
+
:type flip: typing.Union[bool, typing.Any]
|
|
801
789
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
802
|
-
:type cursor: typing.
|
|
790
|
+
:type cursor: typing.Any
|
|
803
791
|
"""
|
|
804
792
|
|
|
805
793
|
...
|
|
806
794
|
|
|
807
795
|
def save(
|
|
808
|
-
override_context: typing.
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
812
|
-
undo: typing.Optional[bool] = None,
|
|
796
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
797
|
+
execution_context: typing.Union[str, int] = None,
|
|
798
|
+
undo: bool = None,
|
|
813
799
|
):
|
|
814
800
|
"""Save the image with current name and settings
|
|
815
801
|
|
|
816
|
-
:type override_context: typing.
|
|
817
|
-
:type execution_context: typing.
|
|
818
|
-
:type undo:
|
|
802
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
803
|
+
:type execution_context: typing.Union[str, int]
|
|
804
|
+
:type undo: bool
|
|
819
805
|
"""
|
|
820
806
|
|
|
821
807
|
...
|
|
822
808
|
|
|
823
809
|
def save_all_modified(
|
|
824
|
-
override_context: typing.
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
828
|
-
undo: typing.Optional[bool] = None,
|
|
810
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
811
|
+
execution_context: typing.Union[str, int] = None,
|
|
812
|
+
undo: bool = None,
|
|
829
813
|
):
|
|
830
814
|
"""Save all modified images
|
|
831
815
|
|
|
832
|
-
:type override_context: typing.
|
|
833
|
-
:type execution_context: typing.
|
|
834
|
-
:type undo:
|
|
816
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
817
|
+
:type execution_context: typing.Union[str, int]
|
|
818
|
+
:type undo: bool
|
|
835
819
|
"""
|
|
836
820
|
|
|
837
821
|
...
|
|
838
822
|
|
|
839
823
|
def save_as(
|
|
840
|
-
override_context: typing.
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
save_as_render: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
847
|
-
copy: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
848
|
-
allow_path_tokens: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
824
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
825
|
+
execution_context: typing.Union[str, int] = None,
|
|
826
|
+
undo: bool = None,
|
|
827
|
+
save_as_render: typing.Union[bool, typing.Any] = False,
|
|
828
|
+
copy: typing.Union[bool, typing.Any] = False,
|
|
829
|
+
allow_path_tokens: typing.Union[bool, typing.Any] = True,
|
|
849
830
|
filepath: typing.Union[str, typing.Any] = "",
|
|
850
|
-
check_existing: typing.
|
|
851
|
-
filter_blender: typing.
|
|
852
|
-
filter_backup: typing.
|
|
853
|
-
filter_image: typing.
|
|
854
|
-
filter_movie: typing.
|
|
855
|
-
filter_python: typing.
|
|
856
|
-
filter_font: typing.
|
|
857
|
-
filter_sound: typing.
|
|
858
|
-
filter_text: typing.
|
|
859
|
-
filter_archive: typing.
|
|
860
|
-
filter_btx: typing.
|
|
861
|
-
filter_collada: typing.
|
|
862
|
-
filter_alembic: typing.
|
|
863
|
-
filter_usd: typing.
|
|
864
|
-
filter_obj: typing.
|
|
865
|
-
filter_volume: typing.
|
|
866
|
-
filter_folder: typing.
|
|
867
|
-
filter_blenlib: typing.
|
|
868
|
-
filemode: typing.
|
|
869
|
-
relative_path: typing.
|
|
870
|
-
show_multiview: typing.
|
|
871
|
-
use_multiview: typing.
|
|
872
|
-
display_type: typing.
|
|
873
|
-
sort_method: typing.
|
|
831
|
+
check_existing: typing.Union[bool, typing.Any] = True,
|
|
832
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
833
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
834
|
+
filter_image: typing.Union[bool, typing.Any] = True,
|
|
835
|
+
filter_movie: typing.Union[bool, typing.Any] = True,
|
|
836
|
+
filter_python: typing.Union[bool, typing.Any] = False,
|
|
837
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
838
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
839
|
+
filter_text: typing.Union[bool, typing.Any] = False,
|
|
840
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
841
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
842
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
843
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
844
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
845
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
846
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
847
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
848
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
849
|
+
filemode: typing.Any = 9,
|
|
850
|
+
relative_path: typing.Union[bool, typing.Any] = True,
|
|
851
|
+
show_multiview: typing.Union[bool, typing.Any] = False,
|
|
852
|
+
use_multiview: typing.Union[bool, typing.Any] = False,
|
|
853
|
+
display_type: typing.Any = "DEFAULT",
|
|
854
|
+
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
874
855
|
):
|
|
875
856
|
"""Save the image with another name and/or settings
|
|
876
857
|
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
858
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
859
|
+
:type execution_context: typing.Union[str, int]
|
|
860
|
+
:type undo: bool
|
|
861
|
+
:param save_as_render: Save As Render, Save image with render color management.For display image formats like PNG, apply view and display transform.For intermediate image formats like OpenEXR, use the default render output color space
|
|
862
|
+
:type save_as_render: typing.Union[bool, typing.Any]
|
|
863
|
+
:param copy: Copy, Create a new image file without modifying the current image in Blender
|
|
864
|
+
:type copy: typing.Union[bool, typing.Any]
|
|
865
|
+
:param allow_path_tokens: Allow the path to contain substitution tokens
|
|
866
|
+
:type allow_path_tokens: typing.Union[bool, typing.Any]
|
|
867
|
+
:param filepath: File Path, Path to file
|
|
868
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
869
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
870
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
871
|
+
:param filter_blender: Filter .blend files
|
|
872
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
873
|
+
:param filter_backup: Filter .blend files
|
|
874
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
875
|
+
:param filter_image: Filter image files
|
|
876
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
877
|
+
:param filter_movie: Filter movie files
|
|
878
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
879
|
+
:param filter_python: Filter Python files
|
|
880
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
881
|
+
:param filter_font: Filter font files
|
|
882
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
883
|
+
:param filter_sound: Filter sound files
|
|
884
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
885
|
+
:param filter_text: Filter text files
|
|
886
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
887
|
+
:param filter_archive: Filter archive files
|
|
888
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
889
|
+
:param filter_btx: Filter btx files
|
|
890
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
891
|
+
:param filter_collada: Filter COLLADA files
|
|
892
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
893
|
+
:param filter_alembic: Filter Alembic files
|
|
894
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
895
|
+
:param filter_usd: Filter USD files
|
|
896
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
897
|
+
:param filter_obj: Filter OBJ files
|
|
898
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
899
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
900
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
901
|
+
:param filter_folder: Filter folders
|
|
902
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
903
|
+
:param filter_blenlib: Filter Blender IDs
|
|
904
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
905
|
+
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
906
|
+
:type filemode: typing.Any
|
|
907
|
+
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
908
|
+
:type relative_path: typing.Union[bool, typing.Any]
|
|
909
|
+
:param show_multiview: Enable Multi-View
|
|
910
|
+
:type show_multiview: typing.Union[bool, typing.Any]
|
|
911
|
+
:param use_multiview: Use Multi-View
|
|
912
|
+
:type use_multiview: typing.Union[bool, typing.Any]
|
|
913
|
+
:param display_type: Display Type
|
|
914
|
+
|
|
915
|
+
DEFAULT
|
|
916
|
+
Default -- Automatically determine display type for files.
|
|
917
|
+
|
|
918
|
+
LIST_VERTICAL
|
|
919
|
+
Short List -- Display files as short list.
|
|
920
|
+
|
|
921
|
+
LIST_HORIZONTAL
|
|
922
|
+
Long List -- Display files as a detailed list.
|
|
923
|
+
|
|
924
|
+
THUMBNAIL
|
|
925
|
+
Thumbnails -- Display files as thumbnails.
|
|
926
|
+
:type display_type: typing.Any
|
|
927
|
+
:param sort_method: File sorting mode
|
|
928
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
936
929
|
"""
|
|
937
930
|
|
|
938
931
|
...
|
|
939
932
|
|
|
940
933
|
def save_sequence(
|
|
941
|
-
override_context: typing.
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
945
|
-
undo: typing.Optional[bool] = None,
|
|
934
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
935
|
+
execution_context: typing.Union[str, int] = None,
|
|
936
|
+
undo: bool = None,
|
|
946
937
|
):
|
|
947
938
|
"""Save a sequence of images
|
|
948
939
|
|
|
949
|
-
:type override_context: typing.
|
|
950
|
-
:type execution_context: typing.
|
|
951
|
-
:type undo:
|
|
940
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
941
|
+
:type execution_context: typing.Union[str, int]
|
|
942
|
+
:type undo: bool
|
|
952
943
|
"""
|
|
953
944
|
|
|
954
945
|
...
|
|
955
946
|
|
|
956
947
|
def tile_add(
|
|
957
|
-
override_context: typing.
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
*,
|
|
963
|
-
number: typing.Optional[typing.Any] = 1002,
|
|
964
|
-
count: typing.Optional[typing.Any] = 1,
|
|
948
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
949
|
+
execution_context: typing.Union[str, int] = None,
|
|
950
|
+
undo: bool = None,
|
|
951
|
+
number: typing.Any = 1002,
|
|
952
|
+
count: typing.Any = 1,
|
|
965
953
|
label: typing.Union[str, typing.Any] = "",
|
|
966
|
-
fill: typing.
|
|
967
|
-
color: typing.
|
|
968
|
-
generated_type: typing.
|
|
969
|
-
width: typing.
|
|
970
|
-
height: typing.
|
|
971
|
-
float: typing.
|
|
972
|
-
alpha: typing.
|
|
954
|
+
fill: typing.Union[bool, typing.Any] = True,
|
|
955
|
+
color: typing.Any = (0.0, 0.0, 0.0, 1.0),
|
|
956
|
+
generated_type: typing.Any = "BLANK",
|
|
957
|
+
width: typing.Any = 1024,
|
|
958
|
+
height: typing.Any = 1024,
|
|
959
|
+
float: typing.Union[bool, typing.Any] = False,
|
|
960
|
+
alpha: typing.Union[bool, typing.Any] = True,
|
|
973
961
|
):
|
|
974
962
|
"""Adds a tile to the image
|
|
975
963
|
|
|
976
|
-
:type override_context: typing.
|
|
977
|
-
:type execution_context: typing.
|
|
978
|
-
:type undo:
|
|
964
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
965
|
+
:type execution_context: typing.Union[str, int]
|
|
966
|
+
:type undo: bool
|
|
979
967
|
:param number: Number, UDIM number of the tile
|
|
980
|
-
:type number: typing.
|
|
968
|
+
:type number: typing.Any
|
|
981
969
|
:param count: Count, How many tiles to add
|
|
982
|
-
:type count: typing.
|
|
970
|
+
:type count: typing.Any
|
|
983
971
|
:param label: Label, Optional tile label
|
|
984
972
|
:type label: typing.Union[str, typing.Any]
|
|
985
973
|
:param fill: Fill, Fill new tile with a generated image
|
|
986
|
-
:type fill: typing.
|
|
974
|
+
:type fill: typing.Union[bool, typing.Any]
|
|
987
975
|
:param color: Color, Default fill color
|
|
988
|
-
:type color: typing.
|
|
976
|
+
:type color: typing.Any
|
|
989
977
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
990
|
-
:type generated_type: typing.
|
|
978
|
+
:type generated_type: typing.Any
|
|
991
979
|
:param width: Width, Image width
|
|
992
|
-
:type width: typing.
|
|
980
|
+
:type width: typing.Any
|
|
993
981
|
:param height: Height, Image height
|
|
994
|
-
:type height: typing.
|
|
982
|
+
:type height: typing.Any
|
|
995
983
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
996
|
-
:type float: typing.
|
|
984
|
+
:type float: typing.Union[bool, typing.Any]
|
|
997
985
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
998
|
-
:type alpha: typing.
|
|
986
|
+
:type alpha: typing.Union[bool, typing.Any]
|
|
999
987
|
"""
|
|
1000
988
|
|
|
1001
989
|
...
|
|
1002
990
|
|
|
1003
991
|
def tile_fill(
|
|
1004
|
-
override_context: typing.
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
height: typing.Optional[typing.Any] = 1024,
|
|
1014
|
-
float: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1015
|
-
alpha: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
992
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
993
|
+
execution_context: typing.Union[str, int] = None,
|
|
994
|
+
undo: bool = None,
|
|
995
|
+
color: typing.Any = (0.0, 0.0, 0.0, 1.0),
|
|
996
|
+
generated_type: typing.Any = "BLANK",
|
|
997
|
+
width: typing.Any = 1024,
|
|
998
|
+
height: typing.Any = 1024,
|
|
999
|
+
float: typing.Union[bool, typing.Any] = False,
|
|
1000
|
+
alpha: typing.Union[bool, typing.Any] = True,
|
|
1016
1001
|
):
|
|
1017
1002
|
"""Fill the current tile with a generated image
|
|
1018
1003
|
|
|
1019
|
-
:type override_context: typing.
|
|
1020
|
-
:type execution_context: typing.
|
|
1021
|
-
:type undo:
|
|
1004
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1005
|
+
:type execution_context: typing.Union[str, int]
|
|
1006
|
+
:type undo: bool
|
|
1022
1007
|
:param color: Color, Default fill color
|
|
1023
|
-
:type color: typing.
|
|
1008
|
+
:type color: typing.Any
|
|
1024
1009
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
1025
|
-
:type generated_type: typing.
|
|
1010
|
+
:type generated_type: typing.Any
|
|
1026
1011
|
:param width: Width, Image width
|
|
1027
|
-
:type width: typing.
|
|
1012
|
+
:type width: typing.Any
|
|
1028
1013
|
:param height: Height, Image height
|
|
1029
|
-
:type height: typing.
|
|
1014
|
+
:type height: typing.Any
|
|
1030
1015
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
1031
|
-
:type float: typing.
|
|
1016
|
+
:type float: typing.Union[bool, typing.Any]
|
|
1032
1017
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
1033
|
-
:type alpha: typing.
|
|
1018
|
+
:type alpha: typing.Union[bool, typing.Any]
|
|
1034
1019
|
"""
|
|
1035
1020
|
|
|
1036
1021
|
...
|
|
1037
1022
|
|
|
1038
1023
|
def tile_remove(
|
|
1039
|
-
override_context: typing.
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1043
|
-
undo: typing.Optional[bool] = None,
|
|
1024
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1025
|
+
execution_context: typing.Union[str, int] = None,
|
|
1026
|
+
undo: bool = None,
|
|
1044
1027
|
):
|
|
1045
1028
|
"""Removes a tile from the image
|
|
1046
1029
|
|
|
1047
|
-
:type override_context: typing.
|
|
1048
|
-
:type execution_context: typing.
|
|
1049
|
-
:type undo:
|
|
1030
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1031
|
+
:type execution_context: typing.Union[str, int]
|
|
1032
|
+
:type undo: bool
|
|
1050
1033
|
"""
|
|
1051
1034
|
|
|
1052
1035
|
...
|
|
1053
1036
|
|
|
1054
1037
|
def unpack(
|
|
1055
|
-
override_context: typing.
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
undo: typing.Optional[bool] = None,
|
|
1060
|
-
*,
|
|
1061
|
-
method: typing.Optional[typing.Union[str, int]] = "USE_LOCAL",
|
|
1038
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1039
|
+
execution_context: typing.Union[str, int] = None,
|
|
1040
|
+
undo: bool = None,
|
|
1041
|
+
method: typing.Any = "USE_LOCAL",
|
|
1062
1042
|
id: typing.Union[str, typing.Any] = "",
|
|
1063
1043
|
):
|
|
1064
1044
|
"""Save an image packed in the .blend file to disk
|
|
1065
1045
|
|
|
1066
|
-
:type override_context: typing.
|
|
1067
|
-
:type execution_context: typing.
|
|
1068
|
-
:type undo:
|
|
1046
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1047
|
+
:type execution_context: typing.Union[str, int]
|
|
1048
|
+
:type undo: bool
|
|
1069
1049
|
:param method: Method, How to unpack
|
|
1070
|
-
:type method: typing.
|
|
1050
|
+
:type method: typing.Any
|
|
1071
1051
|
:param id: Image Name, Image data-block name to unpack
|
|
1072
1052
|
:type id: typing.Union[str, typing.Any]
|
|
1073
1053
|
"""
|
|
@@ -1075,227 +1055,197 @@ def unpack(
|
|
|
1075
1055
|
...
|
|
1076
1056
|
|
|
1077
1057
|
def view_all(
|
|
1078
|
-
override_context: typing.
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
undo: typing.Optional[bool] = None,
|
|
1083
|
-
*,
|
|
1084
|
-
fit_view: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1058
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1059
|
+
execution_context: typing.Union[str, int] = None,
|
|
1060
|
+
undo: bool = None,
|
|
1061
|
+
fit_view: typing.Union[bool, typing.Any] = False,
|
|
1085
1062
|
):
|
|
1086
1063
|
"""View the entire image
|
|
1087
1064
|
|
|
1088
|
-
:type override_context: typing.
|
|
1089
|
-
:type execution_context: typing.
|
|
1090
|
-
:type undo:
|
|
1065
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1066
|
+
:type execution_context: typing.Union[str, int]
|
|
1067
|
+
:type undo: bool
|
|
1091
1068
|
:param fit_view: Fit View, Fit frame to the viewport
|
|
1092
|
-
:type fit_view: typing.
|
|
1069
|
+
:type fit_view: typing.Union[bool, typing.Any]
|
|
1093
1070
|
"""
|
|
1094
1071
|
|
|
1095
1072
|
...
|
|
1096
1073
|
|
|
1097
1074
|
def view_center_cursor(
|
|
1098
|
-
override_context: typing.
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1102
|
-
undo: typing.Optional[bool] = None,
|
|
1075
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1076
|
+
execution_context: typing.Union[str, int] = None,
|
|
1077
|
+
undo: bool = None,
|
|
1103
1078
|
):
|
|
1104
1079
|
"""Center the view so that the cursor is in the middle of the view
|
|
1105
1080
|
|
|
1106
|
-
:type override_context: typing.
|
|
1107
|
-
:type execution_context: typing.
|
|
1108
|
-
:type undo:
|
|
1081
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1082
|
+
:type execution_context: typing.Union[str, int]
|
|
1083
|
+
:type undo: bool
|
|
1109
1084
|
"""
|
|
1110
1085
|
|
|
1111
1086
|
...
|
|
1112
1087
|
|
|
1113
1088
|
def view_cursor_center(
|
|
1114
|
-
override_context: typing.
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
undo: typing.Optional[bool] = None,
|
|
1119
|
-
*,
|
|
1120
|
-
fit_view: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1089
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1090
|
+
execution_context: typing.Union[str, int] = None,
|
|
1091
|
+
undo: bool = None,
|
|
1092
|
+
fit_view: typing.Union[bool, typing.Any] = False,
|
|
1121
1093
|
):
|
|
1122
1094
|
"""Set 2D Cursor To Center View location
|
|
1123
1095
|
|
|
1124
|
-
:type override_context: typing.
|
|
1125
|
-
:type execution_context: typing.
|
|
1126
|
-
:type undo:
|
|
1096
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1097
|
+
:type execution_context: typing.Union[str, int]
|
|
1098
|
+
:type undo: bool
|
|
1127
1099
|
:param fit_view: Fit View, Fit frame to the viewport
|
|
1128
|
-
:type fit_view: typing.
|
|
1100
|
+
:type fit_view: typing.Union[bool, typing.Any]
|
|
1129
1101
|
"""
|
|
1130
1102
|
|
|
1131
1103
|
...
|
|
1132
1104
|
|
|
1133
1105
|
def view_ndof(
|
|
1134
|
-
override_context: typing.
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1138
|
-
undo: typing.Optional[bool] = None,
|
|
1106
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1107
|
+
execution_context: typing.Union[str, int] = None,
|
|
1108
|
+
undo: bool = None,
|
|
1139
1109
|
):
|
|
1140
1110
|
"""Use a 3D mouse device to pan/zoom the view
|
|
1141
1111
|
|
|
1142
|
-
:type override_context: typing.
|
|
1143
|
-
:type execution_context: typing.
|
|
1144
|
-
:type undo:
|
|
1112
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1113
|
+
:type execution_context: typing.Union[str, int]
|
|
1114
|
+
:type undo: bool
|
|
1145
1115
|
"""
|
|
1146
1116
|
|
|
1147
1117
|
...
|
|
1148
1118
|
|
|
1149
1119
|
def view_pan(
|
|
1150
|
-
override_context: typing.
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
undo: typing.Optional[bool] = None,
|
|
1155
|
-
*,
|
|
1156
|
-
offset: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
1120
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1121
|
+
execution_context: typing.Union[str, int] = None,
|
|
1122
|
+
undo: bool = None,
|
|
1123
|
+
offset: typing.Any = (0.0, 0.0),
|
|
1157
1124
|
):
|
|
1158
1125
|
"""Pan the view
|
|
1159
1126
|
|
|
1160
|
-
:type override_context: typing.
|
|
1161
|
-
:type execution_context: typing.
|
|
1162
|
-
:type undo:
|
|
1127
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1128
|
+
:type execution_context: typing.Union[str, int]
|
|
1129
|
+
:type undo: bool
|
|
1163
1130
|
:param offset: Offset, Offset in floating-point units, 1.0 is the width and height of the image
|
|
1164
|
-
:type offset: typing.
|
|
1131
|
+
:type offset: typing.Any
|
|
1165
1132
|
"""
|
|
1166
1133
|
|
|
1167
1134
|
...
|
|
1168
1135
|
|
|
1169
1136
|
def view_selected(
|
|
1170
|
-
override_context: typing.
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1174
|
-
undo: typing.Optional[bool] = None,
|
|
1137
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1138
|
+
execution_context: typing.Union[str, int] = None,
|
|
1139
|
+
undo: bool = None,
|
|
1175
1140
|
):
|
|
1176
1141
|
"""View all selected UVs
|
|
1177
1142
|
|
|
1178
|
-
:type override_context: typing.
|
|
1179
|
-
:type execution_context: typing.
|
|
1180
|
-
:type undo:
|
|
1143
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1144
|
+
:type execution_context: typing.Union[str, int]
|
|
1145
|
+
:type undo: bool
|
|
1181
1146
|
"""
|
|
1182
1147
|
|
|
1183
1148
|
...
|
|
1184
1149
|
|
|
1185
1150
|
def view_zoom(
|
|
1186
|
-
override_context: typing.
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
*,
|
|
1192
|
-
factor: typing.Optional[typing.Any] = 0.0,
|
|
1193
|
-
use_cursor_init: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1151
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1152
|
+
execution_context: typing.Union[str, int] = None,
|
|
1153
|
+
undo: bool = None,
|
|
1154
|
+
factor: typing.Any = 0.0,
|
|
1155
|
+
use_cursor_init: typing.Union[bool, typing.Any] = True,
|
|
1194
1156
|
):
|
|
1195
1157
|
"""Zoom in/out the image
|
|
1196
1158
|
|
|
1197
|
-
:type override_context: typing.
|
|
1198
|
-
:type execution_context: typing.
|
|
1199
|
-
:type undo:
|
|
1159
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1160
|
+
:type execution_context: typing.Union[str, int]
|
|
1161
|
+
:type undo: bool
|
|
1200
1162
|
:param factor: Factor, Zoom factor, values higher than 1.0 zoom in, lower values zoom out
|
|
1201
|
-
:type factor: typing.
|
|
1163
|
+
:type factor: typing.Any
|
|
1202
1164
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
1203
|
-
:type use_cursor_init: typing.
|
|
1165
|
+
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
1204
1166
|
"""
|
|
1205
1167
|
|
|
1206
1168
|
...
|
|
1207
1169
|
|
|
1208
1170
|
def view_zoom_border(
|
|
1209
|
-
override_context: typing.
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
1219
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1220
|
-
zoom_out: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1171
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1172
|
+
execution_context: typing.Union[str, int] = None,
|
|
1173
|
+
undo: bool = None,
|
|
1174
|
+
xmin: typing.Any = 0,
|
|
1175
|
+
xmax: typing.Any = 0,
|
|
1176
|
+
ymin: typing.Any = 0,
|
|
1177
|
+
ymax: typing.Any = 0,
|
|
1178
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
1179
|
+
zoom_out: typing.Union[bool, typing.Any] = False,
|
|
1221
1180
|
):
|
|
1222
1181
|
"""Zoom in the view to the nearest item contained in the border
|
|
1223
1182
|
|
|
1224
|
-
:type override_context: typing.
|
|
1225
|
-
:type execution_context: typing.
|
|
1226
|
-
:type undo:
|
|
1183
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1184
|
+
:type execution_context: typing.Union[str, int]
|
|
1185
|
+
:type undo: bool
|
|
1227
1186
|
:param xmin: X Min
|
|
1228
|
-
:type xmin: typing.
|
|
1187
|
+
:type xmin: typing.Any
|
|
1229
1188
|
:param xmax: X Max
|
|
1230
|
-
:type xmax: typing.
|
|
1189
|
+
:type xmax: typing.Any
|
|
1231
1190
|
:param ymin: Y Min
|
|
1232
|
-
:type ymin: typing.
|
|
1191
|
+
:type ymin: typing.Any
|
|
1233
1192
|
:param ymax: Y Max
|
|
1234
|
-
:type ymax: typing.
|
|
1193
|
+
:type ymax: typing.Any
|
|
1235
1194
|
:param wait_for_input: Wait for Input
|
|
1236
|
-
:type wait_for_input: typing.
|
|
1195
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
1237
1196
|
:param zoom_out: Zoom Out
|
|
1238
|
-
:type zoom_out: typing.
|
|
1197
|
+
:type zoom_out: typing.Union[bool, typing.Any]
|
|
1239
1198
|
"""
|
|
1240
1199
|
|
|
1241
1200
|
...
|
|
1242
1201
|
|
|
1243
1202
|
def view_zoom_in(
|
|
1244
|
-
override_context: typing.
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
undo: typing.Optional[bool] = None,
|
|
1249
|
-
*,
|
|
1250
|
-
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
1203
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1204
|
+
execution_context: typing.Union[str, int] = None,
|
|
1205
|
+
undo: bool = None,
|
|
1206
|
+
location: typing.Any = (0.0, 0.0),
|
|
1251
1207
|
):
|
|
1252
1208
|
"""Zoom in the image (centered around 2D cursor)
|
|
1253
1209
|
|
|
1254
|
-
:type override_context: typing.
|
|
1255
|
-
:type execution_context: typing.
|
|
1256
|
-
:type undo:
|
|
1210
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1211
|
+
:type execution_context: typing.Union[str, int]
|
|
1212
|
+
:type undo: bool
|
|
1257
1213
|
:param location: Location, Cursor location in screen coordinates
|
|
1258
|
-
:type location: typing.
|
|
1214
|
+
:type location: typing.Any
|
|
1259
1215
|
"""
|
|
1260
1216
|
|
|
1261
1217
|
...
|
|
1262
1218
|
|
|
1263
1219
|
def view_zoom_out(
|
|
1264
|
-
override_context: typing.
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
undo: typing.Optional[bool] = None,
|
|
1269
|
-
*,
|
|
1270
|
-
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
1220
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1221
|
+
execution_context: typing.Union[str, int] = None,
|
|
1222
|
+
undo: bool = None,
|
|
1223
|
+
location: typing.Any = (0.0, 0.0),
|
|
1271
1224
|
):
|
|
1272
1225
|
"""Zoom out the image (centered around 2D cursor)
|
|
1273
1226
|
|
|
1274
|
-
:type override_context: typing.
|
|
1275
|
-
:type execution_context: typing.
|
|
1276
|
-
:type undo:
|
|
1227
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1228
|
+
:type execution_context: typing.Union[str, int]
|
|
1229
|
+
:type undo: bool
|
|
1277
1230
|
:param location: Location, Cursor location in screen coordinates
|
|
1278
|
-
:type location: typing.
|
|
1231
|
+
:type location: typing.Any
|
|
1279
1232
|
"""
|
|
1280
1233
|
|
|
1281
1234
|
...
|
|
1282
1235
|
|
|
1283
1236
|
def view_zoom_ratio(
|
|
1284
|
-
override_context: typing.
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
undo: typing.Optional[bool] = None,
|
|
1289
|
-
*,
|
|
1290
|
-
ratio: typing.Optional[typing.Any] = 0.0,
|
|
1237
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1238
|
+
execution_context: typing.Union[str, int] = None,
|
|
1239
|
+
undo: bool = None,
|
|
1240
|
+
ratio: typing.Any = 0.0,
|
|
1291
1241
|
):
|
|
1292
1242
|
"""Set zoom ratio of the view
|
|
1293
1243
|
|
|
1294
|
-
:type override_context: typing.
|
|
1295
|
-
:type execution_context: typing.
|
|
1296
|
-
:type undo:
|
|
1297
|
-
:param ratio: 1, higher is zoomed in, lower is zoomed out
|
|
1298
|
-
:type ratio: typing.
|
|
1244
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1245
|
+
:type execution_context: typing.Union[str, int]
|
|
1246
|
+
:type undo: bool
|
|
1247
|
+
:param ratio: Ratio, Zoom ratio, 1.0 is 1:1, higher is zoomed in, lower is zoomed out
|
|
1248
|
+
:type ratio: typing.Any
|
|
1299
1249
|
"""
|
|
1300
1250
|
|
|
1301
1251
|
...
|