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/ops/__init__.pyi CHANGED
@@ -54,14 +54,14 @@ def bevel(
54
54
  typing.List[bmesh.types.BMEdge],
55
55
  typing.List[bmesh.types.BMFace],
56
56
  ] = [],
57
- offset: float = 0,
57
+ offset=0,
58
58
  offset_type: typing.Union[str, int] = "OFFSET",
59
59
  profile_type: typing.Union[str, int] = "SUPERELLIPSE",
60
- segments: int = 0,
61
- profile: float = 0,
60
+ segments=0,
61
+ profile=0,
62
62
  affect: typing.Union[str, int] = "VERTICES",
63
63
  clamp_overlap: bool = False,
64
- material: int = 0,
64
+ material=0,
65
65
  loop_slide: bool = False,
66
66
  mark_seam: bool = False,
67
67
  mark_sharp: bool = False,
@@ -69,7 +69,7 @@ def bevel(
69
69
  face_strength_mode: typing.Union[str, int] = "NONE",
70
70
  miter_outer: typing.Union[str, int] = "SHARP",
71
71
  miter_inner: typing.Union[str, int] = "SHARP",
72
- spread: float = 0,
72
+ spread=0,
73
73
  custom_profile: bpy.types.bpy_struct = None,
74
74
  vmesh_method: typing.Union[str, int] = "ADJ",
75
75
  ) -> typing.Dict:
