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