fake-bge-module 20250317__py3-none-any.whl → 20260201__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.
- {animsys_refactor → _animsys_refactor}/__init__.pyi +7 -6
- {bl_console_utils → _bl_console_utils}/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +1 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +1 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +3 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +1 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +2 -0
- _bl_i18n_utils/bl_extract_messages/__init__.pyi +28 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +2 -1
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +10 -7
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +53 -50
- _bl_i18n_utils/utils_cli/__init__.pyi +11 -0
- _bl_i18n_utils/utils_languages_menu/__init__.pyi +6 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +3 -2
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +1 -0
- _bl_previews_utils/bl_previews_render/__init__.pyi +14 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +1 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +3 -2
- {bl_text_utils → _bl_text_utils}/__init__.pyi +1 -0
- _bl_text_utils/external_editor/__init__.pyi +6 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +2 -1
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +5 -1
- _bpy_internal/addons/__init__.pyi +1 -0
- _bpy_internal/addons/cli/__init__.pyi +2 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/__init__.pyi +1 -0
- _bpy_internal/extensions/junction_module/__init__.pyi +8 -7
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +9 -8
- _bpy_internal/extensions/wheel_manager/__init__.pyi +6 -5
- {bl_i18n_utils/utils_languages_menu → _bpy_internal/filesystem}/__init__.pyi +2 -2
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/__init__.pyi +1 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +22 -6
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_internal/platform/freedesktop/__init__.pyi +21 -0
- _bpy_internal/system_info/__init__.pyi +1 -0
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +3 -2
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +1 -0
- _bpy_types/__init__.pyi +1635 -0
- {console_python → _console_python}/__init__.pyi +8 -7
- _console_shell/__init__.pyi +10 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +3 -2
- _keyingsets_utils/__init__.pyi +21 -0
- {rna_info → _rna_info}/__init__.pyi +32 -27
- {rna_xml → _rna_xml}/__init__.pyi +7 -6
- addon_utils/__init__.pyi +13 -25
- aud/__init__.pyi +133 -155
- bge/__init__.pyi +1 -0
- bge/app/__init__.pyi +1 -0
- bge/constraints/__init__.pyi +22 -51
- bge/types/__init__.pyi +618 -1913
- bge_extras/__init__.pyi +1 -0
- bge_extras/logger/__init__.pyi +4 -3
- bgui/__init__.pyi +1 -0
- bgui/frame/__init__.pyi +1 -0
- bgui/frame_button/__init__.pyi +1 -0
- bgui/image/__init__.pyi +1 -1
- bgui/image_button/__init__.pyi +1 -0
- bgui/label/__init__.pyi +1 -0
- bgui/list_box/__init__.pyi +1 -1
- bgui/progress_bar/__init__.pyi +2 -1
- bgui/system/__init__.pyi +3 -5
- bgui/text_block/__init__.pyi +1 -0
- bgui/text_input/__init__.pyi +9 -8
- bgui/theme/__init__.pyi +4 -3
- bgui/widget/__init__.pyi +5 -4
- bl_app_override/__init__.pyi +4 -3
- bl_app_override/helpers/__init__.pyi +3 -2
- bl_app_template_utils/__init__.pyi +5 -4
- bl_app_templates_system/Game_Engine/__init__.pyi +5 -4
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +2 -0
- bl_keymap_utils/__init__.pyi +1 -0
- bl_keymap_utils/io/__init__.pyi +10 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -2
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +4 -13
- bl_operators/__init__.pyi +4 -2
- bl_operators/add_mesh_torus/__init__.pyi +9 -9
- bl_operators/anim/__init__.pyi +90 -62
- bl_operators/assets/__init__.pyi +14 -18
- bl_operators/bmesh/__init__.pyi +1 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +12 -9
- bl_operators/bone_selection_sets/__init__.pyi +34 -60
- bl_operators/clip/__init__.pyi +39 -57
- bl_operators/connect_to_output/__init__.pyi +20 -18
- bl_operators/console/__init__.pyi +17 -25
- bl_operators/constraint/__init__.pyi +15 -21
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +13 -17
- bl_operators/freestyle/__init__.pyi +15 -21
- bl_operators/geometry_nodes/__init__.pyi +30 -36
- bl_operators/grease_pencil/__init__.pyi +5 -5
- bl_operators/image/__init__.pyi +14 -22
- bl_operators/image_as_planes/__init__.pyi +36 -42
- bl_operators/mesh/__init__.pyi +8 -53
- bl_operators/node/__init__.pyi +375 -92
- bl_operators/node_editor/__init__.pyi +1 -0
- bl_operators/node_editor/node_functions/__init__.pyi +10 -9
- bl_operators/object/__init__.pyi +57 -98
- bl_operators/object_align/__init__.pyi +8 -8
- bl_operators/object_quick_effects/__init__.pyi +15 -21
- bl_operators/object_randomize_transform/__init__.pyi +6 -6
- bl_operators/presets/__init__.pyi +46 -94
- bl_operators/rigidbody/__init__.pyi +12 -16
- bl_operators/screen_play_rendered_anim/__init__.pyi +5 -5
- bl_operators/sequencer/__init__.pyi +40 -54
- bl_operators/spreadsheet/__init__.pyi +7 -7
- bl_operators/userpref/__init__.pyi +69 -117
- bl_operators/uvcalc_follow_active/__init__.pyi +8 -8
- bl_operators/uvcalc_lightmap/__init__.pyi +12 -12
- bl_operators/uvcalc_transform/__init__.pyi +39 -28
- bl_operators/vertexpaint_dirt/__init__.pyi +7 -7
- bl_operators/view3d/__init__.pyi +31 -43
- bl_operators/wm/__init__.pyi +139 -231
- bl_operators/world/__init__.pyi +6 -6
- bl_ui/__init__.pyi +18 -17
- bl_ui/anim/__init__.pyi +5 -5
- bl_ui/asset_shelf/__init__.pyi +5 -5
- bl_ui/generic_ui_list/__init__.pyi +11 -25
- bl_ui/node_add_menu/__init__.pyi +281 -12
- bl_ui/node_add_menu_compositor/__init__.pyi +135 -91
- bl_ui/node_add_menu_geometry/__init__.pyi +407 -263
- bl_ui/node_add_menu_shader/__init__.pyi +67 -67
- bl_ui/node_add_menu_texture/__init__.pyi +25 -69
- bl_ui/properties_animviz/__init__.pyi +3 -2
- bl_ui/properties_collection/__init__.pyi +20 -30
- bl_ui/properties_constraint/__init__.pyi +228 -450
- bl_ui/properties_data_armature/__init__.pyi +45 -79
- bl_ui/properties_data_bone/__init__.pyi +33 -51
- bl_ui/properties_data_camera/__init__.pyi +43 -75
- bl_ui/properties_data_curve/__init__.pyi +42 -101
- bl_ui/properties_data_curves/__init__.pyi +21 -35
- bl_ui/properties_data_empty/__init__.pyi +8 -10
- bl_ui/properties_data_grease_pencil/__init__.pyi +49 -87
- bl_ui/properties_data_lattice/__init__.pyi +12 -18
- bl_ui/properties_data_light/__init__.pyi +28 -46
- bl_ui/properties_data_lightprobe/__init__.pyi +35 -61
- bl_ui/properties_data_mesh/__init__.pyi +73 -120
- bl_ui/properties_data_metaball/__init__.pyi +16 -26
- bl_ui/properties_data_modifier/__init__.pyi +34 -39
- bl_ui/properties_data_pointcloud/__init__.pyi +17 -27
- bl_ui/properties_data_shaderfx/__init__.pyi +4 -4
- bl_ui/properties_data_speaker/__init__.pyi +15 -25
- bl_ui/properties_data_volume/__init__.pyi +22 -38
- bl_ui/properties_freestyle/__init__.pyi +79 -127
- bl_ui/properties_game/__init__.pyi +88 -84
- bl_ui/properties_grease_pencil_common/__init__.pyi +33 -190
- bl_ui/properties_mask_common/__init__.pyi +33 -45
- bl_ui/properties_material/__init__.pyi +52 -111
- bl_ui/properties_material_gpencil/__init__.pyi +48 -68
- bl_ui/properties_object/__init__.pyi +123 -93
- bl_ui/properties_output/__init__.pyi +103 -81
- bl_ui/properties_paint_common/__init__.pyi +78 -59
- bl_ui/properties_particle/__init__.pyi +160 -262
- bl_ui/properties_physics_cloth/__init__.pyi +36 -62
- bl_ui/properties_physics_common/__init__.pyi +11 -11
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +81 -123
- bl_ui/properties_physics_field/__init__.pyi +35 -53
- bl_ui/properties_physics_fluid/__init__.pyi +106 -160
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +6 -6
- bl_ui/properties_physics_rigidbody/__init__.pyi +28 -42
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +44 -68
- bl_ui/properties_physics_softbody/__init__.pyi +38 -66
- bl_ui/properties_render/__init__.pyi +267 -259
- bl_ui/properties_scene/__init__.pyi +69 -72
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +69 -122
- bl_ui/properties_view_layer/__init__.pyi +97 -51
- bl_ui/properties_workspace/__init__.pyi +12 -18
- bl_ui/properties_world/__init__.pyi +33 -53
- bl_ui/space_clip/__init__.pyi +231 -311
- bl_ui/space_console/__init__.pyi +14 -24
- bl_ui/space_dopesheet/__init__.pyi +193 -125
- bl_ui/space_filebrowser/__init__.pyi +107 -131
- bl_ui/space_graph/__init__.pyi +93 -80
- bl_ui/space_image/__init__.pyi +207 -291
- bl_ui/space_info/__init__.pyi +14 -24
- bl_ui/space_logic/__init__.pyi +14 -22
- bl_ui/space_nla/__init__.pyi +63 -69
- bl_ui/space_node/__init__.pyi +215 -154
- bl_ui/space_outliner/__init__.pyi +65 -61
- bl_ui/space_properties/__init__.pyi +41 -16
- bl_ui/space_sequencer/__init__.pyi +276 -980
- bl_ui/space_spreadsheet/__init__.pyi +27 -23
- bl_ui/space_statusbar/__init__.pyi +4 -4
- bl_ui/space_text/__init__.pyi +39 -73
- bl_ui/space_time/__init__.pyi +33 -78
- bl_ui/space_toolsystem_common/__init__.pyi +31 -28
- bl_ui/space_toolsystem_toolbar/__init__.pyi +67 -43
- bl_ui/space_topbar/__init__.pyi +68 -111
- bl_ui/space_userpref/__init__.pyi +310 -445
- bl_ui/space_view3d/__init__.pyi +667 -1122
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +237 -966
- bl_ui/utils/__init__.pyi +4 -3
- blend_render_info/__init__.pyi +4 -2
- blf/__init__.pyi +92 -59
- bmesh/__init__.pyi +4 -10
- bmesh/geometry/__init__.pyi +2 -4
- bmesh/ops/__init__.pyi +442 -815
- bmesh/types/__init__.pyi +377 -720
- bmesh/utils/__init__.pyi +20 -45
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +96 -90
- bpy/app/handlers/__init__.pyi +24 -19
- bpy/app/icons/__init__.pyi +2 -7
- bpy/app/timers/__init__.pyi +5 -18
- bpy/app/translations/__init__.pyi +21 -35
- bpy/msgbus/__init__.pyi +20 -9
- bpy/ops/__init__.pyi +21 -3
- bpy/ops/action/__init__.pyi +121 -226
- bpy/ops/anim/__init__.pyi +204 -358
- bpy/ops/armature/__init__.pyi +129 -249
- bpy/ops/asset/__init__.pyi +82 -111
- bpy/ops/bge_bricknodes/__init__.pyi +61 -0
- bpy/ops/boid/__init__.pyi +44 -50
- bpy/ops/bricknodes/__init__.pyi +37 -0
- bpy/ops/brush/__init__.pyi +33 -120
- bpy/ops/buttons/__init__.pyi +27 -83
- bpy/ops/cachefile/__init__.pyi +16 -74
- bpy/ops/camera/__init__.pyi +3 -13
- bpy/ops/clip/__init__.pyi +278 -558
- bpy/ops/cloth/__init__.pyi +2 -6
- bpy/ops/collection/__init__.pyi +34 -44
- bpy/ops/console/__init__.pyi +70 -111
- bpy/ops/constraint/__init__.pyi +34 -102
- bpy/ops/curve/__init__.pyi +163 -315
- bpy/ops/curves/__init__.pyi +163 -189
- bpy/ops/cycles/__init__.pyi +8 -18
- bpy/ops/dpaint/__init__.pyi +21 -30
- bpy/ops/ed/__init__.pyi +59 -103
- bpy/ops/export_anim/__init__.pyi +4 -11
- bpy/ops/export_scene/__init__.pyi +29 -174
- bpy/ops/extensions/__init__.pyi +102 -194
- bpy/ops/file/__init__.pyi +166 -272
- bpy/ops/fluid/__init__.pyi +78 -86
- bpy/ops/font/__init__.pyi +73 -164
- bpy/ops/geometry/__init__.pyi +33 -144
- bpy/ops/gizmogroup/__init__.pyi +8 -14
- bpy/ops/gpencil/__init__.pyi +31 -58
- bpy/ops/graph/__init__.pyi +176 -411
- bpy/ops/grease_pencil/__init__.pyi +416 -639
- bpy/ops/image/__init__.pyi +148 -492
- bpy/ops/import_anim/__init__.pyi +5 -18
- bpy/ops/import_curve/__init__.pyi +4 -6
- bpy/ops/import_scene/__init__.pyi +22 -49
- bpy/ops/info/__init__.pyi +27 -43
- bpy/ops/lattice/__init__.pyi +26 -43
- bpy/ops/logic/__init__.pyi +49 -122
- bpy/ops/logic_nodes/__init__.pyi +461 -0
- bpy/ops/marker/__init__.pyi +24 -60
- bpy/ops/mask/__init__.pyi +118 -222
- bpy/ops/material/__init__.pyi +19 -18
- bpy/ops/mball/__init__.pyi +13 -39
- bpy/ops/mesh/__init__.pyi +409 -1264
- bpy/ops/nla/__init__.pyi +140 -232
- bpy/ops/node/__init__.pyi +1189 -807
- bpy/ops/object/__init__.pyi +806 -1659
- bpy/ops/outliner/__init__.pyi +284 -432
- bpy/ops/paint/__init__.pyi +189 -381
- bpy/ops/paintcurve/__init__.pyi +29 -44
- bpy/ops/palette/__init__.pyi +23 -34
- bpy/ops/particle/__init__.pyi +135 -201
- bpy/ops/pointcloud/__init__.pyi +23 -42
- bpy/ops/pose/__init__.pyi +195 -310
- bpy/ops/poselib/__init__.pyi +45 -73
- bpy/ops/preferences/__init__.pyi +89 -221
- bpy/ops/ptcache/__init__.pyi +32 -39
- bpy/ops/render/__init__.pyi +36 -83
- bpy/ops/rigidbody/__init__.pyi +47 -78
- bpy/ops/scene/__init__.pyi +169 -222
- bpy/ops/screen/__init__.pyi +146 -259
- bpy/ops/script/__init__.pyi +9 -15
- bpy/ops/sculpt/__init__.pyi +194 -354
- bpy/ops/sculpt_curves/__init__.pyi +21 -29
- bpy/ops/sequencer/__init__.pyi +586 -836
- bpy/ops/sound/__init__.pyi +25 -131
- bpy/ops/spreadsheet/__init__.pyi +34 -21
- bpy/ops/surface/__init__.pyi +7 -54
- bpy/ops/text/__init__.pyi +166 -281
- bpy/ops/text_editor/__init__.pyi +2 -6
- bpy/ops/texture/__init__.pyi +20 -22
- bpy/ops/transform/__init__.pyi +108 -445
- bpy/ops/ui/__init__.pyi +157 -219
- bpy/ops/uilist/__init__.pyi +4 -16
- bpy/ops/uv/__init__.pyi +291 -347
- bpy/ops/view2d/__init__.pyi +29 -88
- bpy/ops/view3d/__init__.pyi +238 -438
- bpy/ops/wm/__init__.pyi +651 -1510
- bpy/ops/workspace/__init__.pyi +42 -44
- bpy/ops/world/__init__.pyi +12 -13
- bpy/path/__init__.pyi +5 -36
- bpy/props/__init__.pyi +395 -259
- bpy/{_typing → stub_internal}/__init__.pyi +1 -0
- bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +214 -114
- bpy/types/__init__.pyi +93285 -103831
- bpy/utils/__init__.pyi +46 -104
- bpy/utils/previews/__init__.pyi +7 -15
- bpy/utils/units/__init__.pyi +6 -15
- bpy_extras/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +32 -23
- bpy_extras/asset_utils/__init__.pyi +1 -0
- bpy_extras/bmesh_utils/__init__.pyi +2 -2
- bpy_extras/id_map_utils/__init__.pyi +15 -6
- bpy_extras/image_utils/__init__.pyi +3 -11
- bpy_extras/io_utils/__init__.pyi +22 -38
- bpy_extras/keyconfig_utils/__init__.pyi +5 -4
- bpy_extras/mesh_utils/__init__.pyi +3 -14
- bpy_extras/node_shader_utils/__init__.pyi +63 -70
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +6 -19
- bpy_extras/view3d_utils/__init__.pyi +1 -18
- bpy_extras/wm_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +12 -11
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/METADATA +9 -3
- fake_bge_module-20260201.dist-info/RECORD +414 -0
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/WHEEL +1 -1
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/top_level.txt +16 -16
- freestyle/__init__.pyi +1 -0
- freestyle/chainingiterators/__init__.pyi +41 -60
- freestyle/functions/__init__.pyi +56 -194
- freestyle/predicates/__init__.pyi +11 -61
- freestyle/shaders/__init__.pyi +95 -156
- freestyle/types/__init__.pyi +306 -941
- freestyle/utils/ContextFunctions/__init__.pyi +4 -24
- freestyle/utils/__init__.pyi +46 -36
- gpu/__init__.pyi +84 -5
- gpu/capabilities/__init__.pyi +1 -21
- gpu/matrix/__init__.pyi +16 -24
- gpu/platform/__init__.pyi +3 -7
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +43 -9
- gpu/state/__init__.pyi +66 -44
- gpu/texture/__init__.pyi +4 -5
- gpu/types/__init__.pyi +216 -216
- gpu_extras/__init__.pyi +1 -0
- gpu_extras/batch/__init__.pyi +2 -5
- gpu_extras/presets/__init__.pyi +9 -10
- idprop/__init__.pyi +17 -0
- idprop/types/__init__.pyi +18 -17
- imbuf/__init__.pyi +13 -9
- imbuf/types/__init__.pyi +10 -23
- keyingsets_builtins/__init__.pyi +51 -93
- mathutils/__init__.pyi +296 -2255
- mathutils/bvhtree/__init__.pyi +22 -29
- mathutils/geometry/__init__.pyi +83 -132
- mathutils/interpolate/__init__.pyi +7 -5
- mathutils/kdtree/__init__.pyi +5 -14
- mathutils/noise/__init__.pyi +62 -106
- nodeitems_builtins/__init__.pyi +5 -4
- nodeitems_utils/__init__.pyi +10 -9
- rna_keymap_ui/__init__.pyi +7 -6
- rna_prop_ui/__init__.pyi +14 -13
- _bpy_internal/freedesktop/__init__.pyi +0 -20
- bgl/__init__.pyi +0 -4235
- bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -24
- bl_i18n_utils/utils_cli/__init__.pyi +0 -10
- bl_previews_utils/bl_previews_render/__init__.pyi +0 -11
- bl_text_utils/external_editor/__init__.pyi +0 -5
- bpy_types/__init__.pyi +0 -29
- console_shell/__init__.pyi +0 -9
- fake_bge_module-20250317.dist-info/RECORD +0 -395
- keyingsets_utils/__init__.pyi +0 -18
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
bpy/ops/image/__init__.pyi
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import
|
|
4
|
+
import numpy.typing as npt
|
|
5
|
+
import bpy.stub_internal.rna_enums
|
|
5
6
|
import bpy.types
|
|
6
7
|
import mathutils
|
|
7
8
|
|
|
8
9
|
def add_render_slot(
|
|
9
|
-
execution_context: int | str | None = None,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
:type undo: bool | None
|
|
15
|
-
"""
|
|
10
|
+
execution_context: int | str | None = None,
|
|
11
|
+
undo: bool | None = None,
|
|
12
|
+
/,
|
|
13
|
+
) -> None:
|
|
14
|
+
"""Add a new render slot"""
|
|
16
15
|
|
|
17
16
|
def change_frame(
|
|
18
17
|
execution_context: int | str | None = None,
|
|
@@ -20,50 +19,39 @@ def change_frame(
|
|
|
20
19
|
/,
|
|
21
20
|
*,
|
|
22
21
|
frame: int | None = 0,
|
|
23
|
-
):
|
|
22
|
+
) -> None:
|
|
24
23
|
"""Interactively change the current frame number
|
|
25
24
|
|
|
26
|
-
:type execution_context: int | str | None
|
|
27
|
-
:type undo: bool | None
|
|
28
25
|
:param frame: Frame
|
|
29
|
-
:type frame: int | None
|
|
30
26
|
"""
|
|
31
27
|
|
|
32
28
|
def clear_render_border(
|
|
33
|
-
execution_context: int | str | None = None,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
:type undo: bool | None
|
|
39
|
-
"""
|
|
29
|
+
execution_context: int | str | None = None,
|
|
30
|
+
undo: bool | None = None,
|
|
31
|
+
/,
|
|
32
|
+
) -> None:
|
|
33
|
+
"""Clear the boundaries of the render region and disable render region"""
|
|
40
34
|
|
|
41
35
|
def clear_render_slot(
|
|
42
|
-
execution_context: int | str | None = None,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
:type undo: bool | None
|
|
48
|
-
"""
|
|
36
|
+
execution_context: int | str | None = None,
|
|
37
|
+
undo: bool | None = None,
|
|
38
|
+
/,
|
|
39
|
+
) -> None:
|
|
40
|
+
"""Clear the currently selected render slot"""
|
|
49
41
|
|
|
50
42
|
def clipboard_copy(
|
|
51
|
-
execution_context: int | str | None = None,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
:type undo: bool | None
|
|
57
|
-
"""
|
|
43
|
+
execution_context: int | str | None = None,
|
|
44
|
+
undo: bool | None = None,
|
|
45
|
+
/,
|
|
46
|
+
) -> None:
|
|
47
|
+
"""Copy the image to the clipboard"""
|
|
58
48
|
|
|
59
49
|
def clipboard_paste(
|
|
60
|
-
execution_context: int | str | None = None,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
:type undo: bool | None
|
|
66
|
-
"""
|
|
50
|
+
execution_context: int | str | None = None,
|
|
51
|
+
undo: bool | None = None,
|
|
52
|
+
/,
|
|
53
|
+
) -> None:
|
|
54
|
+
"""Paste new image from the clipboard"""
|
|
67
55
|
|
|
68
56
|
def convert_to_mesh_plane(
|
|
69
57
|
execution_context: int | str | None = None,
|
|
@@ -73,8 +61,6 @@ def convert_to_mesh_plane(
|
|
|
73
61
|
interpolation: typing.Literal["Linear", "Closest", "Cubic", "Smart"]
|
|
74
62
|
| None = "Linear",
|
|
75
63
|
extension: typing.Literal["CLIP", "EXTEND", "REPEAT"] | None = "CLIP",
|
|
76
|
-
alpha_mode: typing.Literal["STRAIGHT", "PREMUL", "CHANNEL_PACKED", "NONE"]
|
|
77
|
-
| None = "STRAIGHT",
|
|
78
64
|
use_auto_refresh: bool | None = True,
|
|
79
65
|
relative: bool | None = True,
|
|
80
66
|
shader: typing.Literal["PRINCIPLED", "SHADELESS", "EMISSION"] | None = "PRINCIPLED",
|
|
@@ -86,11 +72,9 @@ def convert_to_mesh_plane(
|
|
|
86
72
|
overwrite_material: bool | None = True,
|
|
87
73
|
name_from: typing.Literal["OBJECT", "IMAGE"] | None = "OBJECT",
|
|
88
74
|
delete_ref: bool | None = True,
|
|
89
|
-
):
|
|
75
|
+
) -> None:
|
|
90
76
|
"""Convert selected reference images to textured mesh plane
|
|
91
77
|
|
|
92
|
-
:type execution_context: int | str | None
|
|
93
|
-
:type undo: bool | None
|
|
94
78
|
:param interpolation: Interpolation, Texture interpolation
|
|
95
79
|
|
|
96
80
|
Linear
|
|
@@ -104,7 +88,6 @@ def convert_to_mesh_plane(
|
|
|
104
88
|
|
|
105
89
|
Smart
|
|
106
90
|
Smart -- Bicubic when magnifying, else bilinear (OSL only).
|
|
107
|
-
:type interpolation: typing.Literal['Linear','Closest','Cubic','Smart'] | None
|
|
108
91
|
:param extension: Extension, How the image is extrapolated past its original bounds
|
|
109
92
|
|
|
110
93
|
CLIP
|
|
@@ -115,25 +98,8 @@ def convert_to_mesh_plane(
|
|
|
115
98
|
|
|
116
99
|
REPEAT
|
|
117
100
|
Repeat -- Cause the image to repeat horizontally and vertically.
|
|
118
|
-
:type extension: typing.Literal['CLIP','EXTEND','REPEAT'] | None
|
|
119
|
-
:param alpha_mode: Alpha Mode, Representation of alpha in the image file, to convert to and from when saving and loading the image
|
|
120
|
-
|
|
121
|
-
STRAIGHT
|
|
122
|
-
Straight -- Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG..
|
|
123
|
-
|
|
124
|
-
PREMUL
|
|
125
|
-
Premultiplied -- Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR..
|
|
126
|
-
|
|
127
|
-
CHANNEL_PACKED
|
|
128
|
-
Channel Packed -- Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory..
|
|
129
|
-
|
|
130
|
-
NONE
|
|
131
|
-
None -- Ignore alpha channel from the file and make image fully opaque.
|
|
132
|
-
:type alpha_mode: typing.Literal['STRAIGHT','PREMUL','CHANNEL_PACKED','NONE'] | None
|
|
133
101
|
:param use_auto_refresh: Auto Refresh, Always refresh image on frame changes
|
|
134
|
-
:type use_auto_refresh: bool | None
|
|
135
102
|
:param relative: Relative Paths, Use relative file paths
|
|
136
|
-
:type relative: bool | None
|
|
137
103
|
:param shader: Shader, Node shader to use
|
|
138
104
|
|
|
139
105
|
PRINCIPLED
|
|
@@ -144,11 +110,8 @@ def convert_to_mesh_plane(
|
|
|
144
110
|
|
|
145
111
|
EMISSION
|
|
146
112
|
Emission -- Emission shader.
|
|
147
|
-
:type shader: typing.Literal['PRINCIPLED','SHADELESS','EMISSION'] | None
|
|
148
113
|
:param emit_strength: Emission Strength, Strength of emission
|
|
149
|
-
:type emit_strength: float | None
|
|
150
114
|
:param use_transparency: Use Alpha, Use alpha channel for transparency
|
|
151
|
-
:type use_transparency: bool | None
|
|
152
115
|
:param render_method: Render Method
|
|
153
116
|
|
|
154
117
|
DITHERED
|
|
@@ -156,13 +119,9 @@ def convert_to_mesh_plane(
|
|
|
156
119
|
|
|
157
120
|
BLENDED
|
|
158
121
|
Blended -- Allows for colored transparency, but incompatible with render passes and ray-tracing. Also known as forward rendering..
|
|
159
|
-
:type render_method: typing.Literal['DITHERED','BLENDED'] | None
|
|
160
122
|
:param use_backface_culling: Backface Culling, Use backface culling to hide the back side of faces
|
|
161
|
-
:type use_backface_culling: bool | None
|
|
162
123
|
:param show_transparent_back: Show Backface, Render multiple transparent layers (may introduce transparency sorting problems)
|
|
163
|
-
:type show_transparent_back: bool | None
|
|
164
124
|
:param overwrite_material: Overwrite Material, Overwrite existing material with the same name
|
|
165
|
-
:type overwrite_material: bool | None
|
|
166
125
|
:param name_from: Name After, Name for new mesh object and material
|
|
167
126
|
|
|
168
127
|
OBJECT
|
|
@@ -170,9 +129,7 @@ def convert_to_mesh_plane(
|
|
|
170
129
|
|
|
171
130
|
IMAGE
|
|
172
131
|
Source Image -- Name from loaded image.
|
|
173
|
-
:type name_from: typing.Literal['OBJECT','IMAGE'] | None
|
|
174
132
|
:param delete_ref: Delete Reference Object, Delete empty image object once mesh plane is created
|
|
175
|
-
:type delete_ref: bool | None
|
|
176
133
|
"""
|
|
177
134
|
|
|
178
135
|
def curves_point_set(
|
|
@@ -182,15 +139,11 @@ def curves_point_set(
|
|
|
182
139
|
*,
|
|
183
140
|
point: typing.Literal["BLACK_POINT", "WHITE_POINT"] | None = "BLACK_POINT",
|
|
184
141
|
size: int | None = 1,
|
|
185
|
-
):
|
|
142
|
+
) -> None:
|
|
186
143
|
"""Set black point or white point for curves
|
|
187
144
|
|
|
188
|
-
:type execution_context: int | str | None
|
|
189
|
-
:type undo: bool | None
|
|
190
145
|
:param point: Point, Set black point or white point for curves
|
|
191
|
-
:type point: typing.Literal['BLACK_POINT','WHITE_POINT'] | None
|
|
192
146
|
:param size: Sample Size
|
|
193
|
-
:type size: int | None
|
|
194
147
|
"""
|
|
195
148
|
|
|
196
149
|
def cycle_render_slot(
|
|
@@ -199,13 +152,10 @@ def cycle_render_slot(
|
|
|
199
152
|
/,
|
|
200
153
|
*,
|
|
201
154
|
reverse: bool | None = False,
|
|
202
|
-
):
|
|
155
|
+
) -> None:
|
|
203
156
|
"""Cycle through all non-void render slots
|
|
204
157
|
|
|
205
|
-
:type execution_context: int | str | None
|
|
206
|
-
:type undo: bool | None
|
|
207
158
|
:param reverse: Cycle in Reverse
|
|
208
|
-
:type reverse: bool | None
|
|
209
159
|
"""
|
|
210
160
|
|
|
211
161
|
def external_edit(
|
|
@@ -214,13 +164,10 @@ def external_edit(
|
|
|
214
164
|
/,
|
|
215
165
|
*,
|
|
216
166
|
filepath: str = "",
|
|
217
|
-
):
|
|
167
|
+
) -> None:
|
|
218
168
|
"""Edit image in an external application
|
|
219
169
|
|
|
220
|
-
:type execution_context: int | str | None
|
|
221
|
-
:type undo: bool | None
|
|
222
170
|
:param filepath: filepath
|
|
223
|
-
:type filepath: str
|
|
224
171
|
"""
|
|
225
172
|
|
|
226
173
|
def file_browse(
|
|
@@ -241,7 +188,6 @@ def file_browse(
|
|
|
241
188
|
filter_text: bool | None = False,
|
|
242
189
|
filter_archive: bool | None = False,
|
|
243
190
|
filter_btx: bool | None = False,
|
|
244
|
-
filter_collada: bool | None = False,
|
|
245
191
|
filter_alembic: bool | None = False,
|
|
246
192
|
filter_usd: bool | None = False,
|
|
247
193
|
filter_obj: bool | None = False,
|
|
@@ -257,59 +203,32 @@ def file_browse(
|
|
|
257
203
|
]
|
|
258
204
|
| None = "DEFAULT",
|
|
259
205
|
sort_method: str | None = "",
|
|
260
|
-
):
|
|
206
|
+
) -> None:
|
|
261
207
|
"""Open an image file browser, hold Shift to open the file, Alt to browse containing directory
|
|
262
208
|
|
|
263
|
-
:type execution_context: int | str | None
|
|
264
|
-
:type undo: bool | None
|
|
265
209
|
:param filepath: File Path, Path to file
|
|
266
|
-
:type filepath: str
|
|
267
210
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
268
|
-
:type hide_props_region: bool | None
|
|
269
211
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
270
|
-
:type check_existing: bool | None
|
|
271
212
|
:param filter_blender: Filter .blend files
|
|
272
|
-
:type filter_blender: bool | None
|
|
273
213
|
:param filter_backup: Filter .blend files
|
|
274
|
-
:type filter_backup: bool | None
|
|
275
214
|
:param filter_image: Filter image files
|
|
276
|
-
:type filter_image: bool | None
|
|
277
215
|
:param filter_movie: Filter movie files
|
|
278
|
-
:type filter_movie: bool | None
|
|
279
216
|
:param filter_python: Filter Python files
|
|
280
|
-
:type filter_python: bool | None
|
|
281
217
|
:param filter_font: Filter font files
|
|
282
|
-
:type filter_font: bool | None
|
|
283
218
|
:param filter_sound: Filter sound files
|
|
284
|
-
:type filter_sound: bool | None
|
|
285
219
|
:param filter_text: Filter text files
|
|
286
|
-
:type filter_text: bool | None
|
|
287
220
|
:param filter_archive: Filter archive files
|
|
288
|
-
:type filter_archive: bool | None
|
|
289
221
|
:param filter_btx: Filter btx files
|
|
290
|
-
:type filter_btx: bool | None
|
|
291
|
-
:param filter_collada: Filter COLLADA files
|
|
292
|
-
:type filter_collada: bool | None
|
|
293
222
|
:param filter_alembic: Filter Alembic files
|
|
294
|
-
:type filter_alembic: bool | None
|
|
295
223
|
:param filter_usd: Filter USD files
|
|
296
|
-
:type filter_usd: bool | None
|
|
297
224
|
:param filter_obj: Filter OBJ files
|
|
298
|
-
:type filter_obj: bool | None
|
|
299
225
|
:param filter_volume: Filter OpenVDB volume files
|
|
300
|
-
:type filter_volume: bool | None
|
|
301
226
|
:param filter_folder: Filter folders
|
|
302
|
-
:type filter_folder: bool | None
|
|
303
227
|
:param filter_blenlib: Filter Blender IDs
|
|
304
|
-
:type filter_blenlib: bool | None
|
|
305
228
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
306
|
-
:type filemode: int | None
|
|
307
229
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
308
|
-
:type relative_path: bool | None
|
|
309
230
|
:param show_multiview: Enable Multi-View
|
|
310
|
-
:type show_multiview: bool | None
|
|
311
231
|
:param use_multiview: Use Multi-View
|
|
312
|
-
:type use_multiview: bool | None
|
|
313
232
|
:param display_type: Display Type
|
|
314
233
|
|
|
315
234
|
DEFAULT
|
|
@@ -323,9 +242,7 @@ def file_browse(
|
|
|
323
242
|
|
|
324
243
|
THUMBNAIL
|
|
325
244
|
Thumbnails -- Display files as thumbnails.
|
|
326
|
-
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
327
245
|
:param sort_method: File sorting mode
|
|
328
|
-
:type sort_method: str | None
|
|
329
246
|
"""
|
|
330
247
|
|
|
331
248
|
def flip(
|
|
@@ -335,15 +252,11 @@ def flip(
|
|
|
335
252
|
*,
|
|
336
253
|
use_flip_x: bool | None = False,
|
|
337
254
|
use_flip_y: bool | None = False,
|
|
338
|
-
):
|
|
255
|
+
) -> None:
|
|
339
256
|
"""Flip the image
|
|
340
257
|
|
|
341
|
-
:type execution_context: int | str | None
|
|
342
|
-
:type undo: bool | None
|
|
343
258
|
:param use_flip_x: Horizontal, Flip the image horizontally
|
|
344
|
-
:type use_flip_x: bool | None
|
|
345
259
|
:param use_flip_y: Vertical, Flip the image vertically
|
|
346
|
-
:type use_flip_y: bool | None
|
|
347
260
|
"""
|
|
348
261
|
|
|
349
262
|
def import_as_mesh_planes(
|
|
@@ -354,8 +267,6 @@ def import_as_mesh_planes(
|
|
|
354
267
|
interpolation: typing.Literal["Linear", "Closest", "Cubic", "Smart"]
|
|
355
268
|
| None = "Linear",
|
|
356
269
|
extension: typing.Literal["CLIP", "EXTEND", "REPEAT"] | None = "CLIP",
|
|
357
|
-
alpha_mode: typing.Literal["STRAIGHT", "PREMUL", "CHANNEL_PACKED", "NONE"]
|
|
358
|
-
| None = "STRAIGHT",
|
|
359
270
|
use_auto_refresh: bool | None = True,
|
|
360
271
|
relative: bool | None = True,
|
|
361
272
|
shader: typing.Literal["PRINCIPLED", "SHADELESS", "EMISSION"] | None = "PRINCIPLED",
|
|
@@ -399,11 +310,9 @@ def import_as_mesh_planes(
|
|
|
399
310
|
fill_mode: typing.Literal["FILL", "FIT"] | None = "FILL",
|
|
400
311
|
height: float | None = 1.0,
|
|
401
312
|
factor: float | None = 600.0,
|
|
402
|
-
):
|
|
313
|
+
) -> None:
|
|
403
314
|
"""Create mesh plane(s) from image files with the appropriate aspect ratio
|
|
404
315
|
|
|
405
|
-
:type execution_context: int | str | None
|
|
406
|
-
:type undo: bool | None
|
|
407
316
|
:param interpolation: Interpolation, Texture interpolation
|
|
408
317
|
|
|
409
318
|
Linear
|
|
@@ -417,7 +326,6 @@ def import_as_mesh_planes(
|
|
|
417
326
|
|
|
418
327
|
Smart
|
|
419
328
|
Smart -- Bicubic when magnifying, else bilinear (OSL only).
|
|
420
|
-
:type interpolation: typing.Literal['Linear','Closest','Cubic','Smart'] | None
|
|
421
329
|
:param extension: Extension, How the image is extrapolated past its original bounds
|
|
422
330
|
|
|
423
331
|
CLIP
|
|
@@ -428,25 +336,8 @@ def import_as_mesh_planes(
|
|
|
428
336
|
|
|
429
337
|
REPEAT
|
|
430
338
|
Repeat -- Cause the image to repeat horizontally and vertically.
|
|
431
|
-
:type extension: typing.Literal['CLIP','EXTEND','REPEAT'] | None
|
|
432
|
-
:param alpha_mode: Alpha Mode, Representation of alpha in the image file, to convert to and from when saving and loading the image
|
|
433
|
-
|
|
434
|
-
STRAIGHT
|
|
435
|
-
Straight -- Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG..
|
|
436
|
-
|
|
437
|
-
PREMUL
|
|
438
|
-
Premultiplied -- Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR..
|
|
439
|
-
|
|
440
|
-
CHANNEL_PACKED
|
|
441
|
-
Channel Packed -- Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory..
|
|
442
|
-
|
|
443
|
-
NONE
|
|
444
|
-
None -- Ignore alpha channel from the file and make image fully opaque.
|
|
445
|
-
:type alpha_mode: typing.Literal['STRAIGHT','PREMUL','CHANNEL_PACKED','NONE'] | None
|
|
446
339
|
:param use_auto_refresh: Auto Refresh, Always refresh image on frame changes
|
|
447
|
-
:type use_auto_refresh: bool | None
|
|
448
340
|
:param relative: Relative Paths, Use relative file paths
|
|
449
|
-
:type relative: bool | None
|
|
450
341
|
:param shader: Shader, Node shader to use
|
|
451
342
|
|
|
452
343
|
PRINCIPLED
|
|
@@ -457,11 +348,8 @@ def import_as_mesh_planes(
|
|
|
457
348
|
|
|
458
349
|
EMISSION
|
|
459
350
|
Emission -- Emission shader.
|
|
460
|
-
:type shader: typing.Literal['PRINCIPLED','SHADELESS','EMISSION'] | None
|
|
461
351
|
:param emit_strength: Emission Strength, Strength of emission
|
|
462
|
-
:type emit_strength: float | None
|
|
463
352
|
:param use_transparency: Use Alpha, Use alpha channel for transparency
|
|
464
|
-
:type use_transparency: bool | None
|
|
465
353
|
:param render_method: Render Method
|
|
466
354
|
|
|
467
355
|
DITHERED
|
|
@@ -469,15 +357,10 @@ def import_as_mesh_planes(
|
|
|
469
357
|
|
|
470
358
|
BLENDED
|
|
471
359
|
Blended -- Allows for colored transparency, but incompatible with render passes and ray-tracing. Also known as forward rendering..
|
|
472
|
-
:type render_method: typing.Literal['DITHERED','BLENDED'] | None
|
|
473
360
|
:param use_backface_culling: Backface Culling, Use backface culling to hide the back side of faces
|
|
474
|
-
:type use_backface_culling: bool | None
|
|
475
361
|
:param show_transparent_back: Show Backface, Render multiple transparent layers (may introduce transparency sorting problems)
|
|
476
|
-
:type show_transparent_back: bool | None
|
|
477
362
|
:param overwrite_material: Overwrite Material, Overwrite existing material with the same name
|
|
478
|
-
:type overwrite_material: bool | None
|
|
479
363
|
:param filepath: File Path, Filepath used for importing the file
|
|
480
|
-
:type filepath: str
|
|
481
364
|
:param align: Align
|
|
482
365
|
|
|
483
366
|
WORLD
|
|
@@ -488,28 +371,17 @@ def import_as_mesh_planes(
|
|
|
488
371
|
|
|
489
372
|
CURSOR
|
|
490
373
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
491
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
492
374
|
:param location: Location
|
|
493
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
494
375
|
:param rotation: Rotation
|
|
495
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
496
376
|
:param files: files
|
|
497
|
-
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] | None
|
|
498
377
|
:param directory: directory
|
|
499
|
-
:type directory: str
|
|
500
378
|
:param filter_image: filter_image
|
|
501
|
-
:type filter_image: bool | None
|
|
502
379
|
:param filter_movie: filter_movie
|
|
503
|
-
:type filter_movie: bool | None
|
|
504
380
|
:param filter_folder: filter_folder
|
|
505
|
-
:type filter_folder: bool | None
|
|
506
381
|
:param force_reload: Force Reload, Force reload the image if it is already opened elsewhere in Blender
|
|
507
|
-
:type force_reload: bool | None
|
|
508
382
|
:param image_sequence: Detect Image Sequences, Import sequentially numbered images as an animated image sequence instead of separate planes
|
|
509
|
-
:type image_sequence: bool | None
|
|
510
383
|
:param offset: Offset Planes, Offset planes from each other. If disabled, multiple planes will be created at the same location
|
|
511
|
-
:
|
|
512
|
-
:param offset_axis: Offset Direction, How planes are oriented relative to each others' local axis
|
|
384
|
+
:param offset_axis: Offset Direction, How planes are oriented relative to each others local axis
|
|
513
385
|
|
|
514
386
|
+X
|
|
515
387
|
+X -- Side by Side to the Left.
|
|
@@ -528,9 +400,7 @@ def import_as_mesh_planes(
|
|
|
528
400
|
|
|
529
401
|
-Z
|
|
530
402
|
-Z -- Stacked Below.
|
|
531
|
-
:type offset_axis: typing.Literal['+X','+Y','+Z','-X','-Y','-Z'] | None
|
|
532
403
|
:param offset_amount: Offset Distance, Set distance between each plane
|
|
533
|
-
:type offset_amount: float | None
|
|
534
404
|
:param align_axis: Align, How to align the planes
|
|
535
405
|
|
|
536
406
|
+X
|
|
@@ -555,8 +425,7 @@ def import_as_mesh_planes(
|
|
|
555
425
|
Face Camera -- Facing camera.
|
|
556
426
|
|
|
557
427
|
CAM_AX
|
|
558
|
-
|
|
559
|
-
:type align_axis: typing.Literal['+X','+Y','+Z','-X','-Y','-Z','CAM','CAM_AX'] | None
|
|
428
|
+
Cameras Main Axis -- Facing the cameras dominant axis.
|
|
560
429
|
:param prev_align_axis: prev_align_axis
|
|
561
430
|
|
|
562
431
|
+X
|
|
@@ -581,13 +450,11 @@ def import_as_mesh_planes(
|
|
|
581
450
|
Face Camera -- Facing camera.
|
|
582
451
|
|
|
583
452
|
CAM_AX
|
|
584
|
-
|
|
453
|
+
Cameras Main Axis -- Facing the cameras dominant axis.
|
|
585
454
|
|
|
586
455
|
NONE
|
|
587
456
|
Undocumented.
|
|
588
|
-
:type prev_align_axis: typing.Literal['+X','+Y','+Z','-X','-Y','-Z','CAM','CAM_AX','NONE'] | None
|
|
589
457
|
:param align_track: Track Camera, Add a constraint to make the planes track the camera
|
|
590
|
-
:type align_track: bool | None
|
|
591
458
|
:param size_mode: Size Mode, Method for computing the plane size
|
|
592
459
|
|
|
593
460
|
ABSOLUTE
|
|
@@ -601,7 +468,6 @@ def import_as_mesh_planes(
|
|
|
601
468
|
|
|
602
469
|
DPBU
|
|
603
470
|
Pixels per Blender Unit -- Scale based on pixels per Blender Unit.
|
|
604
|
-
:type size_mode: typing.Literal['ABSOLUTE','CAMERA','DPI','DPBU'] | None
|
|
605
471
|
:param fill_mode: Scale, Method to scale the plane with the camera frame
|
|
606
472
|
|
|
607
473
|
FILL
|
|
@@ -609,11 +475,8 @@ def import_as_mesh_planes(
|
|
|
609
475
|
|
|
610
476
|
FIT
|
|
611
477
|
Fit -- Fit entire image within the camera frame.
|
|
612
|
-
:type fill_mode: typing.Literal['FILL','FIT'] | None
|
|
613
478
|
:param height: Height, Height of the created plane
|
|
614
|
-
:type height: float | None
|
|
615
479
|
:param factor: Definition, Number of pixels per inch or Blender Unit
|
|
616
|
-
:type factor: float | None
|
|
617
480
|
"""
|
|
618
481
|
|
|
619
482
|
def invert(
|
|
@@ -625,29 +488,21 @@ def invert(
|
|
|
625
488
|
invert_g: bool | None = False,
|
|
626
489
|
invert_b: bool | None = False,
|
|
627
490
|
invert_a: bool | None = False,
|
|
628
|
-
):
|
|
629
|
-
"""Invert
|
|
491
|
+
) -> None:
|
|
492
|
+
"""Invert images channels
|
|
630
493
|
|
|
631
|
-
:type execution_context: int | str | None
|
|
632
|
-
:type undo: bool | None
|
|
633
494
|
:param invert_r: Red, Invert red channel
|
|
634
|
-
:type invert_r: bool | None
|
|
635
495
|
:param invert_g: Green, Invert green channel
|
|
636
|
-
:type invert_g: bool | None
|
|
637
496
|
:param invert_b: Blue, Invert blue channel
|
|
638
|
-
:type invert_b: bool | None
|
|
639
497
|
:param invert_a: Alpha, Invert alpha channel
|
|
640
|
-
:type invert_a: bool | None
|
|
641
498
|
"""
|
|
642
499
|
|
|
643
500
|
def match_movie_length(
|
|
644
|
-
execution_context: int | str | None = None,
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
:type undo: bool | None
|
|
650
|
-
"""
|
|
501
|
+
execution_context: int | str | None = None,
|
|
502
|
+
undo: bool | None = None,
|
|
503
|
+
/,
|
|
504
|
+
) -> None:
|
|
505
|
+
"""Set images users length to the one of this video"""
|
|
651
506
|
|
|
652
507
|
def new(
|
|
653
508
|
execution_context: int | str | None = None,
|
|
@@ -659,33 +514,23 @@ def new(
|
|
|
659
514
|
height: int | None = 1024,
|
|
660
515
|
color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
|
|
661
516
|
alpha: bool | None = True,
|
|
662
|
-
generated_type: bpy.
|
|
517
|
+
generated_type: bpy.stub_internal.rna_enums.ImageGeneratedTypeItems
|
|
518
|
+
| None = "BLANK",
|
|
663
519
|
float: bool | None = False,
|
|
664
520
|
use_stereo_3d: bool | None = False,
|
|
665
521
|
tiled: bool | None = False,
|
|
666
|
-
):
|
|
522
|
+
) -> None:
|
|
667
523
|
"""Create a new image
|
|
668
524
|
|
|
669
|
-
:type execution_context: int | str | None
|
|
670
|
-
:type undo: bool | None
|
|
671
525
|
:param name: Name, Image data-block name
|
|
672
|
-
:type name: str
|
|
673
526
|
:param width: Width, Image width
|
|
674
|
-
:type width: int | None
|
|
675
527
|
:param height: Height, Image height
|
|
676
|
-
:type height: int | None
|
|
677
528
|
:param color: Color, Default fill color
|
|
678
|
-
:type color: collections.abc.Iterable[float] | None
|
|
679
529
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
680
|
-
:type alpha: bool | None
|
|
681
530
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
682
|
-
:type generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None
|
|
683
531
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
684
|
-
:type float: bool | None
|
|
685
532
|
:param use_stereo_3d: Stereo 3D, Create an image with left and right views
|
|
686
|
-
:type use_stereo_3d: bool | None
|
|
687
533
|
:param tiled: Tiled, Create a tiled image
|
|
688
|
-
:type tiled: bool | None
|
|
689
534
|
"""
|
|
690
535
|
|
|
691
536
|
def open(
|
|
@@ -710,7 +555,6 @@ def open(
|
|
|
710
555
|
filter_text: bool | None = False,
|
|
711
556
|
filter_archive: bool | None = False,
|
|
712
557
|
filter_btx: bool | None = False,
|
|
713
|
-
filter_collada: bool | None = False,
|
|
714
558
|
filter_alembic: bool | None = False,
|
|
715
559
|
filter_usd: bool | None = False,
|
|
716
560
|
filter_obj: bool | None = False,
|
|
@@ -728,65 +572,35 @@ def open(
|
|
|
728
572
|
sort_method: str | None = "",
|
|
729
573
|
use_sequence_detection: bool | None = True,
|
|
730
574
|
use_udim_detecting: bool | None = True,
|
|
731
|
-
):
|
|
575
|
+
) -> None:
|
|
732
576
|
"""Open image
|
|
733
577
|
|
|
734
|
-
:type execution_context: int | str | None
|
|
735
|
-
:type undo: bool | None
|
|
736
578
|
:param allow_path_tokens: Allow the path to contain substitution tokens
|
|
737
|
-
:type allow_path_tokens: bool | None
|
|
738
579
|
:param filepath: File Path, Path to file
|
|
739
|
-
:type filepath: str
|
|
740
580
|
:param directory: Directory, Directory of the file
|
|
741
|
-
:type directory: str
|
|
742
581
|
:param files: Files
|
|
743
|
-
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] | None
|
|
744
582
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
745
|
-
:type hide_props_region: bool | None
|
|
746
583
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
747
|
-
:type check_existing: bool | None
|
|
748
584
|
:param filter_blender: Filter .blend files
|
|
749
|
-
:type filter_blender: bool | None
|
|
750
585
|
:param filter_backup: Filter .blend files
|
|
751
|
-
:type filter_backup: bool | None
|
|
752
586
|
:param filter_image: Filter image files
|
|
753
|
-
:type filter_image: bool | None
|
|
754
587
|
:param filter_movie: Filter movie files
|
|
755
|
-
:type filter_movie: bool | None
|
|
756
588
|
:param filter_python: Filter Python files
|
|
757
|
-
:type filter_python: bool | None
|
|
758
589
|
:param filter_font: Filter font files
|
|
759
|
-
:type filter_font: bool | None
|
|
760
590
|
:param filter_sound: Filter sound files
|
|
761
|
-
:type filter_sound: bool | None
|
|
762
591
|
:param filter_text: Filter text files
|
|
763
|
-
:type filter_text: bool | None
|
|
764
592
|
:param filter_archive: Filter archive files
|
|
765
|
-
:type filter_archive: bool | None
|
|
766
593
|
:param filter_btx: Filter btx files
|
|
767
|
-
:type filter_btx: bool | None
|
|
768
|
-
:param filter_collada: Filter COLLADA files
|
|
769
|
-
:type filter_collada: bool | None
|
|
770
594
|
:param filter_alembic: Filter Alembic files
|
|
771
|
-
:type filter_alembic: bool | None
|
|
772
595
|
:param filter_usd: Filter USD files
|
|
773
|
-
:type filter_usd: bool | None
|
|
774
596
|
:param filter_obj: Filter OBJ files
|
|
775
|
-
:type filter_obj: bool | None
|
|
776
597
|
:param filter_volume: Filter OpenVDB volume files
|
|
777
|
-
:type filter_volume: bool | None
|
|
778
598
|
:param filter_folder: Filter folders
|
|
779
|
-
:type filter_folder: bool | None
|
|
780
599
|
:param filter_blenlib: Filter Blender IDs
|
|
781
|
-
:type filter_blenlib: bool | None
|
|
782
600
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
783
|
-
:type filemode: int | None
|
|
784
601
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
785
|
-
:type relative_path: bool | None
|
|
786
602
|
:param show_multiview: Enable Multi-View
|
|
787
|
-
:type show_multiview: bool | None
|
|
788
603
|
:param use_multiview: Use Multi-View
|
|
789
|
-
:type use_multiview: bool | None
|
|
790
604
|
:param display_type: Display Type
|
|
791
605
|
|
|
792
606
|
DEFAULT
|
|
@@ -800,13 +614,9 @@ def open(
|
|
|
800
614
|
|
|
801
615
|
THUMBNAIL
|
|
802
616
|
Thumbnails -- Display files as thumbnails.
|
|
803
|
-
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
804
617
|
:param sort_method: File sorting mode
|
|
805
|
-
:type sort_method: str | None
|
|
806
618
|
:param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected images (based on file names)
|
|
807
|
-
:type use_sequence_detection: bool | None
|
|
808
619
|
:param use_udim_detecting: Detect UDIMs, Detect selected UDIM files and load all matching tiles
|
|
809
|
-
:type use_udim_detecting: bool | None
|
|
810
620
|
"""
|
|
811
621
|
|
|
812
622
|
def open_images(
|
|
@@ -820,68 +630,57 @@ def open_images(
|
|
|
820
630
|
relative_path: bool | None = True,
|
|
821
631
|
use_sequence_detection: bool | None = True,
|
|
822
632
|
use_udim_detection: bool | None = True,
|
|
823
|
-
):
|
|
633
|
+
) -> None:
|
|
824
634
|
"""Undocumented, consider contributing.
|
|
825
635
|
|
|
826
|
-
:type execution_context: int | str | None
|
|
827
|
-
:type undo: bool | None
|
|
828
636
|
:param directory: directory
|
|
829
|
-
:type directory: str
|
|
830
637
|
:param files: files
|
|
831
|
-
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] | None
|
|
832
638
|
:param relative_path: Use relative path
|
|
833
|
-
:type relative_path: bool | None
|
|
834
639
|
:param use_sequence_detection: Use sequence detection
|
|
835
|
-
:type use_sequence_detection: bool | None
|
|
836
640
|
:param use_udim_detection: Use UDIM detection
|
|
837
|
-
:type use_udim_detection: bool | None
|
|
838
641
|
"""
|
|
839
642
|
|
|
840
|
-
def pack(
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
"""
|
|
846
|
-
|
|
847
|
-
def project_apply(execution_context: int | str | None = None, undo: bool | None = None):
|
|
848
|
-
"""Project edited image back onto the object
|
|
849
|
-
|
|
850
|
-
:type execution_context: int | str | None
|
|
851
|
-
:type undo: bool | None
|
|
852
|
-
"""
|
|
643
|
+
def pack(
|
|
644
|
+
execution_context: int | str | None = None,
|
|
645
|
+
undo: bool | None = None,
|
|
646
|
+
/,
|
|
647
|
+
) -> None:
|
|
648
|
+
"""Pack an image as embedded data into the .blend file"""
|
|
853
649
|
|
|
854
|
-
def
|
|
855
|
-
|
|
650
|
+
def project_apply(
|
|
651
|
+
execution_context: int | str | None = None,
|
|
652
|
+
undo: bool | None = None,
|
|
653
|
+
/,
|
|
654
|
+
) -> None:
|
|
655
|
+
"""Project edited image back onto the object"""
|
|
856
656
|
|
|
857
|
-
|
|
858
|
-
:
|
|
859
|
-
|
|
657
|
+
def project_edit(
|
|
658
|
+
execution_context: int | str | None = None,
|
|
659
|
+
undo: bool | None = None,
|
|
660
|
+
/,
|
|
661
|
+
) -> None:
|
|
662
|
+
"""Edit a snapshot of the 3D Viewport in an external image editor"""
|
|
860
663
|
|
|
861
664
|
def read_viewlayers(
|
|
862
|
-
execution_context: int | str | None = None,
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
:type undo: bool | None
|
|
868
|
-
"""
|
|
869
|
-
|
|
870
|
-
def reload(execution_context: int | str | None = None, undo: bool | None = None):
|
|
871
|
-
"""Reload current image from disk
|
|
665
|
+
execution_context: int | str | None = None,
|
|
666
|
+
undo: bool | None = None,
|
|
667
|
+
/,
|
|
668
|
+
) -> None:
|
|
669
|
+
"""Read all the current scenes view layers from cache, as needed"""
|
|
872
670
|
|
|
873
|
-
|
|
874
|
-
:
|
|
875
|
-
|
|
671
|
+
def reload(
|
|
672
|
+
execution_context: int | str | None = None,
|
|
673
|
+
undo: bool | None = None,
|
|
674
|
+
/,
|
|
675
|
+
) -> None:
|
|
676
|
+
"""Reload current image from disk"""
|
|
876
677
|
|
|
877
678
|
def remove_render_slot(
|
|
878
|
-
execution_context: int | str | None = None,
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
:type undo: bool | None
|
|
884
|
-
"""
|
|
679
|
+
execution_context: int | str | None = None,
|
|
680
|
+
undo: bool | None = None,
|
|
681
|
+
/,
|
|
682
|
+
) -> None:
|
|
683
|
+
"""Remove the current render slot"""
|
|
885
684
|
|
|
886
685
|
def render_border(
|
|
887
686
|
execution_context: int | str | None = None,
|
|
@@ -893,21 +692,14 @@ def render_border(
|
|
|
893
692
|
ymin: int | None = 0,
|
|
894
693
|
ymax: int | None = 0,
|
|
895
694
|
wait_for_input: bool | None = True,
|
|
896
|
-
):
|
|
695
|
+
) -> None:
|
|
897
696
|
"""Set the boundaries of the render region and enable render region
|
|
898
697
|
|
|
899
|
-
:type execution_context: int | str | None
|
|
900
|
-
:type undo: bool | None
|
|
901
698
|
:param xmin: X Min
|
|
902
|
-
:type xmin: int | None
|
|
903
699
|
:param xmax: X Max
|
|
904
|
-
:type xmax: int | None
|
|
905
700
|
:param ymin: Y Min
|
|
906
|
-
:type ymin: int | None
|
|
907
701
|
:param ymax: Y Max
|
|
908
|
-
:type ymax: int | None
|
|
909
702
|
:param wait_for_input: Wait for Input
|
|
910
|
-
:type wait_for_input: bool | None
|
|
911
703
|
"""
|
|
912
704
|
|
|
913
705
|
def replace(
|
|
@@ -928,7 +720,6 @@ def replace(
|
|
|
928
720
|
filter_text: bool | None = False,
|
|
929
721
|
filter_archive: bool | None = False,
|
|
930
722
|
filter_btx: bool | None = False,
|
|
931
|
-
filter_collada: bool | None = False,
|
|
932
723
|
filter_alembic: bool | None = False,
|
|
933
724
|
filter_usd: bool | None = False,
|
|
934
725
|
filter_obj: bool | None = False,
|
|
@@ -944,59 +735,32 @@ def replace(
|
|
|
944
735
|
]
|
|
945
736
|
| None = "DEFAULT",
|
|
946
737
|
sort_method: str | None = "",
|
|
947
|
-
):
|
|
738
|
+
) -> None:
|
|
948
739
|
"""Replace current image by another one from disk
|
|
949
740
|
|
|
950
|
-
:type execution_context: int | str | None
|
|
951
|
-
:type undo: bool | None
|
|
952
741
|
:param filepath: File Path, Path to file
|
|
953
|
-
:type filepath: str
|
|
954
742
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
955
|
-
:type hide_props_region: bool | None
|
|
956
743
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
957
|
-
:type check_existing: bool | None
|
|
958
744
|
:param filter_blender: Filter .blend files
|
|
959
|
-
:type filter_blender: bool | None
|
|
960
745
|
:param filter_backup: Filter .blend files
|
|
961
|
-
:type filter_backup: bool | None
|
|
962
746
|
:param filter_image: Filter image files
|
|
963
|
-
:type filter_image: bool | None
|
|
964
747
|
:param filter_movie: Filter movie files
|
|
965
|
-
:type filter_movie: bool | None
|
|
966
748
|
:param filter_python: Filter Python files
|
|
967
|
-
:type filter_python: bool | None
|
|
968
749
|
:param filter_font: Filter font files
|
|
969
|
-
:type filter_font: bool | None
|
|
970
750
|
:param filter_sound: Filter sound files
|
|
971
|
-
:type filter_sound: bool | None
|
|
972
751
|
:param filter_text: Filter text files
|
|
973
|
-
:type filter_text: bool | None
|
|
974
752
|
:param filter_archive: Filter archive files
|
|
975
|
-
:type filter_archive: bool | None
|
|
976
753
|
:param filter_btx: Filter btx files
|
|
977
|
-
:type filter_btx: bool | None
|
|
978
|
-
:param filter_collada: Filter COLLADA files
|
|
979
|
-
:type filter_collada: bool | None
|
|
980
754
|
:param filter_alembic: Filter Alembic files
|
|
981
|
-
:type filter_alembic: bool | None
|
|
982
755
|
:param filter_usd: Filter USD files
|
|
983
|
-
:type filter_usd: bool | None
|
|
984
756
|
:param filter_obj: Filter OBJ files
|
|
985
|
-
:type filter_obj: bool | None
|
|
986
757
|
:param filter_volume: Filter OpenVDB volume files
|
|
987
|
-
:type filter_volume: bool | None
|
|
988
758
|
:param filter_folder: Filter folders
|
|
989
|
-
:type filter_folder: bool | None
|
|
990
759
|
:param filter_blenlib: Filter Blender IDs
|
|
991
|
-
:type filter_blenlib: bool | None
|
|
992
760
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
993
|
-
:type filemode: int | None
|
|
994
761
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
995
|
-
:type relative_path: bool | None
|
|
996
762
|
:param show_multiview: Enable Multi-View
|
|
997
|
-
:type show_multiview: bool | None
|
|
998
763
|
:param use_multiview: Use Multi-View
|
|
999
|
-
:type use_multiview: bool | None
|
|
1000
764
|
:param display_type: Display Type
|
|
1001
765
|
|
|
1002
766
|
DEFAULT
|
|
@@ -1010,9 +774,7 @@ def replace(
|
|
|
1010
774
|
|
|
1011
775
|
THUMBNAIL
|
|
1012
776
|
Thumbnails -- Display files as thumbnails.
|
|
1013
|
-
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
1014
777
|
:param sort_method: File sorting mode
|
|
1015
|
-
:type sort_method: str | None
|
|
1016
778
|
"""
|
|
1017
779
|
|
|
1018
780
|
def resize(
|
|
@@ -1022,15 +784,11 @@ def resize(
|
|
|
1022
784
|
*,
|
|
1023
785
|
size: collections.abc.Iterable[int] | None = (0, 0),
|
|
1024
786
|
all_udims: bool | None = False,
|
|
1025
|
-
):
|
|
787
|
+
) -> None:
|
|
1026
788
|
"""Resize the image
|
|
1027
789
|
|
|
1028
|
-
:type execution_context: int | str | None
|
|
1029
|
-
:type undo: bool | None
|
|
1030
790
|
:param size: Size
|
|
1031
|
-
:
|
|
1032
|
-
:param all_udims: All UDIM Tiles, Scale all the image's UDIM tiles
|
|
1033
|
-
:type all_udims: bool | None
|
|
791
|
+
:param all_udims: All UDIM Tiles, Scale all the images UDIM tiles
|
|
1034
792
|
"""
|
|
1035
793
|
|
|
1036
794
|
def rotate_orthogonal(
|
|
@@ -1039,11 +797,9 @@ def rotate_orthogonal(
|
|
|
1039
797
|
/,
|
|
1040
798
|
*,
|
|
1041
799
|
degrees: typing.Literal["90", "180", "270"] | None = "90",
|
|
1042
|
-
):
|
|
800
|
+
) -> None:
|
|
1043
801
|
"""Rotate the image
|
|
1044
802
|
|
|
1045
|
-
:type execution_context: int | str | None
|
|
1046
|
-
:type undo: bool | None
|
|
1047
803
|
:param degrees: Degrees, Amount of rotation in degrees (90, 180, 270)
|
|
1048
804
|
|
|
1049
805
|
90
|
|
@@ -1054,7 +810,6 @@ def rotate_orthogonal(
|
|
|
1054
810
|
|
|
1055
811
|
270
|
|
1056
812
|
270 Degrees -- Rotate 270 degrees clockwise.
|
|
1057
|
-
:type degrees: typing.Literal['90','180','270'] | None
|
|
1058
813
|
"""
|
|
1059
814
|
|
|
1060
815
|
def sample(
|
|
@@ -1063,13 +818,10 @@ def sample(
|
|
|
1063
818
|
/,
|
|
1064
819
|
*,
|
|
1065
820
|
size: int | None = 1,
|
|
1066
|
-
):
|
|
821
|
+
) -> None:
|
|
1067
822
|
"""Use mouse to sample a color in current image
|
|
1068
823
|
|
|
1069
|
-
:type execution_context: int | str | None
|
|
1070
|
-
:type undo: bool | None
|
|
1071
824
|
:param size: Sample Size
|
|
1072
|
-
:type size: int | None
|
|
1073
825
|
"""
|
|
1074
826
|
|
|
1075
827
|
def sample_line(
|
|
@@ -1083,40 +835,30 @@ def sample_line(
|
|
|
1083
835
|
yend: int | None = 0,
|
|
1084
836
|
flip: bool | None = False,
|
|
1085
837
|
cursor: int | None = 5,
|
|
1086
|
-
):
|
|
838
|
+
) -> None:
|
|
1087
839
|
"""Sample a line and show it in Scope panels
|
|
1088
840
|
|
|
1089
|
-
:type execution_context: int | str | None
|
|
1090
|
-
:type undo: bool | None
|
|
1091
841
|
:param xstart: X Start
|
|
1092
|
-
:type xstart: int | None
|
|
1093
842
|
:param xend: X End
|
|
1094
|
-
:type xend: int | None
|
|
1095
843
|
:param ystart: Y Start
|
|
1096
|
-
:type ystart: int | None
|
|
1097
844
|
:param yend: Y End
|
|
1098
|
-
:type yend: int | None
|
|
1099
845
|
:param flip: Flip
|
|
1100
|
-
:type flip: bool | None
|
|
1101
846
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
1102
|
-
:type cursor: int | None
|
|
1103
847
|
"""
|
|
1104
848
|
|
|
1105
|
-
def save(
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
"""
|
|
849
|
+
def save(
|
|
850
|
+
execution_context: int | str | None = None,
|
|
851
|
+
undo: bool | None = None,
|
|
852
|
+
/,
|
|
853
|
+
) -> None:
|
|
854
|
+
"""Save the image with current name and settings"""
|
|
1111
855
|
|
|
1112
856
|
def save_all_modified(
|
|
1113
|
-
execution_context: int | str | None = None,
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
:type undo: bool | None
|
|
1119
|
-
"""
|
|
857
|
+
execution_context: int | str | None = None,
|
|
858
|
+
undo: bool | None = None,
|
|
859
|
+
/,
|
|
860
|
+
) -> None:
|
|
861
|
+
"""Save all modified images"""
|
|
1120
862
|
|
|
1121
863
|
def save_as(
|
|
1122
864
|
execution_context: int | str | None = None,
|
|
@@ -1138,7 +880,6 @@ def save_as(
|
|
|
1138
880
|
filter_text: bool | None = False,
|
|
1139
881
|
filter_archive: bool | None = False,
|
|
1140
882
|
filter_btx: bool | None = False,
|
|
1141
|
-
filter_collada: bool | None = False,
|
|
1142
883
|
filter_alembic: bool | None = False,
|
|
1143
884
|
filter_usd: bool | None = False,
|
|
1144
885
|
filter_obj: bool | None = False,
|
|
@@ -1154,63 +895,34 @@ def save_as(
|
|
|
1154
895
|
]
|
|
1155
896
|
| None = "DEFAULT",
|
|
1156
897
|
sort_method: str | None = "",
|
|
1157
|
-
):
|
|
898
|
+
) -> None:
|
|
1158
899
|
"""Save the image with another name and/or settings
|
|
1159
900
|
|
|
1160
|
-
:type execution_context: int | str | None
|
|
1161
|
-
:type undo: bool | None
|
|
1162
901
|
: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
|
|
1163
|
-
:type save_as_render: bool | None
|
|
1164
902
|
:param copy: Copy, Create a new image file without modifying the current image in Blender
|
|
1165
|
-
:type copy: bool | None
|
|
1166
903
|
:param allow_path_tokens: Allow the path to contain substitution tokens
|
|
1167
|
-
:type allow_path_tokens: bool | None
|
|
1168
904
|
:param filepath: File Path, Path to file
|
|
1169
|
-
:type filepath: str
|
|
1170
905
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
1171
|
-
:type check_existing: bool | None
|
|
1172
906
|
:param filter_blender: Filter .blend files
|
|
1173
|
-
:type filter_blender: bool | None
|
|
1174
907
|
:param filter_backup: Filter .blend files
|
|
1175
|
-
:type filter_backup: bool | None
|
|
1176
908
|
:param filter_image: Filter image files
|
|
1177
|
-
:type filter_image: bool | None
|
|
1178
909
|
:param filter_movie: Filter movie files
|
|
1179
|
-
:type filter_movie: bool | None
|
|
1180
910
|
:param filter_python: Filter Python files
|
|
1181
|
-
:type filter_python: bool | None
|
|
1182
911
|
:param filter_font: Filter font files
|
|
1183
|
-
:type filter_font: bool | None
|
|
1184
912
|
:param filter_sound: Filter sound files
|
|
1185
|
-
:type filter_sound: bool | None
|
|
1186
913
|
:param filter_text: Filter text files
|
|
1187
|
-
:type filter_text: bool | None
|
|
1188
914
|
:param filter_archive: Filter archive files
|
|
1189
|
-
:type filter_archive: bool | None
|
|
1190
915
|
:param filter_btx: Filter btx files
|
|
1191
|
-
:type filter_btx: bool | None
|
|
1192
|
-
:param filter_collada: Filter COLLADA files
|
|
1193
|
-
:type filter_collada: bool | None
|
|
1194
916
|
:param filter_alembic: Filter Alembic files
|
|
1195
|
-
:type filter_alembic: bool | None
|
|
1196
917
|
:param filter_usd: Filter USD files
|
|
1197
|
-
:type filter_usd: bool | None
|
|
1198
918
|
:param filter_obj: Filter OBJ files
|
|
1199
|
-
:type filter_obj: bool | None
|
|
1200
919
|
:param filter_volume: Filter OpenVDB volume files
|
|
1201
|
-
:type filter_volume: bool | None
|
|
1202
920
|
:param filter_folder: Filter folders
|
|
1203
|
-
:type filter_folder: bool | None
|
|
1204
921
|
:param filter_blenlib: Filter Blender IDs
|
|
1205
|
-
:type filter_blenlib: bool | None
|
|
1206
922
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
1207
|
-
:type filemode: int | None
|
|
1208
923
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
1209
|
-
:type relative_path: bool | None
|
|
1210
924
|
:param show_multiview: Enable Multi-View
|
|
1211
|
-
:type show_multiview: bool | None
|
|
1212
925
|
:param use_multiview: Use Multi-View
|
|
1213
|
-
:type use_multiview: bool | None
|
|
1214
926
|
:param display_type: Display Type
|
|
1215
927
|
|
|
1216
928
|
DEFAULT
|
|
@@ -1224,17 +936,15 @@ def save_as(
|
|
|
1224
936
|
|
|
1225
937
|
THUMBNAIL
|
|
1226
938
|
Thumbnails -- Display files as thumbnails.
|
|
1227
|
-
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
1228
939
|
:param sort_method: File sorting mode
|
|
1229
|
-
:type sort_method: str | None
|
|
1230
940
|
"""
|
|
1231
941
|
|
|
1232
|
-
def save_sequence(
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
"""
|
|
942
|
+
def save_sequence(
|
|
943
|
+
execution_context: int | str | None = None,
|
|
944
|
+
undo: bool | None = None,
|
|
945
|
+
/,
|
|
946
|
+
) -> None:
|
|
947
|
+
"""Save a sequence of images"""
|
|
1238
948
|
|
|
1239
949
|
def tile_add(
|
|
1240
950
|
execution_context: int | str | None = None,
|
|
@@ -1246,36 +956,25 @@ def tile_add(
|
|
|
1246
956
|
label: str = "",
|
|
1247
957
|
fill: bool | None = True,
|
|
1248
958
|
color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
|
|
1249
|
-
generated_type: bpy.
|
|
959
|
+
generated_type: bpy.stub_internal.rna_enums.ImageGeneratedTypeItems
|
|
960
|
+
| None = "BLANK",
|
|
1250
961
|
width: int | None = 1024,
|
|
1251
962
|
height: int | None = 1024,
|
|
1252
963
|
float: bool | None = False,
|
|
1253
964
|
alpha: bool | None = True,
|
|
1254
|
-
):
|
|
965
|
+
) -> None:
|
|
1255
966
|
"""Adds a tile to the image
|
|
1256
967
|
|
|
1257
|
-
:type execution_context: int | str | None
|
|
1258
|
-
:type undo: bool | None
|
|
1259
968
|
:param number: Number, UDIM number of the tile
|
|
1260
|
-
:type number: int | None
|
|
1261
969
|
:param count: Count, How many tiles to add
|
|
1262
|
-
:type count: int | None
|
|
1263
970
|
:param label: Label, Optional tile label
|
|
1264
|
-
:type label: str
|
|
1265
971
|
:param fill: Fill, Fill new tile with a generated image
|
|
1266
|
-
:type fill: bool | None
|
|
1267
972
|
:param color: Color, Default fill color
|
|
1268
|
-
:type color: collections.abc.Iterable[float] | None
|
|
1269
973
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
1270
|
-
:type generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None
|
|
1271
974
|
:param width: Width, Image width
|
|
1272
|
-
:type width: int | None
|
|
1273
975
|
:param height: Height, Image height
|
|
1274
|
-
:type height: int | None
|
|
1275
976
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
1276
|
-
:type float: bool | None
|
|
1277
977
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
1278
|
-
:type alpha: bool | None
|
|
1279
978
|
"""
|
|
1280
979
|
|
|
1281
980
|
def tile_fill(
|
|
@@ -1284,53 +983,42 @@ def tile_fill(
|
|
|
1284
983
|
/,
|
|
1285
984
|
*,
|
|
1286
985
|
color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
|
|
1287
|
-
generated_type: bpy.
|
|
986
|
+
generated_type: bpy.stub_internal.rna_enums.ImageGeneratedTypeItems
|
|
987
|
+
| None = "BLANK",
|
|
1288
988
|
width: int | None = 1024,
|
|
1289
989
|
height: int | None = 1024,
|
|
1290
990
|
float: bool | None = False,
|
|
1291
991
|
alpha: bool | None = True,
|
|
1292
|
-
):
|
|
992
|
+
) -> None:
|
|
1293
993
|
"""Fill the current tile with a generated image
|
|
1294
994
|
|
|
1295
|
-
:type execution_context: int | str | None
|
|
1296
|
-
:type undo: bool | None
|
|
1297
995
|
:param color: Color, Default fill color
|
|
1298
|
-
:type color: collections.abc.Iterable[float] | None
|
|
1299
996
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
1300
|
-
:type generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None
|
|
1301
997
|
:param width: Width, Image width
|
|
1302
|
-
:type width: int | None
|
|
1303
998
|
:param height: Height, Image height
|
|
1304
|
-
:type height: int | None
|
|
1305
999
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
1306
|
-
:type float: bool | None
|
|
1307
1000
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
1308
|
-
:type alpha: bool | None
|
|
1309
1001
|
"""
|
|
1310
1002
|
|
|
1311
|
-
def tile_remove(
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
"""
|
|
1003
|
+
def tile_remove(
|
|
1004
|
+
execution_context: int | str | None = None,
|
|
1005
|
+
undo: bool | None = None,
|
|
1006
|
+
/,
|
|
1007
|
+
) -> None:
|
|
1008
|
+
"""Removes a tile from the image"""
|
|
1317
1009
|
|
|
1318
1010
|
def unpack(
|
|
1319
1011
|
execution_context: int | str | None = None,
|
|
1320
1012
|
undo: bool | None = None,
|
|
1321
1013
|
/,
|
|
1322
1014
|
*,
|
|
1323
|
-
method: bpy.
|
|
1015
|
+
method: bpy.stub_internal.rna_enums.UnpackMethodItems | None = "USE_LOCAL",
|
|
1324
1016
|
id: str = "",
|
|
1325
|
-
):
|
|
1017
|
+
) -> None:
|
|
1326
1018
|
"""Save an image packed in the .blend file to disk
|
|
1327
1019
|
|
|
1328
|
-
:type execution_context: int | str | None
|
|
1329
|
-
:type undo: bool | None
|
|
1330
1020
|
:param method: Method, How to unpack
|
|
1331
|
-
:type method: bpy._typing.rna_enums.UnpackMethodItems | None
|
|
1332
1021
|
:param id: Image Name, Image data-block name to unpack
|
|
1333
|
-
:type id: str
|
|
1334
1022
|
"""
|
|
1335
1023
|
|
|
1336
1024
|
def view_all(
|
|
@@ -1339,23 +1027,18 @@ def view_all(
|
|
|
1339
1027
|
/,
|
|
1340
1028
|
*,
|
|
1341
1029
|
fit_view: bool | None = False,
|
|
1342
|
-
):
|
|
1030
|
+
) -> None:
|
|
1343
1031
|
"""View the entire image
|
|
1344
1032
|
|
|
1345
|
-
:type execution_context: int | str | None
|
|
1346
|
-
:type undo: bool | None
|
|
1347
1033
|
:param fit_view: Fit View, Fit frame to the viewport
|
|
1348
|
-
:type fit_view: bool | None
|
|
1349
1034
|
"""
|
|
1350
1035
|
|
|
1351
1036
|
def view_center_cursor(
|
|
1352
|
-
execution_context: int | str | None = None,
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
:type undo: bool | None
|
|
1358
|
-
"""
|
|
1037
|
+
execution_context: int | str | None = None,
|
|
1038
|
+
undo: bool | None = None,
|
|
1039
|
+
/,
|
|
1040
|
+
) -> None:
|
|
1041
|
+
"""Center the view so that the cursor is in the middle of the view"""
|
|
1359
1042
|
|
|
1360
1043
|
def view_cursor_center(
|
|
1361
1044
|
execution_context: int | str | None = None,
|
|
@@ -1363,21 +1046,18 @@ def view_cursor_center(
|
|
|
1363
1046
|
/,
|
|
1364
1047
|
*,
|
|
1365
1048
|
fit_view: bool | None = False,
|
|
1366
|
-
):
|
|
1049
|
+
) -> None:
|
|
1367
1050
|
"""Set 2D Cursor To Center View location
|
|
1368
1051
|
|
|
1369
|
-
:type execution_context: int | str | None
|
|
1370
|
-
:type undo: bool | None
|
|
1371
1052
|
:param fit_view: Fit View, Fit frame to the viewport
|
|
1372
|
-
:type fit_view: bool | None
|
|
1373
1053
|
"""
|
|
1374
1054
|
|
|
1375
|
-
def view_ndof(
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
"""
|
|
1055
|
+
def view_ndof(
|
|
1056
|
+
execution_context: int | str | None = None,
|
|
1057
|
+
undo: bool | None = None,
|
|
1058
|
+
/,
|
|
1059
|
+
) -> None:
|
|
1060
|
+
"""Use a 3D mouse device to pan/zoom the view"""
|
|
1381
1061
|
|
|
1382
1062
|
def view_pan(
|
|
1383
1063
|
execution_context: int | str | None = None,
|
|
@@ -1385,21 +1065,18 @@ def view_pan(
|
|
|
1385
1065
|
/,
|
|
1386
1066
|
*,
|
|
1387
1067
|
offset: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
1388
|
-
):
|
|
1068
|
+
) -> None:
|
|
1389
1069
|
"""Pan the view
|
|
1390
1070
|
|
|
1391
|
-
:type execution_context: int | str | None
|
|
1392
|
-
:type undo: bool | None
|
|
1393
1071
|
:param offset: Offset, Offset in floating-point units, 1.0 is the width and height of the image
|
|
1394
|
-
:type offset: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1395
1072
|
"""
|
|
1396
1073
|
|
|
1397
|
-
def view_selected(
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
"""
|
|
1074
|
+
def view_selected(
|
|
1075
|
+
execution_context: int | str | None = None,
|
|
1076
|
+
undo: bool | None = None,
|
|
1077
|
+
/,
|
|
1078
|
+
) -> None:
|
|
1079
|
+
"""View all selected UVs"""
|
|
1403
1080
|
|
|
1404
1081
|
def view_zoom(
|
|
1405
1082
|
execution_context: int | str | None = None,
|
|
@@ -1408,15 +1085,11 @@ def view_zoom(
|
|
|
1408
1085
|
*,
|
|
1409
1086
|
factor: float | None = 0.0,
|
|
1410
1087
|
use_cursor_init: bool | None = True,
|
|
1411
|
-
):
|
|
1088
|
+
) -> None:
|
|
1412
1089
|
"""Zoom in/out the image
|
|
1413
1090
|
|
|
1414
|
-
:type execution_context: int | str | None
|
|
1415
|
-
:type undo: bool | None
|
|
1416
1091
|
:param factor: Factor, Zoom factor, values higher than 1.0 zoom in, lower values zoom out
|
|
1417
|
-
:type factor: float | None
|
|
1418
1092
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
1419
|
-
:type use_cursor_init: bool | None
|
|
1420
1093
|
"""
|
|
1421
1094
|
|
|
1422
1095
|
def view_zoom_border(
|
|
@@ -1430,23 +1103,15 @@ def view_zoom_border(
|
|
|
1430
1103
|
ymax: int | None = 0,
|
|
1431
1104
|
wait_for_input: bool | None = True,
|
|
1432
1105
|
zoom_out: bool | None = False,
|
|
1433
|
-
):
|
|
1106
|
+
) -> None:
|
|
1434
1107
|
"""Zoom in the view to the nearest item contained in the border
|
|
1435
1108
|
|
|
1436
|
-
:type execution_context: int | str | None
|
|
1437
|
-
:type undo: bool | None
|
|
1438
1109
|
:param xmin: X Min
|
|
1439
|
-
:type xmin: int | None
|
|
1440
1110
|
:param xmax: X Max
|
|
1441
|
-
:type xmax: int | None
|
|
1442
1111
|
:param ymin: Y Min
|
|
1443
|
-
:type ymin: int | None
|
|
1444
1112
|
:param ymax: Y Max
|
|
1445
|
-
:type ymax: int | None
|
|
1446
1113
|
:param wait_for_input: Wait for Input
|
|
1447
|
-
:type wait_for_input: bool | None
|
|
1448
1114
|
:param zoom_out: Zoom Out
|
|
1449
|
-
:type zoom_out: bool | None
|
|
1450
1115
|
"""
|
|
1451
1116
|
|
|
1452
1117
|
def view_zoom_in(
|
|
@@ -1455,13 +1120,10 @@ def view_zoom_in(
|
|
|
1455
1120
|
/,
|
|
1456
1121
|
*,
|
|
1457
1122
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
1458
|
-
):
|
|
1123
|
+
) -> None:
|
|
1459
1124
|
"""Zoom in the image (centered around 2D cursor)
|
|
1460
1125
|
|
|
1461
|
-
:type execution_context: int | str | None
|
|
1462
|
-
:type undo: bool | None
|
|
1463
1126
|
:param location: Location, Cursor location in screen coordinates
|
|
1464
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1465
1127
|
"""
|
|
1466
1128
|
|
|
1467
1129
|
def view_zoom_out(
|
|
@@ -1470,13 +1132,10 @@ def view_zoom_out(
|
|
|
1470
1132
|
/,
|
|
1471
1133
|
*,
|
|
1472
1134
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
1473
|
-
):
|
|
1135
|
+
) -> None:
|
|
1474
1136
|
"""Zoom out the image (centered around 2D cursor)
|
|
1475
1137
|
|
|
1476
|
-
:type execution_context: int | str | None
|
|
1477
|
-
:type undo: bool | None
|
|
1478
1138
|
:param location: Location, Cursor location in screen coordinates
|
|
1479
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1480
1139
|
"""
|
|
1481
1140
|
|
|
1482
1141
|
def view_zoom_ratio(
|
|
@@ -1485,11 +1144,8 @@ def view_zoom_ratio(
|
|
|
1485
1144
|
/,
|
|
1486
1145
|
*,
|
|
1487
1146
|
ratio: float | None = 0.0,
|
|
1488
|
-
):
|
|
1147
|
+
) -> None:
|
|
1489
1148
|
"""Set zoom ratio of the view
|
|
1490
1149
|
|
|
1491
|
-
:type execution_context: int | str | None
|
|
1492
|
-
:type undo: bool | None
|
|
1493
1150
|
:param ratio: Ratio, Zoom ratio, 1.0 is 1:1, higher is zoomed in, lower is zoomed out
|
|
1494
|
-
:type ratio: float | None
|
|
1495
1151
|
"""
|