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.

Files changed (107) hide show
  1. aud/__init__.pyi +4 -4
  2. bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -4
  3. bl_ui/space_sequencer/__init__.pyi +14 -0
  4. bl_ui/space_userpref/__init__.pyi +234 -0
  5. bl_ui/space_view3d/__init__.pyi +810 -0
  6. blf/__init__.pyi +4 -4
  7. bmesh/ops/__init__.pyi +97 -82
  8. bmesh/types/__init__.pyi +43 -40
  9. bmesh/utils/__init__.pyi +2 -4
  10. bpy/ops/action/__init__.pyi +152 -152
  11. bpy/ops/anim/__init__.pyi +216 -216
  12. bpy/ops/armature/__init__.pyi +192 -192
  13. bpy/ops/asset/__init__.pyi +64 -64
  14. bpy/ops/boid/__init__.pyi +32 -32
  15. bpy/ops/brush/__init__.pyi +36 -36
  16. bpy/ops/buttons/__init__.pyi +24 -24
  17. bpy/ops/cachefile/__init__.pyi +20 -20
  18. bpy/ops/camera/__init__.pyi +8 -8
  19. bpy/ops/clip/__init__.pyi +368 -368
  20. bpy/ops/cloth/__init__.pyi +4 -4
  21. bpy/ops/collection/__init__.pyi +36 -36
  22. bpy/ops/console/__init__.pyi +84 -84
  23. bpy/ops/constraint/__init__.pyi +72 -72
  24. bpy/ops/curve/__init__.pyi +204 -204
  25. bpy/ops/curves/__init__.pyi +108 -108
  26. bpy/ops/cycles/__init__.pyi +12 -12
  27. bpy/ops/dpaint/__init__.pyi +20 -20
  28. bpy/ops/ed/__init__.pyi +48 -48
  29. bpy/ops/export_anim/__init__.pyi +4 -4
  30. bpy/ops/export_scene/__init__.pyi +8 -8
  31. bpy/ops/extensions/__init__.pyi +130 -110
  32. bpy/ops/file/__init__.pyi +160 -160
  33. bpy/ops/fluid/__init__.pyi +56 -56
  34. bpy/ops/font/__init__.pyi +92 -92
  35. bpy/ops/geometry/__init__.pyi +40 -40
  36. bpy/ops/gizmogroup/__init__.pyi +8 -8
  37. bpy/ops/gpencil/__init__.pyi +600 -600
  38. bpy/ops/graph/__init__.pyi +260 -260
  39. bpy/ops/grease_pencil/__init__.pyi +292 -292
  40. bpy/ops/image/__init__.pyi +192 -192
  41. bpy/ops/import_anim/__init__.pyi +4 -4
  42. bpy/ops/import_curve/__init__.pyi +4 -4
  43. bpy/ops/import_scene/__init__.pyi +8 -8
  44. bpy/ops/info/__init__.pyi +28 -28
  45. bpy/ops/lattice/__init__.pyi +32 -32
  46. bpy/ops/marker/__init__.pyi +44 -44
  47. bpy/ops/mask/__init__.pyi +156 -156
  48. bpy/ops/material/__init__.pyi +12 -12
  49. bpy/ops/mball/__init__.pyi +32 -32
  50. bpy/ops/mesh/__init__.pyi +652 -652
  51. bpy/ops/nla/__init__.pyi +156 -156
  52. bpy/ops/node/__init__.pyi +450 -404
  53. bpy/ops/object/__init__.pyi +984 -987
  54. bpy/ops/outliner/__init__.pyi +284 -284
  55. bpy/ops/paint/__init__.pyi +220 -220
  56. bpy/ops/paintcurve/__init__.pyi +32 -32
  57. bpy/ops/palette/__init__.pyi +28 -28
  58. bpy/ops/particle/__init__.pyi +144 -144
  59. bpy/ops/pose/__init__.pyi +156 -156
  60. bpy/ops/poselib/__init__.pyi +36 -36
  61. bpy/ops/preferences/__init__.pyi +151 -148
  62. bpy/ops/ptcache/__init__.pyi +28 -28
  63. bpy/ops/render/__init__.pyi +48 -48
  64. bpy/ops/rigidbody/__init__.pyi +52 -52
  65. bpy/ops/scene/__init__.pyi +156 -156
  66. bpy/ops/screen/__init__.pyi +156 -156
  67. bpy/ops/script/__init__.pyi +12 -12
  68. bpy/ops/sculpt/__init__.pyi +144 -144
  69. bpy/ops/sculpt_curves/__init__.pyi +16 -16
  70. bpy/ops/sequencer/__init__.pyi +364 -340
  71. bpy/ops/sound/__init__.pyi +28 -28
  72. bpy/ops/spreadsheet/__init__.pyi +16 -16
  73. bpy/ops/surface/__init__.pyi +24 -24
  74. bpy/ops/text/__init__.pyi +172 -172
  75. bpy/ops/text_editor/__init__.pyi +4 -4
  76. bpy/ops/texture/__init__.pyi +16 -16
  77. bpy/ops/transform/__init__.pyi +111 -108
  78. bpy/ops/ui/__init__.pyi +132 -132
  79. bpy/ops/uilist/__init__.pyi +12 -12
  80. bpy/ops/uv/__init__.pyi +196 -196
  81. bpy/ops/view2d/__init__.pyi +56 -56
  82. bpy/ops/view3d/__init__.pyi +268 -268
  83. bpy/ops/wm/__init__.pyi +475 -448
  84. bpy/ops/workspace/__init__.pyi +28 -28
  85. bpy/ops/world/__init__.pyi +8 -8
  86. bpy/path/__init__.pyi +18 -18
  87. bpy/props/__init__.pyi +11 -11
  88. bpy/types/__init__.pyi +2136 -1798
  89. bpy/utils/__init__.pyi +4 -4
  90. bpy_extras/anim_utils/__init__.pyi +4 -4
  91. bpy_extras/io_utils/__init__.pyi +4 -4
  92. bpy_extras/mesh_utils/__init__.pyi +4 -4
  93. bpy_extras/view3d_utils/__init__.pyi +24 -20
  94. bpy_types/__init__.pyi +12 -7
  95. {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/METADATA +1 -1
  96. {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/RECORD +107 -107
  97. freestyle/types/__init__.pyi +64 -64
  98. freestyle/utils/__init__.pyi +2 -2
  99. gpu/matrix/__init__.pyi +15 -6
  100. gpu/state/__init__.pyi +2 -2
  101. gpu/types/__init__.pyi +6 -4
  102. gpu_extras/presets/__init__.pyi +8 -4
  103. imbuf/__init__.pyi +4 -4
  104. mathutils/__init__.pyi +292 -187
  105. mathutils/geometry/__init__.pyi +2 -5
  106. {fake_bpy_module-20240531.dist-info → fake_bpy_module-20240604.dist-info}/WHEEL +0 -0
  107. {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] | BMElemSeq
123
+ link_faces: BMElemSeq | list[BMFace]
124
124
  """ Faces connected to this edge, (read-only).
125
125
 
126
- :type: list[BMFace] | BMElemSeq
126
+ :type: BMElemSeq | list[BMFace]
127
127
  """
128
128
 
129
- link_loops: list[BMLoop] | BMElemSeq
129
+ link_loops: BMElemSeq | list[BMLoop]
130
130
  """ Loops connected to this edge, (read-only).
131
131
 
132
- :type: list[BMLoop] | BMElemSeq
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] | BMElemSeq
159
+ verts: BMElemSeq | list[BMVert]
160
160
  """ Verts this edge uses (always 2), (read-only).
161
161
 
162
- :type: list[BMVert] | BMElemSeq
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: collections.abc.Iterable[BMVert], fallback=None) -> BMEdge:
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: collections.abc.Iterable[BMVert]
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: BMVert | BMEdge | BMFace
358
+ active: BMEdge | BMFace | BMVert
359
359
  """ The last selected element or None (read-only).
360
360
 
361
- :type: BMVert | BMEdge | BMFace
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] | BMElemSeq
432
+ edges: BMElemSeq | list[BMEdge]
433
433
  """ Edges of this face, (read-only).
434
434
 
435
- :type: list[BMEdge] | BMElemSeq
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] | BMElemSeq
456
+ loops: BMElemSeq | list[BMLoop]
457
457
  """ Loops of this face, (read-only).
458
458
 
459
- :type: list[BMLoop] | BMElemSeq
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: collections.abc.Sequence[float] | mathutils.Vector
468
+ normal: mathutils.Vector
469
469
  """ The normal for this face as a 3D, wrapped vector.
