fake-bpy-module 20240531__py3-none-any.whl → 20240604__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.
- aud/__init__.pyi +4 -4
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -4
- bl_ui/space_sequencer/__init__.pyi +14 -0
- bl_ui/space_userpref/__init__.pyi +234 -0
- bl_ui/space_view3d/__init__.pyi +810 -0
- blf/__init__.pyi +4 -4
- bmesh/ops/__init__.pyi +97 -82
- bmesh/types/__init__.pyi +43 -40
- bmesh/utils/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +152 -152
- bpy/ops/anim/__init__.pyi +216 -216
- bpy/ops/armature/__init__.pyi +192 -192
- bpy/ops/asset/__init__.pyi +64 -64
- bpy/ops/boid/__init__.pyi +32 -32
- bpy/ops/brush/__init__.pyi +36 -36
- bpy/ops/buttons/__init__.pyi +24 -24
- bpy/ops/cachefile/__init__.pyi +20 -20
- bpy/ops/camera/__init__.pyi +8 -8
- bpy/ops/clip/__init__.pyi +368 -368
- bpy/ops/cloth/__init__.pyi +4 -4
- bpy/ops/collection/__init__.pyi +36 -36
- bpy/ops/console/__init__.pyi +84 -84
- bpy/ops/constraint/__init__.pyi +72 -72
- bpy/ops/curve/__init__.pyi +204 -204
- bpy/ops/curves/__init__.pyi +108 -108
- bpy/ops/cycles/__init__.pyi +12 -12
- bpy/ops/dpaint/__init__.pyi +20 -20
- bpy/ops/ed/__init__.pyi +48 -48
- bpy/ops/export_anim/__init__.pyi +4 -4
- bpy/ops/export_scene/__init__.pyi +8 -8
- bpy/ops/extensions/__init__.pyi +130 -110
- bpy/ops/file/__init__.pyi +160 -160
- bpy/ops/fluid/__init__.pyi +56 -56
- bpy/ops/font/__init__.pyi +92 -92
- bpy/ops/geometry/__init__.pyi +40 -40
- bpy/ops/gizmogroup/__init__.pyi +8 -8
- bpy/ops/gpencil/__init__.pyi +600 -600
- bpy/ops/graph/__init__.pyi +260 -260
- bpy/ops/grease_pencil/__init__.pyi +292 -292
- bpy/ops/image/__init__.pyi +192 -192
- bpy/ops/import_anim/__init__.pyi +4 -4
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +8 -8
- bpy/ops/info/__init__.pyi +28 -28
- bpy/ops/lattice/__init__.pyi +32 -32
- bpy/ops/marker/__init__.pyi +44 -44
- bpy/ops/mask/__init__.pyi +156 -156
- bpy/ops/material/__init__.pyi +12 -12
- bpy/ops/mball/__init__.pyi +32 -32
- bpy/ops/mesh/__init__.pyi +652 -652
- bpy/ops/nla/__init__.pyi +156 -156
- bpy/ops/node/__init__.pyi +450 -404
- bpy/ops/object/__init__.pyi +984 -987
- bpy/ops/outliner/__init__.pyi +284 -284
- bpy/ops/paint/__init__.pyi +220 -220
- bpy/ops/paintcurve/__init__.pyi +32 -32
- bpy/ops/palette/__init__.pyi +28 -28
- bpy/ops/particle/__init__.pyi +144 -144
- bpy/ops/pose/__init__.pyi +156 -156
- bpy/ops/poselib/__init__.pyi +36 -36
- bpy/ops/preferences/__init__.pyi +151 -148
- bpy/ops/ptcache/__init__.pyi +28 -28
- bpy/ops/render/__init__.pyi +48 -48
- bpy/ops/rigidbody/__init__.pyi +52 -52
- bpy/ops/scene/__init__.pyi +156 -156
- bpy/ops/screen/__init__.pyi +156 -156
- bpy/ops/script/__init__.pyi +12 -12
- bpy/ops/sculpt/__init__.pyi +144 -144
- bpy/ops/sculpt_curves/__init__.pyi +16 -16
- bpy/ops/sequencer/__init__.pyi +364 -340
- bpy/ops/sound/__init__.pyi +28 -28
- bpy/ops/spreadsheet/__init__.pyi +16 -16
- bpy/ops/surface/__init__.pyi +24 -24
- bpy/ops/text/__init__.pyi +172 -172
- bpy/ops/text_editor/__init__.pyi +4 -4
- bpy/ops/texture/__init__.pyi +16 -16
- bpy/ops/transform/__init__.pyi +111 -108
- bpy/ops/ui/__init__.pyi +132 -132
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +196 -196
- bpy/ops/view2d/__init__.pyi +56 -56
- bpy/ops/view3d/__init__.pyi +268 -268
- bpy/ops/wm/__init__.pyi +475 -448
- bpy/ops/workspace/__init__.pyi +28 -28
- bpy/ops/world/__init__.pyi +8 -8
- bpy/path/__init__.pyi +18 -18
- bpy/props/__init__.pyi +11 -11
- bpy/types/__init__.pyi +2136 -1798
- bpy/utils/__init__.pyi +4 -4
- bpy_extras/anim_utils/__init__.pyi +4 -4
- bpy_extras/io_utils/__init__.pyi +4 -4
- bpy_extras/mesh_utils/__init__.pyi +4 -4
- bpy_extras/view3d_utils/__init__.pyi +24 -20
- bpy_types/__init__.pyi +12 -7
- {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/RECORD +107 -107
- freestyle/types/__init__.pyi +64 -64
- freestyle/utils/__init__.pyi +2 -2
- gpu/matrix/__init__.pyi +15 -6
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +6 -4
- gpu_extras/presets/__init__.pyi +8 -4
- imbuf/__init__.pyi +4 -4
- mathutils/__init__.pyi +292 -187
- mathutils/geometry/__init__.pyi +2 -5
- {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/top_level.txt +0 -0
bmesh/types/__init__.pyi
CHANGED
|
@@ -120,16 +120,16 @@ class BMEdge:
|
|
|
120
120
|
:type: bool
|
|
121
121
|
"""
|
|
122
122
|
|
|
123
|
-
link_faces: list[BMFace]
|
|
123
|
+
link_faces: BMElemSeq | list[BMFace]
|
|
124
124
|
""" Faces connected to this edge, (read-only).
|
|
125
125
|
|
|
126
|
-
:type: list[BMFace]
|
|
126
|
+
:type: BMElemSeq | list[BMFace]
|
|
127
127
|
"""
|
|
128
128
|
|
|
129
|
-
link_loops: list[BMLoop]
|
|
129
|
+
link_loops: BMElemSeq | list[BMLoop]
|
|
130
130
|
""" Loops connected to this edge, (read-only).
|
|
131
131
|
|
|
132
|
-
:type: list[BMLoop]
|
|
132
|
+
:type: BMElemSeq | list[BMLoop]
|
|
133
133
|
"""
|
|
134
134
|
|
|
135
135
|
seam: bool
|
|
@@ -156,10 +156,10 @@ class BMEdge:
|
|
|
156
156
|
:type: bool
|
|
157
157
|
"""
|
|
158
158
|
|
|
159
|
-
verts: list[BMVert]
|
|
159
|
+
verts: BMElemSeq | list[BMVert]
|
|
160
160
|
""" Verts this edge uses (always 2), (read-only).
|
|
161
161
|
|
|
162
|
-
:type: list[BMVert]
|
|
162
|
+
:type: BMElemSeq | list[BMVert]
|
|
163
163
|
"""
|
|
164
164
|
|
|
165
165
|
def calc_face_angle(self, fallback: typing.Any = None) -> float:
|
|
@@ -282,11 +282,11 @@ class BMEdgeSeq:
|
|
|
282
282
|
"""Ensure internal data needed for int subscription is initialized with verts/edges/faces, eg bm.verts[index].This needs to be called again after adding/removing data in this sequence."""
|
|
283
283
|
...
|
|
284
284
|
|
|
285
|
-
def get(self, verts:
|
|
285
|
+
def get(self, verts: list[BMVert], fallback=None) -> BMEdge:
|
|
286
286
|
"""Return an edge which uses the verts passed.
|
|
287
287
|
|
|
288
288
|
:param verts: Sequence of verts.
|
|
289
|
-
:type verts:
|
|
289
|
+
:type verts: list[BMVert]
|
|
290
290
|
:param fallback: Return this value if nothing is found.
|
|
291
291
|
:return: The edge found or None
|
|
292
292
|
:rtype: BMEdge
|
|
@@ -355,10 +355,10 @@ class BMEdgeSeq:
|
|
|
355
355
|
class BMEditSelIter: ...
|
|
356
356
|
|
|
357
357
|
class BMEditSelSeq:
|
|
358
|
-
active:
|
|
358
|
+
active: BMEdge | BMFace | BMVert
|
|
359
359
|
""" The last selected element or None (read-only).
|
|
360
360
|
|
|
361
|
-
:type:
|
|
361
|
+
:type: BMEdge | BMFace | BMVert
|
|
362
362
|
"""
|
|
363
363
|
|
|
364
364
|
def add(self, element):
|
|
@@ -429,10 +429,10 @@ class BMElemSeq(typing.Generic[GenericType1]):
|
|
|
429
429
|
class BMFace:
|
|
430
430
|
"""The BMesh face with 3 or more sides"""
|
|
431
431
|
|
|
432
|
-
edges: list[BMEdge]
|
|
432
|
+
edges: BMElemSeq | list[BMEdge]
|
|
433
433
|
""" Edges of this face, (read-only).
|
|
434
434
|
|
|
435
|
-
:type: list[BMEdge]
|
|
435
|
+
:type: BMElemSeq | list[BMEdge]
|
|
436
436
|
"""
|
|
437
437
|
|
|
438
438
|
hide: bool
|
|
@@ -453,10 +453,10 @@ class BMFace:
|
|
|
453
453
|
:type: bool
|
|
454
454
|
"""
|
|
455
455
|
|
|
456
|
-
loops: list[BMLoop]
|
|
456
|
+
loops: BMElemSeq | list[BMLoop]
|
|
457
457
|
""" Loops of this face, (read-only).
|
|
458
458
|
|
|
459
|
-
:type: list[BMLoop]
|
|
459
|
+
:type: BMElemSeq | list[BMLoop]
|
|
460
460
|
"""
|
|
461
461
|
|
|
462
462
|
material_index: int
|
|
@@ -465,10 +465,10 @@ class BMFace:
|
|
|
465
465
|
:type: int
|
|
466
466
|
"""
|
|
467
467
|
|
|
468
|
-
normal:
|
|
468
|
+
normal: mathutils.Vector
|
|
469
469
|
""" The normal for this face as a 3D, wrapped vector.
|
|
470
470
|
|
|
471
|
-
:type:
|
|
471
|
+
:type: mathutils.Vector
|
|
472
472
|
"""
|
|
473
473
|
|
|
474
474
|
select: bool
|
|
@@ -489,10 +489,10 @@ class BMFace:
|
|
|
489
489
|
:type: bool
|
|
490
490
|
"""
|
|
491
491
|
|
|
492
|
-
verts: list[BMVert]
|
|
492
|
+
verts: BMElemSeq | list[BMVert]
|
|
493
493
|
""" Verts of this face, (read-only).
|
|
494
494
|
|
|
495
|
-
:type: list[BMVert]
|
|
495
|
+
:type: BMElemSeq | list[BMVert]
|
|
496
496
|
"""
|
|
497
497
|
|
|
498
498
|
def calc_area(self) -> float:
|
|
@@ -671,11 +671,11 @@ class BMFaceSeq:
|
|
|
671
671
|
"""Ensure internal data needed for int subscription is initialized with verts/edges/faces, eg bm.verts[index].This needs to be called again after adding/removing data in this sequence."""
|
|
672
672
|
...
|
|
673
673
|
|
|
674
|
-
def get(self, verts:
|
|
674
|
+
def get(self, verts: list[BMVert], fallback=None) -> BMFace:
|
|
675
675
|
"""Return a face which uses the verts passed.
|
|
676
676
|
|
|
677
677
|
:param verts: Sequence of verts.
|
|
678
|
-
:type verts:
|
|
678
|
+
:type verts: list[BMVert]
|
|
679
679
|
:param fallback: Return this value if nothing is found.
|
|
680
680
|
:return: The face found or None
|
|
681
681
|
:rtype: BMFace
|
|
@@ -686,13 +686,11 @@ class BMFaceSeq:
|
|
|
686
686
|
"""Initialize the index values of this sequence.This is the equivalent of looping over all elements and assigning the index values."""
|
|
687
687
|
...
|
|
688
688
|
|
|
689
|
-
def new(
|
|
690
|
-
self, verts: collections.abc.Iterable[BMVert], example: BMFace | None = None
|
|
691
|
-
) -> BMFace:
|
|
689
|
+
def new(self, verts: list[BMVert], example: BMFace | None = None) -> BMFace:
|
|
692
690
|
"""Create a new face from a given set of verts.
|
|
693
691
|
|
|
694
692
|
:param verts: Sequence of 3 or more verts.
|
|
695
|
-
:type verts:
|
|
693
|
+
:type verts: list[BMVert]
|
|
696
694
|
:param example: Existing face to initialize settings (optional argument).
|
|
697
695
|
:type example: BMFace | None
|
|
698
696
|
:return: The newly created face.
|
|
@@ -1112,10 +1110,10 @@ class BMLoop:
|
|
|
1112
1110
|
:type: BMLoop
|
|
1113
1111
|
"""
|
|
1114
1112
|
|
|
1115
|
-
link_loops: list[BMLoop]
|
|
1113
|
+
link_loops: BMElemSeq | list[BMLoop]
|
|
1116
1114
|
""" Loops connected to this loop, (read-only).
|
|
1117
1115
|
|
|
1118
|
-
:type: list[BMLoop]
|
|
1116
|
+
:type: BMElemSeq | list[BMLoop]
|
|
1119
1117
|
"""
|
|
1120
1118
|
|
|
1121
1119
|
tag: bool
|
|
@@ -1233,19 +1231,19 @@ class BMLoopUV:
|
|
|
1233
1231
|
:type: bool
|
|
1234
1232
|
"""
|
|
1235
1233
|
|
|
1236
|
-
uv:
|
|
1234
|
+
uv: mathutils.Vector
|
|
1237
1235
|
""" Loops UV (as a 2D Vector).
|
|
1238
1236
|
|
|
1239
|
-
:type:
|
|
1237
|
+
:type: mathutils.Vector
|
|
1240
1238
|
"""
|
|
1241
1239
|
|
|
1242
1240
|
class BMVert:
|
|
1243
1241
|
"""The BMesh vertex type"""
|
|
1244
1242
|
|
|
1245
|
-
co:
|
|
1243
|
+
co: mathutils.Vector
|
|
1246
1244
|
""" The coordinates for this vertex as a 3D, wrapped vector.
|
|
1247
1245
|
|
|
1248
|
-
:type:
|
|
1246
|
+
:type: mathutils.Vector
|
|
1249
1247
|
"""
|
|
1250
1248
|
|
|
1251
1249
|
hide: bool
|
|
@@ -1284,28 +1282,28 @@ class BMVert:
|
|
|
1284
1282
|
:type: bool
|
|
1285
1283
|
"""
|
|
1286
1284
|
|
|
1287
|
-
link_edges: list[BMEdge]
|
|
1285
|
+
link_edges: BMElemSeq | list[BMEdge]
|
|
1288
1286
|
""" Edges connected to this vertex (read-only).
|
|
1289
1287
|
|
|
1290
|
-
:type: list[BMEdge]
|
|
1288
|
+
:type: BMElemSeq | list[BMEdge]
|
|
1291
1289
|
"""
|
|
1292
1290
|
|
|
1293
|
-
link_faces: list[BMFace]
|
|
1291
|
+
link_faces: BMElemSeq | list[BMFace]
|
|
1294
1292
|
""" Faces connected to this vertex (read-only).
|
|
1295
1293
|
|
|
1296
|
-
:type: list[BMFace]
|
|
1294
|
+
:type: BMElemSeq | list[BMFace]
|
|
1297
1295
|
"""
|
|
1298
1296
|
|
|
1299
|
-
link_loops: list[BMLoop]
|
|
1297
|
+
link_loops: BMElemSeq | list[BMLoop]
|
|
1300
1298
|
""" Loops that use this vertex (read-only).
|
|
1301
1299
|
|
|
1302
|
-
:type: list[BMLoop]
|
|
1300
|
+
:type: BMElemSeq | list[BMLoop]
|
|
1303
1301
|
"""
|
|
1304
1302
|
|
|
1305
|
-
normal:
|
|
1303
|
+
normal: mathutils.Vector
|
|
1306
1304
|
""" The normal for this vertex as a 3D, wrapped vector.
|
|
1307
1305
|
|
|
1308
|
-
:type:
|
|
1306
|
+
:type: mathutils.Vector
|
|
1309
1307
|
"""
|
|
1310
1308
|
|
|
1311
1309
|
select: bool
|
|
@@ -1649,11 +1647,16 @@ class BMesh:
|
|
|
1649
1647
|
"""
|
|
1650
1648
|
...
|
|
1651
1649
|
|
|
1652
|
-
def transform(
|
|
1650
|
+
def transform(
|
|
1651
|
+
self,
|
|
1652
|
+
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
1653
|
+
| mathutils.Matrix,
|
|
1654
|
+
filter: set = None,
|
|
1655
|
+
):
|
|
1653
1656
|
"""Transform the mesh (optionally filtering flagged data only).
|
|
1654
1657
|
|
|
1655
1658
|
:param matrix: transform matrix.
|
|
1656
|
-
:type matrix: mathutils.Matrix
|
|
1659
|
+
:type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
|
|
1657
1660
|
:param filter: set of values in ('SELECT', 'HIDE', 'SEAM', 'SMOOTH', 'TAG').
|
|
1658
1661
|
:type filter: set
|
|
1659
1662
|
"""
|
bmesh/utils/__init__.pyi
CHANGED
|
@@ -85,13 +85,11 @@ def face_split(
|
|
|
85
85
|
|
|
86
86
|
...
|
|
87
87
|
|
|
88
|
-
def face_split_edgenet(
|
|
89
|
-
face: bmesh.types.BMFace | bmesh.types.BMFace, edgenet: bmesh.types.BMEdge
|
|
90
|
-
):
|
|
88
|
+
def face_split_edgenet(face: bmesh.types.BMFace, edgenet: bmesh.types.BMEdge):
|
|
91
89
|
"""Splits a face into any number of regions defined by an edgenet.
|
|
92
90
|
|
|
93
91
|
:param face: The face to split.The face to split.
|
|
94
|
-
:type face: bmesh.types.BMFace
|
|
92
|
+
:type face: bmesh.types.BMFace
|
|
95
93
|
:param edgenet: Sequence of edges.
|
|
96
94
|
:type edgenet: bmesh.types.BMEdge
|
|
97
95
|
:return: The newly created faces.
|