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