470
470
 
471
- :type: collections.abc.Sequence[float] | mathutils.Vector
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] | BMElemSeq
492
+ verts: BMElemSeq | list[BMVert]
493
493
  """ Verts of this face, (read-only).
494
494
 
495
- :type: list[BMVert] | BMElemSeq
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: collections.abc.Iterable[BMVert], fallback=None) -> BMFace:
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: collections.abc.Iterable[BMVert]
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: collections.abc.Iterable[BMVert]
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] | BMElemSeq
1113
+ link_loops: BMElemSeq | list[BMLoop]
1116
1114
  """ Loops connected to this loop, (read-only).
1117
1115
 
1118
- :type: list[BMLoop] | BMElemSeq
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: collections.abc.Sequence[float] | mathutils.Vector
1234
+ uv: mathutils.Vector
1237
1235
  """ Loops UV (as a 2D Vector).
1238
1236
 
1239
- :type: collections.abc.Sequence[float] | mathutils.Vector
1237
+ :type: mathutils.Vector
1240
1238
  """
1241
1239
 
1242
1240
  class BMVert:
1243
1241
  """The BMesh vertex type"""
1244
1242
 
1245
- co: collections.abc.Sequence[float] | mathutils.Vector
1243
+ co: mathutils.Vector
1246
1244
  """ The coordinates for this vertex as a 3D, wrapped vector.
1247
1245
 
1248
- :type: collections.abc.Sequence[float] | mathutils.Vector
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] | BMElemSeq
1285
+ link_edges: BMElemSeq | list[BMEdge]
1288
1286
  """ Edges connected to this vertex (read-only).
