fake-bpy-module 20240516__py3-none-any.whl → 20240517__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.
- _bpy_internal/freedesktop/__init__.pyi +2 -2
- addon_utils/__init__.pyi +43 -12
- animsys_refactor/__init__.pyi +4 -4
- aud/__init__.pyi +7 -7
- bgl/__init__.pyi +121 -183
- bl_app_override/__init__.pyi +5 -5
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +5 -5
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
- bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
- bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
- bl_i18n_utils/bl_extract_messages/__init__.pyi +5 -5
- bl_i18n_utils/settings/__init__.pyi +4 -2
- bl_i18n_utils/utils/__init__.pyi +86 -58
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +4 -4
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +126 -41
- bl_operators/anim/__init__.pyi +1001 -328
- bl_operators/assets/__init__.pyi +376 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
- bl_operators/clip/__init__.pyi +1250 -409
- bl_operators/console/__init__.pyi +626 -205
- bl_operators/constraint/__init__.pyi +502 -165
- bl_operators/file/__init__.pyi +376 -123
- bl_operators/freestyle/__init__.pyi +501 -164
- bl_operators/geometry_nodes/__init__.pyi +501 -164
- bl_operators/image/__init__.pyi +621 -200
- bl_operators/mesh/__init__.pyi +376 -123
- bl_operators/node/__init__.pyi +1243 -402
- bl_operators/object/__init__.pyi +1876 -615
- bl_operators/object_align/__init__.pyi +126 -41
- bl_operators/object_quick_effects/__init__.pyi +502 -165
- bl_operators/object_randomize_transform/__init__.pyi +126 -41
- bl_operators/presets/__init__.pyi +3069 -1027
- bl_operators/rigidbody/__init__.pyi +376 -123
- bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
- bl_operators/sequencer/__init__.pyi +1009 -331
- bl_operators/spreadsheet/__init__.pyi +126 -41
- bl_operators/userpref/__init__.pyi +3263 -1078
- bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
- bl_operators/uvcalc_transform/__init__.pyi +289 -90
- bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
- bl_operators/view3d/__init__.pyi +868 -279
- bl_operators/wm/__init__.pyi +5777 -1934
- bl_operators/world/__init__.pyi +126 -41
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
- bl_rna_utils/data_path/__init__.pyi +8 -3
- bl_ui/__init__.pyi +338 -131
- bl_ui/anim/__init__.pyi +164 -64
- bl_ui/asset_shelf/__init__.pyi +129 -42
- bl_ui/generic_ui_list/__init__.pyi +412 -135
- bl_ui/node_add_menu/__init__.pyi +168 -68
- bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
- bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
- bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +806 -274
- bl_ui/properties_constraint/__init__.pyi +10253 -3458
- bl_ui/properties_data_armature/__init__.pyi +1615 -552
- bl_ui/properties_data_bone/__init__.pyi +1288 -425
- bl_ui/properties_data_camera/__init__.pyi +1854 -631
- bl_ui/properties_data_curve/__init__.pyi +1929 -636
- bl_ui/properties_data_curves/__init__.pyi +806 -274
- bl_ui/properties_data_empty/__init__.pyi +257 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
- bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
- bl_ui/properties_data_lattice/__init__.pyi +388 -127
- bl_ui/properties_data_light/__init__.pyi +1541 -506
- bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
- bl_ui/properties_data_mesh/__init__.pyi +2704 -929
- bl_ui/properties_data_metaball/__init__.pyi +644 -211
- bl_ui/properties_data_modifier/__init__.pyi +1353 -502
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
- bl_ui/properties_data_speaker/__init__.pyi +644 -211
- bl_ui/properties_data_volume/__init__.pyi +1030 -339
- bl_ui/properties_freestyle/__init__.pyi +3113 -1035
- bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
- bl_ui/properties_mask_common/__init__.pyi +1101 -420
- bl_ui/properties_material/__init__.pyi +2091 -699
- bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
- bl_ui/properties_object/__init__.pyi +1838 -618
- bl_ui/properties_output/__init__.pyi +2414 -831
- bl_ui/properties_paint_common/__init__.pyi +412 -289
- bl_ui/properties_particle/__init__.pyi +6737 -2241
- bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
- bl_ui/properties_physics_common/__init__.pyi +129 -42
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
- bl_ui/properties_physics_field/__init__.pyi +1283 -422
- bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
- bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
- bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
- bl_ui/properties_render/__init__.pyi +6830 -2263
- bl_ui/properties_scene/__init__.pyi +1929 -636
- bl_ui/properties_texture/__init__.pyi +3370 -1118
- bl_ui/properties_view_layer/__init__.pyi +2346 -782
- bl_ui/properties_workspace/__init__.pyi +516 -169
- bl_ui/properties_world/__init__.pyi +1284 -421
- bl_ui/space_clip/__init__.pyi +10134 -3639
- bl_ui/space_console/__init__.pyi +939 -357
- bl_ui/space_dopesheet/__init__.pyi +4327 -1562
- bl_ui/space_filebrowser/__init__.pyi +4164 -1499
- bl_ui/space_graph/__init__.pyi +3108 -1179
- bl_ui/space_image/__init__.pyi +9766 -3596
- bl_ui/space_info/__init__.pyi +939 -357
- bl_ui/space_nla/__init__.pyi +2620 -988
- bl_ui/space_node/__init__.pyi +3994 -1434
- bl_ui/space_outliner/__init__.pyi +2203 -842
- bl_ui/space_properties/__init__.pyi +386 -127
- bl_ui/space_sequencer/__init__.pyi +10773 -3878
- bl_ui/space_spreadsheet/__init__.pyi +130 -43
- bl_ui/space_statusbar/__init__.pyi +129 -42
- bl_ui/space_text/__init__.pyi +2458 -925
- bl_ui/space_time/__init__.pyi +1033 -378
- bl_ui/space_toolsystem_common/__init__.pyi +20 -16
- bl_ui/space_toolsystem_toolbar/__init__.pyi +37 -21
- bl_ui/space_topbar/__init__.pyi +3980 -1496
- bl_ui/space_userpref/__init__.pyi +11373 -3797
- bl_ui/space_view3d/__init__.pyi +40865 -15356
- bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
- bl_ui/temp_anim_layers/__init__.pyi +129 -42
- bl_ui/utils/__init__.pyi +28 -20
- bl_ui_utils/bug_report_url/__init__.pyi +1 -1
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +1 -1
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +38 -38
- bmesh/utils/__init__.pyi +10 -13
- bpy/app/__init__.pyi +4 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -8
- bpy/app/timers/__init__.pyi +10 -10
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +316 -394
- bpy/ops/anim/__init__.pyi +442 -548
- bpy/ops/armature/__init__.pyi +374 -470
- bpy/ops/asset/__init__.pyi +152 -184
- bpy/ops/bl_pkg/__init__.pyi +221 -272
- bpy/ops/boid/__init__.pyi +50 -66
- bpy/ops/brush/__init__.pyi +72 -90
- bpy/ops/buttons/__init__.pyi +132 -144
- bpy/ops/cachefile/__init__.pyi +128 -138
- bpy/ops/camera/__init__.pyi +26 -30
- bpy/ops/clip/__init__.pyi +777 -964
- bpy/ops/cloth/__init__.pyi +12 -14
- bpy/ops/collection/__init__.pyi +68 -86
- bpy/ops/console/__init__.pyi +158 -200
- bpy/ops/constraint/__init__.pyi +178 -214
- bpy/ops/curve/__init__.pyi +473 -576
- bpy/ops/curves/__init__.pyi +247 -302
- bpy/ops/cycles/__init__.pyi +28 -34
- bpy/ops/dpaint/__init__.pyi +34 -44
- bpy/ops/ed/__init__.pyi +126 -150
- bpy/ops/export_anim/__init__.pyi +22 -24
- bpy/ops/export_scene/__init__.pyi +302 -336
- bpy/ops/file/__init__.pyi +352 -432
- bpy/ops/fluid/__init__.pyi +90 -118
- bpy/ops/font/__init__.pyi +258 -304
- bpy/ops/geometry/__init__.pyi +100 -120
- bpy/ops/gizmogroup/__init__.pyi +22 -26
- bpy/ops/gpencil/__init__.pyi +1469 -1778
- bpy/ops/graph/__init__.pyi +644 -776
- bpy/ops/grease_pencil/__init__.pyi +597 -748
- bpy/ops/image/__init__.pyi +648 -744
- bpy/ops/import_anim/__init__.pyi +30 -32
- bpy/ops/import_curve/__init__.pyi +10 -12
- bpy/ops/import_scene/__init__.pyi +88 -96
- bpy/ops/info/__init__.pyi +60 -74
- bpy/ops/lattice/__init__.pyi +64 -80
- bpy/ops/marker/__init__.pyi +108 -130
- bpy/ops/mask/__init__.pyi +322 -402
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -86
- bpy/ops/mesh/__init__.pyi +1986 -2322
- bpy/ops/nla/__init__.pyi +333 -411
- bpy/ops/node/__init__.pyi +886 -1100
- bpy/ops/object/__init__.pyi +2585 -3078
- bpy/ops/outliner/__init__.pyi +498 -636
- bpy/ops/paint/__init__.pyi +565 -680
- bpy/ops/paintcurve/__init__.pyi +64 -80
- bpy/ops/palette/__init__.pyi +50 -64
- bpy/ops/particle/__init__.pyi +267 -340
- bpy/ops/pose/__init__.pyi +336 -414
- bpy/ops/poselib/__init__.pyi +72 -90
- bpy/ops/preferences/__init__.pyi +386 -463
- bpy/ops/ptcache/__init__.pyi +46 -60
- bpy/ops/render/__init__.pyi +130 -154
- bpy/ops/rigidbody/__init__.pyi +102 -128
- bpy/ops/scene/__init__.pyi +280 -358
- bpy/ops/screen/__init__.pyi +382 -460
- bpy/ops/script/__init__.pyi +24 -30
- bpy/ops/sculpt/__init__.pyi +458 -532
- bpy/ops/sculpt_curves/__init__.pyi +41 -50
- bpy/ops/sequencer/__init__.pyi +1066 -1244
- bpy/ops/sound/__init__.pyi +216 -230
- bpy/ops/spreadsheet/__init__.pyi +30 -38
- bpy/ops/surface/__init__.pyi +108 -120
- bpy/ops/text/__init__.pyi +390 -476
- bpy/ops/text_editor/__init__.pyi +12 -14
- bpy/ops/texture/__init__.pyi +26 -34
- bpy/ops/transform/__init__.pyi +792 -878
- bpy/ops/ui/__init__.pyi +228 -294
- bpy/ops/uilist/__init__.pyi +32 -38
- bpy/ops/uv/__init__.pyi +602 -704
- bpy/ops/view2d/__init__.pyi +156 -184
- bpy/ops/view3d/__init__.pyi +582 -718
- bpy/ops/wm/__init__.pyi +2680 -2928
- bpy/ops/workspace/__init__.pyi +46 -60
- bpy/ops/world/__init__.pyi +12 -16
- bpy/path/__init__.pyi +179 -75
- bpy/props/__init__.pyi +261 -263
- bpy/types/__init__.pyi +17056 -21951
- bpy/utils/__init__.pyi +242 -118
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -28
- bpy_extras/bmesh_utils/__init__.pyi +8 -2
- bpy_extras/extensions/junction_module/__init__.pyi +5 -2
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +113 -18
- bpy_extras/keyconfig_utils/__init__.pyi +2 -2
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +9 -4
- bpy_extras/node_utils/__init__.pyi +9 -2
- bpy_extras/object_utils/__init__.pyi +71 -12
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
- bpy_types/__init__.pyi +4197 -1333
- console_python/__init__.pyi +6 -1
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
- fake_bpy_module-20240517.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +3 -3
- gpu/matrix/__init__.pyi +6 -8
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +12 -12
- gpu_extras/presets/__init__.pyi +2 -5
- graphviz_export/__init__.pyi +4 -2
- idprop/types/__init__.pyi +2 -2
- imbuf/__init__.pyi +4 -4
- keyingsets_builtins/__init__.pyi +2688 -839
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_utils/__init__.pyi +1 -1
- rna_info/__init__.pyi +17 -15
- rna_keymap_ui/__init__.pyi +1 -1
- rna_prop_ui/__init__.pyi +16 -14
- rna_xml/__init__.pyi +12 -12
- _bpy_internal/freedesktop/py.typed +0 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_console_utils/autocomplete/py.typed +0 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/bmesh/py.typed +0 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/py.typed +0 -0
- bl_operators/world/py.typed +0 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/anim/py.typed +0 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/temp_anim_layers/py.typed +0 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/py.typed +0 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/py.typed +0 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/py.typed +0 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/bl_pkg/py.typed +0 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/py.typed +0 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/py.typed +0 -0
- bpy/props/py.typed +0 -0
- bpy/types/py.typed +0 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/py.typed +0 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- fake_bpy_module-20240516.dist-info/RECORD +0 -618
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/py.typed +0 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/py.typed +0 -0
- gpu/select/py.typed +0 -0
- gpu/shader/py.typed +0 -0
- gpu/state/py.typed +0 -0
- gpu/texture/py.typed +0 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/py.typed +0 -0
- idprop/types/py.typed +0 -0
- imbuf/types/py.typed +0 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/py.typed +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
bpy/ops/uv/__init__.pyi
CHANGED
|
@@ -5,18 +5,16 @@ import bpy.types
|
|
|
5
5
|
GenericType = typing.TypeVar("GenericType")
|
|
6
6
|
|
|
7
7
|
def align(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
13
|
-
axis: typing.Optional[typing.Any] = "ALIGN_AUTO",
|
|
8
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
9
|
+
execution_context: str | int | None = None,
|
|
10
|
+
undo: bool | None = None,
|
|
11
|
+
axis: typing.Any | None = "ALIGN_AUTO",
|
|
14
12
|
):
|
|
15
13
|
"""Aligns selected UV vertices on a line
|
|
16
14
|
|
|
17
|
-
:type override_context:
|
|
18
|
-
:type execution_context:
|
|
19
|
-
:type undo:
|
|
15
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
16
|
+
:type execution_context: str | int | None
|
|
17
|
+
:type undo: bool | None
|
|
20
18
|
:param axis: Axis, Axis to align UV locations on
|
|
21
19
|
|
|
22
20
|
ALIGN_S
|
|
@@ -36,26 +34,24 @@ def align(
|
|
|
36
34
|
|
|
37
35
|
ALIGN_Y
|
|
38
36
|
Align Horizontally -- Align UV vertices on a horizontal line.
|
|
39
|
-
:type axis: typing.
|
|
37
|
+
:type axis: typing.Any | None
|
|
40
38
|
"""
|
|
41
39
|
|
|
42
40
|
...
|
|
43
41
|
|
|
44
42
|
def align_rotation(
|
|
45
|
-
override_context: typing.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
axis: typing.Optional[typing.Any] = "X",
|
|
52
|
-
correct_aspect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
43
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
44
|
+
execution_context: str | int | None = None,
|
|
45
|
+
undo: bool | None = None,
|
|
46
|
+
method: typing.Any | None = "AUTO",
|
|
47
|
+
axis: typing.Any | None = "X",
|
|
48
|
+
correct_aspect: bool | typing.Any | None = False,
|
|
53
49
|
):
|
|
54
50
|
"""Align the UV island's rotation
|
|
55
51
|
|
|
56
|
-
:type override_context:
|
|
57
|
-
:type execution_context:
|
|
58
|
-
:type undo:
|
|
52
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
53
|
+
:type execution_context: str | int | None
|
|
54
|
+
:type undo: bool | None
|
|
59
55
|
:param method: Method, Method to calculate rotation angle
|
|
60
56
|
|
|
61
57
|
AUTO
|
|
@@ -66,7 +62,7 @@ def align_rotation(
|
|
|
66
62
|
|
|
67
63
|
GEOMETRY
|
|
68
64
|
Geometry -- Align to Geometry axis.
|
|
69
|
-
:type method: typing.
|
|
65
|
+
:type method: typing.Any | None
|
|
70
66
|
:param axis: Axis, Axis to align to
|
|
71
67
|
|
|
72
68
|
X
|
|
@@ -77,118 +73,108 @@ def align_rotation(
|
|
|
77
73
|
|
|
78
74
|
Z
|
|
79
75
|
Z -- Z axis.
|
|
80
|
-
:type axis: typing.
|
|
76
|
+
:type axis: typing.Any | None
|
|
81
77
|
:param correct_aspect: Correct Aspect, Take image aspect ratio into account
|
|
82
|
-
:type correct_aspect:
|
|
78
|
+
:type correct_aspect: bool | typing.Any | None
|
|
83
79
|
"""
|
|
84
80
|
|
|
85
81
|
...
|
|
86
82
|
|
|
87
83
|
def average_islands_scale(
|
|
88
|
-
override_context: typing.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
scale_uv: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
94
|
-
shear: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
84
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
85
|
+
execution_context: str | int | None = None,
|
|
86
|
+
undo: bool | None = None,
|
|
87
|
+
scale_uv: bool | typing.Any | None = False,
|
|
88
|
+
shear: bool | typing.Any | None = False,
|
|
95
89
|
):
|
|
96
90
|
"""Average the size of separate UV islands, based on their area in 3D space
|
|
97
91
|
|
|
98
|
-
:type override_context:
|
|
99
|
-
:type execution_context:
|
|
100
|
-
:type undo:
|
|
92
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
93
|
+
:type execution_context: str | int | None
|
|
94
|
+
:type undo: bool | None
|
|
101
95
|
:param scale_uv: Non-Uniform, Scale U and V independently
|
|
102
|
-
:type scale_uv:
|
|
96
|
+
:type scale_uv: bool | typing.Any | None
|
|
103
97
|
:param shear: Shear, Reduce shear within islands
|
|
104
|
-
:type shear:
|
|
98
|
+
:type shear: bool | typing.Any | None
|
|
105
99
|
"""
|
|
106
100
|
|
|
107
101
|
...
|
|
108
102
|
|
|
109
103
|
def copy(
|
|
110
|
-
override_context: typing.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
114
|
-
undo: typing.Optional[bool] = None,
|
|
104
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
105
|
+
execution_context: str | int | None = None,
|
|
106
|
+
undo: bool | None = None,
|
|
115
107
|
):
|
|
116
108
|
"""Copy selected UV vertices
|
|
117
109
|
|
|
118
|
-
:type override_context:
|
|
119
|
-
:type execution_context:
|
|
120
|
-
:type undo:
|
|
110
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
111
|
+
:type execution_context: str | int | None
|
|
112
|
+
:type undo: bool | None
|
|
121
113
|
"""
|
|
122
114
|
|
|
123
115
|
...
|
|
124
116
|
|
|
125
117
|
def cube_project(
|
|
126
|
-
override_context: typing.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
134
|
-
scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
118
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
119
|
+
execution_context: str | int | None = None,
|
|
120
|
+
undo: bool | None = None,
|
|
121
|
+
cube_size: typing.Any | None = 1.0,
|
|
122
|
+
correct_aspect: bool | typing.Any | None = True,
|
|
123
|
+
clip_to_bounds: bool | typing.Any | None = False,
|
|
124
|
+
scale_to_bounds: bool | typing.Any | None = False,
|
|
135
125
|
):
|
|
136
126
|
"""Project the UV vertices of the mesh over the six faces of a cube
|
|
137
127
|
|
|
138
|
-
:type override_context:
|
|
139
|
-
:type execution_context:
|
|
140
|
-
:type undo:
|
|
128
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
129
|
+
:type execution_context: str | int | None
|
|
130
|
+
:type undo: bool | None
|
|
141
131
|
:param cube_size: Cube Size, Size of the cube to project on
|
|
142
|
-
:type cube_size: typing.
|
|
132
|
+
:type cube_size: typing.Any | None
|
|
143
133
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
144
|
-
:type correct_aspect:
|
|
134
|
+
:type correct_aspect: bool | typing.Any | None
|
|
145
135
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
146
|
-
:type clip_to_bounds:
|
|
136
|
+
:type clip_to_bounds: bool | typing.Any | None
|
|
147
137
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
148
|
-
:type scale_to_bounds:
|
|
138
|
+
:type scale_to_bounds: bool | typing.Any | None
|
|
149
139
|
"""
|
|
150
140
|
|
|
151
141
|
...
|
|
152
142
|
|
|
153
143
|
def cursor_set(
|
|
154
|
-
override_context: typing.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
undo: typing.Optional[bool] = None,
|
|
159
|
-
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
144
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
145
|
+
execution_context: str | int | None = None,
|
|
146
|
+
undo: bool | None = None,
|
|
147
|
+
location: typing.Any | None = (0.0, 0.0),
|
|
160
148
|
):
|
|
161
149
|
"""Set 2D cursor location
|
|
162
150
|
|
|
163
|
-
:type override_context:
|
|
164
|
-
:type execution_context:
|
|
165
|
-
:type undo:
|
|
151
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
152
|
+
:type execution_context: str | int | None
|
|
153
|
+
:type undo: bool | None
|
|
166
154
|
:param location: Location, Cursor location in normalized (0.0 to 1.0) coordinates
|
|
167
|
-
:type location: typing.
|
|
155
|
+
:type location: typing.Any | None
|
|
168
156
|
"""
|
|
169
157
|
|
|
170
158
|
...
|
|
171
159
|
|
|
172
160
|
def cylinder_project(
|
|
173
|
-
override_context: typing.
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
185
|
-
scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
161
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
162
|
+
execution_context: str | int | None = None,
|
|
163
|
+
undo: bool | None = None,
|
|
164
|
+
direction: typing.Any | None = "VIEW_ON_EQUATOR",
|
|
165
|
+
align: typing.Any | None = "POLAR_ZX",
|
|
166
|
+
pole: typing.Any | None = "PINCH",
|
|
167
|
+
seam: bool | typing.Any | None = False,
|
|
168
|
+
radius: typing.Any | None = 1.0,
|
|
169
|
+
correct_aspect: bool | typing.Any | None = True,
|
|
170
|
+
clip_to_bounds: bool | typing.Any | None = False,
|
|
171
|
+
scale_to_bounds: bool | typing.Any | None = False,
|
|
186
172
|
):
|
|
187
173
|
"""Project the UV vertices of the mesh over the curved wall of a cylinder
|
|
188
174
|
|
|
189
|
-
:type override_context:
|
|
190
|
-
:type execution_context:
|
|
191
|
-
:type undo:
|
|
175
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
176
|
+
:type execution_context: str | int | None
|
|
177
|
+
:type undo: bool | None
|
|
192
178
|
:param direction: Direction, Direction of the sphere or cylinder
|
|
193
179
|
|
|
194
180
|
VIEW_ON_EQUATOR
|
|
@@ -199,7 +185,7 @@ def cylinder_project(
|
|
|
199
185
|
|
|
200
186
|
ALIGN_TO_OBJECT
|
|
201
187
|
Align to Object -- Align according to object transform.
|
|
202
|
-
:type direction: typing.
|
|
188
|
+
:type direction: typing.Any | None
|
|
203
189
|
:param align: Align, How to determine rotation around the pole
|
|
204
190
|
|
|
205
191
|
POLAR_ZX
|
|
@@ -207,7 +193,7 @@ def cylinder_project(
|
|
|
207
193
|
|
|
208
194
|
POLAR_ZY
|
|
209
195
|
Polar ZY -- Polar 0 is Y.
|
|
210
|
-
:type align: typing.
|
|
196
|
+
:type align: typing.Any | None
|
|
211
197
|
:param pole: Pole, How to handle faces at the poles
|
|
212
198
|
|
|
213
199
|
PINCH
|
|
@@ -215,45 +201,43 @@ def cylinder_project(
|
|
|
215
201
|
|
|
216
202
|
FAN
|
|
217
203
|
Fan -- UVs are fanned at the poles.
|
|
218
|
-
:type pole: typing.
|
|
204
|
+
:type pole: typing.Any | None
|
|
219
205
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
220
|
-
:type seam:
|
|
206
|
+
:type seam: bool | typing.Any | None
|
|
221
207
|
:param radius: Radius, Radius of the sphere or cylinder
|
|
222
|
-
:type radius: typing.
|
|
208
|
+
:type radius: typing.Any | None
|
|
223
209
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
224
|
-
:type correct_aspect:
|
|
210
|
+
:type correct_aspect: bool | typing.Any | None
|
|
225
211
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
226
|
-
:type clip_to_bounds:
|
|
212
|
+
:type clip_to_bounds: bool | typing.Any | None
|
|
227
213
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
228
|
-
:type scale_to_bounds:
|
|
214
|
+
:type scale_to_bounds: bool | typing.Any | None
|
|
229
215
|
"""
|
|
230
216
|
|
|
231
217
|
...
|
|
232
218
|
|
|
233
219
|
def export_layout(
|
|
234
|
-
override_context: typing.
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
opacity: typing.Optional[typing.Any] = 0.25,
|
|
246
|
-
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
220
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
221
|
+
execution_context: str | int | None = None,
|
|
222
|
+
undo: bool | None = None,
|
|
223
|
+
filepath: str | typing.Any = "",
|
|
224
|
+
export_all: bool | typing.Any | None = False,
|
|
225
|
+
export_tiles: typing.Any | None = "NONE",
|
|
226
|
+
modified: bool | typing.Any | None = False,
|
|
227
|
+
mode: typing.Any | None = "PNG",
|
|
228
|
+
size: typing.Any | None = (1024, 1024),
|
|
229
|
+
opacity: typing.Any | None = 0.25,
|
|
230
|
+
check_existing: bool | typing.Any | None = True,
|
|
247
231
|
):
|
|
248
232
|
"""Export UV layout to file
|
|
249
233
|
|
|
250
|
-
:type override_context:
|
|
251
|
-
:type execution_context:
|
|
252
|
-
:type undo:
|
|
234
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
235
|
+
:type execution_context: str | int | None
|
|
236
|
+
:type undo: bool | None
|
|
253
237
|
:param filepath: filepath
|
|
254
|
-
:type filepath:
|
|
238
|
+
:type filepath: str | typing.Any
|
|
255
239
|
:param export_all: All UVs, Export all UVs in this mesh (not just visible ones)
|
|
256
|
-
:type export_all:
|
|
240
|
+
:type export_all: bool | typing.Any | None
|
|
257
241
|
:param export_tiles: Export Tiles, Choose whether to export only the [0, 1] range, or all UV tiles
|
|
258
242
|
|
|
259
243
|
NONE
|
|
@@ -264,9 +248,9 @@ def export_layout(
|
|
|
264
248
|
|
|
265
249
|
UV
|
|
266
250
|
UVTILE -- Export tiles in the UVTILE numbering scheme: u(u_tile + 1)_v(v_tile + 1).
|
|
267
|
-
:type export_tiles: typing.
|
|
251
|
+
:type export_tiles: typing.Any | None
|
|
268
252
|
:param modified: Modified, Exports UVs from the modified mesh
|
|
269
|
-
:type modified:
|
|
253
|
+
:type modified: bool | typing.Any | None
|
|
270
254
|
:param mode: Format, File format to export the UV layout to
|
|
271
255
|
|
|
272
256
|
SVG
|
|
@@ -277,30 +261,28 @@ def export_layout(
|
|
|
277
261
|
|
|
278
262
|
PNG
|
|
279
263
|
PNG Image (.png) -- Export the UV layout to a bitmap image.
|
|
280
|
-
:type mode: typing.
|
|
264
|
+
:type mode: typing.Any | None
|
|
281
265
|
:param size: Size, Dimensions of the exported file
|
|
282
|
-
:type size: typing.
|
|
266
|
+
:type size: typing.Any | None
|
|
283
267
|
:param opacity: Fill Opacity, Set amount of opacity for exported UV layout
|
|
284
|
-
:type opacity: typing.
|
|
268
|
+
:type opacity: typing.Any | None
|
|
285
269
|
:param check_existing: check_existing
|
|
286
|
-
:type check_existing:
|
|
270
|
+
:type check_existing: bool | typing.Any | None
|
|
287
271
|
"""
|
|
288
272
|
|
|
289
273
|
...
|
|
290
274
|
|
|
291
275
|
def follow_active_quads(
|
|
292
|
-
override_context: typing.
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
undo: typing.Optional[bool] = None,
|
|
297
|
-
mode: typing.Optional[typing.Any] = "LENGTH_AVERAGE",
|
|
276
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
277
|
+
execution_context: str | int | None = None,
|
|
278
|
+
undo: bool | None = None,
|
|
279
|
+
mode: typing.Any | None = "LENGTH_AVERAGE",
|
|
298
280
|
):
|
|
299
281
|
"""Follow UVs from active quads along continuous face loops
|
|
300
282
|
|
|
301
|
-
:type override_context:
|
|
302
|
-
:type execution_context:
|
|
303
|
-
:type undo:
|
|
283
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
284
|
+
:type execution_context: str | int | None
|
|
285
|
+
:type undo: bool | None
|
|
304
286
|
:param mode: Edge Length Mode, Method to space UV edge loops
|
|
305
287
|
|
|
306
288
|
EVEN
|
|
@@ -311,47 +293,43 @@ def follow_active_quads(
|
|
|
311
293
|
|
|
312
294
|
LENGTH_AVERAGE
|
|
313
295
|
Length Average -- Average space UVs edge length of each loop.
|
|
314
|
-
:type mode: typing.
|
|
296
|
+
:type mode: typing.Any | None
|
|
315
297
|
"""
|
|
316
298
|
|
|
317
299
|
...
|
|
318
300
|
|
|
319
301
|
def hide(
|
|
320
|
-
override_context: typing.
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
undo: typing.Optional[bool] = None,
|
|
325
|
-
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
302
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
303
|
+
execution_context: str | int | None = None,
|
|
304
|
+
undo: bool | None = None,
|
|
305
|
+
unselected: bool | typing.Any | None = False,
|
|
326
306
|
):
|
|
327
307
|
"""Hide (un)selected UV vertices
|
|
328
308
|
|
|
329
|
-
:type override_context:
|
|
330
|
-
:type execution_context:
|
|
331
|
-
:type undo:
|
|
309
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
310
|
+
:type execution_context: str | int | None
|
|
311
|
+
:type undo: bool | None
|
|
332
312
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
333
|
-
:type unselected:
|
|
313
|
+
:type unselected: bool | typing.Any | None
|
|
334
314
|
"""
|
|
335
315
|
|
|
336
316
|
...
|
|
337
317
|
|
|
338
318
|
def lightmap_pack(
|
|
339
|
-
override_context: typing.
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
PREF_BOX_DIV: typing.Optional[typing.Any] = 12,
|
|
348
|
-
PREF_MARGIN_DIV: typing.Optional[typing.Any] = 0.1,
|
|
319
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
320
|
+
execution_context: str | int | None = None,
|
|
321
|
+
undo: bool | None = None,
|
|
322
|
+
PREF_CONTEXT: typing.Any | None = "SEL_FACES",
|
|
323
|
+
PREF_PACK_IN_ONE: bool | typing.Any | None = True,
|
|
324
|
+
PREF_NEW_UVLAYER: bool | typing.Any | None = False,
|
|
325
|
+
PREF_BOX_DIV: typing.Any | None = 12,
|
|
326
|
+
PREF_MARGIN_DIV: typing.Any | None = 0.1,
|
|
349
327
|
):
|
|
350
328
|
"""Pack each face's UVs into the UV bounds
|
|
351
329
|
|
|
352
|
-
:type override_context:
|
|
353
|
-
:type execution_context:
|
|
354
|
-
:type undo:
|
|
330
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
331
|
+
:type execution_context: str | int | None
|
|
332
|
+
:type undo: bool | None
|
|
355
333
|
:param PREF_CONTEXT: Selection
|
|
356
334
|
|
|
357
335
|
SEL_FACES
|
|
@@ -359,85 +337,79 @@ def lightmap_pack(
|
|
|
359
337
|
|
|
360
338
|
ALL_FACES
|
|
361
339
|
All Faces -- Average space UVs edge length of each loop.
|
|
362
|
-
:type PREF_CONTEXT: typing.
|
|
340
|
+
:type PREF_CONTEXT: typing.Any | None
|
|
363
341
|
:param PREF_PACK_IN_ONE: Share Texture Space, Objects share texture space, map all objects into a single UV map
|
|
364
|
-
:type PREF_PACK_IN_ONE:
|
|
342
|
+
:type PREF_PACK_IN_ONE: bool | typing.Any | None
|
|
365
343
|
:param PREF_NEW_UVLAYER: New UV Map, Create a new UV map for every mesh packed
|
|
366
|
-
:type PREF_NEW_UVLAYER:
|
|
344
|
+
:type PREF_NEW_UVLAYER: bool | typing.Any | None
|
|
367
345
|
:param PREF_BOX_DIV: Pack Quality, Quality of the packing. Higher values will be slower but waste less space
|
|
368
|
-
:type PREF_BOX_DIV: typing.
|
|
346
|
+
:type PREF_BOX_DIV: typing.Any | None
|
|
369
347
|
:param PREF_MARGIN_DIV: Margin, Size of the margin as a division of the UV
|
|
370
|
-
:type PREF_MARGIN_DIV: typing.
|
|
348
|
+
:type PREF_MARGIN_DIV: typing.Any | None
|
|
371
349
|
"""
|
|
372
350
|
|
|
373
351
|
...
|
|
374
352
|
|
|
375
353
|
def mark_seam(
|
|
376
|
-
override_context: typing.
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
undo: typing.Optional[bool] = None,
|
|
381
|
-
clear: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
354
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
355
|
+
execution_context: str | int | None = None,
|
|
356
|
+
undo: bool | None = None,
|
|
357
|
+
clear: bool | typing.Any | None = False,
|
|
382
358
|
):
|
|
383
359
|
"""Mark selected UV edges as seams
|
|
384
360
|
|
|
385
|
-
:type override_context:
|
|
386
|
-
:type execution_context:
|
|
387
|
-
:type undo:
|
|
361
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
362
|
+
:type execution_context: str | int | None
|
|
363
|
+
:type undo: bool | None
|
|
388
364
|
:param clear: Clear Seams, Clear instead of marking seams
|
|
389
|
-
:type clear:
|
|
365
|
+
:type clear: bool | typing.Any | None
|
|
390
366
|
"""
|
|
391
367
|
|
|
392
368
|
...
|
|
393
369
|
|
|
394
370
|
def minimize_stretch(
|
|
395
|
-
override_context: typing.
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
blend: typing.Optional[typing.Any] = 0.0,
|
|
402
|
-
iterations: typing.Optional[typing.Any] = 0,
|
|
371
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
372
|
+
execution_context: str | int | None = None,
|
|
373
|
+
undo: bool | None = None,
|
|
374
|
+
fill_holes: bool | typing.Any | None = True,
|
|
375
|
+
blend: typing.Any | None = 0.0,
|
|
376
|
+
iterations: typing.Any | None = 0,
|
|
403
377
|
):
|
|
404
378
|
"""Reduce UV stretching by relaxing angles
|
|
405
379
|
|
|
406
|
-
:type override_context:
|
|
407
|
-
:type execution_context:
|
|
408
|
-
:type undo:
|
|
380
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
381
|
+
:type execution_context: str | int | None
|
|
382
|
+
:type undo: bool | None
|
|
409
383
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
410
|
-
:type fill_holes:
|
|
384
|
+
:type fill_holes: bool | typing.Any | None
|
|
411
385
|
:param blend: Blend, Blend factor between stretch minimized and original
|
|
412
|
-
:type blend: typing.
|
|
386
|
+
:type blend: typing.Any | None
|
|
413
387
|
:param iterations: Iterations, Number of iterations to run, 0 is unlimited when run interactively
|
|
414
|
-
:type iterations: typing.
|
|
388
|
+
:type iterations: typing.Any | None
|
|
415
389
|
"""
|
|
416
390
|
|
|
417
391
|
...
|
|
418
392
|
|
|
419
393
|
def pack_islands(
|
|
420
|
-
override_context: typing.
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
pin_method: typing.Optional[typing.Any] = "LOCKED",
|
|
434
|
-
shape_method: typing.Optional[typing.Any] = "CONCAVE",
|
|
394
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
395
|
+
execution_context: str | int | None = None,
|
|
396
|
+
undo: bool | None = None,
|
|
397
|
+
udim_source: typing.Any | None = "CLOSEST_UDIM",
|
|
398
|
+
rotate: bool | typing.Any | None = True,
|
|
399
|
+
rotate_method: typing.Any | None = "ANY",
|
|
400
|
+
scale: bool | typing.Any | None = True,
|
|
401
|
+
merge_overlap: bool | typing.Any | None = False,
|
|
402
|
+
margin_method: typing.Any | None = "SCALED",
|
|
403
|
+
margin: typing.Any | None = 0.001,
|
|
404
|
+
pin: bool | typing.Any | None = False,
|
|
405
|
+
pin_method: typing.Any | None = "LOCKED",
|
|
406
|
+
shape_method: typing.Any | None = "CONCAVE",
|
|
435
407
|
):
|
|
436
408
|
"""Transform all islands so that they fill up the UV/UDIM space as much as possible
|
|
437
409
|
|
|
438
|
-
:type override_context:
|
|
439
|
-
:type execution_context:
|
|
440
|
-
:type undo:
|
|
410
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
411
|
+
:type execution_context: str | int | None
|
|
412
|
+
:type undo: bool | None
|
|
441
413
|
:param udim_source: Pack to
|
|
442
414
|
|
|
443
415
|
CLOSEST_UDIM
|
|
@@ -448,9 +420,9 @@ def pack_islands(
|
|
|
448
420
|
|
|
449
421
|
ORIGINAL_AABB
|
|
450
422
|
Original bounding box -- Pack to starting bounding box of islands.
|
|
451
|
-
:type udim_source: typing.
|
|
423
|
+
:type udim_source: typing.Any | None
|
|
452
424
|
:param rotate: Rotate, Rotate islands to improve layout
|
|
453
|
-
:type rotate:
|
|
425
|
+
:type rotate: bool | typing.Any | None
|
|
454
426
|
:param rotate_method: Rotation Method
|
|
455
427
|
|
|
456
428
|
ANY
|
|
@@ -467,11 +439,11 @@ def pack_islands(
|
|
|
467
439
|
|
|
468
440
|
AXIS_ALIGNED_Y
|
|
469
441
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
470
|
-
:type rotate_method: typing.
|
|
442
|
+
:type rotate_method: typing.Any | None
|
|
471
443
|
:param scale: Scale, Scale islands to fill unit square
|
|
472
|
-
:type scale:
|
|
444
|
+
:type scale: bool | typing.Any | None
|
|
473
445
|
:param merge_overlap: Merge Overlapping, Overlapping islands stick together
|
|
474
|
-
:type merge_overlap:
|
|
446
|
+
:type merge_overlap: bool | typing.Any | None
|
|
475
447
|
:param margin_method: Margin Method
|
|
476
448
|
|
|
477
449
|
SCALED
|
|
@@ -482,11 +454,11 @@ def pack_islands(
|
|
|
482
454
|
|
|
483
455
|
FRACTION
|
|
484
456
|
Fraction -- Specify a precise fraction of final UV output.
|
|
485
|
-
:type margin_method: typing.
|
|
457
|
+
:type margin_method: typing.Any | None
|
|
486
458
|
:param margin: Margin, Space between islands
|
|
487
|
-
:type margin: typing.
|
|
459
|
+
:type margin: typing.Any | None
|
|
488
460
|
:param pin: Lock Pinned Islands, Constrain islands containing any pinned UV's
|
|
489
|
-
:type pin:
|
|
461
|
+
:type pin: bool | typing.Any | None
|
|
490
462
|
:param pin_method: Pin Method
|
|
491
463
|
|
|
492
464
|
SCALE
|
|
@@ -500,7 +472,7 @@ def pack_islands(
|
|
|
500
472
|
|
|
501
473
|
LOCKED
|
|
502
474
|
All -- Pinned islands are locked in place.
|
|
503
|
-
:type pin_method: typing.
|
|
475
|
+
:type pin_method: typing.Any | None
|
|
504
476
|
:param shape_method: Shape Method
|
|
505
477
|
|
|
506
478
|
CONCAVE
|
|
@@ -511,296 +483,272 @@ def pack_islands(
|
|
|
511
483
|
|
|
512
484
|
AABB
|
|
513
485
|
Bounding Box -- Uses bounding boxes.
|
|
514
|
-
:type shape_method: typing.
|
|
486
|
+
:type shape_method: typing.Any | None
|
|
515
487
|
"""
|
|
516
488
|
|
|
517
489
|
...
|
|
518
490
|
|
|
519
491
|
def paste(
|
|
520
|
-
override_context: typing.
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
524
|
-
undo: typing.Optional[bool] = None,
|
|
492
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
493
|
+
execution_context: str | int | None = None,
|
|
494
|
+
undo: bool | None = None,
|
|
525
495
|
):
|
|
526
496
|
"""Paste selected UV vertices
|
|
527
497
|
|
|
528
|
-
:type override_context:
|
|
529
|
-
:type execution_context:
|
|
530
|
-
:type undo:
|
|
498
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
499
|
+
:type execution_context: str | int | None
|
|
500
|
+
:type undo: bool | None
|
|
531
501
|
"""
|
|
532
502
|
|
|
533
503
|
...
|
|
534
504
|
|
|
535
505
|
def pin(
|
|
536
|
-
override_context: typing.
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
clear: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
542
|
-
invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
506
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
507
|
+
execution_context: str | int | None = None,
|
|
508
|
+
undo: bool | None = None,
|
|
509
|
+
clear: bool | typing.Any | None = False,
|
|
510
|
+
invert: bool | typing.Any | None = False,
|
|
543
511
|
):
|
|
544
512
|
"""Set/clear selected UV vertices as anchored between multiple unwrap operations
|
|
545
513
|
|
|
546
|
-
:type override_context:
|
|
547
|
-
:type execution_context:
|
|
548
|
-
:type undo:
|
|
514
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
515
|
+
:type execution_context: str | int | None
|
|
516
|
+
:type undo: bool | None
|
|
549
517
|
:param clear: Clear, Clear pinning for the selection instead of setting it
|
|
550
|
-
:type clear:
|
|
518
|
+
:type clear: bool | typing.Any | None
|
|
551
519
|
:param invert: Invert, Invert pinning for the selection instead of setting it
|
|
552
|
-
:type invert:
|
|
520
|
+
:type invert: bool | typing.Any | None
|
|
553
521
|
"""
|
|
554
522
|
|
|
555
523
|
...
|
|
556
524
|
|
|
557
525
|
def project_from_view(
|
|
558
|
-
override_context: typing.
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
567
|
-
scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
526
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
527
|
+
execution_context: str | int | None = None,
|
|
528
|
+
undo: bool | None = None,
|
|
529
|
+
orthographic: bool | typing.Any | None = False,
|
|
530
|
+
camera_bounds: bool | typing.Any | None = True,
|
|
531
|
+
correct_aspect: bool | typing.Any | None = True,
|
|
532
|
+
clip_to_bounds: bool | typing.Any | None = False,
|
|
533
|
+
scale_to_bounds: bool | typing.Any | None = False,
|
|
568
534
|
):
|
|
569
535
|
"""Project the UV vertices of the mesh as seen in current 3D view
|
|
570
536
|
|
|
571
|
-
:type override_context:
|
|
572
|
-
:type execution_context:
|
|
573
|
-
:type undo:
|
|
537
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
538
|
+
:type execution_context: str | int | None
|
|
539
|
+
:type undo: bool | None
|
|
574
540
|
:param orthographic: Orthographic, Use orthographic projection
|
|
575
|
-
:type orthographic:
|
|
541
|
+
:type orthographic: bool | typing.Any | None
|
|
576
542
|
:param camera_bounds: Camera Bounds, Map UVs to the camera region taking resolution and aspect into account
|
|
577
|
-
:type camera_bounds:
|
|
543
|
+
:type camera_bounds: bool | typing.Any | None
|
|
578
544
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
579
|
-
:type correct_aspect:
|
|
545
|
+
:type correct_aspect: bool | typing.Any | None
|
|
580
546
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
581
|
-
:type clip_to_bounds:
|
|
547
|
+
:type clip_to_bounds: bool | typing.Any | None
|
|
582
548
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
583
|
-
:type scale_to_bounds:
|
|
549
|
+
:type scale_to_bounds: bool | typing.Any | None
|
|
584
550
|
"""
|
|
585
551
|
|
|
586
552
|
...
|
|
587
553
|
|
|
588
554
|
def randomize_uv_transform(
|
|
589
|
-
override_context: typing.
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
scale_even: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
601
|
-
scale: typing.Optional[typing.Any] = (1.0, 1.0),
|
|
555
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
556
|
+
execution_context: str | int | None = None,
|
|
557
|
+
undo: bool | None = None,
|
|
558
|
+
random_seed: typing.Any | None = 0,
|
|
559
|
+
use_loc: bool | typing.Any | None = True,
|
|
560
|
+
loc: typing.Any | None = (0.0, 0.0),
|
|
561
|
+
use_rot: bool | typing.Any | None = True,
|
|
562
|
+
rot: typing.Any | None = 0.0,
|
|
563
|
+
use_scale: bool | typing.Any | None = True,
|
|
564
|
+
scale_even: bool | typing.Any | None = False,
|
|
565
|
+
scale: typing.Any | None = (1.0, 1.0),
|
|
602
566
|
):
|
|
603
567
|
"""Randomize the UV island's location, rotation, and scale
|
|
604
568
|
|
|
605
|
-
:type override_context:
|
|
606
|
-
:type execution_context:
|
|
607
|
-
:type undo:
|
|
569
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
570
|
+
:type execution_context: str | int | None
|
|
571
|
+
:type undo: bool | None
|
|
608
572
|
:param random_seed: Random Seed, Seed value for the random generator
|
|
609
|
-
:type random_seed: typing.
|
|
573
|
+
:type random_seed: typing.Any | None
|
|
610
574
|
:param use_loc: Randomize Location, Randomize the location values
|
|
611
|
-
:type use_loc:
|
|
575
|
+
:type use_loc: bool | typing.Any | None
|
|
612
576
|
:param loc: Location, Maximum distance the objects can spread over each axis
|
|
613
|
-
:type loc: typing.
|
|
577
|
+
:type loc: typing.Any | None
|
|
614
578
|
:param use_rot: Randomize Rotation, Randomize the rotation value
|
|
615
|
-
:type use_rot:
|
|
579
|
+
:type use_rot: bool | typing.Any | None
|
|
616
580
|
:param rot: Rotation, Maximum rotation
|
|
617
|
-
:type rot: typing.
|
|
581
|
+
:type rot: typing.Any | None
|
|
618
582
|
:param use_scale: Randomize Scale, Randomize the scale values
|
|
619
|
-
:type use_scale:
|
|
583
|
+
:type use_scale: bool | typing.Any | None
|
|
620
584
|
:param scale_even: Scale Even, Use the same scale value for both axes
|
|
621
|
-
:type scale_even:
|
|
585
|
+
:type scale_even: bool | typing.Any | None
|
|
622
586
|
:param scale: Scale, Maximum scale randomization over each axis
|
|
623
|
-
:type scale: typing.
|
|
587
|
+
:type scale: typing.Any | None
|
|
624
588
|
"""
|
|
625
589
|
|
|
626
590
|
...
|
|
627
591
|
|
|
628
592
|
def remove_doubles(
|
|
629
|
-
override_context: typing.
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
threshold: typing.Optional[typing.Any] = 0.02,
|
|
635
|
-
use_unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
593
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
594
|
+
execution_context: str | int | None = None,
|
|
595
|
+
undo: bool | None = None,
|
|
596
|
+
threshold: typing.Any | None = 0.02,
|
|
597
|
+
use_unselected: bool | typing.Any | None = False,
|
|
636
598
|
):
|
|
637
599
|
"""Selected UV vertices that are within a radius of each other are welded together
|
|
638
600
|
|
|
639
|
-
:type override_context:
|
|
640
|
-
:type execution_context:
|
|
641
|
-
:type undo:
|
|
601
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
602
|
+
:type execution_context: str | int | None
|
|
603
|
+
:type undo: bool | None
|
|
642
604
|
:param threshold: Merge Distance, Maximum distance between welded vertices
|
|
643
|
-
:type threshold: typing.
|
|
605
|
+
:type threshold: typing.Any | None
|
|
644
606
|
:param use_unselected: Unselected, Merge selected to other unselected vertices
|
|
645
|
-
:type use_unselected:
|
|
607
|
+
:type use_unselected: bool | typing.Any | None
|
|
646
608
|
"""
|
|
647
609
|
|
|
648
610
|
...
|
|
649
611
|
|
|
650
612
|
def reset(
|
|
651
|
-
override_context: typing.
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
655
|
-
undo: typing.Optional[bool] = None,
|
|
613
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
614
|
+
execution_context: str | int | None = None,
|
|
615
|
+
undo: bool | None = None,
|
|
656
616
|
):
|
|
657
617
|
"""Reset UV projection
|
|
658
618
|
|
|
659
|
-
:type override_context:
|
|
660
|
-
:type execution_context:
|
|
661
|
-
:type undo:
|
|
619
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
620
|
+
:type execution_context: str | int | None
|
|
621
|
+
:type undo: bool | None
|
|
662
622
|
"""
|
|
663
623
|
|
|
664
624
|
...
|
|
665
625
|
|
|
666
626
|
def reveal(
|
|
667
|
-
override_context: typing.
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
undo: typing.Optional[bool] = None,
|
|
672
|
-
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
627
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
628
|
+
execution_context: str | int | None = None,
|
|
629
|
+
undo: bool | None = None,
|
|
630
|
+
select: bool | typing.Any | None = True,
|
|
673
631
|
):
|
|
674
632
|
"""Reveal all hidden UV vertices
|
|
675
633
|
|
|
676
|
-
:type override_context:
|
|
677
|
-
:type execution_context:
|
|
678
|
-
:type undo:
|
|
634
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
635
|
+
:type execution_context: str | int | None
|
|
636
|
+
:type undo: bool | None
|
|
679
637
|
:param select: Select
|
|
680
|
-
:type select:
|
|
638
|
+
:type select: bool | typing.Any | None
|
|
681
639
|
"""
|
|
682
640
|
|
|
683
641
|
...
|
|
684
642
|
|
|
685
643
|
def rip(
|
|
686
|
-
override_context: typing.
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
694
|
-
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
644
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
645
|
+
execution_context: str | int | None = None,
|
|
646
|
+
undo: bool | None = None,
|
|
647
|
+
mirror: bool | typing.Any | None = False,
|
|
648
|
+
release_confirm: bool | typing.Any | None = False,
|
|
649
|
+
use_accurate: bool | typing.Any | None = False,
|
|
650
|
+
location: typing.Any | None = (0.0, 0.0),
|
|
695
651
|
):
|
|
696
652
|
"""Rip selected vertices or a selected region
|
|
697
653
|
|
|
698
|
-
:type override_context:
|
|
699
|
-
:type execution_context:
|
|
700
|
-
:type undo:
|
|
654
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
655
|
+
:type execution_context: str | int | None
|
|
656
|
+
:type undo: bool | None
|
|
701
657
|
:param mirror: Mirror Editing
|
|
702
|
-
:type mirror:
|
|
658
|
+
:type mirror: bool | typing.Any | None
|
|
703
659
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
704
|
-
:type release_confirm:
|
|
660
|
+
:type release_confirm: bool | typing.Any | None
|
|
705
661
|
:param use_accurate: Accurate, Use accurate transformation
|
|
706
|
-
:type use_accurate:
|
|
662
|
+
:type use_accurate: bool | typing.Any | None
|
|
707
663
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
708
|
-
:type location: typing.
|
|
664
|
+
:type location: typing.Any | None
|
|
709
665
|
"""
|
|
710
666
|
|
|
711
667
|
...
|
|
712
668
|
|
|
713
669
|
def rip_move(
|
|
714
|
-
override_context: typing.
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
UV_OT_rip: typing.Optional[rip] = None,
|
|
720
|
-
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
670
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
671
|
+
execution_context: str | int | None = None,
|
|
672
|
+
undo: bool | None = None,
|
|
673
|
+
UV_OT_rip: rip | None = None,
|
|
674
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
721
675
|
):
|
|
722
676
|
"""Unstitch UVs and move the result
|
|
723
677
|
|
|
724
|
-
:type override_context:
|
|
725
|
-
:type execution_context:
|
|
726
|
-
:type undo:
|
|
678
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
679
|
+
:type execution_context: str | int | None
|
|
680
|
+
:type undo: bool | None
|
|
727
681
|
:param UV_OT_rip: UV Rip, Rip selected vertices or a selected region
|
|
728
|
-
:type UV_OT_rip:
|
|
682
|
+
:type UV_OT_rip: rip | None
|
|
729
683
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
730
|
-
:type TRANSFORM_OT_translate:
|
|
684
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
731
685
|
"""
|
|
732
686
|
|
|
733
687
|
...
|
|
734
688
|
|
|
735
689
|
def seams_from_islands(
|
|
736
|
-
override_context: typing.
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
mark_seams: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
742
|
-
mark_sharp: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
690
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
691
|
+
execution_context: str | int | None = None,
|
|
692
|
+
undo: bool | None = None,
|
|
693
|
+
mark_seams: bool | typing.Any | None = True,
|
|
694
|
+
mark_sharp: bool | typing.Any | None = False,
|
|
743
695
|
):
|
|
744
696
|
"""Set mesh seams according to island setup in the UV editor
|
|
745
697
|
|
|
746
|
-
:type override_context:
|
|
747
|
-
:type execution_context:
|
|
748
|
-
:type undo:
|
|
698
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
699
|
+
:type execution_context: str | int | None
|
|
700
|
+
:type undo: bool | None
|
|
749
701
|
:param mark_seams: Mark Seams, Mark boundary edges as seams
|
|
750
|
-
:type mark_seams:
|
|
702
|
+
:type mark_seams: bool | typing.Any | None
|
|
751
703
|
:param mark_sharp: Mark Sharp, Mark boundary edges as sharp
|
|
752
|
-
:type mark_sharp:
|
|
704
|
+
:type mark_sharp: bool | typing.Any | None
|
|
753
705
|
"""
|
|
754
706
|
|
|
755
707
|
...
|
|
756
708
|
|
|
757
709
|
def select(
|
|
758
|
-
override_context: typing.
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
select_passthrough: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
768
|
-
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
710
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
711
|
+
execution_context: str | int | None = None,
|
|
712
|
+
undo: bool | None = None,
|
|
713
|
+
extend: bool | typing.Any | None = False,
|
|
714
|
+
deselect: bool | typing.Any | None = False,
|
|
715
|
+
toggle: bool | typing.Any | None = False,
|
|
716
|
+
deselect_all: bool | typing.Any | None = False,
|
|
717
|
+
select_passthrough: bool | typing.Any | None = False,
|
|
718
|
+
location: typing.Any | None = (0.0, 0.0),
|
|
769
719
|
):
|
|
770
720
|
"""Select UV vertices
|
|
771
721
|
|
|
772
|
-
:type override_context:
|
|
773
|
-
:type execution_context:
|
|
774
|
-
:type undo:
|
|
722
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
723
|
+
:type execution_context: str | int | None
|
|
724
|
+
:type undo: bool | None
|
|
775
725
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
776
|
-
:type extend:
|
|
726
|
+
:type extend: bool | typing.Any | None
|
|
777
727
|
:param deselect: Deselect, Remove from selection
|
|
778
|
-
:type deselect:
|
|
728
|
+
:type deselect: bool | typing.Any | None
|
|
779
729
|
:param toggle: Toggle Selection, Toggle the selection
|
|
780
|
-
:type toggle:
|
|
730
|
+
:type toggle: bool | typing.Any | None
|
|
781
731
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
782
|
-
:type deselect_all:
|
|
732
|
+
:type deselect_all: bool | typing.Any | None
|
|
783
733
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
784
|
-
:type select_passthrough:
|
|
734
|
+
:type select_passthrough: bool | typing.Any | None
|
|
785
735
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
786
|
-
:type location: typing.
|
|
736
|
+
:type location: typing.Any | None
|
|
787
737
|
"""
|
|
788
738
|
|
|
789
739
|
...
|
|
790
740
|
|
|
791
741
|
def select_all(
|
|
792
|
-
override_context: typing.
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
undo: typing.Optional[bool] = None,
|
|
797
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
742
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
743
|
+
execution_context: str | int | None = None,
|
|
744
|
+
undo: bool | None = None,
|
|
745
|
+
action: typing.Any | None = "TOGGLE",
|
|
798
746
|
):
|
|
799
747
|
"""Change selection of all UV vertices
|
|
800
748
|
|
|
801
|
-
:type override_context:
|
|
802
|
-
:type execution_context:
|
|
803
|
-
:type undo:
|
|
749
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
750
|
+
:type execution_context: str | int | None
|
|
751
|
+
:type undo: bool | None
|
|
804
752
|
:param action: Action, Selection action to execute
|
|
805
753
|
|
|
806
754
|
TOGGLE
|
|
@@ -814,42 +762,40 @@ def select_all(
|
|
|
814
762
|
|
|
815
763
|
INVERT
|
|
816
764
|
Invert -- Invert selection of all elements.
|
|
817
|
-
:type action: typing.
|
|
765
|
+
:type action: typing.Any | None
|
|
818
766
|
"""
|
|
819
767
|
|
|
820
768
|
...
|
|
821
769
|
|
|
822
770
|
def select_box(
|
|
823
|
-
override_context: typing.
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
834
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
771
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
772
|
+
execution_context: str | int | None = None,
|
|
773
|
+
undo: bool | None = None,
|
|
774
|
+
pinned: bool | typing.Any | None = False,
|
|
775
|
+
xmin: typing.Any | None = 0,
|
|
776
|
+
xmax: typing.Any | None = 0,
|
|
777
|
+
ymin: typing.Any | None = 0,
|
|
778
|
+
ymax: typing.Any | None = 0,
|
|
779
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
780
|
+
mode: typing.Any | None = "SET",
|
|
835
781
|
):
|
|
836
782
|
"""Select UV vertices using box selection
|
|
837
783
|
|
|
838
|
-
:type override_context:
|
|
839
|
-
:type execution_context:
|
|
840
|
-
:type undo:
|
|
784
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
785
|
+
:type execution_context: str | int | None
|
|
786
|
+
:type undo: bool | None
|
|
841
787
|
:param pinned: Pinned, Border select pinned UVs only
|
|
842
|
-
:type pinned:
|
|
788
|
+
:type pinned: bool | typing.Any | None
|
|
843
789
|
:param xmin: X Min
|
|
844
|
-
:type xmin: typing.
|
|
790
|
+
:type xmin: typing.Any | None
|
|
845
791
|
:param xmax: X Max
|
|
846
|
-
:type xmax: typing.
|
|
792
|
+
:type xmax: typing.Any | None
|
|
847
793
|
:param ymin: Y Min
|
|
848
|
-
:type ymin: typing.
|
|
794
|
+
:type ymin: typing.Any | None
|
|
849
795
|
:param ymax: Y Max
|
|
850
|
-
:type ymax: typing.
|
|
796
|
+
:type ymax: typing.Any | None
|
|
851
797
|
:param wait_for_input: Wait for Input
|
|
852
|
-
:type wait_for_input:
|
|
798
|
+
:type wait_for_input: bool | typing.Any | None
|
|
853
799
|
:param mode: Mode
|
|
854
800
|
|
|
855
801
|
SET
|
|
@@ -860,36 +806,34 @@ def select_box(
|
|
|
860
806
|
|
|
861
807
|
SUB
|
|
862
808
|
Subtract -- Subtract existing selection.
|
|
863
|
-
:type mode: typing.
|
|
809
|
+
:type mode: typing.Any | None
|
|
864
810
|
"""
|
|
865
811
|
|
|
866
812
|
...
|
|
867
813
|
|
|
868
814
|
def select_circle(
|
|
869
|
-
override_context: typing.
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
878
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
815
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
816
|
+
execution_context: str | int | None = None,
|
|
817
|
+
undo: bool | None = None,
|
|
818
|
+
x: typing.Any | None = 0,
|
|
819
|
+
y: typing.Any | None = 0,
|
|
820
|
+
radius: typing.Any | None = 25,
|
|
821
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
822
|
+
mode: typing.Any | None = "SET",
|
|
879
823
|
):
|
|
880
824
|
"""Select UV vertices using circle selection
|
|
881
825
|
|
|
882
|
-
:type override_context:
|
|
883
|
-
:type execution_context:
|
|
884
|
-
:type undo:
|
|
826
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
827
|
+
:type execution_context: str | int | None
|
|
828
|
+
:type undo: bool | None
|
|
885
829
|
:param x: X
|
|
886
|
-
:type x: typing.
|
|
830
|
+
:type x: typing.Any | None
|
|
887
831
|
:param y: Y
|
|
888
|
-
:type y: typing.
|
|
832
|
+
:type y: typing.Any | None
|
|
889
833
|
:param radius: Radius
|
|
890
|
-
:type radius: typing.
|
|
834
|
+
:type radius: typing.Any | None
|
|
891
835
|
:param wait_for_input: Wait for Input
|
|
892
|
-
:type wait_for_input:
|
|
836
|
+
:type wait_for_input: bool | typing.Any | None
|
|
893
837
|
:param mode: Mode
|
|
894
838
|
|
|
895
839
|
SET
|
|
@@ -900,51 +844,45 @@ def select_circle(
|
|
|
900
844
|
|
|
901
845
|
SUB
|
|
902
846
|
Subtract -- Subtract existing selection.
|
|
903
|
-
:type mode: typing.
|
|
847
|
+
:type mode: typing.Any | None
|
|
904
848
|
"""
|
|
905
849
|
|
|
906
850
|
...
|
|
907
851
|
|
|
908
852
|
def select_edge_ring(
|
|
909
|
-
override_context: typing.
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
915
|
-
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
853
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
854
|
+
execution_context: str | int | None = None,
|
|
855
|
+
undo: bool | None = None,
|
|
856
|
+
extend: bool | typing.Any | None = False,
|
|
857
|
+
location: typing.Any | None = (0.0, 0.0),
|
|
916
858
|
):
|
|
917
859
|
"""Select an edge ring of connected UV vertices
|
|
918
860
|
|
|
919
|
-
:type override_context:
|
|
920
|
-
:type execution_context:
|
|
921
|
-
:type undo:
|
|
861
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
862
|
+
:type execution_context: str | int | None
|
|
863
|
+
:type undo: bool | None
|
|
922
864
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
923
|
-
:type extend:
|
|
865
|
+
:type extend: bool | typing.Any | None
|
|
924
866
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
925
|
-
:type location: typing.
|
|
867
|
+
:type location: typing.Any | None
|
|
926
868
|
"""
|
|
927
869
|
|
|
928
870
|
...
|
|
929
871
|
|
|
930
872
|
def select_lasso(
|
|
931
|
-
override_context: typing.
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
path: typing.Optional[
|
|
937
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
938
|
-
] = None,
|
|
939
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
873
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
874
|
+
execution_context: str | int | None = None,
|
|
875
|
+
undo: bool | None = None,
|
|
876
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
877
|
+
mode: typing.Any | None = "SET",
|
|
940
878
|
):
|
|
941
879
|
"""Select UVs using lasso selection
|
|
942
880
|
|
|
943
|
-
:type override_context:
|
|
944
|
-
:type execution_context:
|
|
945
|
-
:type undo:
|
|
881
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
882
|
+
:type execution_context: str | int | None
|
|
883
|
+
:type undo: bool | None
|
|
946
884
|
:param path: Path
|
|
947
|
-
:type path:
|
|
885
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
948
886
|
:param mode: Mode
|
|
949
887
|
|
|
950
888
|
SET
|
|
@@ -955,294 +893,268 @@ def select_lasso(
|
|
|
955
893
|
|
|
956
894
|
SUB
|
|
957
895
|
Subtract -- Subtract existing selection.
|
|
958
|
-
:type mode: typing.
|
|
896
|
+
:type mode: typing.Any | None
|
|
959
897
|
"""
|
|
960
898
|
|
|
961
899
|
...
|
|
962
900
|
|
|
963
901
|
def select_less(
|
|
964
|
-
override_context: typing.
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
968
|
-
undo: typing.Optional[bool] = None,
|
|
902
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
903
|
+
execution_context: str | int | None = None,
|
|
904
|
+
undo: bool | None = None,
|
|
969
905
|
):
|
|
970
906
|
"""Deselect UV vertices at the boundary of each selection region
|
|
971
907
|
|
|
972
|
-
:type override_context:
|
|
973
|
-
:type execution_context:
|
|
974
|
-
:type undo:
|
|
908
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
909
|
+
:type execution_context: str | int | None
|
|
910
|
+
:type undo: bool | None
|
|
975
911
|
"""
|
|
976
912
|
|
|
977
913
|
...
|
|
978
914
|
|
|
979
915
|
def select_linked(
|
|
980
|
-
override_context: typing.
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
984
|
-
undo: typing.Optional[bool] = None,
|
|
916
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
917
|
+
execution_context: str | int | None = None,
|
|
918
|
+
undo: bool | None = None,
|
|
985
919
|
):
|
|
986
920
|
"""Select all UV vertices linked to the active UV map
|
|
987
921
|
|
|
988
|
-
:type override_context:
|
|
989
|
-
:type execution_context:
|
|
990
|
-
:type undo:
|
|
922
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
923
|
+
:type execution_context: str | int | None
|
|
924
|
+
:type undo: bool | None
|
|
991
925
|
"""
|
|
992
926
|
|
|
993
927
|
...
|
|
994
928
|
|
|
995
929
|
def select_linked_pick(
|
|
996
|
-
override_context: typing.
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1003
|
-
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
930
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
931
|
+
execution_context: str | int | None = None,
|
|
932
|
+
undo: bool | None = None,
|
|
933
|
+
extend: bool | typing.Any | None = False,
|
|
934
|
+
deselect: bool | typing.Any | None = False,
|
|
935
|
+
location: typing.Any | None = (0.0, 0.0),
|
|
1004
936
|
):
|
|
1005
937
|
"""Select all UV vertices linked under the mouse
|
|
1006
938
|
|
|
1007
|
-
:type override_context:
|
|
1008
|
-
:type execution_context:
|
|
1009
|
-
:type undo:
|
|
939
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
940
|
+
:type execution_context: str | int | None
|
|
941
|
+
:type undo: bool | None
|
|
1010
942
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
1011
|
-
:type extend:
|
|
943
|
+
:type extend: bool | typing.Any | None
|
|
1012
944
|
:param deselect: Deselect, Deselect linked UV vertices rather than selecting them
|
|
1013
|
-
:type deselect:
|
|
945
|
+
:type deselect: bool | typing.Any | None
|
|
1014
946
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
1015
|
-
:type location: typing.
|
|
947
|
+
:type location: typing.Any | None
|
|
1016
948
|
"""
|
|
1017
949
|
|
|
1018
950
|
...
|
|
1019
951
|
|
|
1020
952
|
def select_loop(
|
|
1021
|
-
override_context: typing.
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1027
|
-
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
953
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
954
|
+
execution_context: str | int | None = None,
|
|
955
|
+
undo: bool | None = None,
|
|
956
|
+
extend: bool | typing.Any | None = False,
|
|
957
|
+
location: typing.Any | None = (0.0, 0.0),
|
|
1028
958
|
):
|
|
1029
959
|
"""Select a loop of connected UV vertices
|
|
1030
960
|
|
|
1031
|
-
:type override_context:
|
|
1032
|
-
:type execution_context:
|
|
1033
|
-
:type undo:
|
|
961
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
962
|
+
:type execution_context: str | int | None
|
|
963
|
+
:type undo: bool | None
|
|
1034
964
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
1035
|
-
:type extend:
|
|
965
|
+
:type extend: bool | typing.Any | None
|
|
1036
966
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
1037
|
-
:type location: typing.
|
|
967
|
+
:type location: typing.Any | None
|
|
1038
968
|
"""
|
|
1039
969
|
|
|
1040
970
|
...
|
|
1041
971
|
|
|
1042
972
|
def select_mode(
|
|
1043
|
-
override_context: typing.
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
undo: typing.Optional[bool] = None,
|
|
1048
|
-
type: typing.Optional[typing.Union[str, int]] = "VERTEX",
|
|
973
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
974
|
+
execution_context: str | int | None = None,
|
|
975
|
+
undo: bool | None = None,
|
|
976
|
+
type: str | int | None = "VERTEX",
|
|
1049
977
|
):
|
|
1050
978
|
"""Change UV selection mode
|
|
1051
979
|
|
|
1052
|
-
:type override_context:
|
|
1053
|
-
:type execution_context:
|
|
1054
|
-
:type undo:
|
|
980
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
981
|
+
:type execution_context: str | int | None
|
|
982
|
+
:type undo: bool | None
|
|
1055
983
|
:param type: Type
|
|
1056
|
-
:type type:
|
|
984
|
+
:type type: str | int | None
|
|
1057
985
|
"""
|
|
1058
986
|
|
|
1059
987
|
...
|
|
1060
988
|
|
|
1061
989
|
def select_more(
|
|
1062
|
-
override_context: typing.
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1066
|
-
undo: typing.Optional[bool] = None,
|
|
990
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
991
|
+
execution_context: str | int | None = None,
|
|
992
|
+
undo: bool | None = None,
|
|
1067
993
|
):
|
|
1068
994
|
"""Select more UV vertices connected to initial selection
|
|
1069
995
|
|
|
1070
|
-
:type override_context:
|
|
1071
|
-
:type execution_context:
|
|
1072
|
-
:type undo:
|
|
996
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
997
|
+
:type execution_context: str | int | None
|
|
998
|
+
:type undo: bool | None
|
|
1073
999
|
"""
|
|
1074
1000
|
|
|
1075
1001
|
...
|
|
1076
1002
|
|
|
1077
1003
|
def select_overlap(
|
|
1078
|
-
override_context: typing.
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
undo: typing.Optional[bool] = None,
|
|
1083
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1004
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1005
|
+
execution_context: str | int | None = None,
|
|
1006
|
+
undo: bool | None = None,
|
|
1007
|
+
extend: bool | typing.Any | None = False,
|
|
1084
1008
|
):
|
|
1085
1009
|
"""Select all UV faces which overlap each other
|
|
1086
1010
|
|
|
1087
|
-
:type override_context:
|
|
1088
|
-
:type execution_context:
|
|
1089
|
-
:type undo:
|
|
1011
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1012
|
+
:type execution_context: str | int | None
|
|
1013
|
+
:type undo: bool | None
|
|
1090
1014
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
1091
|
-
:type extend:
|
|
1015
|
+
:type extend: bool | typing.Any | None
|
|
1092
1016
|
"""
|
|
1093
1017
|
|
|
1094
1018
|
...
|
|
1095
1019
|
|
|
1096
1020
|
def select_pinned(
|
|
1097
|
-
override_context: typing.
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1101
|
-
undo: typing.Optional[bool] = None,
|
|
1021
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1022
|
+
execution_context: str | int | None = None,
|
|
1023
|
+
undo: bool | None = None,
|
|
1102
1024
|
):
|
|
1103
1025
|
"""Select all pinned UV vertices
|
|
1104
1026
|
|
|
1105
|
-
:type override_context:
|
|
1106
|
-
:type execution_context:
|
|
1107
|
-
:type undo:
|
|
1027
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1028
|
+
:type execution_context: str | int | None
|
|
1029
|
+
:type undo: bool | None
|
|
1108
1030
|
"""
|
|
1109
1031
|
|
|
1110
1032
|
...
|
|
1111
1033
|
|
|
1112
1034
|
def select_similar(
|
|
1113
|
-
override_context: typing.
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
compare: typing.Optional[typing.Any] = "EQUAL",
|
|
1120
|
-
threshold: typing.Optional[typing.Any] = 0.0,
|
|
1035
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1036
|
+
execution_context: str | int | None = None,
|
|
1037
|
+
undo: bool | None = None,
|
|
1038
|
+
type: typing.Any | None = "PIN",
|
|
1039
|
+
compare: typing.Any | None = "EQUAL",
|
|
1040
|
+
threshold: typing.Any | None = 0.0,
|
|
1121
1041
|
):
|
|
1122
1042
|
"""Select similar UVs by property types
|
|
1123
1043
|
|
|
1124
|
-
:type override_context:
|
|
1125
|
-
:type execution_context:
|
|
1126
|
-
:type undo:
|
|
1044
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1045
|
+
:type execution_context: str | int | None
|
|
1046
|
+
:type undo: bool | None
|
|
1127
1047
|
:param type: Type
|
|
1128
|
-
:type type: typing.
|
|
1048
|
+
:type type: typing.Any | None
|
|
1129
1049
|
:param compare: Compare
|
|
1130
|
-
:type compare: typing.
|
|
1050
|
+
:type compare: typing.Any | None
|
|
1131
1051
|
:param threshold: Threshold
|
|
1132
|
-
:type threshold: typing.
|
|
1052
|
+
:type threshold: typing.Any | None
|
|
1133
1053
|
"""
|
|
1134
1054
|
|
|
1135
1055
|
...
|
|
1136
1056
|
|
|
1137
1057
|
def select_split(
|
|
1138
|
-
override_context: typing.
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1142
|
-
undo: typing.Optional[bool] = None,
|
|
1058
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1059
|
+
execution_context: str | int | None = None,
|
|
1060
|
+
undo: bool | None = None,
|
|
1143
1061
|
):
|
|
1144
1062
|
"""Select only entirely selected faces
|
|
1145
1063
|
|
|
1146
|
-
:type override_context:
|
|
1147
|
-
:type execution_context:
|
|
1148
|
-
:type undo:
|
|
1064
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1065
|
+
:type execution_context: str | int | None
|
|
1066
|
+
:type undo: bool | None
|
|
1149
1067
|
"""
|
|
1150
1068
|
|
|
1151
1069
|
...
|
|
1152
1070
|
|
|
1153
1071
|
def shortest_path_pick(
|
|
1154
|
-
override_context: typing.
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
object_index: typing.Optional[typing.Any] = -1,
|
|
1166
|
-
index: typing.Optional[typing.Any] = -1,
|
|
1072
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1073
|
+
execution_context: str | int | None = None,
|
|
1074
|
+
undo: bool | None = None,
|
|
1075
|
+
use_face_step: bool | typing.Any | None = False,
|
|
1076
|
+
use_topology_distance: bool | typing.Any | None = False,
|
|
1077
|
+
use_fill: bool | typing.Any | None = False,
|
|
1078
|
+
skip: typing.Any | None = 0,
|
|
1079
|
+
nth: typing.Any | None = 1,
|
|
1080
|
+
offset: typing.Any | None = 0,
|
|
1081
|
+
object_index: typing.Any | None = -1,
|
|
1082
|
+
index: typing.Any | None = -1,
|
|
1167
1083
|
):
|
|
1168
1084
|
"""Select shortest path between two selections
|
|
1169
1085
|
|
|
1170
|
-
:type override_context:
|
|
1171
|
-
:type execution_context:
|
|
1172
|
-
:type undo:
|
|
1086
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1087
|
+
:type execution_context: str | int | None
|
|
1088
|
+
:type undo: bool | None
|
|
1173
1089
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
1174
|
-
:type use_face_step:
|
|
1090
|
+
:type use_face_step: bool | typing.Any | None
|
|
1175
1091
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
1176
|
-
:type use_topology_distance:
|
|
1092
|
+
:type use_topology_distance: bool | typing.Any | None
|
|
1177
1093
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
1178
|
-
:type use_fill:
|
|
1094
|
+
:type use_fill: bool | typing.Any | None
|
|
1179
1095
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
1180
|
-
:type skip: typing.
|
|
1096
|
+
:type skip: typing.Any | None
|
|
1181
1097
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
1182
|
-
:type nth: typing.
|
|
1098
|
+
:type nth: typing.Any | None
|
|
1183
1099
|
:param offset: Offset, Offset from the starting point
|
|
1184
|
-
:type offset: typing.
|
|
1185
|
-
:type object_index: typing.
|
|
1186
|
-
:type index: typing.
|
|
1100
|
+
:type offset: typing.Any | None
|
|
1101
|
+
:type object_index: typing.Any | None
|
|
1102
|
+
:type index: typing.Any | None
|
|
1187
1103
|
"""
|
|
1188
1104
|
|
|
1189
1105
|
...
|
|
1190
1106
|
|
|
1191
1107
|
def shortest_path_select(
|
|
1192
|
-
override_context: typing.
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
nth: typing.Optional[typing.Any] = 1,
|
|
1202
|
-
offset: typing.Optional[typing.Any] = 0,
|
|
1108
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1109
|
+
execution_context: str | int | None = None,
|
|
1110
|
+
undo: bool | None = None,
|
|
1111
|
+
use_face_step: bool | typing.Any | None = False,
|
|
1112
|
+
use_topology_distance: bool | typing.Any | None = False,
|
|
1113
|
+
use_fill: bool | typing.Any | None = False,
|
|
1114
|
+
skip: typing.Any | None = 0,
|
|
1115
|
+
nth: typing.Any | None = 1,
|
|
1116
|
+
offset: typing.Any | None = 0,
|
|
1203
1117
|
):
|
|
1204
1118
|
"""Selected shortest path between two vertices/edges/faces
|
|
1205
1119
|
|
|
1206
|
-
:type override_context:
|
|
1207
|
-
:type execution_context:
|
|
1208
|
-
:type undo:
|
|
1120
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1121
|
+
:type execution_context: str | int | None
|
|
1122
|
+
:type undo: bool | None
|
|
1209
1123
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
1210
|
-
:type use_face_step:
|
|
1124
|
+
:type use_face_step: bool | typing.Any | None
|
|
1211
1125
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
1212
|
-
:type use_topology_distance:
|
|
1126
|
+
:type use_topology_distance: bool | typing.Any | None
|
|
1213
1127
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
1214
|
-
:type use_fill:
|
|
1128
|
+
:type use_fill: bool | typing.Any | None
|
|
1215
1129
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
1216
|
-
:type skip: typing.
|
|
1130
|
+
:type skip: typing.Any | None
|
|
1217
1131
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
1218
|
-
:type nth: typing.
|
|
1132
|
+
:type nth: typing.Any | None
|
|
1219
1133
|
:param offset: Offset, Offset from the starting point
|
|
1220
|
-
:type offset: typing.
|
|
1134
|
+
:type offset: typing.Any | None
|
|
1221
1135
|
"""
|
|
1222
1136
|
|
|
1223
1137
|
...
|
|
1224
1138
|
|
|
1225
1139
|
def smart_project(
|
|
1226
|
-
override_context: typing.
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
correct_aspect: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1237
|
-
scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1140
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1141
|
+
execution_context: str | int | None = None,
|
|
1142
|
+
undo: bool | None = None,
|
|
1143
|
+
angle_limit: typing.Any | None = 1.15192,
|
|
1144
|
+
margin_method: typing.Any | None = "SCALED",
|
|
1145
|
+
rotate_method: typing.Any | None = "AXIS_ALIGNED_Y",
|
|
1146
|
+
island_margin: typing.Any | None = 0.0,
|
|
1147
|
+
area_weight: typing.Any | None = 0.0,
|
|
1148
|
+
correct_aspect: bool | typing.Any | None = True,
|
|
1149
|
+
scale_to_bounds: bool | typing.Any | None = False,
|
|
1238
1150
|
):
|
|
1239
1151
|
"""Projection unwraps the selected faces of mesh objects
|
|
1240
1152
|
|
|
1241
|
-
:type override_context:
|
|
1242
|
-
:type execution_context:
|
|
1243
|
-
:type undo:
|
|
1153
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1154
|
+
:type execution_context: str | int | None
|
|
1155
|
+
:type undo: bool | None
|
|
1244
1156
|
:param angle_limit: Angle Limit, Lower for more projection groups, higher for less distortion
|
|
1245
|
-
:type angle_limit: typing.
|
|
1157
|
+
:type angle_limit: typing.Any | None
|
|
1246
1158
|
:param margin_method: Margin Method
|
|
1247
1159
|
|
|
1248
1160
|
SCALED
|
|
@@ -1253,7 +1165,7 @@ def smart_project(
|
|
|
1253
1165
|
|
|
1254
1166
|
FRACTION
|
|
1255
1167
|
Fraction -- Specify a precise fraction of final UV output.
|
|
1256
|
-
:type margin_method: typing.
|
|
1168
|
+
:type margin_method: typing.Any | None
|
|
1257
1169
|
:param rotate_method: Rotation Method
|
|
1258
1170
|
|
|
1259
1171
|
AXIS_ALIGNED
|
|
@@ -1264,76 +1176,70 @@ def smart_project(
|
|
|
1264
1176
|
|
|
1265
1177
|
AXIS_ALIGNED_Y
|
|
1266
1178
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
1267
|
-
:type rotate_method: typing.
|
|
1179
|
+
:type rotate_method: typing.Any | None
|
|
1268
1180
|
:param island_margin: Island Margin, Margin to reduce bleed from adjacent islands
|
|
1269
|
-
:type island_margin: typing.
|
|
1181
|
+
:type island_margin: typing.Any | None
|
|
1270
1182
|
:param area_weight: Area Weight, Weight projection's vector by faces with larger areas
|
|
1271
|
-
:type area_weight: typing.
|
|
1183
|
+
:type area_weight: typing.Any | None
|
|
1272
1184
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
1273
|
-
:type correct_aspect:
|
|
1185
|
+
:type correct_aspect: bool | typing.Any | None
|
|
1274
1186
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
1275
|
-
:type scale_to_bounds:
|
|
1187
|
+
:type scale_to_bounds: bool | typing.Any | None
|
|
1276
1188
|
"""
|
|
1277
1189
|
|
|
1278
1190
|
...
|
|
1279
1191
|
|
|
1280
1192
|
def snap_cursor(
|
|
1281
|
-
override_context: typing.
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
undo: typing.Optional[bool] = None,
|
|
1286
|
-
target: typing.Optional[typing.Any] = "PIXELS",
|
|
1193
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1194
|
+
execution_context: str | int | None = None,
|
|
1195
|
+
undo: bool | None = None,
|
|
1196
|
+
target: typing.Any | None = "PIXELS",
|
|
1287
1197
|
):
|
|
1288
1198
|
"""Snap cursor to target type
|
|
1289
1199
|
|
|
1290
|
-
:type override_context:
|
|
1291
|
-
:type execution_context:
|
|
1292
|
-
:type undo:
|
|
1200
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1201
|
+
:type execution_context: str | int | None
|
|
1202
|
+
:type undo: bool | None
|
|
1293
1203
|
:param target: Target, Target to snap the selected UVs to
|
|
1294
|
-
:type target: typing.
|
|
1204
|
+
:type target: typing.Any | None
|
|
1295
1205
|
"""
|
|
1296
1206
|
|
|
1297
1207
|
...
|
|
1298
1208
|
|
|
1299
1209
|
def snap_selected(
|
|
1300
|
-
override_context: typing.
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
undo: typing.Optional[bool] = None,
|
|
1305
|
-
target: typing.Optional[typing.Any] = "PIXELS",
|
|
1210
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1211
|
+
execution_context: str | int | None = None,
|
|
1212
|
+
undo: bool | None = None,
|
|
1213
|
+
target: typing.Any | None = "PIXELS",
|
|
1306
1214
|
):
|
|
1307
1215
|
"""Snap selected UV vertices to target type
|
|
1308
1216
|
|
|
1309
|
-
:type override_context:
|
|
1310
|
-
:type execution_context:
|
|
1311
|
-
:type undo:
|
|
1217
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1218
|
+
:type execution_context: str | int | None
|
|
1219
|
+
:type undo: bool | None
|
|
1312
1220
|
:param target: Target, Target to snap the selected UVs to
|
|
1313
|
-
:type target: typing.
|
|
1221
|
+
:type target: typing.Any | None
|
|
1314
1222
|
"""
|
|
1315
1223
|
|
|
1316
1224
|
...
|
|
1317
1225
|
|
|
1318
1226
|
def sphere_project(
|
|
1319
|
-
override_context: typing.
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1330
|
-
scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1227
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1228
|
+
execution_context: str | int | None = None,
|
|
1229
|
+
undo: bool | None = None,
|
|
1230
|
+
direction: typing.Any | None = "VIEW_ON_EQUATOR",
|
|
1231
|
+
align: typing.Any | None = "POLAR_ZX",
|
|
1232
|
+
pole: typing.Any | None = "PINCH",
|
|
1233
|
+
seam: bool | typing.Any | None = False,
|
|
1234
|
+
correct_aspect: bool | typing.Any | None = True,
|
|
1235
|
+
clip_to_bounds: bool | typing.Any | None = False,
|
|
1236
|
+
scale_to_bounds: bool | typing.Any | None = False,
|
|
1331
1237
|
):
|
|
1332
1238
|
"""Project the UV vertices of the mesh over the curved surface of a sphere
|
|
1333
1239
|
|
|
1334
|
-
:type override_context:
|
|
1335
|
-
:type execution_context:
|
|
1336
|
-
:type undo:
|
|
1240
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1241
|
+
:type execution_context: str | int | None
|
|
1242
|
+
:type undo: bool | None
|
|
1337
1243
|
:param direction: Direction, Direction of the sphere or cylinder
|
|
1338
1244
|
|
|
1339
1245
|
VIEW_ON_EQUATOR
|
|
@@ -1344,7 +1250,7 @@ def sphere_project(
|
|
|
1344
1250
|
|
|
1345
1251
|
ALIGN_TO_OBJECT
|
|
1346
1252
|
Align to Object -- Align according to object transform.
|
|
1347
|
-
:type direction: typing.
|
|
1253
|
+
:type direction: typing.Any | None
|
|
1348
1254
|
:param align: Align, How to determine rotation around the pole
|
|
1349
1255
|
|
|
1350
1256
|
POLAR_ZX
|
|
@@ -1352,7 +1258,7 @@ def sphere_project(
|
|
|
1352
1258
|
|
|
1353
1259
|
POLAR_ZY
|
|
1354
1260
|
Polar ZY -- Polar 0 is Y.
|
|
1355
|
-
:type align: typing.
|
|
1261
|
+
:type align: typing.Any | None
|
|
1356
1262
|
:param pole: Pole, How to handle faces at the poles
|
|
1357
1263
|
|
|
1358
1264
|
PINCH
|
|
@@ -1360,96 +1266,90 @@ def sphere_project(
|
|
|
1360
1266
|
|
|
1361
1267
|
FAN
|
|
1362
1268
|
Fan -- UVs are fanned at the poles.
|
|
1363
|
-
:type pole: typing.
|
|
1269
|
+
:type pole: typing.Any | None
|
|
1364
1270
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
1365
|
-
:type seam:
|
|
1271
|
+
:type seam: bool | typing.Any | None
|
|
1366
1272
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
1367
|
-
:type correct_aspect:
|
|
1273
|
+
:type correct_aspect: bool | typing.Any | None
|
|
1368
1274
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
1369
|
-
:type clip_to_bounds:
|
|
1275
|
+
:type clip_to_bounds: bool | typing.Any | None
|
|
1370
1276
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
1371
|
-
:type scale_to_bounds:
|
|
1277
|
+
:type scale_to_bounds: bool | typing.Any | None
|
|
1372
1278
|
"""
|
|
1373
1279
|
|
|
1374
1280
|
...
|
|
1375
1281
|
|
|
1376
1282
|
def stitch(
|
|
1377
|
-
override_context: typing.
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
selection: typing.Optional[
|
|
1392
|
-
bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement]
|
|
1393
|
-
] = None,
|
|
1394
|
-
objects_selection_count: typing.Optional[typing.Any] = (0, 0, 0, 0, 0, 0),
|
|
1283
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1284
|
+
execution_context: str | int | None = None,
|
|
1285
|
+
undo: bool | None = None,
|
|
1286
|
+
use_limit: bool | typing.Any | None = False,
|
|
1287
|
+
snap_islands: bool | typing.Any | None = True,
|
|
1288
|
+
limit: typing.Any | None = 0.01,
|
|
1289
|
+
static_island: typing.Any | None = 0,
|
|
1290
|
+
active_object_index: typing.Any | None = 0,
|
|
1291
|
+
midpoint_snap: bool | typing.Any | None = False,
|
|
1292
|
+
clear_seams: bool | typing.Any | None = True,
|
|
1293
|
+
mode: typing.Any | None = "VERTEX",
|
|
1294
|
+
stored_mode: typing.Any | None = "VERTEX",
|
|
1295
|
+
selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None = None,
|
|
1296
|
+
objects_selection_count: typing.Any | None = (0, 0, 0, 0, 0, 0),
|
|
1395
1297
|
):
|
|
1396
1298
|
"""Stitch selected UV vertices by proximity
|
|
1397
1299
|
|
|
1398
|
-
:type override_context:
|
|
1399
|
-
:type execution_context:
|
|
1400
|
-
:type undo:
|
|
1300
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1301
|
+
:type execution_context: str | int | None
|
|
1302
|
+
:type undo: bool | None
|
|
1401
1303
|
:param use_limit: Use Limit, Stitch UVs within a specified limit distance
|
|
1402
|
-
:type use_limit:
|
|
1304
|
+
:type use_limit: bool | typing.Any | None
|
|
1403
1305
|
:param snap_islands: Snap Islands, Snap islands together (on edge stitch mode, rotates the islands too)
|
|
1404
|
-
:type snap_islands:
|
|
1306
|
+
:type snap_islands: bool | typing.Any | None
|
|
1405
1307
|
:param limit: Limit, Limit distance in normalized coordinates
|
|
1406
|
-
:type limit: typing.
|
|
1308
|
+
:type limit: typing.Any | None
|
|
1407
1309
|
:param static_island: Static Island, Island that stays in place when stitching islands
|
|
1408
|
-
:type static_island: typing.
|
|
1310
|
+
:type static_island: typing.Any | None
|
|
1409
1311
|
:param active_object_index: Active Object, Index of the active object
|
|
1410
|
-
:type active_object_index: typing.
|
|
1312
|
+
:type active_object_index: typing.Any | None
|
|
1411
1313
|
:param midpoint_snap: Snap at Midpoint, UVs are stitched at midpoint instead of at static island
|
|
1412
|
-
:type midpoint_snap:
|
|
1314
|
+
:type midpoint_snap: bool | typing.Any | None
|
|
1413
1315
|
:param clear_seams: Clear Seams, Clear seams of stitched edges
|
|
1414
|
-
:type clear_seams:
|
|
1316
|
+
:type clear_seams: bool | typing.Any | None
|
|
1415
1317
|
:param mode: Operation Mode, Use vertex or edge stitching
|
|
1416
|
-
:type mode: typing.
|
|
1318
|
+
:type mode: typing.Any | None
|
|
1417
1319
|
:param stored_mode: Stored Operation Mode, Use vertex or edge stitching
|
|
1418
|
-
:type stored_mode: typing.
|
|
1320
|
+
:type stored_mode: typing.Any | None
|
|
1419
1321
|
:param selection: Selection
|
|
1420
|
-
:type selection:
|
|
1322
|
+
:type selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None
|
|
1421
1323
|
:param objects_selection_count: Objects Selection Count
|
|
1422
|
-
:type objects_selection_count: typing.
|
|
1324
|
+
:type objects_selection_count: typing.Any | None
|
|
1423
1325
|
"""
|
|
1424
1326
|
|
|
1425
1327
|
...
|
|
1426
1328
|
|
|
1427
1329
|
def unwrap(
|
|
1428
|
-
override_context: typing.
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
margin_method: typing.Optional[typing.Any] = "SCALED",
|
|
1438
|
-
margin: typing.Optional[typing.Any] = 0.001,
|
|
1330
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1331
|
+
execution_context: str | int | None = None,
|
|
1332
|
+
undo: bool | None = None,
|
|
1333
|
+
method: typing.Any | None = "ANGLE_BASED",
|
|
1334
|
+
fill_holes: bool | typing.Any | None = True,
|
|
1335
|
+
correct_aspect: bool | typing.Any | None = True,
|
|
1336
|
+
use_subsurf_data: bool | typing.Any | None = False,
|
|
1337
|
+
margin_method: typing.Any | None = "SCALED",
|
|
1338
|
+
margin: typing.Any | None = 0.001,
|
|
1439
1339
|
):
|
|
1440
1340
|
"""Unwrap the mesh of the object being edited
|
|
1441
1341
|
|
|
1442
|
-
:type override_context:
|
|
1443
|
-
:type execution_context:
|
|
1444
|
-
:type undo:
|
|
1342
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1343
|
+
:type execution_context: str | int | None
|
|
1344
|
+
:type undo: bool | None
|
|
1445
1345
|
:param method: Method, Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower)
|
|
1446
|
-
:type method: typing.
|
|
1346
|
+
:type method: typing.Any | None
|
|
1447
1347
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
1448
|
-
:type fill_holes:
|
|
1348
|
+
:type fill_holes: bool | typing.Any | None
|
|
1449
1349
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
1450
|
-
:type correct_aspect:
|
|
1350
|
+
:type correct_aspect: bool | typing.Any | None
|
|
1451
1351
|
:param use_subsurf_data: Use Subdivision Surface, Map UVs taking vertex position after Subdivision Surface modifier has been applied
|
|
1452
|
-
:type use_subsurf_data:
|
|
1352
|
+
:type use_subsurf_data: bool | typing.Any | None
|
|
1453
1353
|
:param margin_method: Margin Method
|
|
1454
1354
|
|
|
1455
1355
|
SCALED
|
|
@@ -1460,25 +1360,23 @@ def unwrap(
|
|
|
1460
1360
|
|
|
1461
1361
|
FRACTION
|
|
1462
1362
|
Fraction -- Specify a precise fraction of final UV output.
|
|
1463
|
-
:type margin_method: typing.
|
|
1363
|
+
:type margin_method: typing.Any | None
|
|
1464
1364
|
:param margin: Margin, Space between islands
|
|
1465
|
-
:type margin: typing.
|
|
1365
|
+
:type margin: typing.Any | None
|
|
1466
1366
|
"""
|
|
1467
1367
|
|
|
1468
1368
|
...
|
|
1469
1369
|
|
|
1470
1370
|
def weld(
|
|
1471
|
-
override_context: typing.
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1475
|
-
undo: typing.Optional[bool] = None,
|
|
1371
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1372
|
+
execution_context: str | int | None = None,
|
|
1373
|
+
undo: bool | None = None,
|
|
1476
1374
|
):
|
|
1477
1375
|
"""Weld selected UV vertices together
|
|
1478
1376
|
|
|
1479
|
-
:type override_context:
|
|
1480
|
-
:type execution_context:
|
|
1481
|
-
:type undo:
|
|
1377
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1378
|
+
:type execution_context: str | int | None
|
|
1379
|
+
:type undo: bool | None
|
|
1482
1380
|
"""
|
|
1483
1381
|
|
|
1484
1382
|
...
|