fake-bpy-module 20240619__py3-none-any.whl → 20240621__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.
- bl_ui/space_userpref/__init__.pyi +225 -0
- bpy/ops/action/__init__.pyi +50 -50
- bpy/ops/anim/__init__.pyi +94 -94
- bpy/ops/armature/__init__.pyi +54 -54
- bpy/ops/asset/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +10 -10
- bpy/ops/buttons/__init__.pyi +88 -88
- bpy/ops/cachefile/__init__.pyi +88 -88
- bpy/ops/camera/__init__.pyi +14 -14
- bpy/ops/clip/__init__.pyi +175 -174
- bpy/ops/cloth/__init__.pyi +6 -6
- bpy/ops/collection/__init__.pyi +8 -8
- bpy/ops/console/__init__.pyi +26 -26
- bpy/ops/constraint/__init__.pyi +42 -42
- bpy/ops/curve/__init__.pyi +167 -122
- bpy/ops/curves/__init__.pyi +75 -58
- bpy/ops/cycles/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +50 -50
- bpy/ops/export_anim/__init__.pyi +14 -14
- bpy/ops/export_scene/__init__.pyi +250 -250
- bpy/ops/extensions/__init__.pyi +73 -73
- bpy/ops/file/__init__.pyi +94 -94
- bpy/ops/fluid/__init__.pyi +6 -6
- bpy/ops/font/__init__.pyi +100 -100
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +10 -10
- bpy/ops/gpencil/__init__.pyi +411 -410
- bpy/ops/graph/__init__.pyi +194 -194
- bpy/ops/grease_pencil/__init__.pyi +100 -100
- bpy/ops/image/__init__.pyi +399 -390
- bpy/ops/import_anim/__init__.pyi +16 -16
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +56 -56
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +10 -10
- bpy/ops/marker/__init__.pyi +34 -34
- bpy/ops/mask/__init__.pyi +63 -62
- bpy/ops/mball/__init__.pyi +12 -12
- bpy/ops/mesh/__init__.pyi +901 -798
- bpy/ops/nla/__init__.pyi +70 -70
- bpy/ops/node/__init__.pyi +192 -192
- bpy/ops/object/__init__.pyi +1017 -844
- bpy/ops/outliner/__init__.pyi +44 -44
- bpy/ops/paint/__init__.pyi +169 -168
- bpy/ops/paintcurve/__init__.pyi +12 -12
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +34 -34
- bpy/ops/pose/__init__.pyi +60 -60
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +150 -150
- bpy/ops/ptcache/__init__.pyi +4 -4
- bpy/ops/render/__init__.pyi +56 -56
- bpy/ops/rigidbody/__init__.pyi +8 -8
- bpy/ops/scene/__init__.pyi +20 -20
- bpy/ops/screen/__init__.pyi +128 -128
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +207 -202
- bpy/ops/sculpt_curves/__init__.pyi +12 -12
- bpy/ops/sequencer/__init__.pyi +465 -464
- bpy/ops/sound/__init__.pyi +154 -154
- bpy/ops/spreadsheet/__init__.pyi +6 -6
- bpy/ops/surface/__init__.pyi +109 -60
- bpy/ops/text/__init__.pyi +110 -110
- bpy/ops/text_editor/__init__.pyi +6 -6
- bpy/ops/transform/__init__.pyi +642 -580
- bpy/ops/ui/__init__.pyi +25 -24
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +235 -234
- bpy/ops/view2d/__init__.pyi +72 -72
- bpy/ops/view3d/__init__.pyi +144 -144
- bpy/ops/wm/__init__.pyi +1814 -1804
- bpy/ops/workspace/__init__.pyi +4 -4
- bpy/types/__init__.pyi +30115 -30082
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/RECORD +78 -78
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/top_level.txt +0 -0
bpy/ops/uv/__init__.pyi
CHANGED
|
@@ -2,6 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import bpy.ops.transform
|
|
4
4
|
import bpy.types
|
|
5
|
+
import mathutils
|
|
5
6
|
|
|
6
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
@@ -49,7 +50,7 @@ def align_rotation(
|
|
|
49
50
|
*,
|
|
50
51
|
method: str | None = "AUTO",
|
|
51
52
|
axis: str | None = "X",
|
|
52
|
-
correct_aspect: bool |
|
|
53
|
+
correct_aspect: bool | None = False,
|
|
53
54
|
):
|
|
54
55
|
"""Align the UV island's rotation
|
|
55
56
|
|
|
@@ -79,7 +80,7 @@ def align_rotation(
|
|
|
79
80
|
Z -- Z axis.
|
|
80
81
|
:type axis: str | None
|
|
81
82
|
:param correct_aspect: Correct Aspect, Take image aspect ratio into account
|
|
82
|
-
:type correct_aspect: bool |
|
|
83
|
+
:type correct_aspect: bool | None
|
|
83
84
|
"""
|
|
84
85
|
|
|
85
86
|
...
|
|
@@ -89,8 +90,8 @@ def average_islands_scale(
|
|
|
89
90
|
execution_context: int | str | None = None,
|
|
90
91
|
undo: bool | None = None,
|
|
91
92
|
*,
|
|
92
|
-
scale_uv: bool |
|
|
93
|
-
shear: bool |
|
|
93
|
+
scale_uv: bool | None = False,
|
|
94
|
+
shear: bool | None = False,
|
|
94
95
|
):
|
|
95
96
|
"""Average the size of separate UV islands, based on their area in 3D space
|
|
96
97
|
|
|
@@ -98,9 +99,9 @@ def average_islands_scale(
|
|
|
98
99
|
:type execution_context: int | str | None
|
|
99
100
|
:type undo: bool | None
|
|
100
101
|
:param scale_uv: Non-Uniform, Scale U and V independently
|
|
101
|
-
:type scale_uv: bool |
|
|
102
|
+
:type scale_uv: bool | None
|
|
102
103
|
:param shear: Shear, Reduce shear within islands
|
|
103
|
-
:type shear: bool |
|
|
104
|
+
:type shear: bool | None
|
|
104
105
|
"""
|
|
105
106
|
|
|
106
107
|
...
|
|
@@ -124,10 +125,10 @@ def cube_project(
|
|
|
124
125
|
execution_context: int | str | None = None,
|
|
125
126
|
undo: bool | None = None,
|
|
126
127
|
*,
|
|
127
|
-
cube_size:
|
|
128
|
-
correct_aspect: bool |
|
|
129
|
-
clip_to_bounds: bool |
|
|
130
|
-
scale_to_bounds: bool |
|
|
128
|
+
cube_size: float | None = 1.0,
|
|
129
|
+
correct_aspect: bool | None = True,
|
|
130
|
+
clip_to_bounds: bool | None = False,
|
|
131
|
+
scale_to_bounds: bool | None = False,
|
|
131
132
|
):
|
|
132
133
|
"""Project the UV vertices of the mesh over the six faces of a cube
|
|
133
134
|
|
|
@@ -135,13 +136,13 @@ def cube_project(
|
|
|
135
136
|
:type execution_context: int | str | None
|
|
136
137
|
:type undo: bool | None
|
|
137
138
|
:param cube_size: Cube Size, Size of the cube to project on
|
|
138
|
-
:type cube_size:
|
|
139
|
+
:type cube_size: float | None
|
|
139
140
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
140
|
-
:type correct_aspect: bool |
|
|
141
|
+
:type correct_aspect: bool | None
|
|
141
142
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
142
|
-
:type clip_to_bounds: bool |
|
|
143
|
+
:type clip_to_bounds: bool | None
|
|
143
144
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
144
|
-
:type scale_to_bounds: bool |
|
|
145
|
+
:type scale_to_bounds: bool | None
|
|
145
146
|
"""
|
|
146
147
|
|
|
147
148
|
...
|
|
@@ -151,7 +152,7 @@ def cursor_set(
|
|
|
151
152
|
execution_context: int | str | None = None,
|
|
152
153
|
undo: bool | None = None,
|
|
153
154
|
*,
|
|
154
|
-
location:
|
|
155
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
155
156
|
):
|
|
156
157
|
"""Set 2D cursor location
|
|
157
158
|
|
|
@@ -159,7 +160,7 @@ def cursor_set(
|
|
|
159
160
|
:type execution_context: int | str | None
|
|
160
161
|
:type undo: bool | None
|
|
161
162
|
:param location: Location, Cursor location in normalized (0.0 to 1.0) coordinates
|
|
162
|
-
:type location:
|
|
163
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
163
164
|
"""
|
|
164
165
|
|
|
165
166
|
...
|
|
@@ -172,11 +173,11 @@ def cylinder_project(
|
|
|
172
173
|
direction: str | None = "VIEW_ON_EQUATOR",
|
|
173
174
|
align: str | None = "POLAR_ZX",
|
|
174
175
|
pole: str | None = "PINCH",
|
|
175
|
-
seam: bool |
|
|
176
|
-
radius:
|
|
177
|
-
correct_aspect: bool |
|
|
178
|
-
clip_to_bounds: bool |
|
|
179
|
-
scale_to_bounds: bool |
|
|
176
|
+
seam: bool | None = False,
|
|
177
|
+
radius: float | None = 1.0,
|
|
178
|
+
correct_aspect: bool | None = True,
|
|
179
|
+
clip_to_bounds: bool | None = False,
|
|
180
|
+
scale_to_bounds: bool | None = False,
|
|
180
181
|
):
|
|
181
182
|
"""Project the UV vertices of the mesh over the curved wall of a cylinder
|
|
182
183
|
|
|
@@ -211,15 +212,15 @@ def cylinder_project(
|
|
|
211
212
|
Fan -- UVs are fanned at the poles.
|
|
212
213
|
:type pole: str | None
|
|
213
214
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
214
|
-
:type seam: bool |
|
|
215
|
+
:type seam: bool | None
|
|
215
216
|
:param radius: Radius, Radius of the sphere or cylinder
|
|
216
|
-
:type radius:
|
|
217
|
+
:type radius: float | None
|
|
217
218
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
218
|
-
:type correct_aspect: bool |
|
|
219
|
+
:type correct_aspect: bool | None
|
|
219
220
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
220
|
-
:type clip_to_bounds: bool |
|
|
221
|
+
:type clip_to_bounds: bool | None
|
|
221
222
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
222
|
-
:type scale_to_bounds: bool |
|
|
223
|
+
:type scale_to_bounds: bool | None
|
|
223
224
|
"""
|
|
224
225
|
|
|
225
226
|
...
|
|
@@ -229,14 +230,14 @@ def export_layout(
|
|
|
229
230
|
execution_context: int | str | None = None,
|
|
230
231
|
undo: bool | None = None,
|
|
231
232
|
*,
|
|
232
|
-
filepath: str
|
|
233
|
-
export_all: bool |
|
|
233
|
+
filepath: str = "",
|
|
234
|
+
export_all: bool | None = False,
|
|
234
235
|
export_tiles: str | None = "NONE",
|
|
235
|
-
modified: bool |
|
|
236
|
+
modified: bool | None = False,
|
|
236
237
|
mode: str | None = "PNG",
|
|
237
|
-
size:
|
|
238
|
-
opacity:
|
|
239
|
-
check_existing: bool |
|
|
238
|
+
size: collections.abc.Iterable[int] | None = (1024, 1024),
|
|
239
|
+
opacity: float | None = 0.25,
|
|
240
|
+
check_existing: bool | None = True,
|
|
240
241
|
):
|
|
241
242
|
"""Export UV layout to file
|
|
242
243
|
|
|
@@ -244,9 +245,9 @@ def export_layout(
|
|
|
244
245
|
:type execution_context: int | str | None
|
|
245
246
|
:type undo: bool | None
|
|
246
247
|
:param filepath: filepath
|
|
247
|
-
:type filepath: str
|
|
248
|
+
:type filepath: str
|
|
248
249
|
:param export_all: All UVs, Export all UVs in this mesh (not just visible ones)
|
|
249
|
-
:type export_all: bool |
|
|
250
|
+
:type export_all: bool | None
|
|
250
251
|
:param export_tiles: Export Tiles, Choose whether to export only the [0, 1] range, or all UV tiles
|
|
251
252
|
|
|
252
253
|
NONE
|
|
@@ -259,7 +260,7 @@ def export_layout(
|
|
|
259
260
|
UVTILE -- Export tiles in the UVTILE numbering scheme: u(u_tile + 1)_v(v_tile + 1).
|
|
260
261
|
:type export_tiles: str | None
|
|
261
262
|
:param modified: Modified, Exports UVs from the modified mesh
|
|
262
|
-
:type modified: bool |
|
|
263
|
+
:type modified: bool | None
|
|
263
264
|
:param mode: Format, File format to export the UV layout to
|
|
264
265
|
|
|
265
266
|
SVG
|
|
@@ -272,11 +273,11 @@ def export_layout(
|
|
|
272
273
|
PNG Image (.png) -- Export the UV layout to a bitmap image.
|
|
273
274
|
:type mode: str | None
|
|
274
275
|
:param size: Size, Dimensions of the exported file
|
|
275
|
-
:type size:
|
|
276
|
+
:type size: collections.abc.Iterable[int] | None
|
|
276
277
|
:param opacity: Fill Opacity, Set amount of opacity for exported UV layout
|
|
277
|
-
:type opacity:
|
|
278
|
+
:type opacity: float | None
|
|
278
279
|
:param check_existing: check_existing
|
|
279
|
-
:type check_existing: bool |
|
|
280
|
+
:type check_existing: bool | None
|
|
280
281
|
"""
|
|
281
282
|
|
|
282
283
|
...
|
|
@@ -313,7 +314,7 @@ def hide(
|
|
|
313
314
|
execution_context: int | str | None = None,
|
|
314
315
|
undo: bool | None = None,
|
|
315
316
|
*,
|
|
316
|
-
unselected: bool |
|
|
317
|
+
unselected: bool | None = False,
|
|
317
318
|
):
|
|
318
319
|
"""Hide (un)selected UV vertices
|
|
319
320
|
|
|
@@ -321,7 +322,7 @@ def hide(
|
|
|
321
322
|
:type execution_context: int | str | None
|
|
322
323
|
:type undo: bool | None
|
|
323
324
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
324
|
-
:type unselected: bool |
|
|
325
|
+
:type unselected: bool | None
|
|
325
326
|
"""
|
|
326
327
|
|
|
327
328
|
...
|
|
@@ -332,10 +333,10 @@ def lightmap_pack(
|
|
|
332
333
|
undo: bool | None = None,
|
|
333
334
|
*,
|
|
334
335
|
PREF_CONTEXT: str | None = "SEL_FACES",
|
|
335
|
-
PREF_PACK_IN_ONE: bool |
|
|
336
|
-
PREF_NEW_UVLAYER: bool |
|
|
337
|
-
PREF_BOX_DIV:
|
|
338
|
-
PREF_MARGIN_DIV:
|
|
336
|
+
PREF_PACK_IN_ONE: bool | None = True,
|
|
337
|
+
PREF_NEW_UVLAYER: bool | None = False,
|
|
338
|
+
PREF_BOX_DIV: int | None = 12,
|
|
339
|
+
PREF_MARGIN_DIV: float | None = 0.1,
|
|
339
340
|
):
|
|
340
341
|
"""Pack each face's UVs into the UV bounds
|
|
341
342
|
|
|
@@ -351,13 +352,13 @@ def lightmap_pack(
|
|
|
351
352
|
All Faces -- Average space UVs edge length of each loop.
|
|
352
353
|
:type PREF_CONTEXT: str | None
|
|
353
354
|
:param PREF_PACK_IN_ONE: Share Texture Space, Objects share texture space, map all objects into a single UV map
|
|
354
|
-
:type PREF_PACK_IN_ONE: bool |
|
|
355
|
+
:type PREF_PACK_IN_ONE: bool | None
|
|
355
356
|
:param PREF_NEW_UVLAYER: New UV Map, Create a new UV map for every mesh packed
|
|
356
|
-
:type PREF_NEW_UVLAYER: bool |
|
|
357
|
+
:type PREF_NEW_UVLAYER: bool | None
|
|
357
358
|
:param PREF_BOX_DIV: Pack Quality, Quality of the packing. Higher values will be slower but waste less space
|
|
358
|
-
:type PREF_BOX_DIV:
|
|
359
|
+
:type PREF_BOX_DIV: int | None
|
|
359
360
|
:param PREF_MARGIN_DIV: Margin, Size of the margin as a division of the UV
|
|
360
|
-
:type PREF_MARGIN_DIV:
|
|
361
|
+
:type PREF_MARGIN_DIV: float | None
|
|
361
362
|
"""
|
|
362
363
|
|
|
363
364
|
...
|
|
@@ -367,7 +368,7 @@ def mark_seam(
|
|
|
367
368
|
execution_context: int | str | None = None,
|
|
368
369
|
undo: bool | None = None,
|
|
369
370
|
*,
|
|
370
|
-
clear: bool |
|
|
371
|
+
clear: bool | None = False,
|
|
371
372
|
):
|
|
372
373
|
"""Mark selected UV edges as seams
|
|
373
374
|
|
|
@@ -375,7 +376,7 @@ def mark_seam(
|
|
|
375
376
|
:type execution_context: int | str | None
|
|
376
377
|
:type undo: bool | None
|
|
377
378
|
:param clear: Clear Seams, Clear instead of marking seams
|
|
378
|
-
:type clear: bool |
|
|
379
|
+
:type clear: bool | None
|
|
379
380
|
"""
|
|
380
381
|
|
|
381
382
|
...
|
|
@@ -385,9 +386,9 @@ def minimize_stretch(
|
|
|
385
386
|
execution_context: int | str | None = None,
|
|
386
387
|
undo: bool | None = None,
|
|
387
388
|
*,
|
|
388
|
-
fill_holes: bool |
|
|
389
|
-
blend:
|
|
390
|
-
iterations:
|
|
389
|
+
fill_holes: bool | None = True,
|
|
390
|
+
blend: float | None = 0.0,
|
|
391
|
+
iterations: int | None = 0,
|
|
391
392
|
):
|
|
392
393
|
"""Reduce UV stretching by relaxing angles
|
|
393
394
|
|
|
@@ -395,11 +396,11 @@ def minimize_stretch(
|
|
|
395
396
|
:type execution_context: int | str | None
|
|
396
397
|
:type undo: bool | None
|
|
397
398
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
398
|
-
:type fill_holes: bool |
|
|
399
|
+
:type fill_holes: bool | None
|
|
399
400
|
:param blend: Blend, Blend factor between stretch minimized and original
|
|
400
|
-
:type blend:
|
|
401
|
+
:type blend: float | None
|
|
401
402
|
:param iterations: Iterations, Number of iterations to run, 0 is unlimited when run interactively
|
|
402
|
-
:type iterations:
|
|
403
|
+
:type iterations: int | None
|
|
403
404
|
"""
|
|
404
405
|
|
|
405
406
|
...
|
|
@@ -410,13 +411,13 @@ def pack_islands(
|
|
|
410
411
|
undo: bool | None = None,
|
|
411
412
|
*,
|
|
412
413
|
udim_source: str | None = "CLOSEST_UDIM",
|
|
413
|
-
rotate: bool |
|
|
414
|
+
rotate: bool | None = True,
|
|
414
415
|
rotate_method: str | None = "ANY",
|
|
415
|
-
scale: bool |
|
|
416
|
-
merge_overlap: bool |
|
|
416
|
+
scale: bool | None = True,
|
|
417
|
+
merge_overlap: bool | None = False,
|
|
417
418
|
margin_method: str | None = "SCALED",
|
|
418
|
-
margin:
|
|
419
|
-
pin: bool |
|
|
419
|
+
margin: float | None = 0.001,
|
|
420
|
+
pin: bool | None = False,
|
|
420
421
|
pin_method: str | None = "LOCKED",
|
|
421
422
|
shape_method: str | None = "CONCAVE",
|
|
422
423
|
):
|
|
@@ -437,7 +438,7 @@ def pack_islands(
|
|
|
437
438
|
Original bounding box -- Pack to starting bounding box of islands.
|
|
438
439
|
:type udim_source: str | None
|
|
439
440
|
:param rotate: Rotate, Rotate islands to improve layout
|
|
440
|
-
:type rotate: bool |
|
|
441
|
+
:type rotate: bool | None
|
|
441
442
|
:param rotate_method: Rotation Method
|
|
442
443
|
|
|
443
444
|
ANY
|
|
@@ -456,9 +457,9 @@ def pack_islands(
|
|
|
456
457
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
457
458
|
:type rotate_method: str | None
|
|
458
459
|
:param scale: Scale, Scale islands to fill unit square
|
|
459
|
-
:type scale: bool |
|
|
460
|
+
:type scale: bool | None
|
|
460
461
|
:param merge_overlap: Merge Overlapping, Overlapping islands stick together
|
|
461
|
-
:type merge_overlap: bool |
|
|
462
|
+
:type merge_overlap: bool | None
|
|
462
463
|
:param margin_method: Margin Method
|
|
463
464
|
|
|
464
465
|
SCALED
|
|
@@ -471,9 +472,9 @@ def pack_islands(
|
|
|
471
472
|
Fraction -- Specify a precise fraction of final UV output.
|
|
472
473
|
:type margin_method: str | None
|
|
473
474
|
:param margin: Margin, Space between islands
|
|
474
|
-
:type margin:
|
|
475
|
+
:type margin: float | None
|
|
475
476
|
:param pin: Lock Pinned Islands, Constrain islands containing any pinned UV's
|
|
476
|
-
:type pin: bool |
|
|
477
|
+
:type pin: bool | None
|
|
477
478
|
:param pin_method: Pin Method
|
|
478
479
|
|
|
479
480
|
SCALE
|
|
@@ -522,8 +523,8 @@ def pin(
|
|
|
522
523
|
execution_context: int | str | None = None,
|
|
523
524
|
undo: bool | None = None,
|
|
524
525
|
*,
|
|
525
|
-
clear: bool |
|
|
526
|
-
invert: bool |
|
|
526
|
+
clear: bool | None = False,
|
|
527
|
+
invert: bool | None = False,
|
|
527
528
|
):
|
|
528
529
|
"""Set/clear selected UV vertices as anchored between multiple unwrap operations
|
|
529
530
|
|
|
@@ -531,9 +532,9 @@ def pin(
|
|
|
531
532
|
:type execution_context: int | str | None
|
|
532
533
|
:type undo: bool | None
|
|
533
534
|
:param clear: Clear, Clear pinning for the selection instead of setting it
|
|
534
|
-
:type clear: bool |
|
|
535
|
+
:type clear: bool | None
|
|
535
536
|
:param invert: Invert, Invert pinning for the selection instead of setting it
|
|
536
|
-
:type invert: bool |
|
|
537
|
+
:type invert: bool | None
|
|
537
538
|
"""
|
|
538
539
|
|
|
539
540
|
...
|
|
@@ -543,11 +544,11 @@ def project_from_view(
|
|
|
543
544
|
execution_context: int | str | None = None,
|
|
544
545
|
undo: bool | None = None,
|
|
545
546
|
*,
|
|
546
|
-
orthographic: bool |
|
|
547
|
-
camera_bounds: bool |
|
|
548
|
-
correct_aspect: bool |
|
|
549
|
-
clip_to_bounds: bool |
|
|
550
|
-
scale_to_bounds: bool |
|
|
547
|
+
orthographic: bool | None = False,
|
|
548
|
+
camera_bounds: bool | None = True,
|
|
549
|
+
correct_aspect: bool | None = True,
|
|
550
|
+
clip_to_bounds: bool | None = False,
|
|
551
|
+
scale_to_bounds: bool | None = False,
|
|
551
552
|
):
|
|
552
553
|
"""Project the UV vertices of the mesh as seen in current 3D view
|
|
553
554
|
|
|
@@ -555,15 +556,15 @@ def project_from_view(
|
|
|
555
556
|
:type execution_context: int | str | None
|
|
556
557
|
:type undo: bool | None
|
|
557
558
|
:param orthographic: Orthographic, Use orthographic projection
|
|
558
|
-
:type orthographic: bool |
|
|
559
|
+
:type orthographic: bool | None
|
|
559
560
|
:param camera_bounds: Camera Bounds, Map UVs to the camera region taking resolution and aspect into account
|
|
560
|
-
:type camera_bounds: bool |
|
|
561
|
+
:type camera_bounds: bool | None
|
|
561
562
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
562
|
-
:type correct_aspect: bool |
|
|
563
|
+
:type correct_aspect: bool | None
|
|
563
564
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
564
|
-
:type clip_to_bounds: bool |
|
|
565
|
+
:type clip_to_bounds: bool | None
|
|
565
566
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
566
|
-
:type scale_to_bounds: bool |
|
|
567
|
+
:type scale_to_bounds: bool | None
|
|
567
568
|
"""
|
|
568
569
|
|
|
569
570
|
...
|
|
@@ -573,14 +574,14 @@ def randomize_uv_transform(
|
|
|
573
574
|
execution_context: int | str | None = None,
|
|
574
575
|
undo: bool | None = None,
|
|
575
576
|
*,
|
|
576
|
-
random_seed:
|
|
577
|
-
use_loc: bool |
|
|
578
|
-
loc:
|
|
579
|
-
use_rot: bool |
|
|
580
|
-
rot:
|
|
581
|
-
use_scale: bool |
|
|
582
|
-
scale_even: bool |
|
|
583
|
-
scale:
|
|
577
|
+
random_seed: int | None = 0,
|
|
578
|
+
use_loc: bool | None = True,
|
|
579
|
+
loc: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
580
|
+
use_rot: bool | None = True,
|
|
581
|
+
rot: float | None = 0.0,
|
|
582
|
+
use_scale: bool | None = True,
|
|
583
|
+
scale_even: bool | None = False,
|
|
584
|
+
scale: collections.abc.Iterable[float] | None = (1.0, 1.0),
|
|
584
585
|
):
|
|
585
586
|
"""Randomize the UV island's location, rotation, and scale
|
|
586
587
|
|
|
@@ -588,21 +589,21 @@ def randomize_uv_transform(
|
|
|
588
589
|
:type execution_context: int | str | None
|
|
589
590
|
:type undo: bool | None
|
|
590
591
|
:param random_seed: Random Seed, Seed value for the random generator
|
|
591
|
-
:type random_seed:
|
|
592
|
+
:type random_seed: int | None
|
|
592
593
|
:param use_loc: Randomize Location, Randomize the location values
|
|
593
|
-
:type use_loc: bool |
|
|
594
|
+
:type use_loc: bool | None
|
|
594
595
|
:param loc: Location, Maximum distance the objects can spread over each axis
|
|
595
|
-
:type loc:
|
|
596
|
+
:type loc: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
596
597
|
:param use_rot: Randomize Rotation, Randomize the rotation value
|
|
597
|
-
:type use_rot: bool |
|
|
598
|
+
:type use_rot: bool | None
|
|
598
599
|
:param rot: Rotation, Maximum rotation
|
|
599
|
-
:type rot:
|
|
600
|
+
:type rot: float | None
|
|
600
601
|
:param use_scale: Randomize Scale, Randomize the scale values
|
|
601
|
-
:type use_scale: bool |
|
|
602
|
+
:type use_scale: bool | None
|
|
602
603
|
:param scale_even: Scale Even, Use the same scale value for both axes
|
|
603
|
-
:type scale_even: bool |
|
|
604
|
+
:type scale_even: bool | None
|
|
604
605
|
:param scale: Scale, Maximum scale randomization over each axis
|
|
605
|
-
:type scale:
|
|
606
|
+
:type scale: collections.abc.Iterable[float] | None
|
|
606
607
|
"""
|
|
607
608
|
|
|
608
609
|
...
|
|
@@ -612,8 +613,8 @@ def remove_doubles(
|
|
|
612
613
|
execution_context: int | str | None = None,
|
|
613
614
|
undo: bool | None = None,
|
|
614
615
|
*,
|
|
615
|
-
threshold:
|
|
616
|
-
use_unselected: bool |
|
|
616
|
+
threshold: float | None = 0.02,
|
|
617
|
+
use_unselected: bool | None = False,
|
|
617
618
|
):
|
|
618
619
|
"""Selected UV vertices that are within a radius of each other are welded together
|
|
619
620
|
|
|
@@ -621,9 +622,9 @@ def remove_doubles(
|
|
|
621
622
|
:type execution_context: int | str | None
|
|
622
623
|
:type undo: bool | None
|
|
623
624
|
:param threshold: Merge Distance, Maximum distance between welded vertices
|
|
624
|
-
:type threshold:
|
|
625
|
+
:type threshold: float | None
|
|
625
626
|
:param use_unselected: Unselected, Merge selected to other unselected vertices
|
|
626
|
-
:type use_unselected: bool |
|
|
627
|
+
:type use_unselected: bool | None
|
|
627
628
|
"""
|
|
628
629
|
|
|
629
630
|
...
|
|
@@ -647,7 +648,7 @@ def reveal(
|
|
|
647
648
|
execution_context: int | str | None = None,
|
|
648
649
|
undo: bool | None = None,
|
|
649
650
|
*,
|
|
650
|
-
select: bool |
|
|
651
|
+
select: bool | None = True,
|
|
651
652
|
):
|
|
652
653
|
"""Reveal all hidden UV vertices
|
|
653
654
|
|
|
@@ -655,7 +656,7 @@ def reveal(
|
|
|
655
656
|
:type execution_context: int | str | None
|
|
656
657
|
:type undo: bool | None
|
|
657
658
|
:param select: Select
|
|
658
|
-
:type select: bool |
|
|
659
|
+
:type select: bool | None
|
|
659
660
|
"""
|
|
660
661
|
|
|
661
662
|
...
|
|
@@ -665,10 +666,10 @@ def rip(
|
|
|
665
666
|
execution_context: int | str | None = None,
|
|
666
667
|
undo: bool | None = None,
|
|
667
668
|
*,
|
|
668
|
-
mirror: bool |
|
|
669
|
-
release_confirm: bool |
|
|
670
|
-
use_accurate: bool |
|
|
671
|
-
location:
|
|
669
|
+
mirror: bool | None = False,
|
|
670
|
+
release_confirm: bool | None = False,
|
|
671
|
+
use_accurate: bool | None = False,
|
|
672
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
672
673
|
):
|
|
673
674
|
"""Rip selected vertices or a selected region
|
|
674
675
|
|
|
@@ -676,13 +677,13 @@ def rip(
|
|
|
676
677
|
:type execution_context: int | str | None
|
|
677
678
|
:type undo: bool | None
|
|
678
679
|
:param mirror: Mirror Editing
|
|
679
|
-
:type mirror: bool |
|
|
680
|
+
:type mirror: bool | None
|
|
680
681
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
681
|
-
:type release_confirm: bool |
|
|
682
|
+
:type release_confirm: bool | None
|
|
682
683
|
:param use_accurate: Accurate, Use accurate transformation
|
|
683
|
-
:type use_accurate: bool |
|
|
684
|
+
:type use_accurate: bool | None
|
|
684
685
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
685
|
-
:type location:
|
|
686
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
686
687
|
"""
|
|
687
688
|
|
|
688
689
|
...
|
|
@@ -713,8 +714,8 @@ def seams_from_islands(
|
|
|
713
714
|
execution_context: int | str | None = None,
|
|
714
715
|
undo: bool | None = None,
|
|
715
716
|
*,
|
|
716
|
-
mark_seams: bool |
|
|
717
|
-
mark_sharp: bool |
|
|
717
|
+
mark_seams: bool | None = True,
|
|
718
|
+
mark_sharp: bool | None = False,
|
|
718
719
|
):
|
|
719
720
|
"""Set mesh seams according to island setup in the UV editor
|
|
720
721
|
|
|
@@ -722,9 +723,9 @@ def seams_from_islands(
|
|
|
722
723
|
:type execution_context: int | str | None
|
|
723
724
|
:type undo: bool | None
|
|
724
725
|
:param mark_seams: Mark Seams, Mark boundary edges as seams
|
|
725
|
-
:type mark_seams: bool |
|
|
726
|
+
:type mark_seams: bool | None
|
|
726
727
|
:param mark_sharp: Mark Sharp, Mark boundary edges as sharp
|
|
727
|
-
:type mark_sharp: bool |
|
|
728
|
+
:type mark_sharp: bool | None
|
|
728
729
|
"""
|
|
729
730
|
|
|
730
731
|
...
|
|
@@ -734,12 +735,12 @@ def select(
|
|
|
734
735
|
execution_context: int | str | None = None,
|
|
735
736
|
undo: bool | None = None,
|
|
736
737
|
*,
|
|
737
|
-
extend: bool |
|
|
738
|
-
deselect: bool |
|
|
739
|
-
toggle: bool |
|
|
740
|
-
deselect_all: bool |
|
|
741
|
-
select_passthrough: bool |
|
|
742
|
-
location:
|
|
738
|
+
extend: bool | None = False,
|
|
739
|
+
deselect: bool | None = False,
|
|
740
|
+
toggle: bool | None = False,
|
|
741
|
+
deselect_all: bool | None = False,
|
|
742
|
+
select_passthrough: bool | None = False,
|
|
743
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
743
744
|
):
|
|
744
745
|
"""Select UV vertices
|
|
745
746
|
|
|
@@ -747,17 +748,17 @@ def select(
|
|
|
747
748
|
:type execution_context: int | str | None
|
|
748
749
|
:type undo: bool | None
|
|
749
750
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
750
|
-
:type extend: bool |
|
|
751
|
+
:type extend: bool | None
|
|
751
752
|
:param deselect: Deselect, Remove from selection
|
|
752
|
-
:type deselect: bool |
|
|
753
|
+
:type deselect: bool | None
|
|
753
754
|
:param toggle: Toggle Selection, Toggle the selection
|
|
754
|
-
:type toggle: bool |
|
|
755
|
+
:type toggle: bool | None
|
|
755
756
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
756
|
-
:type deselect_all: bool |
|
|
757
|
+
:type deselect_all: bool | None
|
|
757
758
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
758
|
-
:type select_passthrough: bool |
|
|
759
|
+
:type select_passthrough: bool | None
|
|
759
760
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
760
|
-
:type location:
|
|
761
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
761
762
|
"""
|
|
762
763
|
|
|
763
764
|
...
|
|
@@ -797,12 +798,12 @@ def select_box(
|
|
|
797
798
|
execution_context: int | str | None = None,
|
|
798
799
|
undo: bool | None = None,
|
|
799
800
|
*,
|
|
800
|
-
pinned: bool |
|
|
801
|
-
xmin:
|
|
802
|
-
xmax:
|
|
803
|
-
ymin:
|
|
804
|
-
ymax:
|
|
805
|
-
wait_for_input: bool |
|
|
801
|
+
pinned: bool | None = False,
|
|
802
|
+
xmin: int | None = 0,
|
|
803
|
+
xmax: int | None = 0,
|
|
804
|
+
ymin: int | None = 0,
|
|
805
|
+
ymax: int | None = 0,
|
|
806
|
+
wait_for_input: bool | None = True,
|
|
806
807
|
mode: str | None = "SET",
|
|
807
808
|
):
|
|
808
809
|
"""Select UV vertices using box selection
|
|
@@ -811,17 +812,17 @@ def select_box(
|
|
|
811
812
|
:type execution_context: int | str | None
|
|
812
813
|
:type undo: bool | None
|
|
813
814
|
:param pinned: Pinned, Border select pinned UVs only
|
|
814
|
-
:type pinned: bool |
|
|
815
|
+
:type pinned: bool | None
|
|
815
816
|
:param xmin: X Min
|
|
816
|
-
:type xmin:
|
|
817
|
+
:type xmin: int | None
|
|
817
818
|
:param xmax: X Max
|
|
818
|
-
:type xmax:
|
|
819
|
+
:type xmax: int | None
|
|
819
820
|
:param ymin: Y Min
|
|
820
|
-
:type ymin:
|
|
821
|
+
:type ymin: int | None
|
|
821
822
|
:param ymax: Y Max
|
|
822
|
-
:type ymax:
|
|
823
|
+
:type ymax: int | None
|
|
823
824
|
:param wait_for_input: Wait for Input
|
|
824
|
-
:type wait_for_input: bool |
|
|
825
|
+
:type wait_for_input: bool | None
|
|
825
826
|
:param mode: Mode
|
|
826
827
|
|
|
827
828
|
SET
|
|
@@ -842,10 +843,10 @@ def select_circle(
|
|
|
842
843
|
execution_context: int | str | None = None,
|
|
843
844
|
undo: bool | None = None,
|
|
844
845
|
*,
|
|
845
|
-
x:
|
|
846
|
-
y:
|
|
847
|
-
radius:
|
|
848
|
-
wait_for_input: bool |
|
|
846
|
+
x: int | None = 0,
|
|
847
|
+
y: int | None = 0,
|
|
848
|
+
radius: int | None = 25,
|
|
849
|
+
wait_for_input: bool | None = True,
|
|
849
850
|
mode: str | None = "SET",
|
|
850
851
|
):
|
|
851
852
|
"""Select UV vertices using circle selection
|
|
@@ -854,13 +855,13 @@ def select_circle(
|
|
|
854
855
|
:type execution_context: int | str | None
|
|
855
856
|
:type undo: bool | None
|
|
856
857
|
:param x: X
|
|
857
|
-
:type x:
|
|
858
|
+
:type x: int | None
|
|
858
859
|
:param y: Y
|
|
859
|
-
:type y:
|
|
860
|
+
:type y: int | None
|
|
860
861
|
:param radius: Radius
|
|
861
|
-
:type radius:
|
|
862
|
+
:type radius: int | None
|
|
862
863
|
:param wait_for_input: Wait for Input
|
|
863
|
-
:type wait_for_input: bool |
|
|
864
|
+
:type wait_for_input: bool | None
|
|
864
865
|
:param mode: Mode
|
|
865
866
|
|
|
866
867
|
SET
|
|
@@ -881,8 +882,8 @@ def select_edge_ring(
|
|
|
881
882
|
execution_context: int | str | None = None,
|
|
882
883
|
undo: bool | None = None,
|
|
883
884
|
*,
|
|
884
|
-
extend: bool |
|
|
885
|
-
location:
|
|
885
|
+
extend: bool | None = False,
|
|
886
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
886
887
|
):
|
|
887
888
|
"""Select an edge ring of connected UV vertices
|
|
888
889
|
|
|
@@ -890,9 +891,9 @@ def select_edge_ring(
|
|
|
890
891
|
:type execution_context: int | str | None
|
|
891
892
|
:type undo: bool | None
|
|
892
893
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
893
|
-
:type extend: bool |
|
|
894
|
+
:type extend: bool | None
|
|
894
895
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
895
|
-
:type location:
|
|
896
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
896
897
|
"""
|
|
897
898
|
|
|
898
899
|
...
|
|
@@ -960,9 +961,9 @@ def select_linked_pick(
|
|
|
960
961
|
execution_context: int | str | None = None,
|
|
961
962
|
undo: bool | None = None,
|
|
962
963
|
*,
|
|
963
|
-
extend: bool |
|
|
964
|
-
deselect: bool |
|
|
965
|
-
location:
|
|
964
|
+
extend: bool | None = False,
|
|
965
|
+
deselect: bool | None = False,
|
|
966
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
966
967
|
):
|
|
967
968
|
"""Select all UV vertices linked under the mouse
|
|
968
969
|
|
|
@@ -970,11 +971,11 @@ def select_linked_pick(
|
|
|
970
971
|
:type execution_context: int | str | None
|
|
971
972
|
:type undo: bool | None
|
|
972
973
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
973
|
-
:type extend: bool |
|
|
974
|
+
:type extend: bool | None
|
|
974
975
|
:param deselect: Deselect, Deselect linked UV vertices rather than selecting them
|
|
975
|
-
:type deselect: bool |
|
|
976
|
+
:type deselect: bool | None
|
|
976
977
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
977
|
-
:type location:
|
|
978
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
978
979
|
"""
|
|
979
980
|
|
|
980
981
|
...
|
|
@@ -984,8 +985,8 @@ def select_loop(
|
|
|
984
985
|
execution_context: int | str | None = None,
|
|
985
986
|
undo: bool | None = None,
|
|
986
987
|
*,
|
|
987
|
-
extend: bool |
|
|
988
|
-
location:
|
|
988
|
+
extend: bool | None = False,
|
|
989
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
989
990
|
):
|
|
990
991
|
"""Select a loop of connected UV vertices
|
|
991
992
|
|
|
@@ -993,9 +994,9 @@ def select_loop(
|
|
|
993
994
|
:type execution_context: int | str | None
|
|
994
995
|
:type undo: bool | None
|
|
995
996
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
996
|
-
:type extend: bool |
|
|
997
|
+
:type extend: bool | None
|
|
997
998
|
:param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
|
|
998
|
-
:type location:
|
|
999
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
999
1000
|
"""
|
|
1000
1001
|
|
|
1001
1002
|
...
|
|
@@ -1037,7 +1038,7 @@ def select_overlap(
|
|
|
1037
1038
|
execution_context: int | str | None = None,
|
|
1038
1039
|
undo: bool | None = None,
|
|
1039
1040
|
*,
|
|
1040
|
-
extend: bool |
|
|
1041
|
+
extend: bool | None = False,
|
|
1041
1042
|
):
|
|
1042
1043
|
"""Select all UV faces which overlap each other
|
|
1043
1044
|
|
|
@@ -1045,7 +1046,7 @@ def select_overlap(
|
|
|
1045
1046
|
:type execution_context: int | str | None
|
|
1046
1047
|
:type undo: bool | None
|
|
1047
1048
|
:param extend: Extend, Extend selection rather than clearing the existing selection
|
|
1048
|
-
:type extend: bool |
|
|
1049
|
+
:type extend: bool | None
|
|
1049
1050
|
"""
|
|
1050
1051
|
|
|
1051
1052
|
...
|
|
@@ -1071,7 +1072,7 @@ def select_similar(
|
|
|
1071
1072
|
*,
|
|
1072
1073
|
type: str | None = "PIN",
|
|
1073
1074
|
compare: str | None = "EQUAL",
|
|
1074
|
-
threshold:
|
|
1075
|
+
threshold: float | None = 0.0,
|
|
1075
1076
|
):
|
|
1076
1077
|
"""Select similar UVs by property types
|
|
1077
1078
|
|
|
@@ -1083,7 +1084,7 @@ def select_similar(
|
|
|
1083
1084
|
:param compare: Compare
|
|
1084
1085
|
:type compare: str | None
|
|
1085
1086
|
:param threshold: Threshold
|
|
1086
|
-
:type threshold:
|
|
1087
|
+
:type threshold: float | None
|
|
1087
1088
|
"""
|
|
1088
1089
|
|
|
1089
1090
|
...
|
|
@@ -1107,14 +1108,14 @@ def shortest_path_pick(
|
|
|
1107
1108
|
execution_context: int | str | None = None,
|
|
1108
1109
|
undo: bool | None = None,
|
|
1109
1110
|
*,
|
|
1110
|
-
use_face_step: bool |
|
|
1111
|
-
use_topology_distance: bool |
|
|
1112
|
-
use_fill: bool |
|
|
1113
|
-
skip:
|
|
1114
|
-
nth:
|
|
1115
|
-
offset:
|
|
1116
|
-
object_index:
|
|
1117
|
-
index:
|
|
1111
|
+
use_face_step: bool | None = False,
|
|
1112
|
+
use_topology_distance: bool | None = False,
|
|
1113
|
+
use_fill: bool | None = False,
|
|
1114
|
+
skip: int | None = 0,
|
|
1115
|
+
nth: int | None = 1,
|
|
1116
|
+
offset: int | None = 0,
|
|
1117
|
+
object_index: int | None = -1,
|
|
1118
|
+
index: int | None = -1,
|
|
1118
1119
|
):
|
|
1119
1120
|
"""Select shortest path between two selections
|
|
1120
1121
|
|
|
@@ -1122,19 +1123,19 @@ def shortest_path_pick(
|
|
|
1122
1123
|
:type execution_context: int | str | None
|
|
1123
1124
|
:type undo: bool | None
|
|
1124
1125
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
1125
|
-
:type use_face_step: bool |
|
|
1126
|
+
:type use_face_step: bool | None
|
|
1126
1127
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
1127
|
-
:type use_topology_distance: bool |
|
|
1128
|
+
:type use_topology_distance: bool | None
|
|
1128
1129
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
1129
|
-
:type use_fill: bool |
|
|
1130
|
+
:type use_fill: bool | None
|
|
1130
1131
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
1131
|
-
:type skip:
|
|
1132
|
+
:type skip: int | None
|
|
1132
1133
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
1133
|
-
:type nth:
|
|
1134
|
+
:type nth: int | None
|
|
1134
1135
|
:param offset: Offset, Offset from the starting point
|
|
1135
|
-
:type offset:
|
|
1136
|
-
:type object_index:
|
|
1137
|
-
:type index:
|
|
1136
|
+
:type offset: int | None
|
|
1137
|
+
:type object_index: int | None
|
|
1138
|
+
:type index: int | None
|
|
1138
1139
|
"""
|
|
1139
1140
|
|
|
1140
1141
|
...
|
|
@@ -1144,12 +1145,12 @@ def shortest_path_select(
|
|
|
1144
1145
|
execution_context: int | str | None = None,
|
|
1145
1146
|
undo: bool | None = None,
|
|
1146
1147
|
*,
|
|
1147
|
-
use_face_step: bool |
|
|
1148
|
-
use_topology_distance: bool |
|
|
1149
|
-
use_fill: bool |
|
|
1150
|
-
skip:
|
|
1151
|
-
nth:
|
|
1152
|
-
offset:
|
|
1148
|
+
use_face_step: bool | None = False,
|
|
1149
|
+
use_topology_distance: bool | None = False,
|
|
1150
|
+
use_fill: bool | None = False,
|
|
1151
|
+
skip: int | None = 0,
|
|
1152
|
+
nth: int | None = 1,
|
|
1153
|
+
offset: int | None = 0,
|
|
1153
1154
|
):
|
|
1154
1155
|
"""Selected shortest path between two vertices/edges/faces
|
|
1155
1156
|
|
|
@@ -1157,17 +1158,17 @@ def shortest_path_select(
|
|
|
1157
1158
|
:type execution_context: int | str | None
|
|
1158
1159
|
:type undo: bool | None
|
|
1159
1160
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
1160
|
-
:type use_face_step: bool |
|
|
1161
|
+
:type use_face_step: bool | None
|
|
1161
1162
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
1162
|
-
:type use_topology_distance: bool |
|
|
1163
|
+
:type use_topology_distance: bool | None
|
|
1163
1164
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
1164
|
-
:type use_fill: bool |
|
|
1165
|
+
:type use_fill: bool | None
|
|
1165
1166
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
1166
|
-
:type skip:
|
|
1167
|
+
:type skip: int | None
|
|
1167
1168
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
1168
|
-
:type nth:
|
|
1169
|
+
:type nth: int | None
|
|
1169
1170
|
:param offset: Offset, Offset from the starting point
|
|
1170
|
-
:type offset:
|
|
1171
|
+
:type offset: int | None
|
|
1171
1172
|
"""
|
|
1172
1173
|
|
|
1173
1174
|
...
|
|
@@ -1177,13 +1178,13 @@ def smart_project(
|
|
|
1177
1178
|
execution_context: int | str | None = None,
|
|
1178
1179
|
undo: bool | None = None,
|
|
1179
1180
|
*,
|
|
1180
|
-
angle_limit:
|
|
1181
|
+
angle_limit: float | None = 1.15192,
|
|
1181
1182
|
margin_method: str | None = "SCALED",
|
|
1182
1183
|
rotate_method: str | None = "AXIS_ALIGNED_Y",
|
|
1183
|
-
island_margin:
|
|
1184
|
-
area_weight:
|
|
1185
|
-
correct_aspect: bool |
|
|
1186
|
-
scale_to_bounds: bool |
|
|
1184
|
+
island_margin: float | None = 0.0,
|
|
1185
|
+
area_weight: float | None = 0.0,
|
|
1186
|
+
correct_aspect: bool | None = True,
|
|
1187
|
+
scale_to_bounds: bool | None = False,
|
|
1187
1188
|
):
|
|
1188
1189
|
"""Projection unwraps the selected faces of mesh objects
|
|
1189
1190
|
|
|
@@ -1191,7 +1192,7 @@ def smart_project(
|
|
|
1191
1192
|
:type execution_context: int | str | None
|
|
1192
1193
|
:type undo: bool | None
|
|
1193
1194
|
:param angle_limit: Angle Limit, Lower for more projection groups, higher for less distortion
|
|
1194
|
-
:type angle_limit:
|
|
1195
|
+
:type angle_limit: float | None
|
|
1195
1196
|
:param margin_method: Margin Method
|
|
1196
1197
|
|
|
1197
1198
|
SCALED
|
|
@@ -1215,13 +1216,13 @@ def smart_project(
|
|
|
1215
1216
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
1216
1217
|
:type rotate_method: str | None
|
|
1217
1218
|
:param island_margin: Island Margin, Margin to reduce bleed from adjacent islands
|
|
1218
|
-
:type island_margin:
|
|
1219
|
+
:type island_margin: float | None
|
|
1219
1220
|
:param area_weight: Area Weight, Weight projection's vector by faces with larger areas
|
|
1220
|
-
:type area_weight:
|
|
1221
|
+
:type area_weight: float | None
|
|
1221
1222
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
1222
|
-
:type correct_aspect: bool |
|
|
1223
|
+
:type correct_aspect: bool | None
|
|
1223
1224
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
1224
|
-
:type scale_to_bounds: bool |
|
|
1225
|
+
:type scale_to_bounds: bool | None
|
|
1225
1226
|
"""
|
|
1226
1227
|
|
|
1227
1228
|
...
|
|
@@ -1270,10 +1271,10 @@ def sphere_project(
|
|
|
1270
1271
|
direction: str | None = "VIEW_ON_EQUATOR",
|
|
1271
1272
|
align: str | None = "POLAR_ZX",
|
|
1272
1273
|
pole: str | None = "PINCH",
|
|
1273
|
-
seam: bool |
|
|
1274
|
-
correct_aspect: bool |
|
|
1275
|
-
clip_to_bounds: bool |
|
|
1276
|
-
scale_to_bounds: bool |
|
|
1274
|
+
seam: bool | None = False,
|
|
1275
|
+
correct_aspect: bool | None = True,
|
|
1276
|
+
clip_to_bounds: bool | None = False,
|
|
1277
|
+
scale_to_bounds: bool | None = False,
|
|
1277
1278
|
):
|
|
1278
1279
|
"""Project the UV vertices of the mesh over the curved surface of a sphere
|
|
1279
1280
|
|
|
@@ -1308,13 +1309,13 @@ def sphere_project(
|
|
|
1308
1309
|
Fan -- UVs are fanned at the poles.
|
|
1309
1310
|
:type pole: str | None
|
|
1310
1311
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
1311
|
-
:type seam: bool |
|
|
1312
|
+
:type seam: bool | None
|
|
1312
1313
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
1313
|
-
:type correct_aspect: bool |
|
|
1314
|
+
:type correct_aspect: bool | None
|
|
1314
1315
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
1315
|
-
:type clip_to_bounds: bool |
|
|
1316
|
+
:type clip_to_bounds: bool | None
|
|
1316
1317
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
1317
|
-
:type scale_to_bounds: bool |
|
|
1318
|
+
:type scale_to_bounds: bool | None
|
|
1318
1319
|
"""
|
|
1319
1320
|
|
|
1320
1321
|
...
|
|
@@ -1324,17 +1325,17 @@ def stitch(
|
|
|
1324
1325
|
execution_context: int | str | None = None,
|
|
1325
1326
|
undo: bool | None = None,
|
|
1326
1327
|
*,
|
|
1327
|
-
use_limit: bool |
|
|
1328
|
-
snap_islands: bool |
|
|
1329
|
-
limit:
|
|
1330
|
-
static_island:
|
|
1331
|
-
active_object_index:
|
|
1332
|
-
midpoint_snap: bool |
|
|
1333
|
-
clear_seams: bool |
|
|
1328
|
+
use_limit: bool | None = False,
|
|
1329
|
+
snap_islands: bool | None = True,
|
|
1330
|
+
limit: float | None = 0.01,
|
|
1331
|
+
static_island: int | None = 0,
|
|
1332
|
+
active_object_index: int | None = 0,
|
|
1333
|
+
midpoint_snap: bool | None = False,
|
|
1334
|
+
clear_seams: bool | None = True,
|
|
1334
1335
|
mode: str | None = "VERTEX",
|
|
1335
1336
|
stored_mode: str | None = "VERTEX",
|
|
1336
1337
|
selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None = None,
|
|
1337
|
-
objects_selection_count:
|
|
1338
|
+
objects_selection_count: collections.abc.Iterable[int] | None = (0, 0, 0, 0, 0, 0),
|
|
1338
1339
|
):
|
|
1339
1340
|
"""Stitch selected UV vertices by proximity
|
|
1340
1341
|
|
|
@@ -1342,19 +1343,19 @@ def stitch(
|
|
|
1342
1343
|
:type execution_context: int | str | None
|
|
1343
1344
|
:type undo: bool | None
|
|
1344
1345
|
:param use_limit: Use Limit, Stitch UVs within a specified limit distance
|
|
1345
|
-
:type use_limit: bool |
|
|
1346
|
+
:type use_limit: bool | None
|
|
1346
1347
|
:param snap_islands: Snap Islands, Snap islands together (on edge stitch mode, rotates the islands too)
|
|
1347
|
-
:type snap_islands: bool |
|
|
1348
|
+
:type snap_islands: bool | None
|
|
1348
1349
|
:param limit: Limit, Limit distance in normalized coordinates
|
|
1349
|
-
:type limit:
|
|
1350
|
+
:type limit: float | None
|
|
1350
1351
|
:param static_island: Static Island, Island that stays in place when stitching islands
|
|
1351
|
-
:type static_island:
|
|
1352
|
+
:type static_island: int | None
|
|
1352
1353
|
:param active_object_index: Active Object, Index of the active object
|
|
1353
|
-
:type active_object_index:
|
|
1354
|
+
:type active_object_index: int | None
|
|
1354
1355
|
:param midpoint_snap: Snap at Midpoint, UVs are stitched at midpoint instead of at static island
|
|
1355
|
-
:type midpoint_snap: bool |
|
|
1356
|
+
:type midpoint_snap: bool | None
|
|
1356
1357
|
:param clear_seams: Clear Seams, Clear seams of stitched edges
|
|
1357
|
-
:type clear_seams: bool |
|
|
1358
|
+
:type clear_seams: bool | None
|
|
1358
1359
|
:param mode: Operation Mode, Use vertex or edge stitching
|
|
1359
1360
|
:type mode: str | None
|
|
1360
1361
|
:param stored_mode: Stored Operation Mode, Use vertex or edge stitching
|
|
@@ -1362,7 +1363,7 @@ def stitch(
|
|
|
1362
1363
|
:param selection: Selection
|
|
1363
1364
|
:type selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None
|
|
1364
1365
|
:param objects_selection_count: Objects Selection Count
|
|
1365
|
-
:type objects_selection_count:
|
|
1366
|
+
:type objects_selection_count: collections.abc.Iterable[int] | None
|
|
1366
1367
|
"""
|
|
1367
1368
|
|
|
1368
1369
|
...
|
|
@@ -1373,11 +1374,11 @@ def unwrap(
|
|
|
1373
1374
|
undo: bool | None = None,
|
|
1374
1375
|
*,
|
|
1375
1376
|
method: str | None = "ANGLE_BASED",
|
|
1376
|
-
fill_holes: bool |
|
|
1377
|
-
correct_aspect: bool |
|
|
1378
|
-
use_subsurf_data: bool |
|
|
1377
|
+
fill_holes: bool | None = True,
|
|
1378
|
+
correct_aspect: bool | None = True,
|
|
1379
|
+
use_subsurf_data: bool | None = False,
|
|
1379
1380
|
margin_method: str | None = "SCALED",
|
|
1380
|
-
margin:
|
|
1381
|
+
margin: float | None = 0.001,
|
|
1381
1382
|
):
|
|
1382
1383
|
"""Unwrap the mesh of the object being edited
|
|
1383
1384
|
|
|
@@ -1387,11 +1388,11 @@ def unwrap(
|
|
|
1387
1388
|
:param method: Method, Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower)
|
|
1388
1389
|
:type method: str | None
|
|
1389
1390
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
1390
|
-
:type fill_holes: bool |
|
|
1391
|
+
:type fill_holes: bool | None
|
|
1391
1392
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
1392
|
-
:type correct_aspect: bool |
|
|
1393
|
+
:type correct_aspect: bool | None
|
|
1393
1394
|
:param use_subsurf_data: Use Subdivision Surface, Map UVs taking vertex position after Subdivision Surface modifier has been applied
|
|
1394
|
-
:type use_subsurf_data: bool |
|
|
1395
|
+
:type use_subsurf_data: bool | None
|
|
1395
1396
|
:param margin_method: Margin Method
|
|
1396
1397
|
|
|
1397
1398
|
SCALED
|
|
@@ -1404,7 +1405,7 @@ def unwrap(
|
|
|
1404
1405
|
Fraction -- Specify a precise fraction of final UV output.
|
|
1405
1406
|
:type margin_method: str | None
|
|
1406
1407
|
:param margin: Margin, Space between islands
|
|
1407
|
-
:type margin:
|
|
1408
|
+
:type margin: float | None
|
|
1408
1409
|
"""
|
|
1409
1410
|
|
|
1410
1411
|
...
|