1289
1287
 
1290
- :type: list[BMEdge] | BMElemSeq
1288
+ :type: BMElemSeq | list[BMEdge]
1291
1289
  """
1292
1290
 
1293
- link_faces: list[BMFace] | BMElemSeq
1291
+ link_faces: BMElemSeq | list[BMFace]
1294
1292
  """ Faces connected to this vertex (read-only).
1295
1293
 
1296
- :type: list[BMFace] | BMElemSeq
1294
+ :type: BMElemSeq | list[BMFace]
1297
1295
  """
1298
1296
 
1299
- link_loops: list[BMLoop] | BMElemSeq
1297
+ link_loops: BMElemSeq | list[BMLoop]
1300
1298
  """ Loops that use this vertex (read-only).
1301
1299
 
1302
- :type: list[BMLoop] | BMElemSeq
1300
+ :type: BMElemSeq | list[BMLoop]
1303
1301
  """
1304
1302
 
1305
- normal: collections.abc.Sequence[float] | mathutils.Vector
1303
+ normal: mathutils.Vector
1306
1304
  """ The normal for this vertex as a 3D, wrapped vector.
1307
1305
 
1308
- :type: collections.abc.Sequence[float] | mathutils.Vector
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(self, matrix: mathutils.Matrix, filter: set = None):
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 | 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.