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