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