fake-bpy-module 20240327__py3-none-any.whl → 20240329__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 +34 -96
- bgl/__init__.pyi +1265 -2417
- bl_math/__init__.pyi +3 -14
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -0
- blf/__init__.pyi +13 -50
- bmesh/ops/__init__.pyi +68 -142
- bmesh/types/__init__.pyi +18 -44
- bmesh/utils/__init__.pyi +2 -6
- bpy/app/icons/__init__.pyi +2 -4
- bpy/app/timers/__init__.pyi +2 -6
- bpy/ops/action/__init__.pyi +92 -93
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +108 -112
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +18 -18
- bpy/ops/brush/__init__.pyi +18 -18
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +194 -195
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +10 -10
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +114 -118
- bpy/ops/curves/__init__.pyi +55 -53
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +12 -12
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +7 -7
- bpy/ops/file/__init__.pyi +80 -83
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +38 -38
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +308 -309
- bpy/ops/graph/__init__.pyi +150 -151
- bpy/ops/grease_pencil/__init__.pyi +114 -115
- bpy/ops/image/__init__.pyi +100 -100
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +90 -91
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +20 -21
- bpy/ops/mesh/__init__.pyi +429 -427
- bpy/ops/nla/__init__.pyi +90 -91
- bpy/ops/node/__init__.pyi +242 -243
- bpy/ops/object/__init__.pyi +572 -567
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +182 -126
- bpy/ops/paintcurve/__init__.pyi +20 -20
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +90 -90
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +76 -76
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +34 -34
- bpy/ops/scene/__init__.pyi +86 -86
- bpy/ops/screen/__init__.pyi +84 -84
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +62 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +184 -185
- bpy/ops/sound/__init__.pyi +16 -16
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +112 -112
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +104 -105
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +232 -232
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +29 -52
- bpy/types/__init__.pyi +5257 -3766
- bpy/utils/__init__.pyi +3 -6
- bpy/utils/units/__init__.pyi +3 -6
- bpy_extras/io_utils/__init__.pyi +8 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/RECORD +114 -114
- freestyle/chainingiterators/__init__.pyi +5 -12
- freestyle/functions/__init__.pyi +19 -73
- freestyle/predicates/__init__.pyi +8 -21
- freestyle/shaders/__init__.pyi +32 -81
- freestyle/types/__init__.pyi +100 -270
- freestyle/utils/ContextFunctions/__init__.pyi +7 -27
- freestyle/utils/__init__.pyi +1 -2
- gpu/capabilities/__init__.pyi +15 -32
- gpu/matrix/__init__.pyi +1 -2
- gpu/state/__init__.pyi +4 -10
- gpu/types/__init__.pyi +29 -87
- gpu_extras/presets/__init__.pyi +4 -16
- imbuf/types/__init__.pyi +4 -10
- mathutils/__init__.pyi +106 -257
- mathutils/bvhtree/__init__.pyi +7 -15
- mathutils/geometry/__init__.pyi +9 -18
- mathutils/kdtree/__init__.pyi +4 -11
- mathutils/noise/__init__.pyi +41 -82
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/top_level.txt +0 -0
bmesh/types/__init__.pyi
CHANGED
|
@@ -11,12 +11,11 @@ class BMDeformVert:
|
|
|
11
11
|
"""Clears all weights."""
|
|
12
12
|
...
|
|
13
13
|
|
|
14
|
-
def get(self, key
|
|
14
|
+
def get(self, key, default=None):
|
|
15
15
|
"""Returns the deform weight matching the key or default
|
|
16
16
|
when not found (matches Python's dictionary function of the same name).
|
|
17
17
|
|
|
18
18
|
:param key: The key associated with deform weight.
|
|
19
|
-
:type key: int
|
|
20
19
|
:param default: Optional argument for the value to return if
|
|
21
20
|
key is not found.
|
|
22
21
|
"""
|
|
@@ -57,11 +56,8 @@ class BMEdge:
|
|
|
57
56
|
:type: bool
|
|
58
57
|
"""
|
|
59
58
|
|
|
60
|
-
index:
|
|
61
|
-
""" Index of this element.
|
|
62
|
-
|
|
63
|
-
:type: int
|
|
64
|
-
"""
|
|
59
|
+
index: typing.Any
|
|
60
|
+
""" Index of this element."""
|
|
65
61
|
|
|
66
62
|
is_boundary: bool
|
|
67
63
|
""" True when this edge is at the boundary of a face (read-only).
|
|
@@ -148,7 +144,6 @@ class BMEdge:
|
|
|
148
144
|
(instead of raising a `ValueError`).
|
|
149
145
|
:type fallback: typing.Any
|
|
150
146
|
:return: The angle between 2 connected faces in radians.
|
|
151
|
-
:rtype: float
|
|
152
147
|
"""
|
|
153
148
|
...
|
|
154
149
|
|
|
@@ -159,15 +154,13 @@ class BMEdge:
|
|
|
159
154
|
(instead of raising a `ValueError`).
|
|
160
155
|
:type fallback: typing.Any
|
|
161
156
|
:return: The angle between 2 connected faces in radians (negative for concave join).
|
|
162
|
-
:rtype: float
|
|
163
157
|
"""
|
|
164
158
|
...
|
|
165
159
|
|
|
166
|
-
def calc_length(self)
|
|
160
|
+
def calc_length(self):
|
|
167
161
|
"""
|
|
168
162
|
|
|
169
163
|
:return: The length between both verts.
|
|
170
|
-
:rtype: float
|
|
171
164
|
"""
|
|
172
165
|
...
|
|
173
166
|
|
|
@@ -451,11 +444,8 @@ class BMFace:
|
|
|
451
444
|
:type: bool
|
|
452
445
|
"""
|
|
453
446
|
|
|
454
|
-
index:
|
|
455
|
-
""" Index of this element.
|
|
456
|
-
|
|
457
|
-
:type: int
|
|
458
|
-
"""
|
|
447
|
+
index: typing.Any
|
|
448
|
+
""" Index of this element."""
|
|
459
449
|
|
|
460
450
|
is_valid: bool
|
|
461
451
|
""" True when this element is valid (hasn't been removed).
|
|
@@ -469,11 +459,8 @@ class BMFace:
|
|
|
469
459
|
:type: typing.Union[typing.List[BMLoop], BMElemSeq]
|
|
470
460
|
"""
|
|
471
461
|
|
|
472
|
-
material_index:
|
|
473
|
-
""" The face's material index.
|
|
474
|
-
|
|
475
|
-
:type: int
|
|
476
|
-
"""
|
|
462
|
+
material_index: typing.Any
|
|
463
|
+
""" The face's material index."""
|
|
477
464
|
|
|
478
465
|
normal: typing.Union[typing.Sequence[float], mathutils.Vector]
|
|
479
466
|
""" The normal for this face as a 3D, wrapped vector.
|
|
@@ -509,11 +496,10 @@ class BMFace:
|
|
|
509
496
|
"""Return the area of the face.
|
|
510
497
|
|
|
511
498
|
:return: Return the area of the face.
|
|
512
|
-
:rtype: float
|
|
513
499
|
"""
|
|
514
500
|
...
|
|
515
501
|
|
|
516
|
-
def calc_center_bounds(self)
|
|
502
|
+
def calc_center_bounds(self):
|
|
517
503
|
"""Return bounds center of the face.
|
|
518
504
|
|
|
519
505
|
:return: a 3D vector.
|
|
@@ -541,11 +527,10 @@ class BMFace:
|
|
|
541
527
|
"""Return the perimeter of the face.
|
|
542
528
|
|
|
543
529
|
:return: Return the perimeter of the face.
|
|
544
|
-
:rtype: float
|
|
545
530
|
"""
|
|
546
531
|
...
|
|
547
532
|
|
|
548
|
-
def calc_tangent_edge(self)
|
|
533
|
+
def calc_tangent_edge(self):
|
|
549
534
|
"""Return face tangent based on longest edge.
|
|
550
535
|
|
|
551
536
|
:return: a normalized vector.
|
|
@@ -969,11 +954,8 @@ class BMLoop:
|
|
|
969
954
|
:type: BMFace
|
|
970
955
|
"""
|
|
971
956
|
|
|
972
|
-
index:
|
|
973
|
-
""" Index of this element.
|
|
974
|
-
|
|
975
|
-
:type: int
|
|
976
|
-
"""
|
|
957
|
+
index: typing.Any
|
|
958
|
+
""" Index of this element."""
|
|
977
959
|
|
|
978
960
|
is_convex: bool
|
|
979
961
|
""" True when this loop is at the convex corner of a face, depends on a valid face normal (read-only).
|
|
@@ -1034,11 +1016,10 @@ class BMLoop:
|
|
|
1034
1016
|
This is calculated so sharper corners give lower angles.
|
|
1035
1017
|
|
|
1036
1018
|
:return: The angle in radians.
|
|
1037
|
-
:rtype: float
|
|
1038
1019
|
"""
|
|
1039
1020
|
...
|
|
1040
1021
|
|
|
1041
|
-
def calc_normal(self)
|
|
1022
|
+
def calc_normal(self):
|
|
1042
1023
|
"""Return normal at this loops corner of the face.
|
|
1043
1024
|
Falls back to the face normal for straight lines.
|
|
1044
1025
|
|
|
@@ -1182,11 +1163,8 @@ class BMVert:
|
|
|
1182
1163
|
:type: bool
|
|
1183
1164
|
"""
|
|
1184
1165
|
|
|
1185
|
-
index:
|
|
1186
|
-
""" Index of this element.
|
|
1187
|
-
|
|
1188
|
-
:type: int
|
|
1189
|
-
"""
|
|
1166
|
+
index: typing.Any
|
|
1167
|
+
""" Index of this element."""
|
|
1190
1168
|
|
|
1191
1169
|
is_boundary: bool
|
|
1192
1170
|
""" True when this vertex is connected to boundary edges (read-only).
|
|
@@ -1255,17 +1233,15 @@ class BMVert:
|
|
|
1255
1233
|
(instead of raising a `ValueError`).
|
|
1256
1234
|
:type fallback: typing.Any
|
|
1257
1235
|
:return: Angle between edges in radians.
|
|
1258
|
-
:rtype: float
|
|
1259
1236
|
"""
|
|
1260
1237
|
...
|
|
1261
1238
|
|
|
1262
|
-
def calc_shell_factor(self)
|
|
1239
|
+
def calc_shell_factor(self):
|
|
1263
1240
|
"""Return a multiplier calculated based on the sharpness of the vertex.
|
|
1264
1241
|
Where a flat surface gives 1.0, and higher values sharper edges.
|
|
1265
1242
|
This is used to maintain shell thickness when offsetting verts along their normals.
|
|
1266
1243
|
|
|
1267
1244
|
:return: offset multiplier
|
|
1268
|
-
:rtype: float
|
|
1269
1245
|
"""
|
|
1270
1246
|
...
|
|
1271
1247
|
|
|
@@ -1485,7 +1461,6 @@ class BMesh:
|
|
|
1485
1461
|
:param signed: when signed is true, negative values may be returned.
|
|
1486
1462
|
:type signed: bool
|
|
1487
1463
|
:return: The volume of the mesh.
|
|
1488
|
-
:rtype: float
|
|
1489
1464
|
"""
|
|
1490
1465
|
...
|
|
1491
1466
|
|
|
@@ -1493,7 +1468,7 @@ class BMesh:
|
|
|
1493
1468
|
"""Clear all mesh data."""
|
|
1494
1469
|
...
|
|
1495
1470
|
|
|
1496
|
-
def copy(self)
|
|
1471
|
+
def copy(self):
|
|
1497
1472
|
"""
|
|
1498
1473
|
|
|
1499
1474
|
:return: A copy of this BMesh.
|
|
@@ -1511,7 +1486,7 @@ class BMesh:
|
|
|
1511
1486
|
face_normals=True,
|
|
1512
1487
|
vertex_normals=True,
|
|
1513
1488
|
use_shape_key: bool = False,
|
|
1514
|
-
shape_key_index
|
|
1489
|
+
shape_key_index=0,
|
|
1515
1490
|
):
|
|
1516
1491
|
"""Initialize this bmesh from existing mesh datablock.
|
|
1517
1492
|
|
|
@@ -1522,7 +1497,6 @@ class BMesh:
|
|
|
1522
1497
|
:param use_shape_key: Use the locations from a shape key.
|
|
1523
1498
|
:type use_shape_key: bool
|
|
1524
1499
|
:param shape_key_index: The shape key index to use.
|
|
1525
|
-
:type shape_key_index: int
|
|
1526
1500
|
"""
|
|
1527
1501
|
...
|
|
1528
1502
|
|
bmesh/utils/__init__.pyi
CHANGED
|
@@ -17,9 +17,7 @@ def edge_rotate(edge: bmesh.types.BMEdge, ccw: bool = False) -> bmesh.types.BMEd
|
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
|
-
def edge_split(
|
|
21
|
-
edge: bmesh.types.BMEdge, vert: bmesh.types.BMVert, fac: float
|
|
22
|
-
) -> typing.Tuple:
|
|
20
|
+
def edge_split(edge: bmesh.types.BMEdge, vert: bmesh.types.BMVert, fac) -> typing.Tuple:
|
|
23
21
|
"""Split an edge, return the newly created data.
|
|
24
22
|
|
|
25
23
|
:param edge: The edge to split.
|
|
@@ -27,7 +25,6 @@ def edge_split(
|
|
|
27
25
|
:param vert: One of the verts on the edge, defines the split direction.
|
|
28
26
|
:type vert: bmesh.types.BMVert
|
|
29
27
|
:param fac: The point on the edge where the new vert will be created [0 - 1].
|
|
30
|
-
:type fac: float
|
|
31
28
|
:return: The newly created (edge, vert) pair.
|
|
32
29
|
:rtype: typing.Tuple
|
|
33
30
|
"""
|
|
@@ -137,7 +134,7 @@ def vert_collapse_edge(
|
|
|
137
134
|
...
|
|
138
135
|
|
|
139
136
|
def vert_collapse_faces(
|
|
140
|
-
vert: bmesh.types.BMVert, edge: bmesh.types.BMEdge, fac
|
|
137
|
+
vert: bmesh.types.BMVert, edge: bmesh.types.BMEdge, fac, join_faces: bool
|
|
141
138
|
) -> bmesh.types.BMEdge:
|
|
142
139
|
"""Collapses a vertex that has only two manifold edges onto a vertex it shares an edge with.
|
|
143
140
|
|
|
@@ -146,7 +143,6 @@ def vert_collapse_faces(
|
|
|
146
143
|
:param edge: The edge to collapse into.
|
|
147
144
|
:type edge: bmesh.types.BMEdge
|
|
148
145
|
:param fac: The factor to use when merging customdata [0 - 1].
|
|
149
|
-
:type fac: float
|
|
150
146
|
:param join_faces: When true the faces around the vertex will be joined otherwise collapse the vertex by merging the 2 edges this vertex connects to into one.
|
|
151
147
|
:type join_faces: bool
|
|
152
148
|
:return: The resulting edge from the collapse operation.
|
bpy/app/icons/__init__.pyi
CHANGED
|
@@ -4,7 +4,7 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
4
4
|
|
|
5
5
|
def new_triangles(
|
|
6
6
|
range: tuple, coords: typing.Sequence[bytes], colors: typing.Sequence[bytes]
|
|
7
|
-
)
|
|
7
|
+
):
|
|
8
8
|
"""Create a new icon from triangle geometry.
|
|
9
9
|
|
|
10
10
|
:param range: Pair of ints.
|
|
@@ -14,18 +14,16 @@ def new_triangles(
|
|
|
14
14
|
:param colors: Sequence of ints (12 for one triangles) for RGBA.
|
|
15
15
|
:type colors: typing.Sequence[bytes]
|
|
16
16
|
:return: Unique icon value (pass to interface icon_value argument).
|
|
17
|
-
:rtype: int
|
|
18
17
|
"""
|
|
19
18
|
|
|
20
19
|
...
|
|
21
20
|
|
|
22
|
-
def new_triangles_from_file(filepath: str)
|
|
21
|
+
def new_triangles_from_file(filepath: str):
|
|
23
22
|
"""Create a new icon from triangle geometry.
|
|
24
23
|
|
|
25
24
|
:param filepath: File path.
|
|
26
25
|
:type filepath: str
|
|
27
26
|
:return: Unique icon value (pass to interface icon_value argument).
|
|
28
|
-
:rtype: int
|
|
29
27
|
"""
|
|
30
28
|
|
|
31
29
|
...
|
bpy/app/timers/__init__.pyi
CHANGED
|
@@ -2,20 +2,17 @@ import typing
|
|
|
2
2
|
|
|
3
3
|
GenericType = typing.TypeVar("GenericType")
|
|
4
4
|
|
|
5
|
-
def is_registered(function
|
|
5
|
+
def is_registered(function) -> bool:
|
|
6
6
|
"""Check if this function is registered as a timer.
|
|
7
7
|
|
|
8
8
|
:param function: Function to check.
|
|
9
|
-
:type function: int
|
|
10
9
|
:return: True when this function is registered, otherwise False.
|
|
11
10
|
:rtype: bool
|
|
12
11
|
"""
|
|
13
12
|
|
|
14
13
|
...
|
|
15
14
|
|
|
16
|
-
def register(
|
|
17
|
-
function: typing.Callable, first_interval: float = 0, persistent: bool = False
|
|
18
|
-
):
|
|
15
|
+
def register(function: typing.Callable, first_interval=0, persistent: bool = False):
|
|
19
16
|
"""Add a new function that will be called after the specified amount of seconds.
|
|
20
17
|
The function gets no arguments and is expected to return either None or a float.
|
|
21
18
|
If None is returned, the timer will be unregistered.
|
|
@@ -25,7 +22,6 @@ def register(
|
|
|
25
22
|
:param function: The function that should called.
|
|
26
23
|
:type function: typing.Callable
|
|
27
24
|
:param first_interval: Seconds until the callback should be called the first time.
|
|
28
|
-
:type first_interval: float
|
|
29
25
|
:param persistent: Don't remove timer when a new file is loaded.
|
|
30
26
|
:type persistent: bool
|
|
31
27
|
"""
|