fake-bpy-module 20250612__py3-none-any.whl → 20260118__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.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +3 -1
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +4 -4
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +4 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -1
- _bpy_internal/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -2
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +1592 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +2 -0
- {rna_info → _rna_info}/__init__.pyi +4 -2
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +122 -145
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +5 -0
- bl_app_templates_system/py.typed +0 -0
- bl_math/__init__.pyi +3 -13
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +2 -3
- bl_operators/anim/__init__.pyi +62 -38
- bl_operators/assets/__init__.pyi +4 -9
- bl_operators/bone_selection_sets/__init__.pyi +15 -42
- bl_operators/clip/__init__.pyi +12 -31
- bl_operators/connect_to_output/__init__.pyi +2 -3
- bl_operators/console/__init__.pyi +6 -15
- bl_operators/constraint/__init__.pyi +6 -13
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +6 -11
- bl_operators/freestyle/__init__.pyi +5 -12
- bl_operators/geometry_nodes/__init__.pyi +5 -12
- bl_operators/grease_pencil/__init__.pyi +2 -3
- bl_operators/image/__init__.pyi +6 -15
- bl_operators/image_as_planes/__init__.pyi +3 -10
- bl_operators/mesh/__init__.pyi +3 -49
- bl_operators/node/__init__.pyi +294 -73
- bl_operators/object/__init__.pyi +17 -53
- bl_operators/object_align/__init__.pyi +2 -3
- bl_operators/object_quick_effects/__init__.pyi +5 -12
- bl_operators/object_randomize_transform/__init__.pyi +2 -3
- bl_operators/presets/__init__.pyi +27 -76
- bl_operators/rigidbody/__init__.pyi +4 -9
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -3
- bl_operators/sequencer/__init__.pyi +12 -27
- bl_operators/spreadsheet/__init__.pyi +2 -3
- bl_operators/userpref/__init__.pyi +26 -75
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -4
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -4
- bl_operators/uvcalc_transform/__init__.pyi +26 -16
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -3
- bl_operators/view3d/__init__.pyi +9 -24
- bl_operators/wm/__init__.pyi +48 -139
- bl_operators/world/__init__.pyi +3 -4
- bl_ui/__init__.pyi +7 -7
- bl_ui/anim/__init__.pyi +2 -3
- bl_ui/asset_shelf/__init__.pyi +2 -3
- bl_ui/generic_ui_list/__init__.pyi +4 -19
- bl_ui/node_add_menu/__init__.pyi +263 -7
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -79
- bl_ui/node_add_menu_geometry/__init__.pyi +309 -270
- bl_ui/node_add_menu_shader/__init__.pyi +49 -49
- bl_ui/node_add_menu_texture/__init__.pyi +17 -62
- bl_ui/properties_collection/__init__.pyi +9 -22
- bl_ui/properties_constraint/__init__.pyi +129 -282
- bl_ui/properties_data_armature/__init__.pyi +22 -57
- bl_ui/properties_data_bone/__init__.pyi +12 -31
- bl_ui/properties_data_camera/__init__.pyi +18 -47
- bl_ui/properties_data_curve/__init__.pyi +18 -47
- bl_ui/properties_data_curves/__init__.pyi +11 -26
- bl_ui/properties_data_empty/__init__.pyi +3 -6
- bl_ui/properties_data_grease_pencil/__init__.pyi +23 -62
- bl_ui/properties_data_lattice/__init__.pyi +7 -14
- bl_ui/properties_data_light/__init__.pyi +13 -32
- bl_ui/properties_data_lightprobe/__init__.pyi +16 -43
- bl_ui/properties_data_mesh/__init__.pyi +47 -62
- bl_ui/properties_data_metaball/__init__.pyi +9 -20
- bl_ui/properties_data_modifier/__init__.pyi +22 -28
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -3
- bl_ui/properties_data_speaker/__init__.pyi +9 -20
- bl_ui/properties_data_volume/__init__.pyi +12 -29
- bl_ui/properties_freestyle/__init__.pyi +27 -76
- bl_ui/properties_grease_pencil_common/__init__.pyi +10 -168
- bl_ui/properties_mask_common/__init__.pyi +8 -21
- bl_ui/properties_material/__init__.pyi +26 -86
- bl_ui/properties_material_gpencil/__init__.pyi +36 -57
- bl_ui/properties_object/__init__.pyi +59 -65
- bl_ui/properties_output/__init__.pyi +21 -60
- bl_ui/properties_paint_common/__init__.pyi +30 -22
- bl_ui/properties_particle/__init__.pyi +58 -161
- bl_ui/properties_physics_cloth/__init__.pyi +15 -42
- bl_ui/properties_physics_common/__init__.pyi +2 -3
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +23 -66
- bl_ui/properties_physics_field/__init__.pyi +11 -30
- bl_ui/properties_physics_fluid/__init__.pyi +29 -84
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +9 -24
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +14 -39
- bl_ui/properties_physics_softbody/__init__.pyi +16 -45
- bl_ui/properties_render/__init__.pyi +139 -197
- bl_ui/properties_scene/__init__.pyi +46 -50
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +30 -83
- bl_ui/properties_view_layer/__init__.pyi +84 -39
- bl_ui/properties_workspace/__init__.pyi +6 -13
- bl_ui/properties_world/__init__.pyi +14 -35
- bl_ui/space_clip/__init__.pyi +150 -231
- bl_ui/space_console/__init__.pyi +7 -18
- bl_ui/space_dopesheet/__init__.pyi +143 -100
- bl_ui/space_filebrowser/__init__.pyi +33 -90
- bl_ui/space_graph/__init__.pyi +48 -85
- bl_ui/space_image/__init__.pyi +111 -229
- bl_ui/space_info/__init__.pyi +7 -18
- bl_ui/space_nla/__init__.pyi +44 -73
- bl_ui/space_node/__init__.pyi +161 -123
- bl_ui/space_outliner/__init__.pyi +16 -45
- bl_ui/space_properties/__init__.pyi +34 -10
- bl_ui/space_sequencer/__init__.pyi +164 -901
- bl_ui/space_spreadsheet/__init__.pyi +4 -9
- bl_ui/space_statusbar/__init__.pyi +2 -3
- bl_ui/space_text/__init__.pyi +17 -48
- bl_ui/space_time/__init__.pyi +25 -71
- bl_ui/space_toolsystem_common/__init__.pyi +2 -2
- bl_ui/space_toolsystem_toolbar/__init__.pyi +30 -7
- bl_ui/space_topbar/__init__.pyi +35 -79
- bl_ui/space_userpref/__init__.pyi +185 -321
- bl_ui/space_view3d/__init__.pyi +337 -817
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +110 -880
- bl_ui/utils/__init__.pyi +0 -17
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +8 -54
- bmesh/__init__.pyi +2 -9
- bmesh/geometry/__init__.pyi +1 -4
- bmesh/ops/__init__.pyi +125 -508
- bmesh/types/__init__.pyi +318 -664
- bmesh/utils/__init__.pyi +17 -43
- bpy/__init__.pyi +1 -1
- bpy/app/__init__.pyi +93 -88
- bpy/app/handlers/__init__.pyi +19 -19
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +2 -7
- bpy/app/translations/__init__.pyi +8 -23
- bpy/msgbus/__init__.pyi +4 -6
- bpy/ops/action/__init__.pyi +68 -199
- bpy/ops/anim/__init__.pyi +142 -299
- bpy/ops/armature/__init__.pyi +78 -209
- bpy/ops/asset/__init__.pyi +46 -108
- bpy/ops/boid/__init__.pyi +28 -45
- bpy/ops/brush/__init__.pyi +13 -108
- bpy/ops/buttons/__init__.pyi +16 -75
- bpy/ops/cachefile/__init__.pyi +8 -65
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +173 -471
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +23 -36
- bpy/ops/console/__init__.pyi +40 -98
- bpy/ops/constraint/__init__.pyi +14 -85
- bpy/ops/curve/__init__.pyi +94 -277
- bpy/ops/curves/__init__.pyi +119 -166
- bpy/ops/cycles/__init__.pyi +4 -15
- bpy/ops/dpaint/__init__.pyi +14 -24
- bpy/ops/ed/__init__.pyi +44 -92
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +16 -170
- bpy/ops/extensions/__init__.pyi +60 -165
- bpy/ops/file/__init__.pyi +110 -246
- bpy/ops/fluid/__init__.pyi +52 -83
- bpy/ops/font/__init__.pyi +40 -144
- bpy/ops/geometry/__init__.pyi +12 -127
- bpy/ops/gizmogroup/__init__.pyi +4 -13
- bpy/ops/gpencil/__init__.pyi +22 -54
- bpy/ops/graph/__init__.pyi +92 -343
- bpy/ops/grease_pencil/__init__.pyi +218 -550
- bpy/ops/image/__init__.pyi +85 -435
- bpy/ops/import_anim/__init__.pyi +3 -17
- bpy/ops/import_curve/__init__.pyi +2 -5
- bpy/ops/import_scene/__init__.pyi +15 -49
- bpy/ops/info/__init__.pyi +16 -39
- bpy/ops/lattice/__init__.pyi +12 -36
- bpy/ops/marker/__init__.pyi +12 -51
- bpy/ops/mask/__init__.pyi +68 -193
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +4 -31
- bpy/ops/mesh/__init__.pyi +140 -967
- bpy/ops/nla/__init__.pyi +87 -206
- bpy/ops/node/__init__.pyi +714 -744
- bpy/ops/object/__init__.pyi +461 -1341
- bpy/ops/outliner/__init__.pyi +192 -376
- bpy/ops/paint/__init__.pyi +94 -319
- bpy/ops/paintcurve/__init__.pyi +20 -40
- bpy/ops/palette/__init__.pyi +14 -30
- bpy/ops/particle/__init__.pyi +86 -184
- bpy/ops/pointcloud/__init__.pyi +12 -38
- bpy/ops/pose/__init__.pyi +108 -261
- bpy/ops/poselib/__init__.pyi +32 -67
- bpy/ops/preferences/__init__.pyi +37 -187
- bpy/ops/ptcache/__init__.pyi +22 -36
- bpy/ops/render/__init__.pyi +20 -72
- bpy/ops/rigidbody/__init__.pyi +25 -63
- bpy/ops/scene/__init__.pyi +122 -181
- bpy/ops/screen/__init__.pyi +93 -221
- bpy/ops/script/__init__.pyi +4 -13
- bpy/ops/sculpt/__init__.pyi +69 -324
- bpy/ops/sculpt_curves/__init__.pyi +10 -23
- bpy/ops/sequencer/__init__.pyi +410 -730
- bpy/ops/sound/__init__.pyi +16 -114
- bpy/ops/spreadsheet/__init__.pyi +20 -37
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +112 -250
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +14 -21
- bpy/ops/transform/__init__.pyi +18 -386
- bpy/ops/ui/__init__.pyi +117 -188
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +238 -305
- bpy/ops/view2d/__init__.pyi +16 -76
- bpy/ops/view3d/__init__.pyi +153 -377
- bpy/ops/wm/__init__.pyi +277 -1397
- bpy/ops/workspace/__init__.pyi +32 -39
- bpy/ops/world/__init__.pyi +10 -12
- bpy/path/__init__.pyi +1 -35
- bpy/props/__init__.pyi +347 -218
- bpy/stub_internal/rna_enums/__init__.pyi +142 -108
- bpy/types/__init__.pyi +77367 -101305
- bpy/utils/__init__.pyi +11 -82
- bpy/utils/previews/__init__.pyi +2 -11
- bpy/utils/units/__init__.pyi +5 -15
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +2 -11
- bpy_extras/io_utils/__init__.pyi +8 -27
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +1 -9
- bpy_extras/object_utils/__init__.pyi +1 -15
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -1
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +17 -16
- freestyle/chainingiterators/__init__.pyi +5 -27
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +2 -53
- freestyle/shaders/__init__.pyi +15 -81
- freestyle/types/__init__.pyi +159 -799
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +5 -11
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +2 -7
- gpu/shader/__init__.pyi +26 -9
- gpu/state/__init__.pyi +60 -39
- gpu/texture/__init__.pyi +3 -5
- gpu/types/__init__.pyi +116 -184
- gpu_extras/batch/__init__.pyi +1 -5
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +3 -10
- imbuf/types/__init__.pyi +7 -21
- keyingsets_builtins/__init__.pyi +24 -67
- mathutils/__init__.pyi +241 -2207
- mathutils/bvhtree/__init__.pyi +18 -26
- mathutils/geometry/__init__.pyi +82 -132
- mathutils/interpolate/__init__.pyi +6 -5
- mathutils/kdtree/__init__.pyi +1 -11
- mathutils/noise/__init__.pyi +61 -106
- rna_prop_ui/__init__.pyi +1 -1
- bgl/__init__.pyi +0 -4256
- bpy_types/__init__.pyi +0 -30
- fake_bpy_module-20250612.dist-info/RECORD +0 -367
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
bpy/ops/uv/__init__.pyi
CHANGED
|
@@ -16,11 +16,10 @@ def align(
|
|
|
16
16
|
"ALIGN_S", "ALIGN_T", "ALIGN_U", "ALIGN_AUTO", "ALIGN_X", "ALIGN_Y"
|
|
17
17
|
]
|
|
18
18
|
| None = "ALIGN_AUTO",
|
|
19
|
+
position_mode: typing.Literal["MEAN", "MIN", "MAX"] | None = "MEAN",
|
|
19
20
|
) -> None:
|
|
20
21
|
"""Aligns selected UV vertices on a line
|
|
21
22
|
|
|
22
|
-
:type execution_context: int | str | None
|
|
23
|
-
:type undo: bool | None
|
|
24
23
|
:param axis: Axis, Axis to align UV locations on
|
|
25
24
|
|
|
26
25
|
ALIGN_S
|
|
@@ -40,7 +39,16 @@ def align(
|
|
|
40
39
|
|
|
41
40
|
ALIGN_Y
|
|
42
41
|
Align Horizontally -- Align UV vertices on a horizontal line.
|
|
43
|
-
:
|
|
42
|
+
:param position_mode: Position Mode, Method of calculating the alignment position
|
|
43
|
+
|
|
44
|
+
MEAN
|
|
45
|
+
Mean -- Align UVs along the mean position.
|
|
46
|
+
|
|
47
|
+
MIN
|
|
48
|
+
Minimum -- Align UVs along the minimum position.
|
|
49
|
+
|
|
50
|
+
MAX
|
|
51
|
+
Maximum -- Align UVs along the maximum position.
|
|
44
52
|
"""
|
|
45
53
|
|
|
46
54
|
def align_rotation(
|
|
@@ -52,10 +60,8 @@ def align_rotation(
|
|
|
52
60
|
axis: typing.Literal["X", "Y", "Z"] | None = "X",
|
|
53
61
|
correct_aspect: bool | None = False,
|
|
54
62
|
) -> None:
|
|
55
|
-
"""Align the UV
|
|
63
|
+
"""Align the UV islands rotation
|
|
56
64
|
|
|
57
|
-
:type execution_context: int | str | None
|
|
58
|
-
:type undo: bool | None
|
|
59
65
|
:param method: Method, Method to calculate rotation angle
|
|
60
66
|
|
|
61
67
|
AUTO
|
|
@@ -66,7 +72,6 @@ def align_rotation(
|
|
|
66
72
|
|
|
67
73
|
GEOMETRY
|
|
68
74
|
Geometry -- Align to Geometry axis.
|
|
69
|
-
:type method: typing.Literal['AUTO','EDGE','GEOMETRY'] | None
|
|
70
75
|
:param axis: Axis, Axis to align to
|
|
71
76
|
|
|
72
77
|
X
|
|
@@ -77,9 +82,68 @@ def align_rotation(
|
|
|
77
82
|
|
|
78
83
|
Z
|
|
79
84
|
Z -- Z axis.
|
|
80
|
-
:type axis: typing.Literal['X','Y','Z'] | None
|
|
81
85
|
:param correct_aspect: Correct Aspect, Take image aspect ratio into account
|
|
82
|
-
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
def arrange_islands(
|
|
89
|
+
execution_context: int | str | None = None,
|
|
90
|
+
undo: bool | None = None,
|
|
91
|
+
/,
|
|
92
|
+
*,
|
|
93
|
+
initial_position: typing.Literal["BOUNDING_BOX", "UV_GRID", "ACTIVE_UDIM", "CURSOR"]
|
|
94
|
+
| None = "BOUNDING_BOX",
|
|
95
|
+
axis: typing.Literal["X", "Y"] | None = "Y",
|
|
96
|
+
align: typing.Literal["MIN", "MAX", "CENTER", "NONE"] | None = "MIN",
|
|
97
|
+
order: typing.Literal["LARGE_TO_SMALL", "SMALL_TO_LARGE", "Fixed"]
|
|
98
|
+
| None = "LARGE_TO_SMALL",
|
|
99
|
+
margin: float | None = 0.05,
|
|
100
|
+
) -> None:
|
|
101
|
+
"""Arrange selected UV islands on a line
|
|
102
|
+
|
|
103
|
+
:param initial_position: Initial Position, Initial position to arrange islands from
|
|
104
|
+
|
|
105
|
+
BOUNDING_BOX
|
|
106
|
+
Bounding Box -- Initial alignment based on the islands bounding box.
|
|
107
|
+
|
|
108
|
+
UV_GRID
|
|
109
|
+
UV Grid -- Initial alignment based on UV Tile Grid.
|
|
110
|
+
|
|
111
|
+
ACTIVE_UDIM
|
|
112
|
+
Active UDIM -- Initial alignment based on Active UDIM.
|
|
113
|
+
|
|
114
|
+
CURSOR
|
|
115
|
+
2D Cursor -- Initial alignment based on 2D cursor.
|
|
116
|
+
:param axis: Axis, Axis to arrange UV islands on
|
|
117
|
+
|
|
118
|
+
X
|
|
119
|
+
X -- Align UV islands along the X axis.
|
|
120
|
+
|
|
121
|
+
Y
|
|
122
|
+
Y -- Align UV islands along the Y axis.
|
|
123
|
+
:param align: Align, Location to align islands on
|
|
124
|
+
|
|
125
|
+
MIN
|
|
126
|
+
Min -- Align the islands to the min of the island.
|
|
127
|
+
|
|
128
|
+
MAX
|
|
129
|
+
Max -- Align the islands to the left side of the island.
|
|
130
|
+
|
|
131
|
+
CENTER
|
|
132
|
+
Center -- Align the islands to the center of the largest island.
|
|
133
|
+
|
|
134
|
+
NONE
|
|
135
|
+
None -- Preserve island alignment.
|
|
136
|
+
:param order: Order, Order of islands
|
|
137
|
+
|
|
138
|
+
LARGE_TO_SMALL
|
|
139
|
+
Largest to Smallest -- Sort islands from largest to smallest.
|
|
140
|
+
|
|
141
|
+
SMALL_TO_LARGE
|
|
142
|
+
Smallest to Largest -- Sort islands from smallest to largest.
|
|
143
|
+
|
|
144
|
+
Fixed
|
|
145
|
+
Fixed -- Preserve island order.
|
|
146
|
+
:param margin: Margin, Space between islands
|
|
83
147
|
"""
|
|
84
148
|
|
|
85
149
|
def average_islands_scale(
|
|
@@ -92,19 +156,29 @@ def average_islands_scale(
|
|
|
92
156
|
) -> None:
|
|
93
157
|
"""Average the size of separate UV islands, based on their area in 3D space
|
|
94
158
|
|
|
95
|
-
:type execution_context: int | str | None
|
|
96
|
-
:type undo: bool | None
|
|
97
159
|
:param scale_uv: Non-Uniform, Scale U and V independently
|
|
98
|
-
:type scale_uv: bool | None
|
|
99
160
|
:param shear: Shear, Reduce shear within islands
|
|
100
|
-
:type shear: bool | None
|
|
101
161
|
"""
|
|
102
162
|
|
|
103
|
-
def copy(
|
|
104
|
-
|
|
163
|
+
def copy(
|
|
164
|
+
execution_context: int | str | None = None,
|
|
165
|
+
undo: bool | None = None,
|
|
166
|
+
/,
|
|
167
|
+
) -> None:
|
|
168
|
+
"""Copy selected UV vertices"""
|
|
105
169
|
|
|
106
|
-
|
|
107
|
-
:
|
|
170
|
+
def copy_mirrored_faces(
|
|
171
|
+
execution_context: int | str | None = None,
|
|
172
|
+
undo: bool | None = None,
|
|
173
|
+
/,
|
|
174
|
+
*,
|
|
175
|
+
direction: typing.Literal["POSITIVE", "NEGATIVE"] | None = "POSITIVE",
|
|
176
|
+
precision: int | None = 3,
|
|
177
|
+
) -> None:
|
|
178
|
+
"""Copy mirror UV coordinates on the X axis based on a mirrored mesh
|
|
179
|
+
|
|
180
|
+
:param direction: Axis Direction
|
|
181
|
+
:param precision: Precision, Tolerance for finding vertex duplicates
|
|
108
182
|
"""
|
|
109
183
|
|
|
110
184
|
def cube_project(
|
|
@@ -119,16 +193,10 @@ def cube_project(
|
|
|
119
193
|
) -> None:
|
|
120
194
|
"""Project the UV vertices of the mesh over the six faces of a cube
|
|
121
195
|
|
|
122
|
-
:type execution_context: int | str | None
|
|
123
|
-
:type undo: bool | None
|
|
124
196
|
:param cube_size: Cube Size, Size of the cube to project on
|
|
125
|
-
:type cube_size: float | None
|
|
126
197
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
127
|
-
:type correct_aspect: bool | None
|
|
128
198
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
129
|
-
:type clip_to_bounds: bool | None
|
|
130
199
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
131
|
-
:type scale_to_bounds: bool | None
|
|
132
200
|
"""
|
|
133
201
|
|
|
134
202
|
def cursor_set(
|
|
@@ -140,10 +208,27 @@ def cursor_set(
|
|
|
140
208
|
) -> None:
|
|
141
209
|
"""Set 2D cursor location
|
|
142
210
|
|
|
143
|
-
:type execution_context: int | str | None
|
|
144
|
-
:type undo: bool | None
|
|
145
211
|
:param location: Location, Cursor location in normalized (0.0 to 1.0) coordinates
|
|
146
|
-
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
def custom_region_set(
|
|
215
|
+
execution_context: int | str | None = None,
|
|
216
|
+
undo: bool | None = None,
|
|
217
|
+
/,
|
|
218
|
+
*,
|
|
219
|
+
xmin: int | None = 0,
|
|
220
|
+
xmax: int | None = 0,
|
|
221
|
+
ymin: int | None = 0,
|
|
222
|
+
ymax: int | None = 0,
|
|
223
|
+
wait_for_input: bool | None = True,
|
|
224
|
+
) -> None:
|
|
225
|
+
"""Set the boundaries of the user region
|
|
226
|
+
|
|
227
|
+
:param xmin: X Min
|
|
228
|
+
:param xmax: X Max
|
|
229
|
+
:param ymin: Y Min
|
|
230
|
+
:param ymax: Y Max
|
|
231
|
+
:param wait_for_input: Wait for Input
|
|
147
232
|
"""
|
|
148
233
|
|
|
149
234
|
def cylinder_project(
|
|
@@ -163,8 +248,6 @@ def cylinder_project(
|
|
|
163
248
|
) -> None:
|
|
164
249
|
"""Project the UV vertices of the mesh over the curved wall of a cylinder
|
|
165
250
|
|
|
166
|
-
:type execution_context: int | str | None
|
|
167
|
-
:type undo: bool | None
|
|
168
251
|
:param direction: Direction, Direction of the sphere or cylinder
|
|
169
252
|
|
|
170
253
|
VIEW_ON_EQUATOR
|
|
@@ -175,7 +258,6 @@ def cylinder_project(
|
|
|
175
258
|
|
|
176
259
|
ALIGN_TO_OBJECT
|
|
177
260
|
Align to Object -- Align according to object transform.
|
|
178
|
-
:type direction: typing.Literal['VIEW_ON_EQUATOR','VIEW_ON_POLES','ALIGN_TO_OBJECT'] | None
|
|
179
261
|
:param align: Align, How to determine rotation around the pole
|
|
180
262
|
|
|
181
263
|
POLAR_ZX
|
|
@@ -183,7 +265,6 @@ def cylinder_project(
|
|
|
183
265
|
|
|
184
266
|
POLAR_ZY
|
|
185
267
|
Polar ZY -- Polar 0 is Y.
|
|
186
|
-
:type align: typing.Literal['POLAR_ZX','POLAR_ZY'] | None
|
|
187
268
|
:param pole: Pole, How to handle faces at the poles
|
|
188
269
|
|
|
189
270
|
PINCH
|
|
@@ -191,17 +272,11 @@ def cylinder_project(
|
|
|
191
272
|
|
|
192
273
|
FAN
|
|
193
274
|
Fan -- UVs are fanned at the poles.
|
|
194
|
-
:type pole: typing.Literal['PINCH','FAN'] | None
|
|
195
275
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
196
|
-
:type seam: bool | None
|
|
197
276
|
:param radius: Radius, Radius of the sphere or cylinder
|
|
198
|
-
:type radius: float | None
|
|
199
277
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
200
|
-
:type correct_aspect: bool | None
|
|
201
278
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
202
|
-
:type clip_to_bounds: bool | None
|
|
203
279
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
204
|
-
:type scale_to_bounds: bool | None
|
|
205
280
|
"""
|
|
206
281
|
|
|
207
282
|
def export_layout(
|
|
@@ -220,12 +295,8 @@ def export_layout(
|
|
|
220
295
|
) -> None:
|
|
221
296
|
"""Export UV layout to file
|
|
222
297
|
|
|
223
|
-
:type execution_context: int | str | None
|
|
224
|
-
:type undo: bool | None
|
|
225
298
|
:param filepath: filepath
|
|
226
|
-
:type filepath: str
|
|
227
299
|
:param export_all: All UVs, Export all UVs in this mesh (not just visible ones)
|
|
228
|
-
:type export_all: bool | None
|
|
229
300
|
:param export_tiles: Export Tiles, Choose whether to export only the [0, 1] range, or all UV tiles
|
|
230
301
|
|
|
231
302
|
NONE
|
|
@@ -236,9 +307,7 @@ def export_layout(
|
|
|
236
307
|
|
|
237
308
|
UV
|
|
238
309
|
UVTILE -- Export tiles in the UVTILE numbering scheme: u(u_tile + 1)_v(v_tile + 1).
|
|
239
|
-
:type export_tiles: typing.Literal['NONE','UDIM','UV'] | None
|
|
240
310
|
:param modified: Modified, Exports UVs from the modified mesh
|
|
241
|
-
:type modified: bool | None
|
|
242
311
|
:param mode: Format, File format to export the UV layout to
|
|
243
312
|
|
|
244
313
|
SVG
|
|
@@ -249,13 +318,9 @@ def export_layout(
|
|
|
249
318
|
|
|
250
319
|
PNG
|
|
251
320
|
PNG Image (.png) -- Export the UV layout to a bitmap image.
|
|
252
|
-
:type mode: typing.Literal['SVG','EPS','PNG'] | None
|
|
253
321
|
:param size: Size, Dimensions of the exported file
|
|
254
|
-
:type size: collections.abc.Iterable[int] | None
|
|
255
322
|
:param opacity: Fill Opacity, Set amount of opacity for exported UV layout
|
|
256
|
-
:type opacity: float | None
|
|
257
323
|
:param check_existing: check_existing
|
|
258
|
-
:type check_existing: bool | None
|
|
259
324
|
"""
|
|
260
325
|
|
|
261
326
|
def follow_active_quads(
|
|
@@ -267,8 +332,6 @@ def follow_active_quads(
|
|
|
267
332
|
) -> None:
|
|
268
333
|
"""Follow UVs from active quads along continuous face loops
|
|
269
334
|
|
|
270
|
-
:type execution_context: int | str | None
|
|
271
|
-
:type undo: bool | None
|
|
272
335
|
:param mode: Edge Length Mode, Method to space UV edge loops
|
|
273
336
|
|
|
274
337
|
EVEN
|
|
@@ -279,7 +342,6 @@ def follow_active_quads(
|
|
|
279
342
|
|
|
280
343
|
LENGTH_AVERAGE
|
|
281
344
|
Length Average -- Average space UVs edge length of each loop.
|
|
282
|
-
:type mode: typing.Literal['EVEN','LENGTH','LENGTH_AVERAGE'] | None
|
|
283
345
|
"""
|
|
284
346
|
|
|
285
347
|
def hide(
|
|
@@ -291,10 +353,7 @@ def hide(
|
|
|
291
353
|
) -> None:
|
|
292
354
|
"""Hide (un)selected UV vertices
|
|
293
355
|
|
|
294
|
-
:type execution_context: int | str | None
|
|
295
|
-
:type undo: bool | None
|
|
296
356
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
297
|
-
:type unselected: bool | None
|
|
298
357
|
"""
|
|
299
358
|
|
|
300
359
|
def lightmap_pack(
|
|
@@ -308,10 +367,8 @@ def lightmap_pack(
|
|
|
308
367
|
PREF_BOX_DIV: int | None = 12,
|
|
309
368
|
PREF_MARGIN_DIV: float | None = 0.1,
|
|
310
369
|
) -> None:
|
|
311
|
-
"""Pack each
|
|
370
|
+
"""Pack each faces UVs into the UV bounds
|
|
312
371
|
|
|
313
|
-
:type execution_context: int | str | None
|
|
314
|
-
:type undo: bool | None
|
|
315
372
|
:param PREF_CONTEXT: Selection
|
|
316
373
|
|
|
317
374
|
SEL_FACES
|
|
@@ -319,15 +376,10 @@ def lightmap_pack(
|
|
|
319
376
|
|
|
320
377
|
ALL_FACES
|
|
321
378
|
All Faces -- Average space UVs edge length of each loop.
|
|
322
|
-
:type PREF_CONTEXT: typing.Literal['SEL_FACES','ALL_FACES'] | None
|
|
323
379
|
:param PREF_PACK_IN_ONE: Share Texture Space, Objects share texture space, map all objects into a single UV map
|
|
324
|
-
:type PREF_PACK_IN_ONE: bool | None
|
|
325
380
|
:param PREF_NEW_UVLAYER: New UV Map, Create a new UV map for every mesh packed
|
|
326
|
-
:type PREF_NEW_UVLAYER: bool | None
|
|
327
381
|
:param PREF_BOX_DIV: Pack Quality, Quality of the packing. Higher values will be slower but waste less space
|
|
328
|
-
:type PREF_BOX_DIV: int | None
|
|
329
382
|
:param PREF_MARGIN_DIV: Margin, Size of the margin as a division of the UV
|
|
330
|
-
:type PREF_MARGIN_DIV: float | None
|
|
331
383
|
"""
|
|
332
384
|
|
|
333
385
|
def mark_seam(
|
|
@@ -339,10 +391,7 @@ def mark_seam(
|
|
|
339
391
|
) -> None:
|
|
340
392
|
"""Mark selected UV edges as seams
|
|
341
393
|
|
|
342
|
-
:type execution_context: int | str | None
|
|
343
|
-
:type undo: bool | None
|
|
344
394
|
:param clear: Clear Seams, Clear instead of marking seams
|
|
345
|
-
:type clear: bool | None
|
|
346
395
|
"""
|
|
347
396
|
|
|
348
397
|
def minimize_stretch(
|
|
@@ -356,14 +405,40 @@ def minimize_stretch(
|
|
|
356
405
|
) -> None:
|
|
357
406
|
"""Reduce UV stretching by relaxing angles
|
|
358
407
|
|
|
359
|
-
:type execution_context: int | str | None
|
|
360
|
-
:type undo: bool | None
|
|
361
408
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
362
|
-
:type fill_holes: bool | None
|
|
363
409
|
:param blend: Blend, Blend factor between stretch minimized and original
|
|
364
|
-
:type blend: float | None
|
|
365
410
|
:param iterations: Iterations, Number of iterations to run, 0 is unlimited when run interactively
|
|
366
|
-
|
|
411
|
+
"""
|
|
412
|
+
|
|
413
|
+
def move_on_axis(
|
|
414
|
+
execution_context: int | str | None = None,
|
|
415
|
+
undo: bool | None = None,
|
|
416
|
+
/,
|
|
417
|
+
*,
|
|
418
|
+
type: typing.Literal["DYNAMIC", "PIXEL", "UDIM"] | None = "UDIM",
|
|
419
|
+
axis: typing.Literal["X", "Y"] | None = "X",
|
|
420
|
+
distance: int | None = 1,
|
|
421
|
+
) -> None:
|
|
422
|
+
"""Move UVs on an axis
|
|
423
|
+
|
|
424
|
+
:param type: Type, Move Type
|
|
425
|
+
|
|
426
|
+
DYNAMIC
|
|
427
|
+
Dynamic -- Move by dynamic grid.
|
|
428
|
+
|
|
429
|
+
PIXEL
|
|
430
|
+
Pixel -- Move by pixel.
|
|
431
|
+
|
|
432
|
+
UDIM
|
|
433
|
+
UDIM -- Move by UDIM.
|
|
434
|
+
:param axis: Axis, Axis to move UVs on
|
|
435
|
+
|
|
436
|
+
X
|
|
437
|
+
X axis -- Move vertices on the X axis.
|
|
438
|
+
|
|
439
|
+
Y
|
|
440
|
+
Y axis -- Move vertices on the Y axis.
|
|
441
|
+
:param distance: Distance, Distance to move UVs
|
|
367
442
|
"""
|
|
368
443
|
|
|
369
444
|
def pack_islands(
|
|
@@ -371,7 +446,9 @@ def pack_islands(
|
|
|
371
446
|
undo: bool | None = None,
|
|
372
447
|
/,
|
|
373
448
|
*,
|
|
374
|
-
udim_source: typing.Literal[
|
|
449
|
+
udim_source: typing.Literal[
|
|
450
|
+
"CLOSEST_UDIM", "ACTIVE_UDIM", "ORIGINAL_AABB", "CUSTOM_REGION"
|
|
451
|
+
]
|
|
375
452
|
| None = "CLOSEST_UDIM",
|
|
376
453
|
rotate: bool | None = True,
|
|
377
454
|
rotate_method: typing.Literal[
|
|
@@ -389,8 +466,6 @@ def pack_islands(
|
|
|
389
466
|
) -> None:
|
|
390
467
|
"""Transform all islands so that they fill up the UV/UDIM space as much as possible
|
|
391
468
|
|
|
392
|
-
:type execution_context: int | str | None
|
|
393
|
-
:type undo: bool | None
|
|
394
469
|
:param udim_source: Pack to
|
|
395
470
|
|
|
396
471
|
CLOSEST_UDIM
|
|
@@ -401,9 +476,10 @@ def pack_islands(
|
|
|
401
476
|
|
|
402
477
|
ORIGINAL_AABB
|
|
403
478
|
Original bounding box -- Pack to starting bounding box of islands.
|
|
404
|
-
|
|
479
|
+
|
|
480
|
+
CUSTOM_REGION
|
|
481
|
+
Custom Region -- Pack islands to custom region.
|
|
405
482
|
:param rotate: Rotate, Rotate islands to improve layout
|
|
406
|
-
:type rotate: bool | None
|
|
407
483
|
:param rotate_method: Rotation Method
|
|
408
484
|
|
|
409
485
|
ANY
|
|
@@ -420,11 +496,8 @@ def pack_islands(
|
|
|
420
496
|
|
|
421
497
|
AXIS_ALIGNED_Y
|
|
422
498
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
423
|
-
:type rotate_method: typing.Literal['ANY','CARDINAL','AXIS_ALIGNED','AXIS_ALIGNED_X','AXIS_ALIGNED_Y'] | None
|
|
424
499
|
:param scale: Scale, Scale islands to fill unit square
|
|
425
|
-
:type scale: bool | None
|
|
426
500
|
:param merge_overlap: Merge Overlapping, Overlapping islands stick together
|
|
427
|
-
:type merge_overlap: bool | None
|
|
428
501
|
:param margin_method: Margin Method
|
|
429
502
|
|
|
430
503
|
SCALED
|
|
@@ -435,25 +508,21 @@ def pack_islands(
|
|
|
435
508
|
|
|
436
509
|
FRACTION
|
|
437
510
|
Fraction -- Specify a precise fraction of final UV output.
|
|
438
|
-
:type margin_method: typing.Literal['SCALED','ADD','FRACTION'] | None
|
|
439
511
|
:param margin: Margin, Space between islands
|
|
440
|
-
:
|
|
441
|
-
:param pin: Lock Pinned Islands, Constrain islands containing any pinned UV's
|
|
442
|
-
:type pin: bool | None
|
|
512
|
+
:param pin: Lock Pinned Islands, Constrain islands containing any pinned UVs
|
|
443
513
|
:param pin_method: Pin Method
|
|
444
514
|
|
|
445
515
|
SCALE
|
|
446
|
-
Scale -- Pinned islands
|
|
516
|
+
Scale -- Pinned islands wont rescale.
|
|
447
517
|
|
|
448
518
|
ROTATION
|
|
449
|
-
Rotation -- Pinned islands
|
|
519
|
+
Rotation -- Pinned islands wont rotate.
|
|
450
520
|
|
|
451
521
|
ROTATION_SCALE
|
|
452
522
|
Rotation and Scale -- Pinned islands will translate only.
|
|
453
523
|
|
|
454
524
|
LOCKED
|
|
455
525
|
All -- Pinned islands are locked in place.
|
|
456
|
-
:type pin_method: typing.Literal['SCALE','ROTATION','ROTATION_SCALE','LOCKED'] | None
|
|
457
526
|
:param shape_method: Shape Method
|
|
458
527
|
|
|
459
528
|
CONCAVE
|
|
@@ -464,15 +533,14 @@ def pack_islands(
|
|
|
464
533
|
|
|
465
534
|
AABB
|
|
466
535
|
Bounding Box -- Uses bounding boxes.
|
|
467
|
-
:type shape_method: typing.Literal['CONCAVE','CONVEX','AABB'] | None
|
|
468
536
|
"""
|
|
469
537
|
|
|
470
|
-
def paste(
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
"""
|
|
538
|
+
def paste(
|
|
539
|
+
execution_context: int | str | None = None,
|
|
540
|
+
undo: bool | None = None,
|
|
541
|
+
/,
|
|
542
|
+
) -> None:
|
|
543
|
+
"""Paste selected UV vertices"""
|
|
476
544
|
|
|
477
545
|
def pin(
|
|
478
546
|
execution_context: int | str | None = None,
|
|
@@ -484,12 +552,8 @@ def pin(
|
|
|
484
552
|
) -> None:
|
|
485
553
|
"""Set/clear selected UV vertices as anchored between multiple unwrap operations
|
|
486
554
|
|
|
487
|
-
:type execution_context: int | str | None
|
|
488
|
-
:type undo: bool | None
|
|
489
555
|
:param clear: Clear, Clear pinning for the selection instead of setting it
|
|
490
|
-
:type clear: bool | None
|
|
491
556
|
:param invert: Invert, Invert pinning for the selection instead of setting it
|
|
492
|
-
:type invert: bool | None
|
|
493
557
|
"""
|
|
494
558
|
|
|
495
559
|
def project_from_view(
|
|
@@ -505,18 +569,11 @@ def project_from_view(
|
|
|
505
569
|
) -> None:
|
|
506
570
|
"""Project the UV vertices of the mesh as seen in current 3D view
|
|
507
571
|
|
|
508
|
-
:type execution_context: int | str | None
|
|
509
|
-
:type undo: bool | None
|
|
510
572
|
:param orthographic: Orthographic, Use orthographic projection
|
|
511
|
-
:type orthographic: bool | None
|
|
512
573
|
:param camera_bounds: Camera Bounds, Map UVs to the camera region taking resolution and aspect into account
|
|
513
|
-
:type camera_bounds: bool | None
|
|
514
574
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
515
|
-
:type correct_aspect: bool | None
|
|
516
575
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
517
|
-
:type clip_to_bounds: bool | None
|
|
518
576
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
519
|
-
:type scale_to_bounds: bool | None
|
|
520
577
|
"""
|
|
521
578
|
|
|
522
579
|
def randomize_uv_transform(
|
|
@@ -533,26 +590,16 @@ def randomize_uv_transform(
|
|
|
533
590
|
scale_even: bool | None = False,
|
|
534
591
|
scale: collections.abc.Iterable[float] | None = (1.0, 1.0),
|
|
535
592
|
) -> None:
|
|
536
|
-
"""Randomize the UV
|
|
593
|
+
"""Randomize the UV islands location, rotation, and scale
|
|
537
594
|
|
|
538
|
-
:type execution_context: int | str | None
|
|
539
|
-
:type undo: bool | None
|
|
540
595
|
:param random_seed: Random Seed, Seed value for the random generator
|
|
541
|
-
:type random_seed: int | None
|
|
542
596
|
:param use_loc: Randomize Location, Randomize the location values
|
|
543
|
-
:type use_loc: bool | None
|
|
544
597
|
:param loc: Location, Maximum distance the objects can spread over each axis
|
|
545
|
-
:type loc: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
546
598
|
:param use_rot: Randomize Rotation, Randomize the rotation value
|
|
547
|
-
:type use_rot: bool | None
|
|
548
599
|
:param rot: Rotation, Maximum rotation
|
|
549
|
-
:type rot: float | None
|
|
550
600
|
:param use_scale: Randomize Scale, Randomize the scale values
|
|
551
|
-
:type use_scale: bool | None
|
|
552
601
|
:param scale_even: Scale Even, Use the same scale value for both axes
|
|
553
|
-
:type scale_even: bool | None
|
|
554
602
|
:param scale: Scale, Maximum scale randomization over each axis
|
|
555
|
-
:type scale: collections.abc.Iterable[float] | None
|
|
556
603
|
"""
|
|
557
604
|
|
|
558
605
|
def remove_doubles(
|
|
@@ -566,22 +613,17 @@ def remove_doubles(
|
|
|
566
613
|
) -> None:
|
|
567
614
|
"""Selected UV vertices that are within a radius of each other are welded together
|
|
568
615
|
|
|
569
|
-
:type execution_context: int | str | None
|
|
570
|
-
:type undo: bool | None
|
|
571
616
|
:param threshold: Merge Distance, Maximum distance between welded vertices
|
|
572
|
-
:type threshold: float | None
|
|
573
617
|
:param use_unselected: Unselected, Merge selected to other unselected vertices
|
|
574
|
-
:type use_unselected: bool | None
|
|
575
618
|
:param use_shared_vertex: Shared Vertex, Weld UVs based on shared vertices
|
|
576
|
-
:type use_shared_vertex: bool | None
|
|
577
619
|
"""
|
|
578
620
|
|
|
579
|
-
def reset(
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
"""
|
|
621
|
+
def reset(
|
|
622
|
+
execution_context: int | str | None = None,
|
|
623
|
+
undo: bool | None = None,
|
|
624
|
+
/,
|
|
625
|
+
) -> None:
|
|
626
|
+
"""Reset UV projection"""
|
|
585
627
|
|
|
586
628
|
def reveal(
|
|
587
629
|
execution_context: int | str | None = None,
|
|
@@ -592,10 +634,7 @@ def reveal(
|
|
|
592
634
|
) -> None:
|
|
593
635
|
"""Reveal all hidden UV vertices
|
|
594
636
|
|
|
595
|
-
:type execution_context: int | str | None
|
|
596
|
-
:type undo: bool | None
|
|
597
637
|
:param select: Select
|
|
598
|
-
:type select: bool | None
|
|
599
638
|
"""
|
|
600
639
|
|
|
601
640
|
def rip(
|
|
@@ -610,16 +649,10 @@ def rip(
|
|
|
610
649
|
) -> None:
|
|
611
650
|
"""Rip selected vertices or a selected region
|
|
612
651
|
|
|
613
|
-
:type execution_context: int | str | None
|
|
614
|
-
:type undo: bool | None
|
|
615
652
|
:param mirror: Mirror Editing
|
|
616
|
-
:type mirror: bool | None
|
|
617
653
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
618
|
-
:type release_confirm: bool | None
|
|
619
654
|
:param use_accurate: Accurate, Use accurate transformation
|
|
620
|
-
:type use_accurate: bool | None
|
|
621
655
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
622
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
623
656
|
"""
|
|
624
657
|
|
|
625
658
|
def rip_move(
|
|
@@ -632,12 +665,8 @@ def rip_move(
|
|
|
632
665
|
) -> None:
|
|
633
666
|
"""Unstitch UVs and move the result
|
|
634
667
|
|
|
635
|
-
:type execution_context: int | str | None
|
|
636
|
-
:type undo: bool | None
|
|
637
668
|
:param UV_OT_rip: UV Rip, Rip selected vertices or a selected region
|
|
638
|
-
:type UV_OT_rip: rip | None
|
|
639
669
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
640
|
-
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
641
670
|
"""
|
|
642
671
|
|
|
643
672
|
def seams_from_islands(
|
|
@@ -650,12 +679,8 @@ def seams_from_islands(
|
|
|
650
679
|
) -> None:
|
|
651
680
|
"""Set mesh seams according to island setup in the UV editor
|
|
652
681
|
|
|
653
|
-
:type execution_context: int | str | None
|
|
654
|
-
:type undo: bool | None
|
|
655
682
|
:param mark_seams: Mark Seams, Mark boundary edges as seams
|
|
656
|
-
:type mark_seams: bool | None
|
|
657
683
|
:param mark_sharp: Mark Sharp, Mark boundary edges as sharp
|
|
658
|
-
:type mark_sharp: bool | None
|
|
659
684
|
"""
|
|
660
685
|
|
|
661
686
|
def select(
|
|
@@ -672,20 +697,12 @@ def select(
|
|
|
672
697
|
) -> None:
|
|
673
698
|
"""Select UV vertices
|
|
674
699
|
|
|
675
|
-
:type execution_context: int | str | None
|
|
676
|
-
:type undo: bool | None
|
|
677
700
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
678
|
-
:type extend: bool | None
|
|
679
701
|
:param deselect: Deselect, Remove from selection
|
|
680
|
-
:type deselect: bool | None
|
|
681
702
|
:param toggle: Toggle Selection, Toggle the selection
|
|
682
|
-
:type toggle: bool | None
|
|
683
703
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
684
|
-
:type deselect_all: bool | None
|
|
685
704
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
686
|
-
:type select_passthrough: bool | None
|
|
687
705
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
688
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
689
706
|
"""
|
|
690
707
|
|
|
691
708
|
def select_all(
|
|
@@ -697,8 +714,6 @@ def select_all(
|
|
|
697
714
|
) -> None:
|
|
698
715
|
"""Change selection of all UV vertices
|
|
699
716
|
|
|
700
|
-
:type execution_context: int | str | None
|
|
701
|
-
:type undo: bool | None
|
|
702
717
|
:param action: Action, Selection action to execute
|
|
703
718
|
|
|
704
719
|
TOGGLE
|
|
@@ -712,7 +727,6 @@ def select_all(
|
|
|
712
727
|
|
|
713
728
|
INVERT
|
|
714
729
|
Invert -- Invert selection of all elements.
|
|
715
|
-
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
716
730
|
"""
|
|
717
731
|
|
|
718
732
|
def select_box(
|
|
@@ -730,20 +744,12 @@ def select_box(
|
|
|
730
744
|
) -> None:
|
|
731
745
|
"""Select UV vertices using box selection
|
|
732
746
|
|
|
733
|
-
:type execution_context: int | str | None
|
|
734
|
-
:type undo: bool | None
|
|
735
747
|
:param pinned: Pinned, Border select pinned UVs only
|
|
736
|
-
:type pinned: bool | None
|
|
737
748
|
:param xmin: X Min
|
|
738
|
-
:type xmin: int | None
|
|
739
749
|
:param xmax: X Max
|
|
740
|
-
:type xmax: int | None
|
|
741
750
|
:param ymin: Y Min
|
|
742
|
-
:type ymin: int | None
|
|
743
751
|
:param ymax: Y Max
|
|
744
|
-
:type ymax: int | None
|
|
745
752
|
:param wait_for_input: Wait for Input
|
|
746
|
-
:type wait_for_input: bool | None
|
|
747
753
|
:param mode: Mode
|
|
748
754
|
|
|
749
755
|
SET
|
|
@@ -754,7 +760,6 @@ def select_box(
|
|
|
754
760
|
|
|
755
761
|
SUB
|
|
756
762
|
Subtract -- Subtract existing selection.
|
|
757
|
-
:type mode: typing.Literal['SET','ADD','SUB'] | None
|
|
758
763
|
"""
|
|
759
764
|
|
|
760
765
|
def select_circle(
|
|
@@ -770,16 +775,10 @@ def select_circle(
|
|
|
770
775
|
) -> None:
|
|
771
776
|
"""Select UV vertices using circle selection
|
|
772
777
|
|
|
773
|
-
:type execution_context: int | str | None
|
|
774
|
-
:type undo: bool | None
|
|
775
778
|
:param x: X
|
|
776
|
-
:type x: int | None
|
|
777
779
|
:param y: Y
|
|
778
|
-
:type y: int | None
|
|
779
780
|
:param radius: Radius
|
|
780
|
-
:type radius: int | None
|
|
781
781
|
:param wait_for_input: Wait for Input
|
|
782
|
-
:type wait_for_input: bool | None
|
|
783
782
|
:param mode: Mode
|
|
784
783
|
|
|
785
784
|
SET
|
|
@@ -790,7 +789,6 @@ def select_circle(
|
|
|
790
789
|
|
|
791
790
|
SUB
|
|
792
791
|
Subtract -- Subtract existing selection.
|
|
793
|
-
:type mode: typing.Literal['SET','ADD','SUB'] | None
|
|
794
792
|
"""
|
|
795
793
|
|
|
796
794
|
def select_edge_ring(
|
|
@@ -803,12 +801,8 @@ def select_edge_ring(
|
|
|
803
801
|
) -> None:
|
|
804
802
|
"""Select an edge ring of connected UV vertices
|
|
805
803
|
|
|
806
|
-
:type execution_context: int | str | None
|
|
807
|
-
:type undo: bool | None
|
|
808
804
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
809
|
-
:type extend: bool | None
|
|
810
805
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
811
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
812
806
|
"""
|
|
813
807
|
|
|
814
808
|
def select_lasso(
|
|
@@ -824,16 +818,10 @@ def select_lasso(
|
|
|
824
818
|
) -> None:
|
|
825
819
|
"""Select UVs using lasso selection
|
|
826
820
|
|
|
827
|
-
:type execution_context: int | str | None
|
|
828
|
-
:type undo: bool | None
|
|
829
821
|
:param path: Path
|
|
830
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
831
822
|
:param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
|
|
832
|
-
:type use_smooth_stroke: bool | None
|
|
833
823
|
:param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
|
|
834
|
-
:type smooth_stroke_factor: float | None
|
|
835
824
|
:param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
|
|
836
|
-
:type smooth_stroke_radius: int | None
|
|
837
825
|
:param mode: Mode
|
|
838
826
|
|
|
839
827
|
SET
|
|
@@ -844,26 +832,21 @@ def select_lasso(
|
|
|
844
832
|
|
|
845
833
|
SUB
|
|
846
834
|
Subtract -- Subtract existing selection.
|
|
847
|
-
:type mode: typing.Literal['SET','ADD','SUB'] | None
|
|
848
835
|
"""
|
|
849
836
|
|
|
850
837
|
def select_less(
|
|
851
|
-
execution_context: int | str | None = None,
|
|
838
|
+
execution_context: int | str | None = None,
|
|
839
|
+
undo: bool | None = None,
|
|
840
|
+
/,
|
|
852
841
|
) -> None:
|
|
853
|
-
"""Deselect UV vertices at the boundary of each selection region
|
|
854
|
-
|
|
855
|
-
:type execution_context: int | str | None
|
|
856
|
-
:type undo: bool | None
|
|
857
|
-
"""
|
|
842
|
+
"""Deselect UV vertices at the boundary of each selection region"""
|
|
858
843
|
|
|
859
844
|
def select_linked(
|
|
860
|
-
execution_context: int | str | None = None,
|
|
845
|
+
execution_context: int | str | None = None,
|
|
846
|
+
undo: bool | None = None,
|
|
847
|
+
/,
|
|
861
848
|
) -> None:
|
|
862
|
-
"""Select all UV vertices linked to the active UV map
|
|
863
|
-
|
|
864
|
-
:type execution_context: int | str | None
|
|
865
|
-
:type undo: bool | None
|
|
866
|
-
"""
|
|
849
|
+
"""Select all UV vertices linked to the active UV map"""
|
|
867
850
|
|
|
868
851
|
def select_linked_pick(
|
|
869
852
|
execution_context: int | str | None = None,
|
|
@@ -876,14 +859,9 @@ def select_linked_pick(
|
|
|
876
859
|
) -> None:
|
|
877
860
|
"""Select all UV vertices linked under the mouse
|
|
878
861
|
|
|
879
|
-
:type execution_context: int | str | None
|
|
880
|
-
:type undo: bool | None
|
|
881
862
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
882
|
-
:type extend: bool | None
|
|
883
863
|
:param deselect: Deselect, Deselect linked UV vertices rather than selecting them
|
|
884
|
-
:type deselect: bool | None
|
|
885
864
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
886
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
887
865
|
"""
|
|
888
866
|
|
|
889
867
|
def select_loop(
|
|
@@ -896,12 +874,8 @@ def select_loop(
|
|
|
896
874
|
) -> None:
|
|
897
875
|
"""Select a loop of connected UV vertices
|
|
898
876
|
|
|
899
|
-
:type execution_context: int | str | None
|
|
900
|
-
:type undo: bool | None
|
|
901
877
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
902
|
-
:type extend: bool | None
|
|
903
878
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
904
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
905
879
|
"""
|
|
906
880
|
|
|
907
881
|
def select_mode(
|
|
@@ -913,20 +887,15 @@ def select_mode(
|
|
|
913
887
|
) -> None:
|
|
914
888
|
"""Change UV selection mode
|
|
915
889
|
|
|
916
|
-
:type execution_context: int | str | None
|
|
917
|
-
:type undo: bool | None
|
|
918
890
|
:param type: Type
|
|
919
|
-
:type type: bpy.stub_internal.rna_enums.MeshSelectModeUvItems | None
|
|
920
891
|
"""
|
|
921
892
|
|
|
922
893
|
def select_more(
|
|
923
|
-
execution_context: int | str | None = None,
|
|
894
|
+
execution_context: int | str | None = None,
|
|
895
|
+
undo: bool | None = None,
|
|
896
|
+
/,
|
|
924
897
|
) -> None:
|
|
925
|
-
"""Select more UV vertices connected to initial selection
|
|
926
|
-
|
|
927
|
-
:type execution_context: int | str | None
|
|
928
|
-
:type undo: bool | None
|
|
929
|
-
"""
|
|
898
|
+
"""Select more UV vertices connected to initial selection"""
|
|
930
899
|
|
|
931
900
|
def select_overlap(
|
|
932
901
|
execution_context: int | str | None = None,
|
|
@@ -937,20 +906,15 @@ def select_overlap(
|
|
|
937
906
|
) -> None:
|
|
938
907
|
"""Select all UV faces which overlap each other
|
|
939
908
|
|
|
940
|
-
:type execution_context: int | str | None
|
|
941
|
-
:type undo: bool | None
|
|
942
909
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
943
|
-
:type extend: bool | None
|
|
944
910
|
"""
|
|
945
911
|
|
|
946
912
|
def select_pinned(
|
|
947
|
-
execution_context: int | str | None = None,
|
|
913
|
+
execution_context: int | str | None = None,
|
|
914
|
+
undo: bool | None = None,
|
|
915
|
+
/,
|
|
948
916
|
) -> None:
|
|
949
|
-
"""Select all pinned UV vertices
|
|
950
|
-
|
|
951
|
-
:type execution_context: int | str | None
|
|
952
|
-
:type undo: bool | None
|
|
953
|
-
"""
|
|
917
|
+
"""Select all pinned UV vertices"""
|
|
954
918
|
|
|
955
919
|
def select_similar(
|
|
956
920
|
execution_context: int | str | None = None,
|
|
@@ -975,23 +939,60 @@ def select_similar(
|
|
|
975
939
|
) -> None:
|
|
976
940
|
"""Select similar UVs by property types
|
|
977
941
|
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
942
|
+
:param type: Type
|
|
943
|
+
|
|
944
|
+
PIN
|
|
945
|
+
Pinned.
|
|
946
|
+
|
|
947
|
+
LENGTH
|
|
948
|
+
Length -- Edge length in UV space.
|
|
949
|
+
|
|
950
|
+
LENGTH_3D
|
|
951
|
+
Length 3D -- Length of edge in 3D space.
|
|
952
|
+
|
|
953
|
+
AREA
|
|
954
|
+
Area -- Face area in UV space.
|
|
955
|
+
|
|
956
|
+
AREA_3D
|
|
957
|
+
Area 3D -- Area of face in 3D space.
|
|
958
|
+
|
|
959
|
+
MATERIAL
|
|
960
|
+
Material.
|
|
961
|
+
|
|
962
|
+
OBJECT
|
|
963
|
+
Object.
|
|
964
|
+
|
|
965
|
+
SIDES
|
|
966
|
+
Polygon Sides.
|
|
967
|
+
|
|
968
|
+
WINDING
|
|
969
|
+
Winding -- Face direction defined by (clockwise or anti-clockwise winding (facing up or facing down).
|
|
970
|
+
|
|
971
|
+
FACE
|
|
972
|
+
Amount of Faces in Island.
|
|
973
|
+
:param compare: Compare
|
|
974
|
+
:param threshold: Threshold
|
|
986
975
|
"""
|
|
987
976
|
|
|
988
977
|
def select_split(
|
|
989
|
-
execution_context: int | str | None = None,
|
|
978
|
+
execution_context: int | str | None = None,
|
|
979
|
+
undo: bool | None = None,
|
|
980
|
+
/,
|
|
981
|
+
) -> None:
|
|
982
|
+
"""Select only entirely selected faces"""
|
|
983
|
+
|
|
984
|
+
def select_tile(
|
|
985
|
+
execution_context: int | str | None = None,
|
|
986
|
+
undo: bool | None = None,
|
|
987
|
+
/,
|
|
988
|
+
*,
|
|
989
|
+
extend: bool | None = False,
|
|
990
|
+
tile: collections.abc.Iterable[int] | None = (0, 0),
|
|
990
991
|
) -> None:
|
|
991
|
-
"""Select
|
|
992
|
+
"""Select UVs in specified tile
|
|
992
993
|
|
|
993
|
-
:
|
|
994
|
-
:
|
|
994
|
+
:param extend: Extend, Extend the selection
|
|
995
|
+
:param tile: Tile, Tile location to select UVs
|
|
995
996
|
"""
|
|
996
997
|
|
|
997
998
|
def shortest_path_pick(
|
|
@@ -1010,22 +1011,12 @@ def shortest_path_pick(
|
|
|
1010
1011
|
) -> None:
|
|
1011
1012
|
"""Select shortest path between two selections
|
|
1012
1013
|
|
|
1013
|
-
:type execution_context: int | str | None
|
|
1014
|
-
:type undo: bool | None
|
|
1015
1014
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
1016
|
-
:type use_face_step: bool | None
|
|
1017
1015
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
1018
|
-
:type use_topology_distance: bool | None
|
|
1019
1016
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
1020
|
-
:type use_fill: bool | None
|
|
1021
1017
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
1022
|
-
:type skip: int | None
|
|
1023
1018
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
1024
|
-
:type nth: int | None
|
|
1025
1019
|
:param offset: Offset, Offset from the starting point
|
|
1026
|
-
:type offset: int | None
|
|
1027
|
-
:type object_index: int | None
|
|
1028
|
-
:type index: int | None
|
|
1029
1020
|
"""
|
|
1030
1021
|
|
|
1031
1022
|
def shortest_path_select(
|
|
@@ -1042,20 +1033,12 @@ def shortest_path_select(
|
|
|
1042
1033
|
) -> None:
|
|
1043
1034
|
"""Selected shortest path between two vertices/edges/faces
|
|
1044
1035
|
|
|
1045
|
-
:type execution_context: int | str | None
|
|
1046
|
-
:type undo: bool | None
|
|
1047
1036
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
1048
|
-
:type use_face_step: bool | None
|
|
1049
1037
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
1050
|
-
:type use_topology_distance: bool | None
|
|
1051
1038
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
1052
|
-
:type use_fill: bool | None
|
|
1053
1039
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
1054
|
-
:type skip: int | None
|
|
1055
1040
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
1056
|
-
:type nth: int | None
|
|
1057
1041
|
:param offset: Offset, Offset from the starting point
|
|
1058
|
-
:type offset: int | None
|
|
1059
1042
|
"""
|
|
1060
1043
|
|
|
1061
1044
|
def smart_project(
|
|
@@ -1074,10 +1057,7 @@ def smart_project(
|
|
|
1074
1057
|
) -> None:
|
|
1075
1058
|
"""Projection unwraps the selected faces of mesh objects
|
|
1076
1059
|
|
|
1077
|
-
:type execution_context: int | str | None
|
|
1078
|
-
:type undo: bool | None
|
|
1079
1060
|
:param angle_limit: Angle Limit, Lower for more projection groups, higher for less distortion
|
|
1080
|
-
:type angle_limit: float | None
|
|
1081
1061
|
:param margin_method: Margin Method
|
|
1082
1062
|
|
|
1083
1063
|
SCALED
|
|
@@ -1088,7 +1068,6 @@ def smart_project(
|
|
|
1088
1068
|
|
|
1089
1069
|
FRACTION
|
|
1090
1070
|
Fraction -- Specify a precise fraction of final UV output.
|
|
1091
|
-
:type margin_method: typing.Literal['SCALED','ADD','FRACTION'] | None
|
|
1092
1071
|
:param rotate_method: Rotation Method
|
|
1093
1072
|
|
|
1094
1073
|
AXIS_ALIGNED
|
|
@@ -1099,15 +1078,10 @@ def smart_project(
|
|
|
1099
1078
|
|
|
1100
1079
|
AXIS_ALIGNED_Y
|
|
1101
1080
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
1102
|
-
:type rotate_method: typing.Literal['AXIS_ALIGNED','AXIS_ALIGNED_X','AXIS_ALIGNED_Y'] | None
|
|
1103
1081
|
:param island_margin: Island Margin, Margin to reduce bleed from adjacent islands
|
|
1104
|
-
:
|
|
1105
|
-
:param area_weight: Area Weight, Weight projection's vector by faces with larger areas
|
|
1106
|
-
:type area_weight: float | None
|
|
1082
|
+
:param area_weight: Area Weight, Weight projections vector by faces with larger areas
|
|
1107
1083
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
1108
|
-
:type correct_aspect: bool | None
|
|
1109
1084
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
1110
|
-
:type scale_to_bounds: bool | None
|
|
1111
1085
|
"""
|
|
1112
1086
|
|
|
1113
1087
|
def snap_cursor(
|
|
@@ -1119,10 +1093,7 @@ def snap_cursor(
|
|
|
1119
1093
|
) -> None:
|
|
1120
1094
|
"""Snap cursor to target type
|
|
1121
1095
|
|
|
1122
|
-
:type execution_context: int | str | None
|
|
1123
|
-
:type undo: bool | None
|
|
1124
1096
|
:param target: Target, Target to snap the selected UVs to
|
|
1125
|
-
:type target: typing.Literal['PIXELS','SELECTED','ORIGIN'] | None
|
|
1126
1097
|
"""
|
|
1127
1098
|
|
|
1128
1099
|
def snap_selected(
|
|
@@ -1135,10 +1106,7 @@ def snap_selected(
|
|
|
1135
1106
|
) -> None:
|
|
1136
1107
|
"""Snap selected UV vertices to target type
|
|
1137
1108
|
|
|
1138
|
-
:type execution_context: int | str | None
|
|
1139
|
-
:type undo: bool | None
|
|
1140
1109
|
:param target: Target, Target to snap the selected UVs to
|
|
1141
|
-
:type target: typing.Literal['PIXELS','CURSOR','CURSOR_OFFSET','ADJACENT_UNSELECTED'] | None
|
|
1142
1110
|
"""
|
|
1143
1111
|
|
|
1144
1112
|
def sphere_project(
|
|
@@ -1157,8 +1125,6 @@ def sphere_project(
|
|
|
1157
1125
|
) -> None:
|
|
1158
1126
|
"""Project the UV vertices of the mesh over the curved surface of a sphere
|
|
1159
1127
|
|
|
1160
|
-
:type execution_context: int | str | None
|
|
1161
|
-
:type undo: bool | None
|
|
1162
1128
|
:param direction: Direction, Direction of the sphere or cylinder
|
|
1163
1129
|
|
|
1164
1130
|
VIEW_ON_EQUATOR
|
|
@@ -1169,7 +1135,6 @@ def sphere_project(
|
|
|
1169
1135
|
|
|
1170
1136
|
ALIGN_TO_OBJECT
|
|
1171
1137
|
Align to Object -- Align according to object transform.
|
|
1172
|
-
:type direction: typing.Literal['VIEW_ON_EQUATOR','VIEW_ON_POLES','ALIGN_TO_OBJECT'] | None
|
|
1173
1138
|
:param align: Align, How to determine rotation around the pole
|
|
1174
1139
|
|
|
1175
1140
|
POLAR_ZX
|
|
@@ -1177,7 +1142,6 @@ def sphere_project(
|
|
|
1177
1142
|
|
|
1178
1143
|
POLAR_ZY
|
|
1179
1144
|
Polar ZY -- Polar 0 is Y.
|
|
1180
|
-
:type align: typing.Literal['POLAR_ZX','POLAR_ZY'] | None
|
|
1181
1145
|
:param pole: Pole, How to handle faces at the poles
|
|
1182
1146
|
|
|
1183
1147
|
PINCH
|
|
@@ -1185,15 +1149,10 @@ def sphere_project(
|
|
|
1185
1149
|
|
|
1186
1150
|
FAN
|
|
1187
1151
|
Fan -- UVs are fanned at the poles.
|
|
1188
|
-
:type pole: typing.Literal['PINCH','FAN'] | None
|
|
1189
1152
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
1190
|
-
:type seam: bool | None
|
|
1191
1153
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
1192
|
-
:type correct_aspect: bool | None
|
|
1193
1154
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
1194
|
-
:type clip_to_bounds: bool | None
|
|
1195
1155
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
1196
|
-
:type scale_to_bounds: bool | None
|
|
1197
1156
|
"""
|
|
1198
1157
|
|
|
1199
1158
|
def stitch(
|
|
@@ -1215,30 +1174,17 @@ def stitch(
|
|
|
1215
1174
|
) -> None:
|
|
1216
1175
|
"""Stitch selected UV vertices by proximity
|
|
1217
1176
|
|
|
1218
|
-
:type execution_context: int | str | None
|
|
1219
|
-
:type undo: bool | None
|
|
1220
1177
|
:param use_limit: Use Limit, Stitch UVs within a specified limit distance
|
|
1221
|
-
:type use_limit: bool | None
|
|
1222
1178
|
:param snap_islands: Snap Islands, Snap islands together (on edge stitch mode, rotates the islands too)
|
|
1223
|
-
:type snap_islands: bool | None
|
|
1224
1179
|
:param limit: Limit, Limit distance in normalized coordinates
|
|
1225
|
-
:type limit: float | None
|
|
1226
1180
|
:param static_island: Static Island, Island that stays in place when stitching islands
|
|
1227
|
-
:type static_island: int | None
|
|
1228
1181
|
:param active_object_index: Active Object, Index of the active object
|
|
1229
|
-
:type active_object_index: int | None
|
|
1230
1182
|
:param midpoint_snap: Snap at Midpoint, UVs are stitched at midpoint instead of at static island
|
|
1231
|
-
:type midpoint_snap: bool | None
|
|
1232
1183
|
:param clear_seams: Clear Seams, Clear seams of stitched edges
|
|
1233
|
-
:type clear_seams: bool | None
|
|
1234
1184
|
:param mode: Operation Mode, Use vertex or edge stitching
|
|
1235
|
-
:type mode: typing.Literal['VERTEX','EDGE'] | None
|
|
1236
1185
|
:param stored_mode: Stored Operation Mode, Use vertex or edge stitching
|
|
1237
|
-
:type stored_mode: typing.Literal['VERTEX','EDGE'] | None
|
|
1238
1186
|
:param selection: Selection
|
|
1239
|
-
:type selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None
|
|
1240
1187
|
:param objects_selection_count: Objects Selection Count
|
|
1241
|
-
:type objects_selection_count: collections.abc.Iterable[int] | None
|
|
1242
1188
|
"""
|
|
1243
1189
|
|
|
1244
1190
|
def unwrap(
|
|
@@ -1261,16 +1207,10 @@ def unwrap(
|
|
|
1261
1207
|
) -> None:
|
|
1262
1208
|
"""Unwrap the mesh of the object being edited
|
|
1263
1209
|
|
|
1264
|
-
:type execution_context: int | str | None
|
|
1265
|
-
:type undo: bool | None
|
|
1266
1210
|
:param method: Method, Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower)
|
|
1267
|
-
:type method: typing.Literal['ANGLE_BASED','CONFORMAL','MINIMUM_STRETCH'] | None
|
|
1268
1211
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
1269
|
-
:type fill_holes: bool | None
|
|
1270
1212
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
1271
|
-
:type correct_aspect: bool | None
|
|
1272
1213
|
:param use_subsurf_data: Use Subdivision Surface, Map UVs taking vertex position after Subdivision Surface modifier has been applied
|
|
1273
|
-
:type use_subsurf_data: bool | None
|
|
1274
1214
|
:param margin_method: Margin Method
|
|
1275
1215
|
|
|
1276
1216
|
SCALED
|
|
@@ -1281,24 +1221,17 @@ def unwrap(
|
|
|
1281
1221
|
|
|
1282
1222
|
FRACTION
|
|
1283
1223
|
Fraction -- Specify a precise fraction of final UV output.
|
|
1284
|
-
:type margin_method: typing.Literal['SCALED','ADD','FRACTION'] | None
|
|
1285
1224
|
:param margin: Margin, Space between islands
|
|
1286
|
-
:
|
|
1287
|
-
:param no_flip: No Flip, Prevent flipping UV's, flipping may lower distortion depending on the position of pins
|
|
1288
|
-
:type no_flip: bool | None
|
|
1225
|
+
:param no_flip: No Flip, Prevent flipping UVs, flipping may lower distortion depending on the position of pins
|
|
1289
1226
|
:param iterations: Iterations, Number of iterations when "Minimum Stretch" method is used
|
|
1290
|
-
:type iterations: int | None
|
|
1291
1227
|
:param use_weights: Importance Weights, Whether to take into account per-vertex importance weights
|
|
1292
|
-
:type use_weights: bool | None
|
|
1293
1228
|
:param weight_group: Weight Group, Vertex group name for importance weights (modulating the deform)
|
|
1294
|
-
:type weight_group: str
|
|
1295
1229
|
:param weight_factor: Weight Factor, How much influence the weightmap has for weighted parameterization, 0 being no influence
|
|
1296
|
-
:type weight_factor: float | None
|
|
1297
1230
|
"""
|
|
1298
1231
|
|
|
1299
|
-
def weld(
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
"""
|
|
1232
|
+
def weld(
|
|
1233
|
+
execution_context: int | str | None = None,
|
|
1234
|
+
undo: bool | None = None,
|
|
1235
|
+
/,
|
|
1236
|
+
) -> None:
|
|
1237
|
+
"""Weld selected UV vertices together"""
|