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
blf/__init__.pyi CHANGED
@@ -107,11 +107,11 @@ def enable(fontid: int, option: int):
107
107
 
108
108
  ...
109
109
 
110
- def load(filepath: str | bytes) -> int:
110
+ def load(filepath: bytes | str) -> int:
111
111
  """Load a new font.
112
112
 
113
113
  :param filepath: the filepath of the font.
114
- :type filepath: str | bytes
114
+ :type filepath: bytes | str
115
115
  :return: the new font's fontid or -1 if there was an error.
116
116
  :rtype: int
117
117
  """
@@ -187,11 +187,11 @@ def size(fontid: int, size: float):
187
187
 
188
188
  ...
189
189
 
190
- def unload(filepath: str | bytes):
190
+ def unload(filepath: bytes | str):
191
191
  """Unload an existing font.
192
192
 
193
193
  :param filepath: the filepath of the font.
194
- :type filepath: str | bytes
194
+ :type filepath: bytes | str
195
195
  """
196
196
 
197
197
  ...
bmesh/ops/__init__.pyi CHANGED
@@ -64,9 +64,9 @@ def beautify_fill(
64
64
 
65
65
  def bevel(
66
66
  bm: bmesh.types.BMesh,
67
- geom: list[bmesh.types.BMVert]
68
- | list[bmesh.types.BMEdge]
69
- | list[bmesh.types.BMFace] = [],
67
+ geom: list[bmesh.types.BMEdge]
68
+ | list[bmesh.types.BMFace]
69
+ | list[bmesh.types.BMVert] = [],
70
70
  offset: float = 0,
71
71
  offset_type: str = "OFFSET",
72
72
  profile_type: str = "SUPERELLIPSE",
@@ -91,7 +91,7 @@ def bevel(
91
91
  :param bm: The bmesh to operate on.
92
92
  :type bm: bmesh.types.BMesh
93
93
  :param geom: input edges and vertices
94
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
94
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
95
95
  :param offset: amount to offset beveled edge
96
96
  :type offset: float
97
97
  :param offset_type: how to measure the offset
@@ -170,9 +170,9 @@ def bisect_edges(
170
170
 
171
171
  def bisect_plane(
172
172
  bm: bmesh.types.BMesh,
173
- geom: list[bmesh.types.BMVert]
174
- | list[bmesh.types.BMEdge]
175
- | list[bmesh.types.BMFace] = [],
173
+ geom: list[bmesh.types.BMEdge]
174
+ | list[bmesh.types.BMFace]
175
+ | list[bmesh.types.BMVert] = [],
176
176
  dist: float = 0,
177
177
  plane_co: collections.abc.Sequence[float] | mathutils.Vector = None(),
178
178
  plane_no: collections.abc.Sequence[float] | mathutils.Vector = None(),
@@ -185,7 +185,7 @@ def bisect_plane(
185
185
  :param bm: The bmesh to operate on.
186
186
  :type bm: bmesh.types.BMesh
187
187
  :param geom: input geometry
188
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
188
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
189
189
  :param dist: minimum distance when testing if a vert is exactly on the plane
190
190
  :type dist: float
191
191
  :param plane_co: point on the plane
@@ -382,9 +382,9 @@ def connect_verts_nonplanar(
382
382
 
383
383
  def contextual_create(
384
384
  bm: bmesh.types.BMesh,
385
- geom: list[bmesh.types.BMVert]
386
- | list[bmesh.types.BMEdge]
387
- | list[bmesh.types.BMFace] = [],
385
+ geom: list[bmesh.types.BMEdge]
386
+ | list[bmesh.types.BMFace]
387
+ | list[bmesh.types.BMVert] = [],
388
388
  mat_nr: int = 0,
389
389
  use_smooth: bool = False,
390
390
  ) -> dict[str, typing.Any]:
@@ -396,7 +396,7 @@ def contextual_create(
396
396
  :param bm: The bmesh to operate on.
397
397
  :type bm: bmesh.types.BMesh
398
398
  :param geom: input geometry.
399
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
399
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
400
400
  :param mat_nr: material to use
401
401
  :type mat_nr: int
402
402
  :param use_smooth: smooth to use
@@ -415,9 +415,9 @@ def contextual_create(
415
415
 
416
416
  def convex_hull(
417
417
  bm: bmesh.types.BMesh,
418
- input: list[bmesh.types.BMVert]
419
- | list[bmesh.types.BMEdge]
420
- | list[bmesh.types.BMFace] = [],
418
+ input: list[bmesh.types.BMEdge]
419
+ | list[bmesh.types.BMFace]
420
+ | list[bmesh.types.BMVert] = [],
421
421
  use_existing_faces: bool = False,
422
422
  ) -> dict[str, typing.Any]:
423
423
  """Convex HullBuilds a convex hull from the vertices in 'input'.If 'use_existing_faces' is true, the hull will not output triangles
@@ -431,7 +431,7 @@ def convex_hull(
431
431
  :param bm: The bmesh to operate on.
432
432
  :type bm: bmesh.types.BMesh
433
433
  :param input: input geometry
434
- :type input: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
434
+ :type input: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
435
435
  :param use_existing_faces: skip hull triangles that are covered by a pre-existing face
436
436
  :type use_existing_faces: bool
437
437
  :return: geom:
@@ -460,7 +460,8 @@ def create_circle(
460
460
  cap_tris: bool = False,
461
461
  segments: int = 0,
462
462
  radius: float = 0,
463
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
463
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
464
+ | mathutils.Matrix = None(4),
464
465
  calc_uvs: bool = False,
465
466
  ) -> dict[str, typing.Any]:
466
467
  """Creates a Circle.
@@ -476,7 +477,7 @@ def create_circle(
476
477
  :param radius: Radius of the circle.
477
478
  :type radius: float
478
479
  :param matrix: matrix to multiply the new geometry with
479
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
480
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
480
481
  :param calc_uvs: calculate default UVs
481
482
  :type calc_uvs: bool
482
483
  :return: verts: output verts
@@ -495,7 +496,8 @@ def create_cone(
495
496
  radius1: float = 0,
496
497
  radius2: float = 0,
497
498
  depth: float = 0,
498
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
499
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
500
+ | mathutils.Matrix = None(4),
499
501
  calc_uvs: bool = False,
500
502
  ) -> dict[str, typing.Any]:
501
503
  """Create Cone.Creates a cone with variable depth at both ends
@@ -515,7 +517,7 @@ def create_cone(
515
517
  :param depth: distance between ends
516
518
  :type depth: float
517
519
  :param matrix: matrix to multiply the new geometry with
518
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
520
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
519
521
  :param calc_uvs: calculate default UVs
520
522
  :type calc_uvs: bool
521
523
  :return: verts: output verts
@@ -529,7 +531,8 @@ def create_cone(
529
531
  def create_cube(
530
532
  bm: bmesh.types.BMesh,
531
533
  size: float = 0,
532
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
534
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
535
+ | mathutils.Matrix = None(4),
533
536
  calc_uvs: bool = False,
534
537
  ) -> dict[str, typing.Any]:
535
538
  """Create CubeCreates a cube.
@@ -539,7 +542,7 @@ def create_cube(
539
542
  :param size: size of the cube
540
543
  :type size: float
541
544
  :param matrix: matrix to multiply the new geometry with
542
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
545
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
543
546
  :param calc_uvs: calculate default UVs
544
547
  :type calc_uvs: bool
545
548
  :return: verts: output verts
@@ -555,7 +558,8 @@ def create_grid(
555
558
  x_segments: int = 0,
556
559
  y_segments: int = 0,
557
560
  size: float = 0,
558
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
561
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
562
+ | mathutils.Matrix = None(4),
559
563
  calc_uvs: bool = False,
560
564
  ) -> dict[str, typing.Any]:
561
565
  """Create Grid.Creates a grid with a variable number of subdivisions
@@ -569,7 +573,7 @@ def create_grid(
569
573
  :param size: size of the grid
570
574
  :type size: float
571
575
  :param matrix: matrix to multiply the new geometry with
572
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
576
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
573
577
  :param calc_uvs: calculate default UVs
574
578
  :type calc_uvs: bool
575
579
  :return: verts: output verts
@@ -584,7 +588,8 @@ def create_icosphere(
584
588
  bm: bmesh.types.BMesh,
585
589
  subdivisions: int = 0,
586
590
  radius: float = 0,
587
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
591
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
592
+ | mathutils.Matrix = None(4),
588
593
  calc_uvs: bool = False,
589
594
  ) -> dict[str, typing.Any]:
590
595
  """Create Ico-Sphere.Creates a grid with a variable number of subdivisions
@@ -596,7 +601,7 @@ def create_icosphere(
596
601
  :param radius: radius
597
602
  :type radius: float
598
603
  :param matrix: matrix to multiply the new geometry with
599
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
604
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
600
605
  :param calc_uvs: calculate default UVs
601
606
  :type calc_uvs: bool
602
607
  :return: verts: output verts
@@ -609,7 +614,8 @@ def create_icosphere(
609
614
 
610
615
  def create_monkey(
611
616
  bm: bmesh.types.BMesh,
612
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
617
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
618
+ | mathutils.Matrix = None(4),
613
619
  calc_uvs: bool = False,
614
620
  ) -> dict[str, typing.Any]:
615
621
  """Create Suzanne.Creates a monkey (standard blender primitive).
@@ -617,7 +623,7 @@ def create_monkey(
617
623
  :param bm: The bmesh to operate on.
618
624
  :type bm: bmesh.types.BMesh
619
625
  :param matrix: matrix to multiply the new geometry with
620
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
626
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
621
627
  :param calc_uvs: calculate default UVs
622
628
  :type calc_uvs: bool
623
629
  :return: verts: output verts
@@ -633,7 +639,8 @@ def create_uvsphere(
633
639
  u_segments: int = 0,
634
640
  v_segments: int = 0,
635
641
  radius: float = 0,
636
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
642
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
643
+ | mathutils.Matrix = None(4),
637
644
  calc_uvs: bool = False,
638
645
  ) -> dict[str, typing.Any]:
639
646
  """Create UV Sphere.Creates a grid with a variable number of subdivisions
@@ -647,7 +654,7 @@ def create_uvsphere(
647
654
  :param radius: radius
648
655
  :type radius: float
649
656
  :param matrix: matrix to multiply the new geometry with
650
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
657
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
651
658
  :param calc_uvs: calculate default UVs
652
659
  :type calc_uvs: bool
653
660
  :return: verts: output verts
@@ -679,9 +686,9 @@ def create_vert(
679
686
 
680
687
  def delete(
681
688
  bm: bmesh.types.BMesh,
682
- geom: list[bmesh.types.BMVert]
683
- | list[bmesh.types.BMEdge]
684
- | list[bmesh.types.BMFace] = [],
689
+ geom: list[bmesh.types.BMEdge]
690
+ | list[bmesh.types.BMFace]
691
+ | list[bmesh.types.BMVert] = [],
685
692
  context: str = "VERTS",
686
693
  ):
687
694
  """Delete Geometry.Utility operator to delete geometry.
@@ -689,7 +696,7 @@ def delete(
689
696
  :param bm: The bmesh to operate on.
690
697
  :type bm: bmesh.types.BMesh
691
698
  :param geom: input geometry
692
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
699
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
693
700
  :param context: geometry types to delete
694
701
  :type context: str
695
702
  """
@@ -805,9 +812,9 @@ def dissolve_verts(
805
812
 
806
813
  def duplicate(
807
814
  bm: bmesh.types.BMesh,
808
- geom: list[bmesh.types.BMVert]
809
- | list[bmesh.types.BMEdge]
810
- | list[bmesh.types.BMFace] = [],
815
+ geom: list[bmesh.types.BMEdge]
816
+ | list[bmesh.types.BMFace]
817
+ | list[bmesh.types.BMVert] = [],
811
818
  dest: bmesh.types.BMesh = None,
812
819
  use_select_history: bool = False,
813
820
  use_edge_flip_from_face: bool = False,
@@ -818,7 +825,7 @@ def duplicate(
818
825
  :param bm: The bmesh to operate on.
819
826
  :type bm: bmesh.types.BMesh
820
827
  :param geom: input geometry
821
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
828
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
822
829
  :param dest: destination bmesh, if None will use current on
823
830
  :type dest: bmesh.types.BMesh
824
831
  :param use_select_history: Undocumented.
@@ -977,9 +984,9 @@ def extrude_edge_only(
977
984
 
978
985
  def extrude_face_region(
979
986
  bm: bmesh.types.BMesh,
980
- geom: list[bmesh.types.BMVert]
981
- | list[bmesh.types.BMEdge]
982
- | list[bmesh.types.BMFace] = [],
987
+ geom: list[bmesh.types.BMEdge]
988
+ | list[bmesh.types.BMFace]
989
+ | list[bmesh.types.BMVert] = [],
983
990
  edges_exclude=None(),
984
991
  use_keep_orig: bool = False,
985
992
  use_normal_flip: bool = False,
@@ -992,7 +999,7 @@ def extrude_face_region(
992
999
  :param bm: The bmesh to operate on.
993
1000
  :type bm: bmesh.types.BMesh
994
1001
  :param geom: edges and faces
995
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
1002
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
996
1003
  :param edges_exclude: input edges to explicitly exclude from extrusion
997
1004
  :param use_keep_orig: keep original geometry (requires geom to include edges).
998
1005
  :type use_keep_orig: bool
@@ -1285,10 +1292,11 @@ def mesh_to_bmesh(
1285
1292
 
1286
1293
  def mirror(
1287
1294
  bm: bmesh.types.BMesh,
1288
- geom: list[bmesh.types.BMVert]
1289
- | list[bmesh.types.BMEdge]
1290
- | list[bmesh.types.BMFace] = [],
1291
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
1295
+ geom: list[bmesh.types.BMEdge]
1296
+ | list[bmesh.types.BMFace]
1297
+ | list[bmesh.types.BMVert] = [],
1298
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
1299
+ | mathutils.Matrix = None(4),
1292
1300
  merge_dist: float = 0,
1293
1301
  axis: str = "X",
1294
1302
  mirror_u: bool = False,
@@ -1303,9 +1311,9 @@ def mirror(
1303
1311
  :param bm: The bmesh to operate on.
1304
1312
  :type bm: bmesh.types.BMesh
1305
1313
  :param geom: input geometry
1306
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
1314
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
1307
1315
  :param matrix: matrix defining the mirror transformation
1308
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
1316
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
1309
1317
  :param merge_dist: maximum distance for merging. does no merging if 0.
1310
1318
  :type merge_dist: float
1311
1319
  :param axis: the axis to use.
@@ -1465,9 +1473,9 @@ def recalc_face_normals(bm: bmesh.types.BMesh, faces: list[bmesh.types.BMFace] =
1465
1473
 
1466
1474
  def region_extend(
1467
1475
  bm: bmesh.types.BMesh,
1468
- geom: list[bmesh.types.BMVert]
1469
- | list[bmesh.types.BMEdge]
1470
- | list[bmesh.types.BMFace] = [],
1476
+ geom: list[bmesh.types.BMEdge]
1477
+ | list[bmesh.types.BMFace]
1478
+ | list[bmesh.types.BMVert] = [],
1471
1479
  use_contract: bool = False,
1472
1480
  use_faces: bool = False,
1473
1481
  use_face_step: bool = False,
@@ -1480,7 +1488,7 @@ def region_extend(
1480
1488
  :param bm: The bmesh to operate on.
1481
1489
  :type bm: bmesh.types.BMesh
1482
1490
  :param geom: input geometry
1483
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
1491
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
1484
1492
  :param use_contract: find boundary inside the regions, not outside.
1485
1493
  :type use_contract: bool
1486
1494
  :param use_faces: extend from faces instead of edges
@@ -1558,9 +1566,11 @@ def reverse_uvs(bm: bmesh.types.BMesh, faces: list[bmesh.types.BMFace] = []):
1558
1566
  def rotate(
1559
1567
  bm: bmesh.types.BMesh,
1560
1568
  cent: collections.abc.Sequence[float] | mathutils.Vector = None(),
1561
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
1569
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
1570
+ | mathutils.Matrix = None(4),
1562
1571
  verts: list[bmesh.types.BMVert] = [],
1563
- space: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
1572
+ space: collections.abc.Sequence[collections.abc.Sequence[float]]
1573
+ | mathutils.Matrix = None(4),
1564
1574
  use_shapekey: bool = False,
1565
1575
  ):
1566
1576
  """Rotate.Rotate vertices around a center, using a 3x3 rotation matrix.
@@ -1570,11 +1580,11 @@ def rotate(
1570
1580
  :param cent: center of rotation
1571
1581
  :type cent: collections.abc.Sequence[float] | mathutils.Vector
1572
1582
  :param matrix: matrix defining rotation
1573
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
1583
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
1574
1584
  :param verts: input vertices
1575
1585
  :type verts: list[bmesh.types.BMVert]
1576
1586
  :param space: matrix to define the space (typically object matrix)
1577
- :type space: collections.abc.Sequence[float] | mathutils.Matrix
1587
+ :type space: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
1578
1588
  :param use_shapekey: Transform shape keys too.
1579
1589
  :type use_shapekey: bool
1580
1590
  """
@@ -1639,7 +1649,8 @@ def rotate_uvs(
1639
1649
  def scale(
1640
1650
  bm: bmesh.types.BMesh,
1641
1651
  vec: collections.abc.Sequence[float] | mathutils.Vector = None(),
1642
- space: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
1652
+ space: collections.abc.Sequence[collections.abc.Sequence[float]]
1653
+ | mathutils.Matrix = None(4),
1643
1654
  verts: list[bmesh.types.BMVert] = [],
1644
1655
  use_shapekey: bool = False,
1645
1656
  ):
@@ -1650,7 +1661,7 @@ def scale(
1650
1661
  :param vec: scale factor
1651
1662
  :type vec: collections.abc.Sequence[float] | mathutils.Vector
1652
1663
  :param space: matrix to define the space (typically object matrix)
1653
- :type space: collections.abc.Sequence[float] | mathutils.Matrix
1664
+ :type space: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
1654
1665
  :param verts: input vertices
1655
1666
  :type verts: list[bmesh.types.BMVert]
1656
1667
  :param use_shapekey: Transform shape keys too.
@@ -1732,9 +1743,9 @@ def smooth_vert(
1732
1743
 
1733
1744
  def solidify(
1734
1745
  bm: bmesh.types.BMesh,
1735
- geom: list[bmesh.types.BMVert]
1736
- | list[bmesh.types.BMEdge]
1737
- | list[bmesh.types.BMFace] = [],
1746
+ geom: list[bmesh.types.BMEdge]
1747
+ | list[bmesh.types.BMFace]
1748
+ | list[bmesh.types.BMVert] = [],
1738
1749
  thickness: float = 0,
1739
1750
  ) -> dict[str, typing.Any]:
1740
1751
  """Solidify.Turns a mesh into a shell with thickness
@@ -1742,7 +1753,7 @@ def solidify(
1742
1753
  :param bm: The bmesh to operate on.
1743
1754
  :type bm: bmesh.types.BMesh
1744
1755
  :param geom: input geometry
1745
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
1756
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
1746
1757
  :param thickness: thickness
1747
1758
  :type thickness: float
1748
1759
  :return: geom:
@@ -1755,14 +1766,15 @@ def solidify(
1755
1766
 
1756
1767
  def spin(
1757
1768
  bm: bmesh.types.BMesh,
1758
- geom: list[bmesh.types.BMVert]
1759
- | list[bmesh.types.BMEdge]
1760
- | list[bmesh.types.BMFace] = [],
1769
+ geom: list[bmesh.types.BMEdge]
1770
+ | list[bmesh.types.BMFace]
1771
+ | list[bmesh.types.BMVert] = [],
1761
1772
  cent: collections.abc.Sequence[float] | mathutils.Vector = None(),
1762
1773
  axis: collections.abc.Sequence[float] | mathutils.Vector = None(),
1763
1774
  dvec: collections.abc.Sequence[float] | mathutils.Vector = None(),
1764
1775
  angle: float = 0,
1765
- space: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
1776
+ space: collections.abc.Sequence[collections.abc.Sequence[float]]
1777
+ | mathutils.Matrix = None(4),
1766
1778
  steps: int = 0,
1767
1779
  use_merge: bool = False,
1768
1780
  use_normal_flip: bool = False,
@@ -1774,7 +1786,7 @@ def spin(
1774
1786
  :param bm: The bmesh to operate on.
1775
1787
  :type bm: bmesh.types.BMesh
1776
1788
  :param geom: input geometry
1777
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
1789
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
1778
1790
  :param cent: rotation center
1779
1791
  :type cent: collections.abc.Sequence[float] | mathutils.Vector
1780
1792
  :param axis: rotation axis
@@ -1784,7 +1796,7 @@ def spin(
1784
1796
  :param angle: total rotation angle (radians)
1785
1797
  :type angle: float
1786
1798
  :param space: matrix to define the space (typically object matrix)
1787
- :type space: collections.abc.Sequence[float] | mathutils.Matrix
1799
+ :type space: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
1788
1800
  :param steps: number of steps
1789
1801
  :type steps: int
1790
1802
  :param use_merge: Merge first/last when the angle is a full revolution.
@@ -1803,9 +1815,9 @@ def spin(
1803
1815
 
1804
1816
  def split(
1805
1817
  bm: bmesh.types.BMesh,
1806
- geom: list[bmesh.types.BMVert]
1807
- | list[bmesh.types.BMEdge]
1808
- | list[bmesh.types.BMFace] = [],
1818
+ geom: list[bmesh.types.BMEdge]
1819
+ | list[bmesh.types.BMFace]
1820
+ | list[bmesh.types.BMVert] = [],
1809
1821
  dest: bmesh.types.BMesh = None,
1810
1822
  use_only_faces: bool = False,
1811
1823
  ) -> dict[str, typing.Any]:
@@ -1815,7 +1827,7 @@ def split(
1815
1827
  :param bm: The bmesh to operate on.
1816
1828
  :type bm: bmesh.types.BMesh
1817
1829
  :param geom: input geometry
1818
- :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
1830
+ :type geom: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
1819
1831
  :param dest: destination bmesh, if None will use current one
1820
1832
  :type dest: bmesh.types.BMesh
1821
1833
  :param use_only_faces: when enabled. don't duplicate loose verts/edges
@@ -1962,9 +1974,9 @@ def subdivide_edges(
1962
1974
 
1963
1975
  def symmetrize(
1964
1976
  bm: bmesh.types.BMesh,
1965
- input: list[bmesh.types.BMVert]
1966
- | list[bmesh.types.BMEdge]
1967
- | list[bmesh.types.BMFace] = [],
1977
+ input: list[bmesh.types.BMEdge]
1978
+ | list[bmesh.types.BMFace]
1979
+ | list[bmesh.types.BMVert] = [],
1968
1980
  direction: str = "-X",
1969
1981
  dist: float = 0,
1970
1982
  use_shapekey: bool = False,
@@ -1977,7 +1989,7 @@ def symmetrize(
1977
1989
  :param bm: The bmesh to operate on.
1978
1990
  :type bm: bmesh.types.BMesh
1979
1991
  :param input: input geometry
1980
- :type input: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
1992
+ :type input: list[bmesh.types.BMEdge] | list[bmesh.types.BMFace] | list[bmesh.types.BMVert]
1981
1993
  :param direction: axis to use
1982
1994
  :type direction: str
1983
1995
  :param dist: minimum distance
@@ -1994,8 +2006,10 @@ def symmetrize(
1994
2006
 
1995
2007
  def transform(
1996
2008
  bm: bmesh.types.BMesh,
1997
- matrix: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
1998
- space: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
2009
+ matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
2010
+ | mathutils.Matrix = None(4),
2011
+ space: collections.abc.Sequence[collections.abc.Sequence[float]]
2012
+ | mathutils.Matrix = None(4),
1999
2013
  verts: list[bmesh.types.BMVert] = [],
2000
2014
  use_shapekey: bool = False,
2001
2015
  ):
@@ -2005,9 +2019,9 @@ def transform(
2005
2019
  :param bm: The bmesh to operate on.
2006
2020
  :type bm: bmesh.types.BMesh
2007
2021
  :param matrix: transform matrix
2008
- :type matrix: collections.abc.Sequence[float] | mathutils.Matrix
2022
+ :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
2009
2023
  :param space: matrix to define the space (typically object matrix)
2010
- :type space: collections.abc.Sequence[float] | mathutils.Matrix
2024
+ :type space: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
2011
2025
  :param verts: input vertices
2012
2026
  :type verts: list[bmesh.types.BMVert]
2013
2027
  :param use_shapekey: Transform shape keys too.
@@ -2019,7 +2033,8 @@ def transform(
2019
2033
  def translate(
2020
2034
  bm: bmesh.types.BMesh,
2021
2035
  vec: collections.abc.Sequence[float] | mathutils.Vector = None(),
2022
- space: collections.abc.Sequence[float] | mathutils.Matrix = None(4),
2036
+ space: collections.abc.Sequence[collections.abc.Sequence[float]]
2037
+ | mathutils.Matrix = None(4),
2023
2038
  verts: list[bmesh.types.BMVert] = [],
2024
2039
  use_shapekey: bool = False,
2025
2040
  ):
@@ -2030,7 +2045,7 @@ def translate(
2030
2045
  :param vec: translation offset
2031
2046
  :type vec: collections.abc.Sequence[float] | mathutils.Vector
2032
2047
  :param space: matrix to define the space (typically object matrix)
2033
- :type space: collections.abc.Sequence[float] | mathutils.Matrix
2048
+ :type space: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
2034
2049
  :param verts: input vertices
2035
2050
  :type verts: list[bmesh.types.BMVert]
2036
2051
  :param use_shapekey: Transform shape keys too.