fake-bpy-module 20240508__py3-none-any.whl → 20240510__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.
- bmesh/ops/__init__.pyi +106 -106
- bpy/ops/action/__init__.pyi +152 -76
- bpy/ops/anim/__init__.pyi +212 -106
- bpy/ops/armature/__init__.pyi +192 -96
- bpy/ops/asset/__init__.pyi +64 -32
- bpy/ops/boid/__init__.pyi +32 -16
- bpy/ops/brush/__init__.pyi +36 -18
- bpy/ops/buttons/__init__.pyi +24 -12
- bpy/ops/cachefile/__init__.pyi +20 -10
- bpy/ops/camera/__init__.pyi +8 -4
- bpy/ops/clip/__init__.pyi +368 -184
- bpy/ops/cloth/__init__.pyi +4 -2
- bpy/ops/collection/__init__.pyi +36 -18
- bpy/ops/console/__init__.pyi +84 -42
- bpy/ops/constraint/__init__.pyi +72 -36
- bpy/ops/curve/__init__.pyi +204 -102
- bpy/ops/curves/__init__.pyi +108 -54
- bpy/ops/cycles/__init__.pyi +12 -6
- bpy/ops/dpaint/__init__.pyi +20 -10
- bpy/ops/ed/__init__.pyi +48 -24
- bpy/ops/export_anim/__init__.pyi +4 -2
- bpy/ops/export_mesh/__init__.pyi +4 -2
- bpy/ops/export_scene/__init__.pyi +15 -9
- bpy/ops/file/__init__.pyi +160 -80
- bpy/ops/fluid/__init__.pyi +56 -28
- bpy/ops/font/__init__.pyi +92 -46
- bpy/ops/geometry/__init__.pyi +40 -20
- bpy/ops/gizmogroup/__init__.pyi +8 -4
- bpy/ops/gpencil/__init__.pyi +600 -300
- bpy/ops/graph/__init__.pyi +260 -130
- bpy/ops/grease_pencil/__init__.pyi +268 -134
- bpy/ops/image/__init__.pyi +188 -94
- bpy/ops/import_anim/__init__.pyi +4 -2
- bpy/ops/import_curve/__init__.pyi +4 -2
- bpy/ops/import_mesh/__init__.pyi +4 -2
- bpy/ops/import_scene/__init__.pyi +12 -6
- bpy/ops/info/__init__.pyi +28 -14
- bpy/ops/lattice/__init__.pyi +32 -16
- bpy/ops/marker/__init__.pyi +44 -22
- bpy/ops/mask/__init__.pyi +156 -78
- bpy/ops/material/__init__.pyi +12 -6
- bpy/ops/mball/__init__.pyi +32 -16
- bpy/ops/mesh/__init__.pyi +652 -326
- bpy/ops/nla/__init__.pyi +158 -80
- bpy/ops/node/__init__.pyi +404 -202
- bpy/ops/object/__init__.pyi +1002 -490
- bpy/ops/outliner/__init__.pyi +276 -138
- bpy/ops/paint/__init__.pyi +212 -106
- bpy/ops/paintcurve/__init__.pyi +32 -16
- bpy/ops/palette/__init__.pyi +28 -14
- bpy/ops/particle/__init__.pyi +144 -72
- bpy/ops/pose/__init__.pyi +156 -78
- bpy/ops/poselib/__init__.pyi +36 -18
- bpy/ops/preferences/__init__.pyi +152 -76
- bpy/ops/ptcache/__init__.pyi +28 -14
- bpy/ops/render/__init__.pyi +48 -24
- bpy/ops/rigidbody/__init__.pyi +52 -26
- bpy/ops/scene/__init__.pyi +156 -78
- bpy/ops/screen/__init__.pyi +156 -78
- bpy/ops/script/__init__.pyi +12 -6
- bpy/ops/sculpt/__init__.pyi +134 -68
- bpy/ops/sculpt_curves/__init__.pyi +16 -8
- bpy/ops/sequencer/__init__.pyi +340 -170
- bpy/ops/sound/__init__.pyi +28 -14
- bpy/ops/spreadsheet/__init__.pyi +16 -8
- bpy/ops/surface/__init__.pyi +24 -12
- bpy/ops/text/__init__.pyi +172 -86
- bpy/ops/text_editor/__init__.pyi +4 -2
- bpy/ops/texture/__init__.pyi +16 -8
- bpy/ops/transform/__init__.pyi +108 -54
- bpy/ops/ui/__init__.pyi +132 -66
- bpy/ops/uilist/__init__.pyi +12 -6
- bpy/ops/uv/__init__.pyi +196 -98
- bpy/ops/view2d/__init__.pyi +56 -28
- bpy/ops/view3d/__init__.pyi +268 -134
- bpy/ops/wm/__init__.pyi +496 -227
- bpy/ops/workspace/__init__.pyi +28 -14
- bpy/ops/world/__init__.pyi +4 -2
- bpy/types/__init__.pyi +434 -37
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/RECORD +84 -84
- mathutils/__init__.pyi +20 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/top_level.txt +0 -0
bmesh/ops/__init__.pyi
CHANGED
|
@@ -41,7 +41,7 @@ def beautify_fill(
|
|
|
41
41
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
42
42
|
use_restrict_tag: bool = False,
|
|
43
43
|
method: typing.Union[str, int] = "AREA",
|
|
44
|
-
) -> typing.Dict:
|
|
44
|
+
) -> typing.Dict[str, typing.Any]:
|
|
45
45
|
"""Beautify Fill.Rotate edges to create more evenly spaced triangles.
|
|
46
46
|
|
|
47
47
|
:param bm: The bmesh to operate on.
|
|
@@ -57,7 +57,7 @@ def beautify_fill(
|
|
|
57
57
|
:return: geom: new flipped faces and edges
|
|
58
58
|
|
|
59
59
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
60
|
-
:rtype: typing.Dict
|
|
60
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
...
|
|
@@ -87,7 +87,7 @@ def bevel(
|
|
|
87
87
|
spread: float = 0,
|
|
88
88
|
custom_profile: bpy.types.bpy_struct = None,
|
|
89
89
|
vmesh_method: typing.Union[str, int] = "ADJ",
|
|
90
|
-
) -> typing.Dict:
|
|
90
|
+
) -> typing.Dict[str, typing.Any]:
|
|
91
91
|
"""Bevel.Bevels edges and vertices
|
|
92
92
|
|
|
93
93
|
:param bm: The bmesh to operate on.
|
|
@@ -141,7 +141,7 @@ def bevel(
|
|
|
141
141
|
verts: output verts
|
|
142
142
|
|
|
143
143
|
type list of (`bmesh.types.BMVert`)
|
|
144
|
-
:rtype: typing.Dict
|
|
144
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
145
145
|
"""
|
|
146
146
|
|
|
147
147
|
...
|
|
@@ -151,7 +151,7 @@ def bisect_edges(
|
|
|
151
151
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
152
152
|
cuts: int = 0,
|
|
153
153
|
edge_percents={},
|
|
154
|
-
) -> typing.Dict:
|
|
154
|
+
) -> typing.Dict[str, typing.Any]:
|
|
155
155
|
"""Edge Bisect.Splits input edges (but doesn't do anything else).
|
|
156
156
|
This creates a 2-valence vert.
|
|
157
157
|
|
|
@@ -165,7 +165,7 @@ def bisect_edges(
|
|
|
165
165
|
:return: geom_split: newly created vertices and edges
|
|
166
166
|
|
|
167
167
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
168
|
-
:rtype: typing.Dict
|
|
168
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
169
169
|
"""
|
|
170
170
|
|
|
171
171
|
...
|
|
@@ -183,7 +183,7 @@ def bisect_plane(
|
|
|
183
183
|
use_snap_center: bool = False,
|
|
184
184
|
clear_outer: bool = False,
|
|
185
185
|
clear_inner: bool = False,
|
|
186
|
-
) -> typing.Dict:
|
|
186
|
+
) -> typing.Dict[str, typing.Any]:
|
|
187
187
|
"""Bisect Plane.Bisects the mesh by a plane (cut the mesh in half).
|
|
188
188
|
|
|
189
189
|
:param bm: The bmesh to operate on.
|
|
@@ -209,7 +209,7 @@ def bisect_plane(
|
|
|
209
209
|
geom: input and output geometry (result of cut).
|
|
210
210
|
|
|
211
211
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
212
|
-
:rtype: typing.Dict
|
|
212
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
213
213
|
"""
|
|
214
214
|
|
|
215
215
|
...
|
|
@@ -237,7 +237,7 @@ def bridge_loops(
|
|
|
237
237
|
use_merge: bool = False,
|
|
238
238
|
merge_factor: float = 0,
|
|
239
239
|
twist_offset: int = 0,
|
|
240
|
-
) -> typing.Dict:
|
|
240
|
+
) -> typing.Dict[str, typing.Any]:
|
|
241
241
|
"""Bridge edge loops with faces.
|
|
242
242
|
|
|
243
243
|
:param bm: The bmesh to operate on.
|
|
@@ -261,7 +261,7 @@ def bridge_loops(
|
|
|
261
261
|
edges: new edges
|
|
262
262
|
|
|
263
263
|
type list of (`bmesh.types.BMEdge`)
|
|
264
|
-
:rtype: typing.Dict
|
|
264
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
265
265
|
"""
|
|
266
266
|
|
|
267
267
|
...
|
|
@@ -299,7 +299,7 @@ def connect_vert_pair(
|
|
|
299
299
|
verts: typing.List[bmesh.types.BMVert] = [],
|
|
300
300
|
verts_exclude: typing.List[bmesh.types.BMVert] = [],
|
|
301
301
|
faces_exclude: typing.List[bmesh.types.BMFace] = [],
|
|
302
|
-
) -> typing.Dict:
|
|
302
|
+
) -> typing.Dict[str, typing.Any]:
|
|
303
303
|
"""Connect Verts.Split faces by adding edges that connect verts.
|
|
304
304
|
|
|
305
305
|
:param bm: The bmesh to operate on.
|
|
@@ -313,7 +313,7 @@ def connect_vert_pair(
|
|
|
313
313
|
:return: edges:
|
|
314
314
|
|
|
315
315
|
type list of (`bmesh.types.BMEdge`)
|
|
316
|
-
:rtype: typing.Dict
|
|
316
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
317
317
|
"""
|
|
318
318
|
|
|
319
319
|
...
|
|
@@ -323,7 +323,7 @@ def connect_verts(
|
|
|
323
323
|
verts: typing.List[bmesh.types.BMVert] = [],
|
|
324
324
|
faces_exclude: typing.List[bmesh.types.BMFace] = [],
|
|
325
325
|
check_degenerate: bool = False,
|
|
326
|
-
) -> typing.Dict:
|
|
326
|
+
) -> typing.Dict[str, typing.Any]:
|
|
327
327
|
"""Connect Verts.Split faces by adding edges that connect verts.
|
|
328
328
|
|
|
329
329
|
:param bm: The bmesh to operate on.
|
|
@@ -337,14 +337,14 @@ def connect_verts(
|
|
|
337
337
|
:return: edges:
|
|
338
338
|
|
|
339
339
|
type list of (`bmesh.types.BMEdge`)
|
|
340
|
-
:rtype: typing.Dict
|
|
340
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
341
341
|
"""
|
|
342
342
|
|
|
343
343
|
...
|
|
344
344
|
|
|
345
345
|
def connect_verts_concave(
|
|
346
346
|
bm: bmesh.types.BMesh, faces: typing.List[bmesh.types.BMFace] = []
|
|
347
|
-
) -> typing.Dict:
|
|
347
|
+
) -> typing.Dict[str, typing.Any]:
|
|
348
348
|
"""Connect Verts to form Convex Faces.Ensures all faces are convex faces.
|
|
349
349
|
|
|
350
350
|
:param bm: The bmesh to operate on.
|
|
@@ -358,7 +358,7 @@ def connect_verts_concave(
|
|
|
358
358
|
faces:
|
|
359
359
|
|
|
360
360
|
type list of (`bmesh.types.BMFace`)
|
|
361
|
-
:rtype: typing.Dict
|
|
361
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
362
362
|
"""
|
|
363
363
|
|
|
364
364
|
...
|
|
@@ -367,7 +367,7 @@ def connect_verts_nonplanar(
|
|
|
367
367
|
bm: bmesh.types.BMesh,
|
|
368
368
|
angle_limit: float = 0,
|
|
369
369
|
faces: typing.List[bmesh.types.BMFace] = [],
|
|
370
|
-
) -> typing.Dict:
|
|
370
|
+
) -> typing.Dict[str, typing.Any]:
|
|
371
371
|
"""Connect Verts Across non Planer Faces.Split faces by connecting edges along non planer faces.
|
|
372
372
|
|
|
373
373
|
:param bm: The bmesh to operate on.
|
|
@@ -383,7 +383,7 @@ def connect_verts_nonplanar(
|
|
|
383
383
|
faces:
|
|
384
384
|
|
|
385
385
|
type list of (`bmesh.types.BMFace`)
|
|
386
|
-
:rtype: typing.Dict
|
|
386
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
387
387
|
"""
|
|
388
388
|
|
|
389
389
|
...
|
|
@@ -397,7 +397,7 @@ def contextual_create(
|
|
|
397
397
|
] = [],
|
|
398
398
|
mat_nr: int = 0,
|
|
399
399
|
use_smooth: bool = False,
|
|
400
|
-
) -> typing.Dict:
|
|
400
|
+
) -> typing.Dict[str, typing.Any]:
|
|
401
401
|
"""Contextual Create.This is basically F-key, it creates
|
|
402
402
|
new faces from vertices, makes stuff from edge nets,
|
|
403
403
|
makes wire edges, etc. It also dissolves faces.Three verts become a triangle, four become a quad. Two
|
|
@@ -418,7 +418,7 @@ def contextual_create(
|
|
|
418
418
|
edges: newly-made edge(s)
|
|
419
419
|
|
|
420
420
|
type list of (`bmesh.types.BMEdge`)
|
|
421
|
-
:rtype: typing.Dict
|
|
421
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
422
422
|
"""
|
|
423
423
|
|
|
424
424
|
...
|
|
@@ -431,7 +431,7 @@ def convex_hull(
|
|
|
431
431
|
typing.List[bmesh.types.BMFace],
|
|
432
432
|
] = [],
|
|
433
433
|
use_existing_faces: bool = False,
|
|
434
|
-
) -> typing.Dict:
|
|
434
|
+
) -> typing.Dict[str, typing.Any]:
|
|
435
435
|
"""Convex HullBuilds a convex hull from the vertices in 'input'.If 'use_existing_faces' is true, the hull will not output triangles
|
|
436
436
|
that are covered by a pre-existing face.All hull vertices, faces, and edges are added to 'geom.out'. Any
|
|
437
437
|
input elements that end up inside the hull (i.e. are not used by an
|
|
@@ -461,7 +461,7 @@ def convex_hull(
|
|
|
461
461
|
geom_holes:
|
|
462
462
|
|
|
463
463
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
464
|
-
:rtype: typing.Dict
|
|
464
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
465
465
|
"""
|
|
466
466
|
|
|
467
467
|
...
|
|
@@ -474,7 +474,7 @@ def create_circle(
|
|
|
474
474
|
radius: float = 0,
|
|
475
475
|
matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
|
|
476
476
|
calc_uvs: bool = False,
|
|
477
|
-
) -> typing.Dict:
|
|
477
|
+
) -> typing.Dict[str, typing.Any]:
|
|
478
478
|
"""Creates a Circle.
|
|
479
479
|
|
|
480
480
|
:param bm: The bmesh to operate on.
|
|
@@ -494,7 +494,7 @@ def create_circle(
|
|
|
494
494
|
:return: verts: output verts
|
|
495
495
|
|
|
496
496
|
type list of (`bmesh.types.BMVert`)
|
|
497
|
-
:rtype: typing.Dict
|
|
497
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
498
498
|
"""
|
|
499
499
|
|
|
500
500
|
...
|
|
@@ -509,7 +509,7 @@ def create_cone(
|
|
|
509
509
|
depth: float = 0,
|
|
510
510
|
matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
|
|
511
511
|
calc_uvs: bool = False,
|
|
512
|
-
) -> typing.Dict:
|
|
512
|
+
) -> typing.Dict[str, typing.Any]:
|
|
513
513
|
"""Create Cone.Creates a cone with variable depth at both ends
|
|
514
514
|
|
|
515
515
|
:param bm: The bmesh to operate on.
|
|
@@ -533,7 +533,7 @@ def create_cone(
|
|
|
533
533
|
:return: verts: output verts
|
|
534
534
|
|
|
535
535
|
type list of (`bmesh.types.BMVert`)
|
|
536
|
-
:rtype: typing.Dict
|
|
536
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
537
537
|
"""
|
|
538
538
|
|
|
539
539
|
...
|
|
@@ -543,7 +543,7 @@ def create_cube(
|
|
|
543
543
|
size: float = 0,
|
|
544
544
|
matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
|
|
545
545
|
calc_uvs: bool = False,
|
|
546
|
-
) -> typing.Dict:
|
|
546
|
+
) -> typing.Dict[str, typing.Any]:
|
|
547
547
|
"""Create CubeCreates a cube.
|
|
548
548
|
|
|
549
549
|
:param bm: The bmesh to operate on.
|
|
@@ -557,7 +557,7 @@ def create_cube(
|
|
|
557
557
|
:return: verts: output verts
|
|
558
558
|
|
|
559
559
|
type list of (`bmesh.types.BMVert`)
|
|
560
|
-
:rtype: typing.Dict
|
|
560
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
561
561
|
"""
|
|
562
562
|
|
|
563
563
|
...
|
|
@@ -569,7 +569,7 @@ def create_grid(
|
|
|
569
569
|
size: float = 0,
|
|
570
570
|
matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
|
|
571
571
|
calc_uvs: bool = False,
|
|
572
|
-
) -> typing.Dict:
|
|
572
|
+
) -> typing.Dict[str, typing.Any]:
|
|
573
573
|
"""Create Grid.Creates a grid with a variable number of subdivisions
|
|
574
574
|
|
|
575
575
|
:param bm: The bmesh to operate on.
|
|
@@ -587,7 +587,7 @@ def create_grid(
|
|
|
587
587
|
:return: verts: output verts
|
|
588
588
|
|
|
589
589
|
type list of (`bmesh.types.BMVert`)
|
|
590
|
-
:rtype: typing.Dict
|
|
590
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
591
591
|
"""
|
|
592
592
|
|
|
593
593
|
...
|
|
@@ -598,7 +598,7 @@ def create_icosphere(
|
|
|
598
598
|
radius: float = 0,
|
|
599
599
|
matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
|
|
600
600
|
calc_uvs: bool = False,
|
|
601
|
-
) -> typing.Dict:
|
|
601
|
+
) -> typing.Dict[str, typing.Any]:
|
|
602
602
|
"""Create Ico-Sphere.Creates a grid with a variable number of subdivisions
|
|
603
603
|
|
|
604
604
|
:param bm: The bmesh to operate on.
|
|
@@ -614,7 +614,7 @@ def create_icosphere(
|
|
|
614
614
|
:return: verts: output verts
|
|
615
615
|
|
|
616
616
|
type list of (`bmesh.types.BMVert`)
|
|
617
|
-
:rtype: typing.Dict
|
|
617
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
618
618
|
"""
|
|
619
619
|
|
|
620
620
|
...
|
|
@@ -623,7 +623,7 @@ def create_monkey(
|
|
|
623
623
|
bm: bmesh.types.BMesh,
|
|
624
624
|
matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
|
|
625
625
|
calc_uvs: bool = False,
|
|
626
|
-
) -> typing.Dict:
|
|
626
|
+
) -> typing.Dict[str, typing.Any]:
|
|
627
627
|
"""Create Suzanne.Creates a monkey (standard blender primitive).
|
|
628
628
|
|
|
629
629
|
:param bm: The bmesh to operate on.
|
|
@@ -635,7 +635,7 @@ def create_monkey(
|
|
|
635
635
|
:return: verts: output verts
|
|
636
636
|
|
|
637
637
|
type list of (`bmesh.types.BMVert`)
|
|
638
|
-
:rtype: typing.Dict
|
|
638
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
639
639
|
"""
|
|
640
640
|
|
|
641
641
|
...
|
|
@@ -647,7 +647,7 @@ def create_uvsphere(
|
|
|
647
647
|
radius: float = 0,
|
|
648
648
|
matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
|
|
649
649
|
calc_uvs: bool = False,
|
|
650
|
-
) -> typing.Dict:
|
|
650
|
+
) -> typing.Dict[str, typing.Any]:
|
|
651
651
|
"""Create UV Sphere.Creates a grid with a variable number of subdivisions
|
|
652
652
|
|
|
653
653
|
:param bm: The bmesh to operate on.
|
|
@@ -665,7 +665,7 @@ def create_uvsphere(
|
|
|
665
665
|
:return: verts: output verts
|
|
666
666
|
|
|
667
667
|
type list of (`bmesh.types.BMVert`)
|
|
668
|
-
:rtype: typing.Dict
|
|
668
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
669
669
|
"""
|
|
670
670
|
|
|
671
671
|
...
|
|
@@ -673,7 +673,7 @@ def create_uvsphere(
|
|
|
673
673
|
def create_vert(
|
|
674
674
|
bm: bmesh.types.BMesh,
|
|
675
675
|
co: typing.Union[typing.Sequence[float], mathutils.Vector] = None(),
|
|
676
|
-
) -> typing.Dict:
|
|
676
|
+
) -> typing.Dict[str, typing.Any]:
|
|
677
677
|
"""Make Vertex.Creates a single vertex; this BMOP was necessary
|
|
678
678
|
for click-create-vertex.
|
|
679
679
|
|
|
@@ -684,7 +684,7 @@ def create_vert(
|
|
|
684
684
|
:return: vert: the new vert
|
|
685
685
|
|
|
686
686
|
type list of (`bmesh.types.BMVert`)
|
|
687
|
-
:rtype: typing.Dict
|
|
687
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
688
688
|
"""
|
|
689
689
|
|
|
690
690
|
...
|
|
@@ -730,7 +730,7 @@ def dissolve_edges(
|
|
|
730
730
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
731
731
|
use_verts: bool = False,
|
|
732
732
|
use_face_split: bool = False,
|
|
733
|
-
) -> typing.Dict:
|
|
733
|
+
) -> typing.Dict[str, typing.Any]:
|
|
734
734
|
"""Dissolve Edges.
|
|
735
735
|
|
|
736
736
|
:param bm: The bmesh to operate on.
|
|
@@ -744,7 +744,7 @@ def dissolve_edges(
|
|
|
744
744
|
:return: region:
|
|
745
745
|
|
|
746
746
|
type list of (`bmesh.types.BMFace`)
|
|
747
|
-
:rtype: typing.Dict
|
|
747
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
748
748
|
"""
|
|
749
749
|
|
|
750
750
|
...
|
|
@@ -753,7 +753,7 @@ def dissolve_faces(
|
|
|
753
753
|
bm: bmesh.types.BMesh,
|
|
754
754
|
faces: typing.List[bmesh.types.BMFace] = [],
|
|
755
755
|
use_verts: bool = False,
|
|
756
|
-
) -> typing.Dict:
|
|
756
|
+
) -> typing.Dict[str, typing.Any]:
|
|
757
757
|
"""Dissolve Faces.
|
|
758
758
|
|
|
759
759
|
:param bm: The bmesh to operate on.
|
|
@@ -765,7 +765,7 @@ def dissolve_faces(
|
|
|
765
765
|
:return: region:
|
|
766
766
|
|
|
767
767
|
type list of (`bmesh.types.BMFace`)
|
|
768
|
-
:rtype: typing.Dict
|
|
768
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
769
769
|
"""
|
|
770
770
|
|
|
771
771
|
...
|
|
@@ -777,7 +777,7 @@ def dissolve_limit(
|
|
|
777
777
|
verts: typing.List[bmesh.types.BMVert] = [],
|
|
778
778
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
779
779
|
delimit=None(),
|
|
780
|
-
) -> typing.Dict:
|
|
780
|
+
) -> typing.Dict[str, typing.Any]:
|
|
781
781
|
"""Limited Dissolve.Dissolve planar faces and co-linear edges.
|
|
782
782
|
|
|
783
783
|
:param bm: The bmesh to operate on.
|
|
@@ -794,7 +794,7 @@ def dissolve_limit(
|
|
|
794
794
|
:return: region:
|
|
795
795
|
|
|
796
796
|
type list of (`bmesh.types.BMFace`)
|
|
797
|
-
:rtype: typing.Dict
|
|
797
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
798
798
|
"""
|
|
799
799
|
|
|
800
800
|
...
|
|
@@ -829,7 +829,7 @@ def duplicate(
|
|
|
829
829
|
dest: bmesh.types.BMesh = None,
|
|
830
830
|
use_select_history: bool = False,
|
|
831
831
|
use_edge_flip_from_face: bool = False,
|
|
832
|
-
) -> typing.Dict:
|
|
832
|
+
) -> typing.Dict[str, typing.Any]:
|
|
833
833
|
"""Duplicate Geometry.Utility operator to duplicate geometry,
|
|
834
834
|
optionally into a destination mesh.
|
|
835
835
|
|
|
@@ -870,7 +870,7 @@ def duplicate(
|
|
|
870
870
|
isovert_map:
|
|
871
871
|
|
|
872
872
|
type dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace`
|
|
873
|
-
:rtype: typing.Dict
|
|
873
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
874
874
|
"""
|
|
875
875
|
|
|
876
876
|
...
|
|
@@ -880,7 +880,7 @@ def edgeloop_fill(
|
|
|
880
880
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
881
881
|
mat_nr: int = 0,
|
|
882
882
|
use_smooth: bool = False,
|
|
883
|
-
) -> typing.Dict:
|
|
883
|
+
) -> typing.Dict[str, typing.Any]:
|
|
884
884
|
"""Edge Loop Fill.Create faces defined by one or more non overlapping edge loops.
|
|
885
885
|
|
|
886
886
|
:param bm: The bmesh to operate on.
|
|
@@ -894,7 +894,7 @@ def edgeloop_fill(
|
|
|
894
894
|
:return: faces: new faces
|
|
895
895
|
|
|
896
896
|
type list of (`bmesh.types.BMFace`)
|
|
897
|
-
:rtype: typing.Dict
|
|
897
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
898
898
|
"""
|
|
899
899
|
|
|
900
900
|
...
|
|
@@ -905,7 +905,7 @@ def edgenet_fill(
|
|
|
905
905
|
mat_nr: int = 0,
|
|
906
906
|
use_smooth: bool = False,
|
|
907
907
|
sides: int = 0,
|
|
908
|
-
) -> typing.Dict:
|
|
908
|
+
) -> typing.Dict[str, typing.Any]:
|
|
909
909
|
"""Edge Net Fill.Create faces defined by enclosed edges.
|
|
910
910
|
|
|
911
911
|
:param bm: The bmesh to operate on.
|
|
@@ -921,14 +921,14 @@ def edgenet_fill(
|
|
|
921
921
|
:return: faces: new faces
|
|
922
922
|
|
|
923
923
|
type list of (`bmesh.types.BMFace`)
|
|
924
|
-
:rtype: typing.Dict
|
|
924
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
925
925
|
"""
|
|
926
926
|
|
|
927
927
|
...
|
|
928
928
|
|
|
929
929
|
def edgenet_prepare(
|
|
930
930
|
bm: bmesh.types.BMesh, edges: typing.List[bmesh.types.BMEdge] = []
|
|
931
|
-
) -> typing.Dict:
|
|
931
|
+
) -> typing.Dict[str, typing.Any]:
|
|
932
932
|
"""Edge-net Prepare.Identifies several useful edge loop cases and modifies them so
|
|
933
933
|
they'll become a face when edgenet_fill is called. The cases covered are:
|
|
934
934
|
|
|
@@ -939,7 +939,7 @@ def edgenet_prepare(
|
|
|
939
939
|
:return: edges: new edges
|
|
940
940
|
|
|
941
941
|
type list of (`bmesh.types.BMEdge`)
|
|
942
|
-
:rtype: typing.Dict
|
|
942
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
943
943
|
"""
|
|
944
944
|
|
|
945
945
|
...
|
|
@@ -949,7 +949,7 @@ def extrude_discrete_faces(
|
|
|
949
949
|
faces: typing.List[bmesh.types.BMFace] = [],
|
|
950
950
|
use_normal_flip: bool = False,
|
|
951
951
|
use_select_history: bool = False,
|
|
952
|
-
) -> typing.Dict:
|
|
952
|
+
) -> typing.Dict[str, typing.Any]:
|
|
953
953
|
"""Individual Face Extrude.Extrudes faces individually.
|
|
954
954
|
|
|
955
955
|
:param bm: The bmesh to operate on.
|
|
@@ -963,7 +963,7 @@ def extrude_discrete_faces(
|
|
|
963
963
|
:return: faces: output faces
|
|
964
964
|
|
|
965
965
|
type list of (`bmesh.types.BMFace`)
|
|
966
|
-
:rtype: typing.Dict
|
|
966
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
967
967
|
"""
|
|
968
968
|
|
|
969
969
|
...
|
|
@@ -973,7 +973,7 @@ def extrude_edge_only(
|
|
|
973
973
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
974
974
|
use_normal_flip: bool = False,
|
|
975
975
|
use_select_history: bool = False,
|
|
976
|
-
) -> typing.Dict:
|
|
976
|
+
) -> typing.Dict[str, typing.Any]:
|
|
977
977
|
"""Extrude Only Edges.Extrudes Edges into faces, note that this is very simple, there's no fancy
|
|
978
978
|
winged extrusion.
|
|
979
979
|
|
|
@@ -988,7 +988,7 @@ def extrude_edge_only(
|
|
|
988
988
|
:return: geom: output geometry
|
|
989
989
|
|
|
990
990
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
991
|
-
:rtype: typing.Dict
|
|
991
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
992
992
|
"""
|
|
993
993
|
|
|
994
994
|
...
|
|
@@ -1006,7 +1006,7 @@ def extrude_face_region(
|
|
|
1006
1006
|
use_normal_from_adjacent: bool = False,
|
|
1007
1007
|
use_dissolve_ortho_edges: bool = False,
|
|
1008
1008
|
use_select_history: bool = False,
|
|
1009
|
-
) -> typing.Dict:
|
|
1009
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1010
1010
|
"""Extrude Faces.Extrude operator (does not transform)
|
|
1011
1011
|
|
|
1012
1012
|
:param bm: The bmesh to operate on.
|
|
@@ -1027,7 +1027,7 @@ def extrude_face_region(
|
|
|
1027
1027
|
:return: geom:
|
|
1028
1028
|
|
|
1029
1029
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1030
|
-
:rtype: typing.Dict
|
|
1030
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1031
1031
|
"""
|
|
1032
1032
|
|
|
1033
1033
|
...
|
|
@@ -1036,7 +1036,7 @@ def extrude_vert_indiv(
|
|
|
1036
1036
|
bm: bmesh.types.BMesh,
|
|
1037
1037
|
verts: typing.List[bmesh.types.BMVert] = [],
|
|
1038
1038
|
use_select_history: bool = False,
|
|
1039
|
-
) -> typing.Dict:
|
|
1039
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1040
1040
|
"""Individual Vertex Extrude.Extrudes wire edges from vertices.
|
|
1041
1041
|
|
|
1042
1042
|
:param bm: The bmesh to operate on.
|
|
@@ -1052,7 +1052,7 @@ def extrude_vert_indiv(
|
|
|
1052
1052
|
verts: output vertices
|
|
1053
1053
|
|
|
1054
1054
|
type list of (`bmesh.types.BMVert`)
|
|
1055
|
-
:rtype: typing.Dict
|
|
1055
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1056
1056
|
"""
|
|
1057
1057
|
|
|
1058
1058
|
...
|
|
@@ -1062,7 +1062,7 @@ def face_attribute_fill(
|
|
|
1062
1062
|
faces: typing.List[bmesh.types.BMFace] = [],
|
|
1063
1063
|
use_normals: bool = False,
|
|
1064
1064
|
use_data: bool = False,
|
|
1065
|
-
) -> typing.Dict:
|
|
1065
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1066
1066
|
"""Face Attribute Fill.Fill in faces with data from adjacent faces.
|
|
1067
1067
|
|
|
1068
1068
|
:param bm: The bmesh to operate on.
|
|
@@ -1076,7 +1076,7 @@ def face_attribute_fill(
|
|
|
1076
1076
|
:return: faces_fail: faces that could not be handled
|
|
1077
1077
|
|
|
1078
1078
|
type list of (`bmesh.types.BMFace`)
|
|
1079
|
-
:rtype: typing.Dict
|
|
1079
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1080
1080
|
"""
|
|
1081
1081
|
|
|
1082
1082
|
...
|
|
@@ -1086,7 +1086,7 @@ def find_doubles(
|
|
|
1086
1086
|
verts: typing.List[bmesh.types.BMVert] = [],
|
|
1087
1087
|
keep_verts: typing.List[bmesh.types.BMVert] = [],
|
|
1088
1088
|
dist: float = 0,
|
|
1089
|
-
) -> typing.Dict:
|
|
1089
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1090
1090
|
"""Find Doubles.Takes input verts and find vertices they should weld to.
|
|
1091
1091
|
Outputs a mapping slot suitable for use with the weld verts BMOP.If keep_verts is used, vertices outside that set can only be merged
|
|
1092
1092
|
with vertices in that set.
|
|
@@ -1102,7 +1102,7 @@ def find_doubles(
|
|
|
1102
1102
|
:return: targetmap:
|
|
1103
1103
|
|
|
1104
1104
|
type dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace`
|
|
1105
|
-
:rtype: typing.Dict
|
|
1105
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1106
1106
|
"""
|
|
1107
1107
|
|
|
1108
1108
|
...
|
|
@@ -1126,7 +1126,7 @@ def grid_fill(
|
|
|
1126
1126
|
mat_nr: int = 0,
|
|
1127
1127
|
use_smooth: bool = False,
|
|
1128
1128
|
use_interp_simple: bool = False,
|
|
1129
|
-
) -> typing.Dict:
|
|
1129
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1130
1130
|
"""Grid Fill.Create faces defined by 2 disconnected edge loops (which share edges).
|
|
1131
1131
|
|
|
1132
1132
|
:param bm: The bmesh to operate on.
|
|
@@ -1142,14 +1142,14 @@ def grid_fill(
|
|
|
1142
1142
|
:return: faces: new faces
|
|
1143
1143
|
|
|
1144
1144
|
type list of (`bmesh.types.BMFace`)
|
|
1145
|
-
:rtype: typing.Dict
|
|
1145
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1146
1146
|
"""
|
|
1147
1147
|
|
|
1148
1148
|
...
|
|
1149
1149
|
|
|
1150
1150
|
def holes_fill(
|
|
1151
1151
|
bm: bmesh.types.BMesh, edges: typing.List[bmesh.types.BMEdge] = [], sides: int = 0
|
|
1152
|
-
) -> typing.Dict:
|
|
1152
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1153
1153
|
"""Fill Holes.Fill boundary edges with faces, copying surrounding customdata.
|
|
1154
1154
|
|
|
1155
1155
|
:param bm: The bmesh to operate on.
|
|
@@ -1161,7 +1161,7 @@ def holes_fill(
|
|
|
1161
1161
|
:return: faces: new faces
|
|
1162
1162
|
|
|
1163
1163
|
type list of (`bmesh.types.BMFace`)
|
|
1164
|
-
:rtype: typing.Dict
|
|
1164
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1165
1165
|
"""
|
|
1166
1166
|
|
|
1167
1167
|
...
|
|
@@ -1174,7 +1174,7 @@ def inset_individual(
|
|
|
1174
1174
|
use_even_offset: bool = False,
|
|
1175
1175
|
use_interpolate: bool = False,
|
|
1176
1176
|
use_relative_offset: bool = False,
|
|
1177
|
-
) -> typing.Dict:
|
|
1177
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1178
1178
|
"""Face Inset (Individual).Insets individual faces.
|
|
1179
1179
|
|
|
1180
1180
|
:param bm: The bmesh to operate on.
|
|
@@ -1194,7 +1194,7 @@ def inset_individual(
|
|
|
1194
1194
|
:return: faces: output faces
|
|
1195
1195
|
|
|
1196
1196
|
type list of (`bmesh.types.BMFace`)
|
|
1197
|
-
:rtype: typing.Dict
|
|
1197
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1198
1198
|
"""
|
|
1199
1199
|
|
|
1200
1200
|
...
|
|
@@ -1211,7 +1211,7 @@ def inset_region(
|
|
|
1211
1211
|
thickness: float = 0,
|
|
1212
1212
|
depth: float = 0,
|
|
1213
1213
|
use_outset: bool = False,
|
|
1214
|
-
) -> typing.Dict:
|
|
1214
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1215
1215
|
"""Face Inset (Regions).Inset or outset face regions.
|
|
1216
1216
|
|
|
1217
1217
|
:param bm: The bmesh to operate on.
|
|
@@ -1239,7 +1239,7 @@ def inset_region(
|
|
|
1239
1239
|
:return: faces: output faces
|
|
1240
1240
|
|
|
1241
1241
|
type list of (`bmesh.types.BMFace`)
|
|
1242
|
-
:rtype: typing.Dict
|
|
1242
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1243
1243
|
"""
|
|
1244
1244
|
|
|
1245
1245
|
...
|
|
@@ -1254,7 +1254,7 @@ def join_triangles(
|
|
|
1254
1254
|
cmp_materials: bool = False,
|
|
1255
1255
|
angle_face_threshold: float = 0,
|
|
1256
1256
|
angle_shape_threshold: float = 0,
|
|
1257
|
-
) -> typing.Dict:
|
|
1257
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1258
1258
|
"""Join Triangles.Tries to intelligently join triangles according
|
|
1259
1259
|
to angle threshold and delimiters.
|
|
1260
1260
|
|
|
@@ -1279,7 +1279,7 @@ def join_triangles(
|
|
|
1279
1279
|
:return: faces: joined faces
|
|
1280
1280
|
|
|
1281
1281
|
type list of (`bmesh.types.BMFace`)
|
|
1282
|
-
:rtype: typing.Dict
|
|
1282
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1283
1283
|
"""
|
|
1284
1284
|
|
|
1285
1285
|
...
|
|
@@ -1319,7 +1319,7 @@ def mirror(
|
|
|
1319
1319
|
mirror_v: bool = False,
|
|
1320
1320
|
mirror_udim: bool = False,
|
|
1321
1321
|
use_shapekey: bool = False,
|
|
1322
|
-
) -> typing.Dict:
|
|
1322
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1323
1323
|
"""Mirror.Mirrors geometry along an axis. The resulting geometry is welded on using
|
|
1324
1324
|
merge_dist. Pairs of original/mirrored vertices are welded using the merge_dist
|
|
1325
1325
|
parameter (which defines the minimum distance for welding to happen).
|
|
@@ -1345,7 +1345,7 @@ def mirror(
|
|
|
1345
1345
|
:return: geom: output geometry, mirrored
|
|
1346
1346
|
|
|
1347
1347
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1348
|
-
:rtype: typing.Dict
|
|
1348
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1349
1349
|
"""
|
|
1350
1350
|
|
|
1351
1351
|
...
|
|
@@ -1370,7 +1370,7 @@ def offset_edgeloops(
|
|
|
1370
1370
|
bm: bmesh.types.BMesh,
|
|
1371
1371
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
1372
1372
|
use_cap_endpoint: bool = False,
|
|
1373
|
-
) -> typing.Dict:
|
|
1373
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1374
1374
|
"""Edge-loop Offset.Creates edge loops based on simple edge-outset method.
|
|
1375
1375
|
|
|
1376
1376
|
:param bm: The bmesh to operate on.
|
|
@@ -1382,7 +1382,7 @@ def offset_edgeloops(
|
|
|
1382
1382
|
:return: edges: output edges
|
|
1383
1383
|
|
|
1384
1384
|
type list of (`bmesh.types.BMEdge`)
|
|
1385
|
-
:rtype: typing.Dict
|
|
1385
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1386
1386
|
"""
|
|
1387
1387
|
|
|
1388
1388
|
...
|
|
@@ -1392,7 +1392,7 @@ def planar_faces(
|
|
|
1392
1392
|
faces: typing.List[bmesh.types.BMFace] = [],
|
|
1393
1393
|
iterations: int = 0,
|
|
1394
1394
|
factor: float = 0,
|
|
1395
|
-
) -> typing.Dict:
|
|
1395
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1396
1396
|
"""Planar Faces.Iteratively flatten faces.
|
|
1397
1397
|
|
|
1398
1398
|
:param bm: The bmesh to operate on.
|
|
@@ -1406,7 +1406,7 @@ def planar_faces(
|
|
|
1406
1406
|
:return: geom: output slot, computed boundary geometry.
|
|
1407
1407
|
|
|
1408
1408
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1409
|
-
:rtype: typing.Dict
|
|
1409
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1410
1410
|
"""
|
|
1411
1411
|
|
|
1412
1412
|
...
|
|
@@ -1451,7 +1451,7 @@ def poke(
|
|
|
1451
1451
|
offset: float = 0,
|
|
1452
1452
|
center_mode: typing.Union[str, int] = "MEAN_WEIGHTED",
|
|
1453
1453
|
use_relative_offset: bool = False,
|
|
1454
|
-
) -> typing.Dict:
|
|
1454
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1455
1455
|
"""Pokes a face.Splits a face into a triangle fan.
|
|
1456
1456
|
|
|
1457
1457
|
:param bm: The bmesh to operate on.
|
|
@@ -1471,7 +1471,7 @@ def poke(
|
|
|
1471
1471
|
faces: output faces
|
|
1472
1472
|
|
|
1473
1473
|
type list of (`bmesh.types.BMFace`)
|
|
1474
|
-
:rtype: typing.Dict
|
|
1474
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1475
1475
|
"""
|
|
1476
1476
|
|
|
1477
1477
|
...
|
|
@@ -1499,7 +1499,7 @@ def region_extend(
|
|
|
1499
1499
|
use_contract: bool = False,
|
|
1500
1500
|
use_faces: bool = False,
|
|
1501
1501
|
use_face_step: bool = False,
|
|
1502
|
-
) -> typing.Dict:
|
|
1502
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1503
1503
|
"""Region Extend.used to implement the select more/less tools.
|
|
1504
1504
|
this puts some geometry surrounding regions of
|
|
1505
1505
|
geometry in geom into geom.out.if use_faces is 0 then geom.out spits out verts and edges,
|
|
@@ -1518,7 +1518,7 @@ def region_extend(
|
|
|
1518
1518
|
:return: geom: output slot, computed boundary geometry.
|
|
1519
1519
|
|
|
1520
1520
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1521
|
-
:rtype: typing.Dict
|
|
1521
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1522
1522
|
"""
|
|
1523
1523
|
|
|
1524
1524
|
...
|
|
@@ -1635,7 +1635,7 @@ def rotate_edges(
|
|
|
1635
1635
|
bm: bmesh.types.BMesh,
|
|
1636
1636
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
1637
1637
|
use_ccw: bool = False,
|
|
1638
|
-
) -> typing.Dict:
|
|
1638
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1639
1639
|
"""Edge Rotate.Rotates edges topologically. Also known as "spin edge" to some people.
|
|
1640
1640
|
Simple example: [/] becomes [|] then [].
|
|
1641
1641
|
|
|
@@ -1648,7 +1648,7 @@ def rotate_edges(
|
|
|
1648
1648
|
:return: edges: newly spun edges
|
|
1649
1649
|
|
|
1650
1650
|
type list of (`bmesh.types.BMEdge`)
|
|
1651
|
-
:rtype: typing.Dict
|
|
1651
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1652
1652
|
"""
|
|
1653
1653
|
|
|
1654
1654
|
...
|
|
@@ -1772,7 +1772,7 @@ def solidify(
|
|
|
1772
1772
|
typing.List[bmesh.types.BMFace],
|
|
1773
1773
|
] = [],
|
|
1774
1774
|
thickness: float = 0,
|
|
1775
|
-
) -> typing.Dict:
|
|
1775
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1776
1776
|
"""Solidify.Turns a mesh into a shell with thickness
|
|
1777
1777
|
|
|
1778
1778
|
:param bm: The bmesh to operate on.
|
|
@@ -1784,7 +1784,7 @@ def solidify(
|
|
|
1784
1784
|
:return: geom:
|
|
1785
1785
|
|
|
1786
1786
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1787
|
-
:rtype: typing.Dict
|
|
1787
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1788
1788
|
"""
|
|
1789
1789
|
|
|
1790
1790
|
...
|
|
@@ -1805,7 +1805,7 @@ def spin(
|
|
|
1805
1805
|
use_merge: bool = False,
|
|
1806
1806
|
use_normal_flip: bool = False,
|
|
1807
1807
|
use_duplicate: bool = False,
|
|
1808
|
-
) -> typing.Dict:
|
|
1808
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1809
1809
|
"""Spin.Extrude or duplicate geometry a number of times,
|
|
1810
1810
|
rotating and possibly translating after each step
|
|
1811
1811
|
|
|
@@ -1834,7 +1834,7 @@ def spin(
|
|
|
1834
1834
|
:return: geom_last: result of last step
|
|
1835
1835
|
|
|
1836
1836
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1837
|
-
:rtype: typing.Dict
|
|
1837
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1838
1838
|
"""
|
|
1839
1839
|
|
|
1840
1840
|
...
|
|
@@ -1848,7 +1848,7 @@ def split(
|
|
|
1848
1848
|
] = [],
|
|
1849
1849
|
dest: bmesh.types.BMesh = None,
|
|
1850
1850
|
use_only_faces: bool = False,
|
|
1851
|
-
) -> typing.Dict:
|
|
1851
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1852
1852
|
"""Split Off Geometry.Disconnect geometry from adjacent edges and faces,
|
|
1853
1853
|
optionally into a destination mesh.
|
|
1854
1854
|
|
|
@@ -1871,7 +1871,7 @@ def split(
|
|
|
1871
1871
|
isovert_map:
|
|
1872
1872
|
|
|
1873
1873
|
type dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace`
|
|
1874
|
-
:rtype: typing.Dict
|
|
1874
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1875
1875
|
"""
|
|
1876
1876
|
|
|
1877
1877
|
...
|
|
@@ -1881,7 +1881,7 @@ def split_edges(
|
|
|
1881
1881
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
1882
1882
|
verts: typing.List[bmesh.types.BMVert] = [],
|
|
1883
1883
|
use_verts: bool = False,
|
|
1884
|
-
) -> typing.Dict:
|
|
1884
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1885
1885
|
"""Edge Split.Disconnects faces along input edges.
|
|
1886
1886
|
|
|
1887
1887
|
:param bm: The bmesh to operate on.
|
|
@@ -1895,7 +1895,7 @@ def split_edges(
|
|
|
1895
1895
|
:return: edges: old output disconnected edges
|
|
1896
1896
|
|
|
1897
1897
|
type list of (`bmesh.types.BMEdge`)
|
|
1898
|
-
:rtype: typing.Dict
|
|
1898
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1899
1899
|
"""
|
|
1900
1900
|
|
|
1901
1901
|
...
|
|
@@ -1908,7 +1908,7 @@ def subdivide_edgering(
|
|
|
1908
1908
|
cuts: int = 0,
|
|
1909
1909
|
profile_shape: typing.Union[str, int] = "SMOOTH",
|
|
1910
1910
|
profile_shape_factor: float = 0,
|
|
1911
|
-
) -> typing.Dict:
|
|
1911
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1912
1912
|
"""Subdivide Edge-Ring.Take an edge-ring, and subdivide with interpolation options.
|
|
1913
1913
|
|
|
1914
1914
|
:param bm: The bmesh to operate on.
|
|
@@ -1928,7 +1928,7 @@ def subdivide_edgering(
|
|
|
1928
1928
|
:return: faces: output faces
|
|
1929
1929
|
|
|
1930
1930
|
type list of (`bmesh.types.BMFace`)
|
|
1931
|
-
:rtype: typing.Dict
|
|
1931
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1932
1932
|
"""
|
|
1933
1933
|
|
|
1934
1934
|
...
|
|
@@ -1950,7 +1950,7 @@ def subdivide_edges(
|
|
|
1950
1950
|
use_only_quads: bool = False,
|
|
1951
1951
|
use_sphere: bool = False,
|
|
1952
1952
|
use_smooth_even: bool = False,
|
|
1953
|
-
) -> typing.Dict:
|
|
1953
|
+
) -> typing.Dict[str, typing.Any]:
|
|
1954
1954
|
"""Subdivide Edges.Advanced operator for subdividing edges
|
|
1955
1955
|
with options for face patterns, smoothing and randomization.
|
|
1956
1956
|
|
|
@@ -1995,7 +1995,7 @@ def subdivide_edges(
|
|
|
1995
1995
|
geom: contains all output geometry
|
|
1996
1996
|
|
|
1997
1997
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1998
|
-
:rtype: typing.Dict
|
|
1998
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
1999
1999
|
"""
|
|
2000
2000
|
|
|
2001
2001
|
...
|
|
@@ -2010,7 +2010,7 @@ def symmetrize(
|
|
|
2010
2010
|
direction: typing.Union[str, int] = "-X",
|
|
2011
2011
|
dist: float = 0,
|
|
2012
2012
|
use_shapekey: bool = False,
|
|
2013
|
-
) -> typing.Dict:
|
|
2013
|
+
) -> typing.Dict[str, typing.Any]:
|
|
2014
2014
|
"""Symmetrize.Makes the mesh elements in the "input" slot symmetrical. Unlike
|
|
2015
2015
|
normal mirroring, it only copies in one direction, as specified by
|
|
2016
2016
|
the "direction" slot. The edges and faces that cross the plane of
|
|
@@ -2029,7 +2029,7 @@ def symmetrize(
|
|
|
2029
2029
|
:return: geom:
|
|
2030
2030
|
|
|
2031
2031
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
2032
|
-
:rtype: typing.Dict
|
|
2032
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
2033
2033
|
"""
|
|
2034
2034
|
|
|
2035
2035
|
...
|
|
@@ -2087,7 +2087,7 @@ def triangle_fill(
|
|
|
2087
2087
|
use_dissolve: bool = False,
|
|
2088
2088
|
edges: typing.List[bmesh.types.BMEdge] = [],
|
|
2089
2089
|
normal: typing.Union[typing.Sequence[float], mathutils.Vector] = None(),
|
|
2090
|
-
) -> typing.Dict:
|
|
2090
|
+
) -> typing.Dict[str, typing.Any]:
|
|
2091
2091
|
"""Triangle Fill.Fill edges with triangles
|
|
2092
2092
|
|
|
2093
2093
|
:param bm: The bmesh to operate on.
|
|
@@ -2103,7 +2103,7 @@ def triangle_fill(
|
|
|
2103
2103
|
:return: geom: new faces and edges
|
|
2104
2104
|
|
|
2105
2105
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
2106
|
-
:rtype: typing.Dict
|
|
2106
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
2107
2107
|
"""
|
|
2108
2108
|
|
|
2109
2109
|
...
|
|
@@ -2113,7 +2113,7 @@ def triangulate(
|
|
|
2113
2113
|
faces: typing.List[bmesh.types.BMFace] = [],
|
|
2114
2114
|
quad_method: typing.Union[str, int] = "BEAUTY",
|
|
2115
2115
|
ngon_method: typing.Union[str, int] = "BEAUTY",
|
|
2116
|
-
) -> typing.Dict:
|
|
2116
|
+
) -> typing.Dict[str, typing.Any]:
|
|
2117
2117
|
"""Triangulate.
|
|
2118
2118
|
|
|
2119
2119
|
:param bm: The bmesh to operate on.
|
|
@@ -2139,7 +2139,7 @@ def triangulate(
|
|
|
2139
2139
|
face_map_double: duplicate faces
|
|
2140
2140
|
|
|
2141
2141
|
type dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace`
|
|
2142
|
-
:rtype: typing.Dict
|
|
2142
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
2143
2143
|
"""
|
|
2144
2144
|
|
|
2145
2145
|
...
|
|
@@ -2185,7 +2185,7 @@ def wireframe(
|
|
|
2185
2185
|
crease_weight: float = 0,
|
|
2186
2186
|
use_relative_offset: bool = False,
|
|
2187
2187
|
material_offset: int = 0,
|
|
2188
|
-
) -> typing.Dict:
|
|
2188
|
+
) -> typing.Dict[str, typing.Any]:
|
|
2189
2189
|
"""Wire Frame.Makes a wire-frame copy of faces.
|
|
2190
2190
|
|
|
2191
2191
|
:param bm: The bmesh to operate on.
|
|
@@ -2213,7 +2213,7 @@ def wireframe(
|
|
|
2213
2213
|
:return: faces: output faces
|
|
2214
2214
|
|
|
2215
2215
|
type list of (`bmesh.types.BMFace`)
|
|
2216
|
-
:rtype: typing.Dict
|
|
2216
|
+
:rtype: typing.Dict[str, typing.Any]
|
|
2217
2217
|
"""
|
|
2218
2218
|
|
|
2219
2219
|
...
|