@@ -80,21 +80,17 @@ def bevel(
80
80
  :param geom: input edges and vertices
81
81
  :type geom: typing.Union[typing.List[bmesh.types.BMVert], typing.List[bmesh.types.BMEdge], typing.List[bmesh.types.BMFace]]
82
82
  :param offset: amount to offset beveled edge
83
- :type offset: float
84
83
  :param offset_type: how to measure the offset
85
84
  :type offset_type: typing.Union[str, int]
86
85
  :param profile_type: The profile type to use for bevel.
87
86
  :type profile_type: typing.Union[str, int]
88
87
  :param segments: number of segments in bevel
89
- :type segments: int
90
88
  :param profile: profile shape, 0->1 (.5=>round)
91
- :type profile: float
92
89
  :param affect: Whether to bevel vertices or edges.
93
90
  :type affect: typing.Union[str, int]
94
91
  :param clamp_overlap: do not allow beveled edges/vertices to overlap each other
95
92
  :type clamp_overlap: bool
96
93
  :param material: material for bevel faces, -1 means get from adjacent faces
97
- :type material: int
98
94
  :param loop_slide: prefer to slide along edges to having even widths
99
95
  :type loop_slide: bool
100
96
  :param mark_seam: extend edge data to allow seams to run across bevels
@@ -110,7 +106,6 @@ def bevel(
110
106
  :param miter_inner: outer miter kind
111
107
  :type miter_inner: typing.Union[str, int]
112
108
  :param spread: amount to offset beveled edge
113
- :type spread: float
114
109
  :param custom_profile: CurveProfile, if None ignored
115
110
  :type custom_profile: bpy.types.bpy_struct
116
111
  :param vmesh_method: The method to use to create meshes at intersections.
@@ -134,7 +129,7 @@ def bevel(
134
129
  def bisect_edges(
135
130
  bm: bmesh.types.BMesh,
136
131
  edges: typing.List[bmesh.types.BMEdge] = [],
137
- cuts: int = 0,
132
+ cuts=0,
138
133
  edge_percents={},
139
134
  ) -> typing.Dict:
140
135
  """Edge Bisect.Splits input edges (but doesn't do anything else).
@@ -145,7 +140,6 @@ def bisect_edges(
145
140
  :param edges: input edges
146
141
  :type edges: typing.List[bmesh.types.BMEdge]
147
142
  :param cuts: number of cuts
148
- :type cuts: int
149
143
  :param edge_percents: Undocumented.
150
144
  :return: geom_split: newly created vertices and edges
151
145
 
@@ -162,7 +156,7 @@ def bisect_plane(
162
156
  typing.List[bmesh.types.BMEdge],
163
157
  typing.List[bmesh.types.BMFace],
164
158
  ] = [],
165
- dist: float = 0,
159
+ dist=0,
166
160
  plane_co: typing.Union[typing.Sequence[float], mathutils.Vector] = None(),
167
161
  plane_no: typing.Union[typing.Sequence[float], mathutils.Vector] = None(),
168
162
  use_snap_center: bool = False,
@@ -176,7 +170,6 @@ def bisect_plane(
176
170
  :param geom: input geometry
177
171
  :type geom: typing.Union[typing.List[bmesh.types.BMVert], typing.List[bmesh.types.BMEdge], typing.List[bmesh.types.BMFace]]
178
172
  :param dist: minimum distance when testing if a vert is exactly on the plane
179
- :type dist: float
180
173
  :param plane_co: point on the plane
181
174
  :type plane_co: typing.Union[typing.Sequence[float], mathutils.Vector]
182
175
  :param plane_no: direction of the plane
@@ -220,8 +213,8 @@ def bridge_loops(
220
213
  use_pairs: bool = False,
221
214
  use_cyclic: bool = False,
222
215
  use_merge: bool = False,
223
- merge_factor: float = 0,
224
- twist_offset: int = 0,
216
+ merge_factor=0,
217
+ twist_offset=0,
225
218
  ) -> typing.Dict:
226
219
  """Bridge edge loops with faces.
227
220
 
@@ -236,9 +229,7 @@ def bridge_loops(
236
229
  :param use_merge: merge rather than creating faces
237
230
  :type use_merge: bool
238
231
  :param merge_factor: merge factor
239
- :type merge_factor: float
240
232
  :param twist_offset: twist offset for closed loops
241
- :type twist_offset: int
242
233
  :return: faces: new faces
243
234
 
244
235
  type list of (`bmesh.types.BMFace`)
@@ -349,16 +340,13 @@ def connect_verts_concave(
349
340
  ...
350
341
 
351
342
  def connect_verts_nonplanar(
352
- bm: bmesh.types.BMesh,
353
- angle_limit: float = 0,
354
- faces: typing.List[bmesh.types.BMFace] = [],
343
+ bm: bmesh.types.BMesh, angle_limit=0, faces: typing.List[bmesh.types.BMFace] = []
355
344
  ) -> typing.Dict:
356
345
  """Connect Verts Across non Planer Faces.Split faces by connecting edges along non planer faces.
357
346
 
358
347
  :param bm: The bmesh to operate on.
359
348
  :type bm: bmesh.types.BMesh
360
349
  :param angle_limit: total rotation angle (radians)
361
- :type angle_limit: float
362
350
  :param faces: input faces
363
351
  :type faces: typing.List[bmesh.types.BMFace]
364
352
  :return: edges:
@@ -380,7 +368,7 @@ def contextual_create(
380
368
  typing.List[bmesh.types.BMEdge],
381
369
  typing.List[bmesh.types.BMFace],
382
370
  ] = [],
383
- mat_nr: int = 0,
371
+ mat_nr=0,
384
372
  use_smooth: bool = False,
385
373
  ) -> typing.Dict:
386
374
  """Contextual Create.This is basically F-key, it creates
@@ -393,7 +381,6 @@ def contextual_create(
393
381
  :param geom: input geometry.
394
382
  :type geom: typing.Union[typing.List[bmesh.types.BMVert], typing.List[bmesh.types.BMEdge], typing.List[bmesh.types.BMFace]]
395
383
  :param mat_nr: material to use
396
- :type mat_nr: int
397
384
  :param use_smooth: smooth to use
398
385
  :type use_smooth: bool
399
386
  :return: faces: newly-made face(s)
@@ -455,8 +442,8 @@ def create_circle(
455
442
  bm: bmesh.types.BMesh,
456
443
  cap_ends: bool = False,
457
444
  cap_tris: bool = False,
458
- segments: int = 0,
459
- radius: float = 0,
445
+ segments=0,
446
+ radius=0,
460
447
  matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
461
448
  calc_uvs: bool = False,
462
449
  ) -> typing.Dict:
@@ -469,9 +456,7 @@ def create_circle(
469
456
  :param cap_tris: fill ends with triangles instead of ngons
470
457
  :type cap_tris: bool
471
458
  :param segments: number of vertices in the circle
472
- :type segments: int
473
459
  :param radius: Radius of the circle.
474
- :type radius: float
475
460
  :param matrix: matrix to multiply the new geometry with
476
461
  :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
477
462
  :param calc_uvs: calculate default UVs
@@ -488,10 +473,10 @@ def create_cone(
488
473
  bm: bmesh.types.BMesh,
489
474
  cap_ends: bool = False,
490
475
  cap_tris: bool = False,
491
- segments: int = 0,
492
- radius1: float = 0,
493
- radius2: float = 0,
494
- depth: float = 0,
476
+ segments=0,
477
+ radius1=0,
478
+ radius2=0,
479
+ depth=0,
495
480
  matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
496
481
  calc_uvs: bool = False,
497
482
  ) -> typing.Dict:
@@ -504,13 +489,9 @@ def create_cone(
504
489
  :param cap_tris: fill ends with triangles instead of ngons
505
490
  :type cap_tris: bool
506
491
  :param segments: number of vertices in the base circle
507
- :type segments: int
508
492
  :param radius1: radius of one end
509
- :type radius1: float
510
493
  :param radius2: radius of the opposite
511
- :type radius2: float
512
494
  :param depth: distance between ends
513
- :type depth: float
514
495
  :param matrix: matrix to multiply the new geometry with
515
496
  :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
516
497
  :param calc_uvs: calculate default UVs
@@ -525,7 +506,7 @@ def create_cone(
525
506
 
526
507
  def create_cube(
527
508
  bm: bmesh.types.BMesh,
528
- size: float = 0,
509
+ size=0,
529
510
  matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
530
511
  calc_uvs: bool = False,
531
512
  ) -> typing.Dict:
@@ -534,7 +515,6 @@ def create_cube(
534
515
  :param bm: The bmesh to operate on.
535
516
  :type bm: bmesh.types.BMesh
536
517
  :param size: size of the cube
537
- :type size: float
538
518
  :param matrix: matrix to multiply the new geometry with
539
519
  :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
540
520
  :param calc_uvs: calculate default UVs
@@ -549,9 +529,9 @@ def create_cube(
549
529
 
550
530
  def create_grid(
551
531
  bm: bmesh.types.BMesh,
552
- x_segments: int = 0,
553
- y_segments: int = 0,
554
- size: float = 0,
532
+ x_segments=0,
533
+ y_segments=0,
534
+ size=0,
555
535
  matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
556
536
  calc_uvs: bool = False,
557
537
  ) -> typing.Dict:
@@ -560,11 +540,8 @@ def create_grid(
560
540
  :param bm: The bmesh to operate on.
561
541
  :type bm: bmesh.types.BMesh
562
542
  :param x_segments: number of x segments
563
- :type x_segments: int
564
543
  :param y_segments: number of y segments
565
- :type y_segments: int
566
544
  :param size: size of the grid
567
- :type size: float
568
545
  :param matrix: matrix to multiply the new geometry with
569
546
  :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
570
547
  :param calc_uvs: calculate default UVs
@@ -579,8 +556,8 @@ def create_grid(
579
556
 
580
557
  def create_icosphere(
581
558
  bm: bmesh.types.BMesh,
582
- subdivisions: int = 0,
583
- radius: float = 0,
559
+ subdivisions=0,
560
+ radius=0,
584
561
  matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
585
562
  calc_uvs: bool = False,
586
563
  ) -> typing.Dict:
@@ -589,9 +566,7 @@ def create_icosphere(
589
566
  :param bm: The bmesh to operate on.
590
567
  :type bm: bmesh.types.BMesh
591
568
  :param subdivisions: how many times to recursively subdivide the sphere
592
- :type subdivisions: int
593
569
  :param radius: radius
594
- :type radius: float
595
570
  :param matrix: matrix to multiply the new geometry with
596
571
  :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
597
572
  :param calc_uvs: calculate default UVs
@@ -627,9 +602,9 @@ def create_monkey(
627
602
 
628
603
  def create_uvsphere(
629
604
  bm: bmesh.types.BMesh,
630
- u_segments: int = 0,
631
- v_segments: int = 0,
632
- radius: float = 0,
605
+ u_segments=0,
606
+ v_segments=0,
607
+ radius=0,
633
608
  matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
634
609
  calc_uvs: bool = False,
635
610
  ) -> typing.Dict:
@@ -638,11 +613,8 @@ def create_uvsphere(
638
613
  :param bm: The bmesh to operate on.
639
614
  :type bm: bmesh.types.BMesh
640
615
  :param u_segments: number of u segments
641
- :type u_segments: int
642
616
  :param v_segments: number of v segment
643
- :type v_segments: int
644
617
  :param radius: radius
645
- :type radius: float
646
618
  :param matrix: matrix to multiply the new geometry with
647
619
  :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
648
620
  :param calc_uvs: calculate default UVs
@@ -696,14 +668,13 @@ def delete(
696
668
  ...
697
669
 
698
670
  def dissolve_degenerate(
699
- bm: bmesh.types.BMesh, dist: float = 0, edges: typing.List[bmesh.types.BMEdge] = []
671
+ bm: bmesh.types.BMesh, dist=0, edges: typing.List[bmesh.types.BMEdge] = []
700
672
  ):
701
673
  """Degenerate Dissolve.Dissolve edges with no length, faces with no area.
702
674
 
703
675
  :param bm: The bmesh to operate on.
704
676
  :type bm: bmesh.types.BMesh
705
677
  :param dist: maximum distance to consider degenerate
706
- :type dist: float
707
678
  :param edges: input edges
708
679
  :type edges: typing.List[bmesh.types.BMEdge]
709
680
  """
@@ -757,7 +728,7 @@ def dissolve_faces(
757
728
 
758
729
  def dissolve_limit(
759
730
  bm: bmesh.types.BMesh,
760
- angle_limit: float = 0,
731
+ angle_limit=0,
761
732
  use_dissolve_boundaries: bool = False,
762
733
  verts: typing.List[bmesh.types.BMVert] = [],
763
734
  edges: typing.List[bmesh.types.BMEdge] = [],
@@ -768,7 +739,6 @@ def dissolve_limit(
768
739
  :param bm: The bmesh to operate on.
769
740
  :type bm: bmesh.types.BMesh
770
741
  :param angle_limit: total rotation angle (radians)
771
- :type angle_limit: float
772
742
  :param use_dissolve_boundaries: dissolve all vertices in between face boundaries
773
743
  :type use_dissolve_boundaries: bool
774
744
  :param verts: input vertices
@@ -863,7 +833,7 @@ def duplicate(
863
833
  def edgeloop_fill(
864
834
  bm: bmesh.types.BMesh,
865
835
  edges: typing.List[bmesh.types.BMEdge] = [],
866
- mat_nr: int = 0,
836
+ mat_nr=0,
867
837
  use_smooth: bool = False,
868
838
  ) -> typing.Dict:
869
839
  """Edge Loop Fill.Create faces defined by one or more non overlapping edge loops.
@@ -873,7 +843,6 @@ def edgeloop_fill(
873
843
  :param edges: input edges
874
844
  :type edges: typing.List[bmesh.types.BMEdge]
875
845
  :param mat_nr: material to use
876
- :type mat_nr: int
877
846
  :param use_smooth: smooth state to use
878
847
  :type use_smooth: bool
879
848
  :return: faces: new faces
@@ -887,9 +856,9 @@ def edgeloop_fill(
887
856
  def edgenet_fill(
888
857
  bm: bmesh.types.BMesh,
889
858
  edges: typing.List[bmesh.types.BMEdge] = [],
890
- mat_nr: int = 0,
859
+ mat_nr=0,
891
860
  use_smooth: bool = False,
892
- sides: int = 0,
861
+ sides=0,
893
862
  ) -> typing.Dict:
894
863
  """Edge Net Fill.Create faces defined by enclosed edges.
895
864
 
@@ -898,11 +867,9 @@ def edgenet_fill(
898
867
  :param edges: input edges
899
868
  :type edges: typing.List[bmesh.types.BMEdge]
900
869
  :param mat_nr: material to use
901
- :type mat_nr: int
902
870
  :param use_smooth: smooth state to use
903
871
  :type use_smooth: bool
904
872
  :param sides: number of sides
905
- :type sides: int
906
873
  :return: faces: new faces
907
874
 
908
875
  type list of (`bmesh.types.BMFace`)
@@ -1070,7 +1037,7 @@ def find_doubles(
1070
1037
  bm: bmesh.types.BMesh,
1071
1038
  verts: typing.List[bmesh.types.BMVert] = [],
1072
1039
  keep_verts: typing.List[bmesh.types.BMVert] = [],
1073
- dist: float = 0,
1040
+ dist=0,
1074
1041
  ) -> typing.Dict:
1075
1042
  """Find Doubles.Takes input verts and find vertices they should weld to.
1076
1043
  Outputs a mapping slot suitable for use with the weld verts BMOP.If keep_verts is used, vertices outside that set can only be merged
@@ -1083,7 +1050,6 @@ def find_doubles(
1083
1050
  :param keep_verts: list of verts to keep
1084
1051
  :type keep_verts: typing.List[bmesh.types.BMVert]
1085
1052
  :param dist: maximum distance
1086
- :type dist: float
1087
1053
  :return: targetmap:
1088
1054
 
1089
1055
  type dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace`
@@ -1108,7 +1074,7 @@ def flip_quad_tessellation(
1108
1074
  def grid_fill(
1109
1075
  bm: bmesh.types.BMesh,
1110
1076
  edges: typing.List[bmesh.types.BMEdge] = [],
1111
- mat_nr: int = 0,
1077
+ mat_nr=0,
1112
1078
  use_smooth: bool = False,
1113
1079
  use_interp_simple: bool = False,
1114
1080
  ) -> typing.Dict:
@@ -1119,7 +1085,6 @@ def grid_fill(
1119
1085
  :param edges: input edges
1120
1086
  :type edges: typing.List[bmesh.types.BMEdge]
1121
1087
  :param mat_nr: material to use
1122
- :type mat_nr: int
1123
1088
  :param use_smooth: smooth state to use
1124
1089
  :type use_smooth: bool
1125
1090
  :param use_interp_simple: use simple interpolation
@@ -1133,7 +1098,7 @@ def grid_fill(
1133
1098
  ...
1134
1099
 
1135
1100
  def holes_fill(
1136
- bm: bmesh.types.BMesh, edges: typing.List[bmesh.types.BMEdge] = [], sides: int = 0
1101
+ bm: bmesh.types.BMesh, edges: typing.List[bmesh.types.BMEdge] = [], sides=0
1137
1102
  ) -> typing.Dict:
1138
1103
  """Fill Holes.Fill boundary edges with faces, copying surrounding customdata.
1139
1104
 
@@ -1142,7 +1107,6 @@ def holes_fill(
1142
1107
  :param edges: input edges
1143
1108
  :type edges: typing.List[bmesh.types.BMEdge]
1144
1109
  :param sides: number of face sides to fill
1145
- :type sides: int
1146
1110
  :return: faces: new faces
1147
1111
 
1148
1112
  type list of (`bmesh.types.BMFace`)
@@ -1154,8 +1118,8 @@ def holes_fill(
1154
1118
  def inset_individual(
1155
1119
  bm: bmesh.types.BMesh,
1156
1120
  faces: typing.List[bmesh.types.BMFace] = [],
1157
- thickness: float = 0,
1158
- depth: float = 0,
1121
+ thickness=0,
1122
+ depth=0,
1159
1123
  use_even_offset: bool = False,
1160
1124
  use_interpolate: bool = False,
1161
1125
  use_relative_offset: bool = False,
@@ -1167,9 +1131,7 @@ def inset_individual(
1167
1131
  :param faces: input faces
1168
1132
  :type faces: typing.List[bmesh.types.BMFace]
1169
1133
  :param thickness: thickness
1170
- :type thickness: float
1171
1134
  :param depth: depth
1172
- :type depth: float
1173
1135
  :param use_even_offset: scale the offset to give more even thickness
1174
1136
  :type use_even_offset: bool
1175
1137
  :param use_interpolate: blend face data across the inset
@@ -1193,8 +1155,8 @@ def inset_region(
1193
1155
  use_interpolate: bool = False,
1194
1156
  use_relative_offset: bool = False,
1195
1157
  use_edge_rail: bool = False,
1196
- thickness: float = 0,
1197
- depth: float = 0,
1158
+ thickness=0,
1159
+ depth=0,
1198
1160
  use_outset: bool = False,
1199
1161
  ) -> typing.Dict:
1200
1162
  """Face Inset (Regions).Inset or outset face regions.
@@ -1216,9 +1178,7 @@ def inset_region(
1216
1178
  :param use_edge_rail: inset the region along existing edges
1217
1179
  :type use_edge_rail: bool
1218
1180
  :param thickness: thickness
1219
- :type thickness: float
1220
1181
  :param depth: depth
1221
- :type depth: float
1222
1182
  :param use_outset: outset rather than inset
1223
1183
  :type use_outset: bool
1224
1184
  :return: faces: output faces
@@ -1237,8 +1197,8 @@ def join_triangles(
1237
1197
  cmp_uvs: bool = False,
1238
1198
  cmp_vcols: bool = False,
1239
1199
  cmp_materials: bool = False,
1240
- angle_face_threshold: float = 0,
1241
- angle_shape_threshold: float = 0,
1200
+ angle_face_threshold=0,
1201
+ angle_shape_threshold=0,
1242
1202
  ) -> typing.Dict:
1243
1203
  """Join Triangles.Tries to intelligently join triangles according
1244
1204
  to angle threshold and delimiters.
@@ -1258,9 +1218,7 @@ def join_triangles(
1258
1218
  :param cmp_materials: compare materials
1259
1219
  :type cmp_materials: bool
1260
1220
  :param angle_face_threshold: Undocumented.
1261
- :type angle_face_threshold: float
1262
1221
  :param angle_shape_threshold: Undocumented.
1263
- :type angle_shape_threshold: float
1264
1222
  :return: faces: joined faces
1265
1223
 
1266
1224
  type list of (`bmesh.types.BMFace`)
@@ -1298,7 +1256,7 @@ def mirror(
1298
1256
  typing.List[bmesh.types.BMFace],
1299
1257
  ] = [],
1300
1258
  matrix: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
1301
- merge_dist: float = 0,
1259
+ merge_dist=0,
1302
1260
  axis: typing.Union[str, int] = "X",
1303
1261
  mirror_u: bool = False,
1304
1262
  mirror_v: bool = False,
@@ -1316,7 +1274,6 @@ def mirror(
1316
1274
  :param matrix: matrix defining the mirror transformation
1317
1275
  :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
1318
1276
  :param merge_dist: maximum distance for merging. does no merging if 0.
1319
- :type merge_dist: float
1320
1277
  :param axis: the axis to use.
1321
1278
  :type axis: typing.Union[str, int]
1322
1279
  :param mirror_u: mirror UVs across the u axis
@@ -1375,8 +1332,8 @@ def offset_edgeloops(
1375
1332
  def planar_faces(
1376
1333
  bm: bmesh.types.BMesh,
1377
1334
  faces: typing.List[bmesh.types.BMFace] = [],
1378
- iterations: int = 0,
1379
- factor: float = 0,
1335
+ iterations=0,
1336
+ factor=0,
1380
1337
  ) -> typing.Dict:
1381
1338
  """Planar Faces.Iteratively flatten faces.
1382
1339
 
@@ -1385,9 +1342,7 @@ def planar_faces(
1385
1342
  :param faces: input geometry.
1386
1343
  :type faces: typing.List[bmesh.types.BMFace]
1387
1344
  :param iterations: Number of times to flatten faces (for when connected faces are used)
1388
- :type iterations: int
1389
1345
  :param factor: Influence for making planar each iteration
1390
- :type factor: float
1391
1346
  :return: geom: output slot, computed boundary geometry.
1392
1347
 
1393
1348
  type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
@@ -1433,7 +1388,7 @@ def pointmerge_facedata(
1433
1388
  def poke(
1434
1389
  bm: bmesh.types.BMesh,
1435
1390
  faces: typing.List[bmesh.types.BMFace] = [],
1436
- offset: float = 0,
1391
+ offset=0,
1437
1392
  center_mode: typing.Union[str, int] = "MEAN_WEIGHTED",
1438
1393
  use_relative_offset: bool = False,
1439
1394
  ) -> typing.Dict:
@@ -1444,7 +1399,6 @@ def poke(
1444
1399
  :param faces: input faces
1445
1400
  :type faces: typing.List[bmesh.types.BMFace]
1446
1401
  :param offset: center vertex offset along normal
1447
- :type offset: float
1448
1402
  :param center_mode: calculation mode for center vertex
1449
1403
  :type center_mode: typing.Union[str, int]
1450
1404
  :param use_relative_offset: apply offset
@@ -1509,7 +1463,7 @@ def region_extend(
1509
1463
  ...
1510
1464
 
1511
1465
  def remove_doubles(
1512
- bm: bmesh.types.BMesh, verts: typing.List[bmesh.types.BMVert] = [], dist: float = 0
1466
+ bm: bmesh.types.BMesh, verts: typing.List[bmesh.types.BMVert] = [], dist=0
1513
1467
  ):
1514
1468
  """Remove Doubles.Finds groups of vertices closer than dist and merges them together,
1515
1469
  using the weld verts BMOP.
@@ -1519,15 +1473,12 @@ def remove_doubles(
1519
1473
  :param verts: input verts
1520
1474
  :type verts: typing.List[bmesh.types.BMVert]
1521
1475
  :param dist: minimum distance
1522
- :type dist: float
1523
1476
  """
1524
1477
 
1525
1478
  ...
1526
1479
 
1527
1480
  def reverse_colors(
1528
- bm: bmesh.types.BMesh,
1529
- faces: typing.List[bmesh.types.BMFace] = [],
1530
- color_index: int = 0,
1481
+ bm: bmesh.types.BMesh, faces: typing.List[bmesh.types.BMFace] = [], color_index=0
1531
1482
  ):
1532
1483
  """Color ReverseReverse the loop colors.
1533
1484
 
@@ -1536,7 +1487,6 @@ def reverse_colors(
1536
1487
  :param faces: input faces
1537
1488
  :type faces: typing.List[bmesh.types.BMFace]
1538
1489
  :param color_index: index into color attribute list
1539
- :type color_index: int
1540
1490
  """
1541
1491
 
1542
1492
  ...
@@ -1600,7 +1550,7 @@ def rotate_colors(
1600
1550
  bm: bmesh.types.BMesh,
1601
1551
  faces: typing.List[bmesh.types.BMFace] = [],
1602
1552
  use_ccw: bool = False,
1603
- color_index: int = 0,
1553
+ color_index=0,
1604
1554
  ):
1605
1555
  """Color Rotation.Cycle the loop colors
1606
1556
 
@@ -1611,7 +1561,6 @@ def rotate_colors(
1611
1561
  :param use_ccw: rotate counter-clockwise if true, otherwise clockwise
1612
1562
  :type use_ccw: bool
1613
1563
  :param color_index: index into color attribute list
1614
- :type color_index: int
1615
1564
  """
1616
1565
 
1617
1566
  ...
@@ -1681,8 +1630,8 @@ def scale(
1681
1630
  def smooth_laplacian_vert(
1682
1631
  bm: bmesh.types.BMesh,
1683
1632
  verts: typing.List[bmesh.types.BMVert] = [],
1684
- lambda_factor: float = 0,
1685
- lambda_border: float = 0,
1633
+ lambda_factor=0,
1634
+ lambda_border=0,
1686
1635
  use_x: bool = False,
1687
1636
  use_y: bool = False,
1688
1637
  use_z: bool = False,
@@ -1696,9 +1645,7 @@ def smooth_laplacian_vert(
1696
1645
  :param verts: input vertices
1697
1646
  :type verts: typing.List[bmesh.types.BMVert]
1698
1647
  :param lambda_factor: lambda param
1699
- :type lambda_factor: float
1700
1648
  :param lambda_border: lambda param in border
1701
- :type lambda_border: float
1702
1649
  :param use_x: Smooth object along X axis
1703
1650
  :type use_x: bool
1704
1651
  :param use_y: Smooth object along Y axis
@@ -1714,11 +1661,11 @@ def smooth_laplacian_vert(
1714
1661
  def smooth_vert(
1715
1662
  bm: bmesh.types.BMesh,
1716
1663
  verts: typing.List[bmesh.types.BMVert] = [],
1717
- factor: float = 0,
1664
+ factor=0,
1718
1665
  mirror_clip_x: bool = False,
1719
1666
  mirror_clip_y: bool = False,
1720
1667
  mirror_clip_z: bool = False,
1721
- clip_dist: float = 0,
1668
+ clip_dist=0,
1722
1669
  use_axis_x: bool = False,
1723
1670
  use_axis_y: bool = False,
1724
1671
  use_axis_z: bool = False,
@@ -1730,7 +1677,6 @@ def smooth_vert(
1730
1677
  :param verts: input vertices
1731
1678
  :type verts: typing.List[bmesh.types.BMVert]
1732
1679
  :param factor: smoothing factor
1733
- :type factor: float
1734
1680
  :param mirror_clip_x: set vertices close to the x axis before the operation to 0
1735
1681
  :type mirror_clip_x: bool
1736
1682
  :param mirror_clip_y: set vertices close to the y axis before the operation to 0
@@ -1738,7 +1684,6 @@ def smooth_vert(
1738
1684
  :param mirror_clip_z: set vertices close to the z axis before the operation to 0
1739
1685
  :type mirror_clip_z: bool
1740
1686
  :param clip_dist: clipping threshold for the above three slots
1741
- :type clip_dist: float
1742
1687
  :param use_axis_x: smooth vertices along X axis
1743
1688
  :type use_axis_x: bool
1744
1689
  :param use_axis_y: smooth vertices along Y axis
@@ -1756,7 +1701,7 @@ def solidify(
1756
1701
  typing.List[bmesh.types.BMEdge],
1757
1702
  typing.List[bmesh.types.BMFace],
1758
1703
  ] = [],
1759
- thickness: float = 0,
1704
+ thickness=0,
1760
1705
  ) -> typing.Dict:
1761
1706
  """Solidify.Turns a mesh into a shell with thickness
1762
1707
 
@@ -1765,7 +1710,6 @@ def solidify(
1765
1710
  :param geom: input geometry
1766
1711
  :type geom: typing.Union[typing.List[bmesh.types.BMVert], typing.List[bmesh.types.BMEdge], typing.List[bmesh.types.BMFace]]
1767
1712
  :param thickness: thickness
1768
- :type thickness: float
1769
1713
  :return: geom:
1770
1714
 
1771
1715
  type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
@@ -1784,9 +1728,9 @@ def spin(
1784
1728
  cent: typing.Union[typing.Sequence[float], mathutils.Vector] = None(),
1785
1729
  axis: typing.Union[typing.Sequence[float], mathutils.Vector] = None(),
1786
1730
  dvec: typing.Union[typing.Sequence[float], mathutils.Vector] = None(),
1787
- angle: float = 0,
1731
+ angle=0,
1788
1732
  space: typing.Union[typing.Sequence[float], mathutils.Matrix] = None(4),
1789
- steps: int = 0,
1733
+ steps=0,
1790
1734
  use_merge: bool = False,
1791
1735
  use_normal_flip: bool = False,
1792
1736
  use_duplicate: bool = False,
@@ -1805,11 +1749,9 @@ def spin(
1805
1749
  :param dvec: translation delta per step
1806
1750
  :type dvec: typing.Union[typing.Sequence[float], mathutils.Vector]
1807
1751
  :param angle: total rotation angle (radians)
1808
- :type angle: float
1809
1752
  :param space: matrix to define the space (typically object matrix)
1810
1753
  :type space: typing.Union[typing.Sequence[float], mathutils.Matrix]
1811
1754
  :param steps: number of steps
1812
- :type steps: int
1813
1755
  :param use_merge: Merge first/last when the angle is a full revolution.
1814
1756
  :type use_merge: bool
1815
1757
  :param use_normal_flip: Create faces with reversed direction.
@@ -1889,10 +1831,10 @@ def subdivide_edgering(
1889
1831
  bm: bmesh.types.BMesh,
1890
1832
  edges: typing.List[bmesh.types.BMEdge] = [],
1891
1833
  interp_mode: typing.Union[str, int] = "LINEAR",
1892
- smooth: float = 0,
1893
- cuts: int = 0,
1834
+ smooth=0,
1835
+ cuts=0,
1894
1836
  profile_shape: typing.Union[str, int] = "SMOOTH",
1895
- profile_shape_factor: float = 0,
1837
+ profile_shape_factor=0,
1896
1838
  ) -> typing.Dict:
1897
1839
  """Subdivide Edge-Ring.Take an edge-ring, and subdivide with interpolation options.
1898
1840
 
@@ -1903,13 +1845,10 @@ def subdivide_edgering(
1903
1845
  :param interp_mode: interpolation method
1904
1846
  :type interp_mode: typing.Union[str, int]
1905
1847
  :param smooth: smoothness factor
1906
- :type smooth: float
1907
1848
  :param cuts: number of cuts
1908
- :type cuts: int
1909
1849
  :param profile_shape: profile shape type
1910
1850
  :type profile_shape: typing.Union[str, int]
1911
1851
  :param profile_shape_factor: how much intermediary new edges are shrunk/expanded
1912
- :type profile_shape_factor: float
1913
1852
  :return: faces: output faces
1914
1853
 
1915
1854
  type list of (`bmesh.types.BMFace`)
@@ -1921,12 +1860,12 @@ def subdivide_edgering(
1921
1860
  def subdivide_edges(
1922
1861
  bm: bmesh.types.BMesh,
1923
1862
  edges: typing.List[bmesh.types.BMEdge] = [],
1924
- smooth: float = 0,
1863
+ smooth=0,
1925
1864
  smooth_falloff: typing.Union[str, int] = "SMOOTH",
1926
- fractal: float = 0,
1927
- along_normal: float = 0,
1928
- cuts: int = 0,
1929
- seed: int = 0,
1865
+ fractal=0,
1866
+ along_normal=0,
1867
+ cuts=0,
1868
+ seed=0,
1930
1869
  custom_patterns={},
1931
1870
  edge_percents={},
1932
1871
  quad_corner_type: typing.Union[str, int] = "STRAIGHT_CUT",
@@ -1944,17 +1883,12 @@ def subdivide_edges(
1944
1883
  :param edges: input edges
1945
1884
  :type edges: typing.List[bmesh.types.BMEdge]
1946
1885
  :param smooth: smoothness factor
1947
- :type smooth: float
1948
1886
  :param smooth_falloff: smooth falloff type
1949
1887
  :type smooth_falloff: typing.Union[str, int]
1950
1888
  :param fractal: fractal randomness factor
1951
- :type fractal: float
1952
1889
  :param along_normal: apply fractal displacement along normal only
1953
- :type along_normal: float
1954
1890
  :param cuts: number of cuts
1955
- :type cuts: int
1956
1891
  :param seed: seed for the random number generator
1957
- :type seed: int
1958
1892
  :param custom_patterns: uses custom pointers
1959
1893
  :param edge_percents: Undocumented.
1960
1894
  :param quad_corner_type: quad corner type
@@ -1993,7 +1927,7 @@ def symmetrize(
1993
1927
  typing.List[bmesh.types.BMFace],
1994
1928
  ] = [],
1995
1929
  direction: typing.Union[str, int] = "-X",
1996
- dist: float = 0,
1930
+ dist=0,
1997
1931
  use_shapekey: bool = False,
1998
1932
  ) -> typing.Dict:
1999
1933
  """Symmetrize.Makes the mesh elements in the "input" slot symmetrical. Unlike
@@ -2008,7 +1942,6 @@ def symmetrize(
2008
1942
  :param direction: axis to use
2009
1943
  :type direction: typing.Union[str, int]
2010
1944
  :param dist: minimum distance
2011
- :type dist: float
2012
1945
  :param use_shapekey: Transform shape keys too.
2013
1946
  :type use_shapekey: bool
2014
1947
  :return: geom:
@@ -2130,9 +2063,7 @@ def triangulate(
2130
2063
  ...
2131
2064
 
2132
2065
  def unsubdivide(
2133
- bm: bmesh.types.BMesh,
2134
- verts: typing.List[bmesh.types.BMVert] = [],
2135
- iterations: int = 0,
2066
+ bm: bmesh.types.BMesh, verts: typing.List[bmesh.types.BMVert] = [], iterations=0
2136
2067
  ):
2137
2068
  """Un-Subdivide.Reduce detail in geometry containing grids.
2138
2069
 
@@ -2141,7 +2072,6 @@ def unsubdivide(
2141
2072
  :param verts: input vertices
2142
2073
  :type verts: typing.List[bmesh.types.BMVert]
2143
2074
  :param iterations: number of times to unsubdivide
2144
- :type iterations: int
2145
2075
  """
2146
2076
 
2147
2077
  ...
@@ -2161,15 +2091,15 @@ def weld_verts(bm: bmesh.types.BMesh, targetmap={}):
2161
2091
  def wireframe(
2162
2092
  bm: bmesh.types.BMesh,
2163
2093
  faces: typing.List[bmesh.types.BMFace] = [],
2164
- thickness: float = 0,
2165
- offset: float = 0,
2094
+ thickness=0,
2095
+ offset=0,
2166
2096
  use_replace: bool = False,
2167
2097
  use_boundary: bool = False,
2168
2098
  use_even_offset: bool = False,
2169
2099
  use_crease: bool = False,
2170
- crease_weight: float = 0,
2100
+ crease_weight=0,
2171
2101
  use_relative_offset: bool = False,
2172
- material_offset: int = 0,
2102
+ material_offset=0,
2173
2103
  ) -> typing.Dict:
2174
2104
  """Wire Frame.Makes a wire-frame copy of faces.
2175
2105
 
@@ -2178,9 +2108,7 @@ def wireframe(
2178
2108
  :param faces: input faces
2179
2109
  :type faces: typing.List[bmesh.types.BMFace]
2180
2110
  :param thickness: thickness
2181
- :type thickness: float
2182
2111
  :param offset: offset the thickness from the center
2183
- :type offset: float
2184
2112
  :param use_replace: remove original geometry
2185
2113
  :type use_replace: bool
2186
2114
  :param use_boundary: inset face boundaries
@@ -2190,11 +2118,9 @@ def wireframe(
2190
2118
  :param use_crease: crease hub edges for improved subdivision surface
2191
2119
  :type use_crease: bool
2192
2120
  :param crease_weight: the mean crease weight for resulting edges
2193
- :type crease_weight: float
2194
2121
  :param use_relative_offset: scale the offset by surrounding geometry
2195
2122
  :type use_relative_offset: bool
2196
2123
  :param material_offset: offset material index of generated faces
2197
- :type material_offset: int
2198
2124
  :return: faces: output faces
2199
2125
 
2200
2126
  type list of (`bmesh.types.BMFace`)