fake-bpy-module 20240327__py3-none-any.whl → 20240330__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.

Files changed (114) hide show
  1. aud/__init__.pyi +34 -96
  2. bgl/__init__.pyi +1265 -2417
  3. bl_math/__init__.pyi +3 -14
  4. bl_ui/space_toolsystem_toolbar/__init__.pyi +6 -0
  5. blf/__init__.pyi +13 -50
  6. bmesh/ops/__init__.pyi +68 -142
  7. bmesh/types/__init__.pyi +18 -44
  8. bmesh/utils/__init__.pyi +2 -6
  9. bpy/app/icons/__init__.pyi +2 -4
  10. bpy/app/timers/__init__.pyi +2 -6
  11. bpy/ops/action/__init__.pyi +92 -93
  12. bpy/ops/anim/__init__.pyi +104 -104
  13. bpy/ops/armature/__init__.pyi +108 -112
  14. bpy/ops/asset/__init__.pyi +32 -32
  15. bpy/ops/boid/__init__.pyi +18 -18
  16. bpy/ops/brush/__init__.pyi +18 -18
  17. bpy/ops/buttons/__init__.pyi +12 -12
  18. bpy/ops/cachefile/__init__.pyi +10 -10
  19. bpy/ops/camera/__init__.pyi +4 -4
  20. bpy/ops/clip/__init__.pyi +194 -195
  21. bpy/ops/cloth/__init__.pyi +2 -2
  22. bpy/ops/collection/__init__.pyi +10 -10
  23. bpy/ops/console/__init__.pyi +42 -42
  24. bpy/ops/constraint/__init__.pyi +36 -36
  25. bpy/ops/curve/__init__.pyi +114 -118
  26. bpy/ops/curves/__init__.pyi +55 -53
  27. bpy/ops/cycles/__init__.pyi +6 -6
  28. bpy/ops/dpaint/__init__.pyi +12 -12
  29. bpy/ops/ed/__init__.pyi +24 -24
  30. bpy/ops/export_anim/__init__.pyi +2 -2
  31. bpy/ops/export_mesh/__init__.pyi +2 -2
  32. bpy/ops/export_scene/__init__.pyi +9 -9
  33. bpy/ops/file/__init__.pyi +80 -83
  34. bpy/ops/fluid/__init__.pyi +28 -28
  35. bpy/ops/font/__init__.pyi +46 -46
  36. bpy/ops/geometry/__init__.pyi +38 -38
  37. bpy/ops/gizmogroup/__init__.pyi +4 -4
  38. bpy/ops/gpencil/__init__.pyi +308 -309
  39. bpy/ops/graph/__init__.pyi +150 -151
  40. bpy/ops/grease_pencil/__init__.pyi +114 -115
  41. bpy/ops/image/__init__.pyi +100 -100
  42. bpy/ops/import_anim/__init__.pyi +2 -2
  43. bpy/ops/import_curve/__init__.pyi +2 -2
  44. bpy/ops/import_mesh/__init__.pyi +2 -2
  45. bpy/ops/import_scene/__init__.pyi +6 -6
  46. bpy/ops/info/__init__.pyi +14 -14
  47. bpy/ops/lattice/__init__.pyi +16 -16
  48. bpy/ops/marker/__init__.pyi +22 -22
  49. bpy/ops/mask/__init__.pyi +90 -91
  50. bpy/ops/material/__init__.pyi +6 -6
  51. bpy/ops/mball/__init__.pyi +20 -21
  52. bpy/ops/mesh/__init__.pyi +431 -429
  53. bpy/ops/nla/__init__.pyi +89 -90
  54. bpy/ops/node/__init__.pyi +242 -243
  55. bpy/ops/object/__init__.pyi +572 -567
  56. bpy/ops/outliner/__init__.pyi +142 -142
  57. bpy/ops/paint/__init__.pyi +182 -126
  58. bpy/ops/paintcurve/__init__.pyi +20 -20
  59. bpy/ops/palette/__init__.pyi +14 -14
  60. bpy/ops/particle/__init__.pyi +72 -72
  61. bpy/ops/pose/__init__.pyi +90 -90
  62. bpy/ops/poselib/__init__.pyi +18 -18
  63. bpy/ops/preferences/__init__.pyi +76 -76
  64. bpy/ops/ptcache/__init__.pyi +14 -14
  65. bpy/ops/render/__init__.pyi +24 -24
  66. bpy/ops/rigidbody/__init__.pyi +34 -34
  67. bpy/ops/scene/__init__.pyi +86 -86
  68. bpy/ops/screen/__init__.pyi +84 -84
  69. bpy/ops/script/__init__.pyi +6 -6
  70. bpy/ops/sculpt/__init__.pyi +62 -62
  71. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  72. bpy/ops/sequencer/__init__.pyi +184 -185
  73. bpy/ops/sound/__init__.pyi +16 -16
  74. bpy/ops/spreadsheet/__init__.pyi +8 -8
  75. bpy/ops/surface/__init__.pyi +12 -12
  76. bpy/ops/text/__init__.pyi +86 -86
  77. bpy/ops/text_editor/__init__.pyi +2 -2
  78. bpy/ops/texture/__init__.pyi +8 -8
  79. bpy/ops/transform/__init__.pyi +112 -112
  80. bpy/ops/ui/__init__.pyi +64 -64
  81. bpy/ops/uilist/__init__.pyi +6 -6
  82. bpy/ops/uv/__init__.pyi +104 -105
  83. bpy/ops/view2d/__init__.pyi +28 -28
  84. bpy/ops/view3d/__init__.pyi +134 -134
  85. bpy/ops/wm/__init__.pyi +232 -232
  86. bpy/ops/workspace/__init__.pyi +14 -14
  87. bpy/ops/world/__init__.pyi +2 -2
  88. bpy/props/__init__.pyi +29 -52
  89. bpy/types/__init__.pyi +5354 -3708
  90. bpy/utils/__init__.pyi +3 -6
  91. bpy/utils/units/__init__.pyi +3 -6
  92. bpy_extras/io_utils/__init__.pyi +8 -0
  93. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/METADATA +1 -1
  94. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/RECORD +114 -114
  95. freestyle/chainingiterators/__init__.pyi +5 -12
  96. freestyle/functions/__init__.pyi +19 -73
  97. freestyle/predicates/__init__.pyi +8 -21
  98. freestyle/shaders/__init__.pyi +32 -81
  99. freestyle/types/__init__.pyi +100 -270
  100. freestyle/utils/ContextFunctions/__init__.pyi +7 -27
  101. freestyle/utils/__init__.pyi +1 -2
  102. gpu/capabilities/__init__.pyi +15 -32
  103. gpu/matrix/__init__.pyi +1 -2
  104. gpu/state/__init__.pyi +4 -10
  105. gpu/types/__init__.pyi +29 -87
  106. gpu_extras/presets/__init__.pyi +4 -16
  107. imbuf/types/__init__.pyi +4 -10
  108. mathutils/__init__.pyi +106 -257
  109. mathutils/bvhtree/__init__.pyi +7 -15
  110. mathutils/geometry/__init__.pyi +9 -18
  111. mathutils/kdtree/__init__.pyi +4 -11
  112. mathutils/noise/__init__.pyi +41 -82
  113. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/WHEEL +0 -0
  114. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.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: int, default=None):
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: int
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) -> float:
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: int
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: int
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) -> float:
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) -> float:
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: int
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) -> float:
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: int
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) -> float:
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) -> float:
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: int = 0,
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: float, join_faces: bool
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.
@@ -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
- ) -> int:
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) -> int:
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
  ...
@@ -2,20 +2,17 @@ import typing
2
2
 
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
- def is_registered(function: int) -> bool:
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
  """