fake-bpy-module 20250828__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 +2 -0
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _bpy_internal/__init__.pyi +3 -1
- _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/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +115 -117
- {rna_info → _rna_info}/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +66 -142
- 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 +2 -12
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +47 -24
- bl_operators/assets/__init__.pyi +0 -6
- bl_operators/bone_selection_sets/__init__.pyi +0 -28
- bl_operators/clip/__init__.pyi +0 -20
- bl_operators/connect_to_output/__init__.pyi +0 -2
- bl_operators/console/__init__.pyi +0 -10
- bl_operators/constraint/__init__.pyi +0 -8
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +0 -6
- bl_operators/freestyle/__init__.pyi +0 -8
- bl_operators/geometry_nodes/__init__.pyi +0 -8
- bl_operators/grease_pencil/__init__.pyi +0 -2
- bl_operators/image/__init__.pyi +0 -10
- bl_operators/image_as_planes/__init__.pyi +0 -4
- bl_operators/mesh/__init__.pyi +0 -47
- bl_operators/node/__init__.pyi +277 -57
- bl_operators/object/__init__.pyi +0 -37
- bl_operators/object_align/__init__.pyi +0 -2
- bl_operators/object_quick_effects/__init__.pyi +0 -8
- bl_operators/object_randomize_transform/__init__.pyi +0 -2
- bl_operators/presets/__init__.pyi +1 -51
- bl_operators/rigidbody/__init__.pyi +0 -6
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
- bl_operators/sequencer/__init__.pyi +0 -16
- bl_operators/spreadsheet/__init__.pyi +0 -2
- bl_operators/userpref/__init__.pyi +0 -50
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -3
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +21 -12
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
- bl_operators/view3d/__init__.pyi +0 -16
- bl_operators/wm/__init__.pyi +0 -92
- bl_operators/world/__init__.pyi +0 -2
- bl_ui/__init__.pyi +3 -4
- bl_ui/anim/__init__.pyi +0 -2
- bl_ui/asset_shelf/__init__.pyi +0 -2
- bl_ui/generic_ui_list/__init__.pyi +1 -17
- bl_ui/node_add_menu/__init__.pyi +261 -6
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -80
- bl_ui/node_add_menu_geometry/__init__.pyi +266 -306
- bl_ui/node_add_menu_shader/__init__.pyi +49 -50
- bl_ui/node_add_menu_texture/__init__.pyi +16 -62
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +55 -209
- bl_ui/properties_data_armature/__init__.pyi +0 -36
- bl_ui/properties_data_bone/__init__.pyi +0 -20
- bl_ui/properties_data_camera/__init__.pyi +0 -30
- bl_ui/properties_data_curve/__init__.pyi +0 -30
- bl_ui/properties_data_curves/__init__.pyi +0 -16
- bl_ui/properties_data_empty/__init__.pyi +0 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
- bl_ui/properties_data_lattice/__init__.pyi +0 -8
- bl_ui/properties_data_light/__init__.pyi +0 -20
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
- bl_ui/properties_data_mesh/__init__.pyi +1 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +12 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
- bl_ui/properties_data_speaker/__init__.pyi +0 -12
- bl_ui/properties_data_volume/__init__.pyi +0 -18
- bl_ui/properties_freestyle/__init__.pyi +0 -50
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -159
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +23 -45
- bl_ui/properties_object/__init__.pyi +35 -42
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +23 -19
- bl_ui/properties_particle/__init__.pyi +0 -106
- bl_ui/properties_physics_cloth/__init__.pyi +0 -28
- bl_ui/properties_physics_common/__init__.pyi +0 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
- bl_ui/properties_physics_field/__init__.pyi +0 -20
- bl_ui/properties_physics_fluid/__init__.pyi +0 -56
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
- bl_ui/properties_physics_softbody/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +58 -86
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +7 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +82 -166
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +67 -76
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -66
- bl_ui/space_image/__init__.pyi +28 -162
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -58
- bl_ui/space_node/__init__.pyi +99 -132
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +29 -6
- bl_ui/space_sequencer/__init__.pyi +159 -987
- bl_ui/space_spreadsheet/__init__.pyi +0 -6
- bl_ui/space_statusbar/__init__.pyi +0 -2
- bl_ui/space_text/__init__.pyi +0 -32
- bl_ui/space_time/__init__.pyi +29 -22
- bl_ui/space_toolsystem_toolbar/__init__.pyi +7 -2
- bl_ui/space_topbar/__init__.pyi +7 -52
- bl_ui/space_userpref/__init__.pyi +77 -225
- bl_ui/space_view3d/__init__.pyi +69 -551
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +22 -799
- bl_ui/utils/__init__.pyi +0 -17
- blf/__init__.pyi +6 -50
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +5 -450
- bmesh/types/__init__.pyi +298 -639
- bmesh/utils/__init__.pyi +16 -43
- bpy/app/__init__.pyi +66 -58
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +1 -16
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +17 -186
- bpy/ops/anim/__init__.pyi +38 -279
- bpy/ops/armature/__init__.pyi +20 -191
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -104
- bpy/ops/buttons/__init__.pyi +4 -71
- bpy/ops/cachefile/__init__.pyi +2 -63
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +43 -427
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +3 -35
- bpy/ops/console/__init__.pyi +10 -88
- bpy/ops/constraint/__init__.pyi +3 -80
- bpy/ops/curve/__init__.pyi +23 -254
- bpy/ops/curves/__init__.pyi +54 -149
- bpy/ops/cycles/__init__.pyi +1 -14
- bpy/ops/dpaint/__init__.pyi +3 -21
- bpy/ops/ed/__init__.pyi +10 -82
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +1 -155
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +29 -216
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -124
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -49
- bpy/ops/graph/__init__.pyi +20 -315
- bpy/ops/grease_pencil/__init__.pyi +62 -523
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +2 -16
- bpy/ops/import_curve/__init__.pyi +0 -6
- bpy/ops/import_scene/__init__.pyi +0 -50
- bpy/ops/info/__init__.pyi +4 -35
- bpy/ops/lattice/__init__.pyi +3 -33
- bpy/ops/marker/__init__.pyi +4 -49
- bpy/ops/mask/__init__.pyi +17 -176
- bpy/ops/material/__init__.pyi +3 -15
- bpy/ops/mball/__init__.pyi +1 -30
- bpy/ops/mesh/__init__.pyi +34 -932
- bpy/ops/nla/__init__.pyi +22 -183
- bpy/ops/node/__init__.pyi +420 -625
- bpy/ops/object/__init__.pyi +197 -1239
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +29 -282
- bpy/ops/paintcurve/__init__.pyi +4 -36
- bpy/ops/palette/__init__.pyi +3 -27
- bpy/ops/particle/__init__.pyi +20 -160
- bpy/ops/pointcloud/__init__.pyi +3 -35
- bpy/ops/pose/__init__.pyi +29 -234
- bpy/ops/poselib/__init__.pyi +19 -66
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +10 -68
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +23 -168
- bpy/ops/screen/__init__.pyi +36 -202
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +42 -313
- bpy/ops/sculpt_curves/__init__.pyi +6 -21
- bpy/ops/sequencer/__init__.pyi +187 -644
- bpy/ops/sound/__init__.pyi +3 -109
- bpy/ops/spreadsheet/__init__.pyi +5 -32
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +27 -225
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +10 -382
- bpy/ops/ui/__init__.pyi +29 -154
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +195 -288
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +129 -1317
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +332 -203
- bpy/stub_internal/rna_enums/__init__.pyi +102 -82
- bpy/types/__init__.pyi +51712 -89245
- bpy/utils/__init__.pyi +4 -75
- bpy/utils/previews/__init__.pyi +1 -10
- bpy/utils/units/__init__.pyi +0 -12
- 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 +0 -9
- bpy_extras/io_utils/__init__.pyi +4 -23
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +15 -14
- freestyle/chainingiterators/__init__.pyi +0 -22
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +0 -51
- freestyle/shaders/__init__.pyi +0 -65
- freestyle/types/__init__.pyi +139 -777
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +0 -6
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +22 -6
- gpu/state/__init__.pyi +59 -38
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +84 -152
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +2 -9
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +1 -45
- mathutils/__init__.pyi +106 -2168
- mathutils/bvhtree/__init__.pyi +3 -25
- mathutils/geometry/__init__.pyi +41 -133
- mathutils/interpolate/__init__.pyi +3 -4
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module-20250828.dist-info/RECORD +0 -370
- {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
- {bl_console_utils → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +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_previews_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_rna_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_text_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_ui_utils → _bl_ui_utils}/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
- {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}/__init__.pyi +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-20250828.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(
|
|
@@ -54,8 +62,6 @@ def align_rotation(
|
|
|
54
62
|
) -> None:
|
|
55
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,12 +156,8 @@ 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
163
|
def copy(
|
|
@@ -105,10 +165,20 @@ def copy(
|
|
|
105
165
|
undo: bool | None = None,
|
|
106
166
|
/,
|
|
107
167
|
) -> None:
|
|
108
|
-
"""Copy selected UV vertices
|
|
168
|
+
"""Copy selected UV vertices"""
|
|
109
169
|
|
|
110
|
-
|
|
111
|
-
:
|
|
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
|
|
112
182
|
"""
|
|
113
183
|
|
|
114
184
|
def cube_project(
|
|
@@ -123,16 +193,10 @@ def cube_project(
|
|
|
123
193
|
) -> None:
|
|
124
194
|
"""Project the UV vertices of the mesh over the six faces of a cube
|
|
125
195
|
|
|
126
|
-
:type execution_context: int | str | None
|
|
127
|
-
:type undo: bool | None
|
|
128
196
|
:param cube_size: Cube Size, Size of the cube to project on
|
|
129
|
-
:type cube_size: float | None
|
|
130
197
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
131
|
-
:type correct_aspect: bool | None
|
|
132
198
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
133
|
-
:type clip_to_bounds: bool | None
|
|
134
199
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
135
|
-
:type scale_to_bounds: bool | None
|
|
136
200
|
"""
|
|
137
201
|
|
|
138
202
|
def cursor_set(
|
|
@@ -144,10 +208,27 @@ def cursor_set(
|
|
|
144
208
|
) -> None:
|
|
145
209
|
"""Set 2D cursor location
|
|
146
210
|
|
|
147
|
-
:type execution_context: int | str | None
|
|
148
|
-
:type undo: bool | None
|
|
149
211
|
:param location: Location, Cursor location in normalized (0.0 to 1.0) coordinates
|
|
150
|
-
|
|
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
|
|
151
232
|
"""
|
|
152
233
|
|
|
153
234
|
def cylinder_project(
|
|
@@ -167,8 +248,6 @@ def cylinder_project(
|
|
|
167
248
|
) -> None:
|
|
168
249
|
"""Project the UV vertices of the mesh over the curved wall of a cylinder
|
|
169
250
|
|
|
170
|
-
:type execution_context: int | str | None
|
|
171
|
-
:type undo: bool | None
|
|
172
251
|
:param direction: Direction, Direction of the sphere or cylinder
|
|
173
252
|
|
|
174
253
|
VIEW_ON_EQUATOR
|
|
@@ -179,7 +258,6 @@ def cylinder_project(
|
|
|
179
258
|
|
|
180
259
|
ALIGN_TO_OBJECT
|
|
181
260
|
Align to Object -- Align according to object transform.
|
|
182
|
-
:type direction: typing.Literal['VIEW_ON_EQUATOR','VIEW_ON_POLES','ALIGN_TO_OBJECT'] | None
|
|
183
261
|
:param align: Align, How to determine rotation around the pole
|
|
184
262
|
|
|
185
263
|
POLAR_ZX
|
|
@@ -187,7 +265,6 @@ def cylinder_project(
|
|
|
187
265
|
|
|
188
266
|
POLAR_ZY
|
|
189
267
|
Polar ZY -- Polar 0 is Y.
|
|
190
|
-
:type align: typing.Literal['POLAR_ZX','POLAR_ZY'] | None
|
|
191
268
|
:param pole: Pole, How to handle faces at the poles
|
|
192
269
|
|
|
193
270
|
PINCH
|
|
@@ -195,17 +272,11 @@ def cylinder_project(
|
|
|
195
272
|
|
|
196
273
|
FAN
|
|
197
274
|
Fan -- UVs are fanned at the poles.
|
|
198
|
-
:type pole: typing.Literal['PINCH','FAN'] | None
|
|
199
275
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
200
|
-
:type seam: bool | None
|
|
201
276
|
:param radius: Radius, Radius of the sphere or cylinder
|
|
202
|
-
:type radius: float | None
|
|
203
277
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
204
|
-
:type correct_aspect: bool | None
|
|
205
278
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
206
|
-
:type clip_to_bounds: bool | None
|
|
207
279
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
208
|
-
:type scale_to_bounds: bool | None
|
|
209
280
|
"""
|
|
210
281
|
|
|
211
282
|
def export_layout(
|
|
@@ -224,12 +295,8 @@ def export_layout(
|
|
|
224
295
|
) -> None:
|
|
225
296
|
"""Export UV layout to file
|
|
226
297
|
|
|
227
|
-
:type execution_context: int | str | None
|
|
228
|
-
:type undo: bool | None
|
|
229
298
|
:param filepath: filepath
|
|
230
|
-
:type filepath: str
|
|
231
299
|
:param export_all: All UVs, Export all UVs in this mesh (not just visible ones)
|
|
232
|
-
:type export_all: bool | None
|
|
233
300
|
:param export_tiles: Export Tiles, Choose whether to export only the [0, 1] range, or all UV tiles
|
|
234
301
|
|
|
235
302
|
NONE
|
|
@@ -240,9 +307,7 @@ def export_layout(
|
|
|
240
307
|
|
|
241
308
|
UV
|
|
242
309
|
UVTILE -- Export tiles in the UVTILE numbering scheme: u(u_tile + 1)_v(v_tile + 1).
|
|
243
|
-
:type export_tiles: typing.Literal['NONE','UDIM','UV'] | None
|
|
244
310
|
:param modified: Modified, Exports UVs from the modified mesh
|
|
245
|
-
:type modified: bool | None
|
|
246
311
|
:param mode: Format, File format to export the UV layout to
|
|
247
312
|
|
|
248
313
|
SVG
|
|
@@ -253,13 +318,9 @@ def export_layout(
|
|
|
253
318
|
|
|
254
319
|
PNG
|
|
255
320
|
PNG Image (.png) -- Export the UV layout to a bitmap image.
|
|
256
|
-
:type mode: typing.Literal['SVG','EPS','PNG'] | None
|
|
257
321
|
:param size: Size, Dimensions of the exported file
|
|
258
|
-
:type size: collections.abc.Iterable[int] | None
|
|
259
322
|
:param opacity: Fill Opacity, Set amount of opacity for exported UV layout
|
|
260
|
-
:type opacity: float | None
|
|
261
323
|
:param check_existing: check_existing
|
|
262
|
-
:type check_existing: bool | None
|
|
263
324
|
"""
|
|
264
325
|
|
|
265
326
|
def follow_active_quads(
|
|
@@ -271,8 +332,6 @@ def follow_active_quads(
|
|
|
271
332
|
) -> None:
|
|
272
333
|
"""Follow UVs from active quads along continuous face loops
|
|
273
334
|
|
|
274
|
-
:type execution_context: int | str | None
|
|
275
|
-
:type undo: bool | None
|
|
276
335
|
:param mode: Edge Length Mode, Method to space UV edge loops
|
|
277
336
|
|
|
278
337
|
EVEN
|
|
@@ -283,7 +342,6 @@ def follow_active_quads(
|
|
|
283
342
|
|
|
284
343
|
LENGTH_AVERAGE
|
|
285
344
|
Length Average -- Average space UVs edge length of each loop.
|
|
286
|
-
:type mode: typing.Literal['EVEN','LENGTH','LENGTH_AVERAGE'] | None
|
|
287
345
|
"""
|
|
288
346
|
|
|
289
347
|
def hide(
|
|
@@ -295,10 +353,7 @@ def hide(
|
|
|
295
353
|
) -> None:
|
|
296
354
|
"""Hide (un)selected UV vertices
|
|
297
355
|
|
|
298
|
-
:type execution_context: int | str | None
|
|
299
|
-
:type undo: bool | None
|
|
300
356
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
301
|
-
:type unselected: bool | None
|
|
302
357
|
"""
|
|
303
358
|
|
|
304
359
|
def lightmap_pack(
|
|
@@ -314,8 +369,6 @@ def lightmap_pack(
|
|
|
314
369
|
) -> None:
|
|
315
370
|
"""Pack each faces UVs into the UV bounds
|
|
316
371
|
|
|
317
|
-
:type execution_context: int | str | None
|
|
318
|
-
:type undo: bool | None
|
|
319
372
|
:param PREF_CONTEXT: Selection
|
|
320
373
|
|
|
321
374
|
SEL_FACES
|
|
@@ -323,15 +376,10 @@ def lightmap_pack(
|
|
|
323
376
|
|
|
324
377
|
ALL_FACES
|
|
325
378
|
All Faces -- Average space UVs edge length of each loop.
|
|
326
|
-
:type PREF_CONTEXT: typing.Literal['SEL_FACES','ALL_FACES'] | None
|
|
327
379
|
:param PREF_PACK_IN_ONE: Share Texture Space, Objects share texture space, map all objects into a single UV map
|
|
328
|
-
:type PREF_PACK_IN_ONE: bool | None
|
|
329
380
|
:param PREF_NEW_UVLAYER: New UV Map, Create a new UV map for every mesh packed
|
|
330
|
-
:type PREF_NEW_UVLAYER: bool | None
|
|
331
381
|
:param PREF_BOX_DIV: Pack Quality, Quality of the packing. Higher values will be slower but waste less space
|
|
332
|
-
:type PREF_BOX_DIV: int | None
|
|
333
382
|
:param PREF_MARGIN_DIV: Margin, Size of the margin as a division of the UV
|
|
334
|
-
:type PREF_MARGIN_DIV: float | None
|
|
335
383
|
"""
|
|
336
384
|
|
|
337
385
|
def mark_seam(
|
|
@@ -343,10 +391,7 @@ def mark_seam(
|
|
|
343
391
|
) -> None:
|
|
344
392
|
"""Mark selected UV edges as seams
|
|
345
393
|
|
|
346
|
-
:type execution_context: int | str | None
|
|
347
|
-
:type undo: bool | None
|
|
348
394
|
:param clear: Clear Seams, Clear instead of marking seams
|
|
349
|
-
:type clear: bool | None
|
|
350
395
|
"""
|
|
351
396
|
|
|
352
397
|
def minimize_stretch(
|
|
@@ -360,14 +405,40 @@ def minimize_stretch(
|
|
|
360
405
|
) -> None:
|
|
361
406
|
"""Reduce UV stretching by relaxing angles
|
|
362
407
|
|
|
363
|
-
:type execution_context: int | str | None
|
|
364
|
-
:type undo: bool | None
|
|
365
408
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
366
|
-
:type fill_holes: bool | None
|
|
367
409
|
:param blend: Blend, Blend factor between stretch minimized and original
|
|
368
|
-
:type blend: float | None
|
|
369
410
|
:param iterations: Iterations, Number of iterations to run, 0 is unlimited when run interactively
|
|
370
|
-
|
|
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
|
|
371
442
|
"""
|
|
372
443
|
|
|
373
444
|
def pack_islands(
|
|
@@ -375,7 +446,9 @@ def pack_islands(
|
|
|
375
446
|
undo: bool | None = None,
|
|
376
447
|
/,
|
|
377
448
|
*,
|
|
378
|
-
udim_source: typing.Literal[
|
|
449
|
+
udim_source: typing.Literal[
|
|
450
|
+
"CLOSEST_UDIM", "ACTIVE_UDIM", "ORIGINAL_AABB", "CUSTOM_REGION"
|
|
451
|
+
]
|
|
379
452
|
| None = "CLOSEST_UDIM",
|
|
380
453
|
rotate: bool | None = True,
|
|
381
454
|
rotate_method: typing.Literal[
|
|
@@ -393,8 +466,6 @@ def pack_islands(
|
|
|
393
466
|
) -> None:
|
|
394
467
|
"""Transform all islands so that they fill up the UV/UDIM space as much as possible
|
|
395
468
|
|
|
396
|
-
:type execution_context: int | str | None
|
|
397
|
-
:type undo: bool | None
|
|
398
469
|
:param udim_source: Pack to
|
|
399
470
|
|
|
400
471
|
CLOSEST_UDIM
|
|
@@ -405,9 +476,10 @@ def pack_islands(
|
|
|
405
476
|
|
|
406
477
|
ORIGINAL_AABB
|
|
407
478
|
Original bounding box -- Pack to starting bounding box of islands.
|
|
408
|
-
|
|
479
|
+
|
|
480
|
+
CUSTOM_REGION
|
|
481
|
+
Custom Region -- Pack islands to custom region.
|
|
409
482
|
:param rotate: Rotate, Rotate islands to improve layout
|
|
410
|
-
:type rotate: bool | None
|
|
411
483
|
:param rotate_method: Rotation Method
|
|
412
484
|
|
|
413
485
|
ANY
|
|
@@ -424,11 +496,8 @@ def pack_islands(
|
|
|
424
496
|
|
|
425
497
|
AXIS_ALIGNED_Y
|
|
426
498
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
427
|
-
:type rotate_method: typing.Literal['ANY','CARDINAL','AXIS_ALIGNED','AXIS_ALIGNED_X','AXIS_ALIGNED_Y'] | None
|
|
428
499
|
:param scale: Scale, Scale islands to fill unit square
|
|
429
|
-
:type scale: bool | None
|
|
430
500
|
:param merge_overlap: Merge Overlapping, Overlapping islands stick together
|
|
431
|
-
:type merge_overlap: bool | None
|
|
432
501
|
:param margin_method: Margin Method
|
|
433
502
|
|
|
434
503
|
SCALED
|
|
@@ -439,11 +508,8 @@ def pack_islands(
|
|
|
439
508
|
|
|
440
509
|
FRACTION
|
|
441
510
|
Fraction -- Specify a precise fraction of final UV output.
|
|
442
|
-
:type margin_method: typing.Literal['SCALED','ADD','FRACTION'] | None
|
|
443
511
|
:param margin: Margin, Space between islands
|
|
444
|
-
:type margin: float | None
|
|
445
512
|
:param pin: Lock Pinned Islands, Constrain islands containing any pinned UVs
|
|
446
|
-
:type pin: bool | None
|
|
447
513
|
:param pin_method: Pin Method
|
|
448
514
|
|
|
449
515
|
SCALE
|
|
@@ -457,7 +523,6 @@ def pack_islands(
|
|
|
457
523
|
|
|
458
524
|
LOCKED
|
|
459
525
|
All -- Pinned islands are locked in place.
|
|
460
|
-
:type pin_method: typing.Literal['SCALE','ROTATION','ROTATION_SCALE','LOCKED'] | None
|
|
461
526
|
:param shape_method: Shape Method
|
|
462
527
|
|
|
463
528
|
CONCAVE
|
|
@@ -468,7 +533,6 @@ def pack_islands(
|
|
|
468
533
|
|
|
469
534
|
AABB
|
|
470
535
|
Bounding Box -- Uses bounding boxes.
|
|
471
|
-
:type shape_method: typing.Literal['CONCAVE','CONVEX','AABB'] | None
|
|
472
536
|
"""
|
|
473
537
|
|
|
474
538
|
def paste(
|
|
@@ -476,11 +540,7 @@ def paste(
|
|
|
476
540
|
undo: bool | None = None,
|
|
477
541
|
/,
|
|
478
542
|
) -> None:
|
|
479
|
-
"""Paste selected UV vertices
|
|
480
|
-
|
|
481
|
-
:type execution_context: int | str | None
|
|
482
|
-
:type undo: bool | None
|
|
483
|
-
"""
|
|
543
|
+
"""Paste selected UV vertices"""
|
|
484
544
|
|
|
485
545
|
def pin(
|
|
486
546
|
execution_context: int | str | None = None,
|
|
@@ -492,12 +552,8 @@ def pin(
|
|
|
492
552
|
) -> None:
|
|
493
553
|
"""Set/clear selected UV vertices as anchored between multiple unwrap operations
|
|
494
554
|
|
|
495
|
-
:type execution_context: int | str | None
|
|
496
|
-
:type undo: bool | None
|
|
497
555
|
:param clear: Clear, Clear pinning for the selection instead of setting it
|
|
498
|
-
:type clear: bool | None
|
|
499
556
|
:param invert: Invert, Invert pinning for the selection instead of setting it
|
|
500
|
-
:type invert: bool | None
|
|
501
557
|
"""
|
|
502
558
|
|
|
503
559
|
def project_from_view(
|
|
@@ -513,18 +569,11 @@ def project_from_view(
|
|
|
513
569
|
) -> None:
|
|
514
570
|
"""Project the UV vertices of the mesh as seen in current 3D view
|
|
515
571
|
|
|
516
|
-
:type execution_context: int | str | None
|
|
517
|
-
:type undo: bool | None
|
|
518
572
|
:param orthographic: Orthographic, Use orthographic projection
|
|
519
|
-
:type orthographic: bool | None
|
|
520
573
|
:param camera_bounds: Camera Bounds, Map UVs to the camera region taking resolution and aspect into account
|
|
521
|
-
:type camera_bounds: bool | None
|
|
522
574
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
523
|
-
:type correct_aspect: bool | None
|
|
524
575
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
525
|
-
:type clip_to_bounds: bool | None
|
|
526
576
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
527
|
-
:type scale_to_bounds: bool | None
|
|
528
577
|
"""
|
|
529
578
|
|
|
530
579
|
def randomize_uv_transform(
|
|
@@ -543,24 +592,14 @@ def randomize_uv_transform(
|
|
|
543
592
|
) -> None:
|
|
544
593
|
"""Randomize the UV islands location, rotation, and scale
|
|
545
594
|
|
|
546
|
-
:type execution_context: int | str | None
|
|
547
|
-
:type undo: bool | None
|
|
548
595
|
:param random_seed: Random Seed, Seed value for the random generator
|
|
549
|
-
:type random_seed: int | None
|
|
550
596
|
:param use_loc: Randomize Location, Randomize the location values
|
|
551
|
-
:type use_loc: bool | None
|
|
552
597
|
:param loc: Location, Maximum distance the objects can spread over each axis
|
|
553
|
-
:type loc: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
554
598
|
:param use_rot: Randomize Rotation, Randomize the rotation value
|
|
555
|
-
:type use_rot: bool | None
|
|
556
599
|
:param rot: Rotation, Maximum rotation
|
|
557
|
-
:type rot: float | None
|
|
558
600
|
:param use_scale: Randomize Scale, Randomize the scale values
|
|
559
|
-
:type use_scale: bool | None
|
|
560
601
|
:param scale_even: Scale Even, Use the same scale value for both axes
|
|
561
|
-
:type scale_even: bool | None
|
|
562
602
|
:param scale: Scale, Maximum scale randomization over each axis
|
|
563
|
-
:type scale: collections.abc.Iterable[float] | None
|
|
564
603
|
"""
|
|
565
604
|
|
|
566
605
|
def remove_doubles(
|
|
@@ -574,14 +613,9 @@ def remove_doubles(
|
|
|
574
613
|
) -> None:
|
|
575
614
|
"""Selected UV vertices that are within a radius of each other are welded together
|
|
576
615
|
|
|
577
|
-
:type execution_context: int | str | None
|
|
578
|
-
:type undo: bool | None
|
|
579
616
|
:param threshold: Merge Distance, Maximum distance between welded vertices
|
|
580
|
-
:type threshold: float | None
|
|
581
617
|
:param use_unselected: Unselected, Merge selected to other unselected vertices
|
|
582
|
-
:type use_unselected: bool | None
|
|
583
618
|
:param use_shared_vertex: Shared Vertex, Weld UVs based on shared vertices
|
|
584
|
-
:type use_shared_vertex: bool | None
|
|
585
619
|
"""
|
|
586
620
|
|
|
587
621
|
def reset(
|
|
@@ -589,11 +623,7 @@ def reset(
|
|
|
589
623
|
undo: bool | None = None,
|
|
590
624
|
/,
|
|
591
625
|
) -> None:
|
|
592
|
-
"""Reset UV projection
|
|
593
|
-
|
|
594
|
-
:type execution_context: int | str | None
|
|
595
|
-
:type undo: bool | None
|
|
596
|
-
"""
|
|
626
|
+
"""Reset UV projection"""
|
|
597
627
|
|
|
598
628
|
def reveal(
|
|
599
629
|
execution_context: int | str | None = None,
|
|
@@ -604,10 +634,7 @@ def reveal(
|
|
|
604
634
|
) -> None:
|
|
605
635
|
"""Reveal all hidden UV vertices
|
|
606
636
|
|
|
607
|
-
:type execution_context: int | str | None
|
|
608
|
-
:type undo: bool | None
|
|
609
637
|
:param select: Select
|
|
610
|
-
:type select: bool | None
|
|
611
638
|
"""
|
|
612
639
|
|
|
613
640
|
def rip(
|
|
@@ -622,16 +649,10 @@ def rip(
|
|
|
622
649
|
) -> None:
|
|
623
650
|
"""Rip selected vertices or a selected region
|
|
624
651
|
|
|
625
|
-
:type execution_context: int | str | None
|
|
626
|
-
:type undo: bool | None
|
|
627
652
|
:param mirror: Mirror Editing
|
|
628
|
-
:type mirror: bool | None
|
|
629
653
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
630
|
-
:type release_confirm: bool | None
|
|
631
654
|
:param use_accurate: Accurate, Use accurate transformation
|
|
632
|
-
:type use_accurate: bool | None
|
|
633
655
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
634
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
635
656
|
"""
|
|
636
657
|
|
|
637
658
|
def rip_move(
|
|
@@ -644,12 +665,8 @@ def rip_move(
|
|
|
644
665
|
) -> None:
|
|
645
666
|
"""Unstitch UVs and move the result
|
|
646
667
|
|
|
647
|
-
:type execution_context: int | str | None
|
|
648
|
-
:type undo: bool | None
|
|
649
668
|
:param UV_OT_rip: UV Rip, Rip selected vertices or a selected region
|
|
650
|
-
:type UV_OT_rip: rip | None
|
|
651
669
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
652
|
-
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
653
670
|
"""
|
|
654
671
|
|
|
655
672
|
def seams_from_islands(
|
|
@@ -662,12 +679,8 @@ def seams_from_islands(
|
|
|
662
679
|
) -> None:
|
|
663
680
|
"""Set mesh seams according to island setup in the UV editor
|
|
664
681
|
|
|
665
|
-
:type execution_context: int | str | None
|
|
666
|
-
:type undo: bool | None
|
|
667
682
|
:param mark_seams: Mark Seams, Mark boundary edges as seams
|
|
668
|
-
:type mark_seams: bool | None
|
|
669
683
|
:param mark_sharp: Mark Sharp, Mark boundary edges as sharp
|
|
670
|
-
:type mark_sharp: bool | None
|
|
671
684
|
"""
|
|
672
685
|
|
|
673
686
|
def select(
|
|
@@ -684,20 +697,12 @@ def select(
|
|
|
684
697
|
) -> None:
|
|
685
698
|
"""Select UV vertices
|
|
686
699
|
|
|
687
|
-
:type execution_context: int | str | None
|
|
688
|
-
:type undo: bool | None
|
|
689
700
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
690
|
-
:type extend: bool | None
|
|
691
701
|
:param deselect: Deselect, Remove from selection
|
|
692
|
-
:type deselect: bool | None
|
|
693
702
|
:param toggle: Toggle Selection, Toggle the selection
|
|
694
|
-
:type toggle: bool | None
|
|
695
703
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
696
|
-
:type deselect_all: bool | None
|
|
697
704
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
698
|
-
:type select_passthrough: bool | None
|
|
699
705
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
700
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
701
706
|
"""
|
|
702
707
|
|
|
703
708
|
def select_all(
|
|
@@ -709,8 +714,6 @@ def select_all(
|
|
|
709
714
|
) -> None:
|
|
710
715
|
"""Change selection of all UV vertices
|
|
711
716
|
|
|
712
|
-
:type execution_context: int | str | None
|
|
713
|
-
:type undo: bool | None
|
|
714
717
|
:param action: Action, Selection action to execute
|
|
715
718
|
|
|
716
719
|
TOGGLE
|
|
@@ -724,7 +727,6 @@ def select_all(
|
|
|
724
727
|
|
|
725
728
|
INVERT
|
|
726
729
|
Invert -- Invert selection of all elements.
|
|
727
|
-
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
728
730
|
"""
|
|
729
731
|
|
|
730
732
|
def select_box(
|
|
@@ -742,20 +744,12 @@ def select_box(
|
|
|
742
744
|
) -> None:
|
|
743
745
|
"""Select UV vertices using box selection
|
|
744
746
|
|
|
745
|
-
:type execution_context: int | str | None
|
|
746
|
-
:type undo: bool | None
|
|
747
747
|
:param pinned: Pinned, Border select pinned UVs only
|
|
748
|
-
:type pinned: bool | None
|
|
749
748
|
:param xmin: X Min
|
|
750
|
-
:type xmin: int | None
|
|
751
749
|
:param xmax: X Max
|
|
752
|
-
:type xmax: int | None
|
|
753
750
|
:param ymin: Y Min
|
|
754
|
-
:type ymin: int | None
|
|
755
751
|
:param ymax: Y Max
|
|
756
|
-
:type ymax: int | None
|
|
757
752
|
:param wait_for_input: Wait for Input
|
|
758
|
-
:type wait_for_input: bool | None
|
|
759
753
|
:param mode: Mode
|
|
760
754
|
|
|
761
755
|
SET
|
|
@@ -766,7 +760,6 @@ def select_box(
|
|
|
766
760
|
|
|
767
761
|
SUB
|
|
768
762
|
Subtract -- Subtract existing selection.
|
|
769
|
-
:type mode: typing.Literal['SET','ADD','SUB'] | None
|
|
770
763
|
"""
|
|
771
764
|
|
|
772
765
|
def select_circle(
|
|
@@ -782,16 +775,10 @@ def select_circle(
|
|
|
782
775
|
) -> None:
|
|
783
776
|
"""Select UV vertices using circle selection
|
|
784
777
|
|
|
785
|
-
:type execution_context: int | str | None
|
|
786
|
-
:type undo: bool | None
|
|
787
778
|
:param x: X
|
|
788
|
-
:type x: int | None
|
|
789
779
|
:param y: Y
|
|
790
|
-
:type y: int | None
|
|
791
780
|
:param radius: Radius
|
|
792
|
-
:type radius: int | None
|
|
793
781
|
:param wait_for_input: Wait for Input
|
|
794
|
-
:type wait_for_input: bool | None
|
|
795
782
|
:param mode: Mode
|
|
796
783
|
|
|
797
784
|
SET
|
|
@@ -802,7 +789,6 @@ def select_circle(
|
|
|
802
789
|
|
|
803
790
|
SUB
|
|
804
791
|
Subtract -- Subtract existing selection.
|
|
805
|
-
:type mode: typing.Literal['SET','ADD','SUB'] | None
|
|
806
792
|
"""
|
|
807
793
|
|
|
808
794
|
def select_edge_ring(
|
|
@@ -815,12 +801,8 @@ def select_edge_ring(
|
|
|
815
801
|
) -> None:
|
|
816
802
|
"""Select an edge ring of connected UV vertices
|
|
817
803
|
|
|
818
|
-
:type execution_context: int | str | None
|
|
819
|
-
:type undo: bool | None
|
|
820
804
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
821
|
-
:type extend: bool | None
|
|
822
805
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
823
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
824
806
|
"""
|
|
825
807
|
|
|
826
808
|
def select_lasso(
|
|
@@ -836,16 +818,10 @@ def select_lasso(
|
|
|
836
818
|
) -> None:
|
|
837
819
|
"""Select UVs using lasso selection
|
|
838
820
|
|
|
839
|
-
:type execution_context: int | str | None
|
|
840
|
-
:type undo: bool | None
|
|
841
821
|
:param path: Path
|
|
842
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
843
822
|
:param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
|
|
844
|
-
:type use_smooth_stroke: bool | None
|
|
845
823
|
:param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
|
|
846
|
-
:type smooth_stroke_factor: float | None
|
|
847
824
|
:param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
|
|
848
|
-
:type smooth_stroke_radius: int | None
|
|
849
825
|
:param mode: Mode
|
|
850
826
|
|
|
851
827
|
SET
|
|
@@ -856,7 +832,6 @@ def select_lasso(
|
|
|
856
832
|
|
|
857
833
|
SUB
|
|
858
834
|
Subtract -- Subtract existing selection.
|
|
859
|
-
:type mode: typing.Literal['SET','ADD','SUB'] | None
|
|
860
835
|
"""
|
|
861
836
|
|
|
862
837
|
def select_less(
|
|
@@ -864,22 +839,14 @@ def select_less(
|
|
|
864
839
|
undo: bool | None = None,
|
|
865
840
|
/,
|
|
866
841
|
) -> None:
|
|
867
|
-
"""Deselect UV vertices at the boundary of each selection region
|
|
868
|
-
|
|
869
|
-
:type execution_context: int | str | None
|
|
870
|
-
:type undo: bool | None
|
|
871
|
-
"""
|
|
842
|
+
"""Deselect UV vertices at the boundary of each selection region"""
|
|
872
843
|
|
|
873
844
|
def select_linked(
|
|
874
845
|
execution_context: int | str | None = None,
|
|
875
846
|
undo: bool | None = None,
|
|
876
847
|
/,
|
|
877
848
|
) -> None:
|
|
878
|
-
"""Select all UV vertices linked to the active UV map
|
|
879
|
-
|
|
880
|
-
:type execution_context: int | str | None
|
|
881
|
-
:type undo: bool | None
|
|
882
|
-
"""
|
|
849
|
+
"""Select all UV vertices linked to the active UV map"""
|
|
883
850
|
|
|
884
851
|
def select_linked_pick(
|
|
885
852
|
execution_context: int | str | None = None,
|
|
@@ -892,14 +859,9 @@ def select_linked_pick(
|
|
|
892
859
|
) -> None:
|
|
893
860
|
"""Select all UV vertices linked under the mouse
|
|
894
861
|
|
|
895
|
-
:type execution_context: int | str | None
|
|
896
|
-
:type undo: bool | None
|
|
897
862
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
898
|
-
:type extend: bool | None
|
|
899
863
|
:param deselect: Deselect, Deselect linked UV vertices rather than selecting them
|
|
900
|
-
:type deselect: bool | None
|
|
901
864
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
902
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
903
865
|
"""
|
|
904
866
|
|
|
905
867
|
def select_loop(
|
|
@@ -912,12 +874,8 @@ def select_loop(
|
|
|
912
874
|
) -> None:
|
|
913
875
|
"""Select a loop of connected UV vertices
|
|
914
876
|
|
|
915
|
-
:type execution_context: int | str | None
|
|
916
|
-
:type undo: bool | None
|
|
917
877
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
918
|
-
:type extend: bool | None
|
|
919
878
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
920
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
921
879
|
"""
|
|
922
880
|
|
|
923
881
|
def select_mode(
|
|
@@ -929,10 +887,7 @@ def select_mode(
|
|
|
929
887
|
) -> None:
|
|
930
888
|
"""Change UV selection mode
|
|
931
889
|
|
|
932
|
-
:type execution_context: int | str | None
|
|
933
|
-
:type undo: bool | None
|
|
934
890
|
:param type: Type
|
|
935
|
-
:type type: bpy.stub_internal.rna_enums.MeshSelectModeUvItems | None
|
|
936
891
|
"""
|
|
937
892
|
|
|
938
893
|
def select_more(
|
|
@@ -940,11 +895,7 @@ def select_more(
|
|
|
940
895
|
undo: bool | None = None,
|
|
941
896
|
/,
|
|
942
897
|
) -> None:
|
|
943
|
-
"""Select more UV vertices connected to initial selection
|
|
944
|
-
|
|
945
|
-
:type execution_context: int | str | None
|
|
946
|
-
:type undo: bool | None
|
|
947
|
-
"""
|
|
898
|
+
"""Select more UV vertices connected to initial selection"""
|
|
948
899
|
|
|
949
900
|
def select_overlap(
|
|
950
901
|
execution_context: int | str | None = None,
|
|
@@ -955,10 +906,7 @@ def select_overlap(
|
|
|
955
906
|
) -> None:
|
|
956
907
|
"""Select all UV faces which overlap each other
|
|
957
908
|
|
|
958
|
-
:type execution_context: int | str | None
|
|
959
|
-
:type undo: bool | None
|
|
960
909
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
961
|
-
:type extend: bool | None
|
|
962
910
|
"""
|
|
963
911
|
|
|
964
912
|
def select_pinned(
|
|
@@ -966,11 +914,7 @@ def select_pinned(
|
|
|
966
914
|
undo: bool | None = None,
|
|
967
915
|
/,
|
|
968
916
|
) -> None:
|
|
969
|
-
"""Select all pinned UV vertices
|
|
970
|
-
|
|
971
|
-
:type execution_context: int | str | None
|
|
972
|
-
:type undo: bool | None
|
|
973
|
-
"""
|
|
917
|
+
"""Select all pinned UV vertices"""
|
|
974
918
|
|
|
975
919
|
def select_similar(
|
|
976
920
|
execution_context: int | str | None = None,
|
|
@@ -995,14 +939,39 @@ def select_similar(
|
|
|
995
939
|
) -> None:
|
|
996
940
|
"""Select similar UVs by property types
|
|
997
941
|
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
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
|
|
1006
975
|
"""
|
|
1007
976
|
|
|
1008
977
|
def select_split(
|
|
@@ -1010,10 +979,20 @@ def select_split(
|
|
|
1010
979
|
undo: bool | None = None,
|
|
1011
980
|
/,
|
|
1012
981
|
) -> None:
|
|
1013
|
-
"""Select only entirely selected faces
|
|
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),
|
|
991
|
+
) -> None:
|
|
992
|
+
"""Select UVs in specified tile
|
|
1014
993
|
|
|
1015
|
-
:
|
|
1016
|
-
:
|
|
994
|
+
:param extend: Extend, Extend the selection
|
|
995
|
+
:param tile: Tile, Tile location to select UVs
|
|
1017
996
|
"""
|
|
1018
997
|
|
|
1019
998
|
def shortest_path_pick(
|
|
@@ -1032,22 +1011,12 @@ def shortest_path_pick(
|
|
|
1032
1011
|
) -> None:
|
|
1033
1012
|
"""Select shortest path between two selections
|
|
1034
1013
|
|
|
1035
|
-
:type execution_context: int | str | None
|
|
1036
|
-
:type undo: bool | None
|
|
1037
1014
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
1038
|
-
:type use_face_step: bool | None
|
|
1039
1015
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
1040
|
-
:type use_topology_distance: bool | None
|
|
1041
1016
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
1042
|
-
:type use_fill: bool | None
|
|
1043
1017
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
1044
|
-
:type skip: int | None
|
|
1045
1018
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
1046
|
-
:type nth: int | None
|
|
1047
1019
|
:param offset: Offset, Offset from the starting point
|
|
1048
|
-
:type offset: int | None
|
|
1049
|
-
:type object_index: int | None
|
|
1050
|
-
:type index: int | None
|
|
1051
1020
|
"""
|
|
1052
1021
|
|
|
1053
1022
|
def shortest_path_select(
|
|
@@ -1064,20 +1033,12 @@ def shortest_path_select(
|
|
|
1064
1033
|
) -> None:
|
|
1065
1034
|
"""Selected shortest path between two vertices/edges/faces
|
|
1066
1035
|
|
|
1067
|
-
:type execution_context: int | str | None
|
|
1068
|
-
:type undo: bool | None
|
|
1069
1036
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
1070
|
-
:type use_face_step: bool | None
|
|
1071
1037
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
1072
|
-
:type use_topology_distance: bool | None
|
|
1073
1038
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
1074
|
-
:type use_fill: bool | None
|
|
1075
1039
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
1076
|
-
:type skip: int | None
|
|
1077
1040
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
1078
|
-
:type nth: int | None
|
|
1079
1041
|
:param offset: Offset, Offset from the starting point
|
|
1080
|
-
:type offset: int | None
|
|
1081
1042
|
"""
|
|
1082
1043
|
|
|
1083
1044
|
def smart_project(
|
|
@@ -1096,10 +1057,7 @@ def smart_project(
|
|
|
1096
1057
|
) -> None:
|
|
1097
1058
|
"""Projection unwraps the selected faces of mesh objects
|
|
1098
1059
|
|
|
1099
|
-
:type execution_context: int | str | None
|
|
1100
|
-
:type undo: bool | None
|
|
1101
1060
|
:param angle_limit: Angle Limit, Lower for more projection groups, higher for less distortion
|
|
1102
|
-
:type angle_limit: float | None
|
|
1103
1061
|
:param margin_method: Margin Method
|
|
1104
1062
|
|
|
1105
1063
|
SCALED
|
|
@@ -1110,7 +1068,6 @@ def smart_project(
|
|
|
1110
1068
|
|
|
1111
1069
|
FRACTION
|
|
1112
1070
|
Fraction -- Specify a precise fraction of final UV output.
|
|
1113
|
-
:type margin_method: typing.Literal['SCALED','ADD','FRACTION'] | None
|
|
1114
1071
|
:param rotate_method: Rotation Method
|
|
1115
1072
|
|
|
1116
1073
|
AXIS_ALIGNED
|
|
@@ -1121,15 +1078,10 @@ def smart_project(
|
|
|
1121
1078
|
|
|
1122
1079
|
AXIS_ALIGNED_Y
|
|
1123
1080
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
1124
|
-
:type rotate_method: typing.Literal['AXIS_ALIGNED','AXIS_ALIGNED_X','AXIS_ALIGNED_Y'] | None
|
|
1125
1081
|
:param island_margin: Island Margin, Margin to reduce bleed from adjacent islands
|
|
1126
|
-
:type island_margin: float | None
|
|
1127
1082
|
:param area_weight: Area Weight, Weight projections vector by faces with larger areas
|
|
1128
|
-
:type area_weight: float | None
|
|
1129
1083
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
1130
|
-
:type correct_aspect: bool | None
|
|
1131
1084
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
1132
|
-
:type scale_to_bounds: bool | None
|
|
1133
1085
|
"""
|
|
1134
1086
|
|
|
1135
1087
|
def snap_cursor(
|
|
@@ -1141,10 +1093,7 @@ def snap_cursor(
|
|
|
1141
1093
|
) -> None:
|
|
1142
1094
|
"""Snap cursor to target type
|
|
1143
1095
|
|
|
1144
|
-
:type execution_context: int | str | None
|
|
1145
|
-
:type undo: bool | None
|
|
1146
1096
|
:param target: Target, Target to snap the selected UVs to
|
|
1147
|
-
:type target: typing.Literal['PIXELS','SELECTED','ORIGIN'] | None
|
|
1148
1097
|
"""
|
|
1149
1098
|
|
|
1150
1099
|
def snap_selected(
|
|
@@ -1157,10 +1106,7 @@ def snap_selected(
|
|
|
1157
1106
|
) -> None:
|
|
1158
1107
|
"""Snap selected UV vertices to target type
|
|
1159
1108
|
|
|
1160
|
-
:type execution_context: int | str | None
|
|
1161
|
-
:type undo: bool | None
|
|
1162
1109
|
:param target: Target, Target to snap the selected UVs to
|
|
1163
|
-
:type target: typing.Literal['PIXELS','CURSOR','CURSOR_OFFSET','ADJACENT_UNSELECTED'] | None
|
|
1164
1110
|
"""
|
|
1165
1111
|
|
|
1166
1112
|
def sphere_project(
|
|
@@ -1179,8 +1125,6 @@ def sphere_project(
|
|
|
1179
1125
|
) -> None:
|
|
1180
1126
|
"""Project the UV vertices of the mesh over the curved surface of a sphere
|
|
1181
1127
|
|
|
1182
|
-
:type execution_context: int | str | None
|
|
1183
|
-
:type undo: bool | None
|
|
1184
1128
|
:param direction: Direction, Direction of the sphere or cylinder
|
|
1185
1129
|
|
|
1186
1130
|
VIEW_ON_EQUATOR
|
|
@@ -1191,7 +1135,6 @@ def sphere_project(
|
|
|
1191
1135
|
|
|
1192
1136
|
ALIGN_TO_OBJECT
|
|
1193
1137
|
Align to Object -- Align according to object transform.
|
|
1194
|
-
:type direction: typing.Literal['VIEW_ON_EQUATOR','VIEW_ON_POLES','ALIGN_TO_OBJECT'] | None
|
|
1195
1138
|
:param align: Align, How to determine rotation around the pole
|
|
1196
1139
|
|
|
1197
1140
|
POLAR_ZX
|
|
@@ -1199,7 +1142,6 @@ def sphere_project(
|
|
|
1199
1142
|
|
|
1200
1143
|
POLAR_ZY
|
|
1201
1144
|
Polar ZY -- Polar 0 is Y.
|
|
1202
|
-
:type align: typing.Literal['POLAR_ZX','POLAR_ZY'] | None
|
|
1203
1145
|
:param pole: Pole, How to handle faces at the poles
|
|
1204
1146
|
|
|
1205
1147
|
PINCH
|
|
@@ -1207,15 +1149,10 @@ def sphere_project(
|
|
|
1207
1149
|
|
|
1208
1150
|
FAN
|
|
1209
1151
|
Fan -- UVs are fanned at the poles.
|
|
1210
|
-
:type pole: typing.Literal['PINCH','FAN'] | None
|
|
1211
1152
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
1212
|
-
:type seam: bool | None
|
|
1213
1153
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
1214
|
-
:type correct_aspect: bool | None
|
|
1215
1154
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
1216
|
-
:type clip_to_bounds: bool | None
|
|
1217
1155
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
1218
|
-
:type scale_to_bounds: bool | None
|
|
1219
1156
|
"""
|
|
1220
1157
|
|
|
1221
1158
|
def stitch(
|
|
@@ -1237,30 +1174,17 @@ def stitch(
|
|
|
1237
1174
|
) -> None:
|
|
1238
1175
|
"""Stitch selected UV vertices by proximity
|
|
1239
1176
|
|
|
1240
|
-
:type execution_context: int | str | None
|
|
1241
|
-
:type undo: bool | None
|
|
1242
1177
|
:param use_limit: Use Limit, Stitch UVs within a specified limit distance
|
|
1243
|
-
:type use_limit: bool | None
|
|
1244
1178
|
:param snap_islands: Snap Islands, Snap islands together (on edge stitch mode, rotates the islands too)
|
|
1245
|
-
:type snap_islands: bool | None
|
|
1246
1179
|
:param limit: Limit, Limit distance in normalized coordinates
|
|
1247
|
-
:type limit: float | None
|
|
1248
1180
|
:param static_island: Static Island, Island that stays in place when stitching islands
|
|
1249
|
-
:type static_island: int | None
|
|
1250
1181
|
:param active_object_index: Active Object, Index of the active object
|
|
1251
|
-
:type active_object_index: int | None
|
|
1252
1182
|
:param midpoint_snap: Snap at Midpoint, UVs are stitched at midpoint instead of at static island
|
|
1253
|
-
:type midpoint_snap: bool | None
|
|
1254
1183
|
:param clear_seams: Clear Seams, Clear seams of stitched edges
|
|
1255
|
-
:type clear_seams: bool | None
|
|
1256
1184
|
:param mode: Operation Mode, Use vertex or edge stitching
|
|
1257
|
-
:type mode: typing.Literal['VERTEX','EDGE'] | None
|
|
1258
1185
|
:param stored_mode: Stored Operation Mode, Use vertex or edge stitching
|
|
1259
|
-
:type stored_mode: typing.Literal['VERTEX','EDGE'] | None
|
|
1260
1186
|
:param selection: Selection
|
|
1261
|
-
:type selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None
|
|
1262
1187
|
:param objects_selection_count: Objects Selection Count
|
|
1263
|
-
:type objects_selection_count: collections.abc.Iterable[int] | None
|
|
1264
1188
|
"""
|
|
1265
1189
|
|
|
1266
1190
|
def unwrap(
|
|
@@ -1283,16 +1207,10 @@ def unwrap(
|
|
|
1283
1207
|
) -> None:
|
|
1284
1208
|
"""Unwrap the mesh of the object being edited
|
|
1285
1209
|
|
|
1286
|
-
:type execution_context: int | str | None
|
|
1287
|
-
:type undo: bool | None
|
|
1288
1210
|
:param method: Method, Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower)
|
|
1289
|
-
:type method: typing.Literal['ANGLE_BASED','CONFORMAL','MINIMUM_STRETCH'] | None
|
|
1290
1211
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
1291
|
-
:type fill_holes: bool | None
|
|
1292
1212
|
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
1293
|
-
:type correct_aspect: bool | None
|
|
1294
1213
|
:param use_subsurf_data: Use Subdivision Surface, Map UVs taking vertex position after Subdivision Surface modifier has been applied
|
|
1295
|
-
:type use_subsurf_data: bool | None
|
|
1296
1214
|
:param margin_method: Margin Method
|
|
1297
1215
|
|
|
1298
1216
|
SCALED
|
|
@@ -1303,19 +1221,12 @@ def unwrap(
|
|
|
1303
1221
|
|
|
1304
1222
|
FRACTION
|
|
1305
1223
|
Fraction -- Specify a precise fraction of final UV output.
|
|
1306
|
-
:type margin_method: typing.Literal['SCALED','ADD','FRACTION'] | None
|
|
1307
1224
|
:param margin: Margin, Space between islands
|
|
1308
|
-
:type margin: float | None
|
|
1309
1225
|
:param no_flip: No Flip, Prevent flipping UVs, flipping may lower distortion depending on the position of pins
|
|
1310
|
-
:type no_flip: bool | None
|
|
1311
1226
|
:param iterations: Iterations, Number of iterations when "Minimum Stretch" method is used
|
|
1312
|
-
:type iterations: int | None
|
|
1313
1227
|
:param use_weights: Importance Weights, Whether to take into account per-vertex importance weights
|
|
1314
|
-
:type use_weights: bool | None
|
|
1315
1228
|
:param weight_group: Weight Group, Vertex group name for importance weights (modulating the deform)
|
|
1316
|
-
:type weight_group: str
|
|
1317
1229
|
:param weight_factor: Weight Factor, How much influence the weightmap has for weighted parameterization, 0 being no influence
|
|
1318
|
-
:type weight_factor: float | None
|
|
1319
1230
|
"""
|
|
1320
1231
|
|
|
1321
1232
|
def weld(
|
|
@@ -1323,8 +1234,4 @@ def weld(
|
|
|
1323
1234
|
undo: bool | None = None,
|
|
1324
1235
|
/,
|
|
1325
1236
|
) -> None:
|
|
1326
|
-
"""Weld selected UV vertices together
|
|
1327
|
-
|
|
1328
|
-
:type execution_context: int | str | None
|
|
1329
|
-
:type undo: bool | None
|
|
1330
|
-
"""
|
|
1237
|
+
"""Weld selected UV vertices together"""
|