fake-bpy-module 20240326__py3-none-any.whl → 20240329__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (117) hide show
  1. aud/__init__.pyi +34 -96
  2. bgl/__init__.pyi +1265 -2417
  3. bl_math/__init__.pyi +3 -14
  4. bl_operators/presets/__init__.pyi +167 -0
  5. bl_operators/view3d/__init__.pyi +248 -0
  6. bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -0
  7. blf/__init__.pyi +13 -50
  8. bmesh/ops/__init__.pyi +68 -142
  9. bmesh/types/__init__.pyi +18 -44
  10. bmesh/utils/__init__.pyi +2 -6
  11. bpy/app/icons/__init__.pyi +2 -4
  12. bpy/app/timers/__init__.pyi +2 -6
  13. bpy/ops/action/__init__.pyi +92 -93
  14. bpy/ops/anim/__init__.pyi +104 -104
  15. bpy/ops/armature/__init__.pyi +108 -112
  16. bpy/ops/asset/__init__.pyi +32 -32
  17. bpy/ops/boid/__init__.pyi +18 -18
  18. bpy/ops/brush/__init__.pyi +18 -18
  19. bpy/ops/buttons/__init__.pyi +12 -12
  20. bpy/ops/cachefile/__init__.pyi +10 -10
  21. bpy/ops/camera/__init__.pyi +4 -4
  22. bpy/ops/clip/__init__.pyi +194 -195
  23. bpy/ops/cloth/__init__.pyi +2 -2
  24. bpy/ops/collection/__init__.pyi +10 -10
  25. bpy/ops/console/__init__.pyi +42 -42
  26. bpy/ops/constraint/__init__.pyi +36 -36
  27. bpy/ops/curve/__init__.pyi +114 -118
  28. bpy/ops/curves/__init__.pyi +55 -53
  29. bpy/ops/cycles/__init__.pyi +6 -6
  30. bpy/ops/dpaint/__init__.pyi +12 -12
  31. bpy/ops/ed/__init__.pyi +24 -24
  32. bpy/ops/export_anim/__init__.pyi +2 -2
  33. bpy/ops/export_mesh/__init__.pyi +2 -2
  34. bpy/ops/export_scene/__init__.pyi +7 -7
  35. bpy/ops/file/__init__.pyi +80 -83
  36. bpy/ops/fluid/__init__.pyi +28 -28
  37. bpy/ops/font/__init__.pyi +46 -46
  38. bpy/ops/geometry/__init__.pyi +38 -38
  39. bpy/ops/gizmogroup/__init__.pyi +4 -4
  40. bpy/ops/gpencil/__init__.pyi +308 -309
  41. bpy/ops/graph/__init__.pyi +150 -151
  42. bpy/ops/grease_pencil/__init__.pyi +114 -115
  43. bpy/ops/image/__init__.pyi +100 -100
  44. bpy/ops/import_anim/__init__.pyi +2 -2
  45. bpy/ops/import_curve/__init__.pyi +2 -2
  46. bpy/ops/import_mesh/__init__.pyi +2 -2
  47. bpy/ops/import_scene/__init__.pyi +6 -6
  48. bpy/ops/info/__init__.pyi +14 -14
  49. bpy/ops/lattice/__init__.pyi +16 -16
  50. bpy/ops/marker/__init__.pyi +22 -22
  51. bpy/ops/mask/__init__.pyi +90 -91
  52. bpy/ops/material/__init__.pyi +6 -6
  53. bpy/ops/mball/__init__.pyi +20 -21
  54. bpy/ops/mesh/__init__.pyi +429 -427
  55. bpy/ops/nla/__init__.pyi +90 -91
  56. bpy/ops/node/__init__.pyi +242 -243
  57. bpy/ops/object/__init__.pyi +572 -567
  58. bpy/ops/outliner/__init__.pyi +142 -142
  59. bpy/ops/paint/__init__.pyi +182 -126
  60. bpy/ops/paintcurve/__init__.pyi +20 -20
  61. bpy/ops/palette/__init__.pyi +14 -14
  62. bpy/ops/particle/__init__.pyi +72 -72
  63. bpy/ops/pose/__init__.pyi +90 -90
  64. bpy/ops/poselib/__init__.pyi +18 -18
  65. bpy/ops/preferences/__init__.pyi +76 -76
  66. bpy/ops/ptcache/__init__.pyi +14 -14
  67. bpy/ops/render/__init__.pyi +24 -24
  68. bpy/ops/rigidbody/__init__.pyi +34 -34
  69. bpy/ops/scene/__init__.pyi +86 -86
  70. bpy/ops/screen/__init__.pyi +84 -84
  71. bpy/ops/script/__init__.pyi +6 -6
  72. bpy/ops/sculpt/__init__.pyi +80 -62
  73. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  74. bpy/ops/sequencer/__init__.pyi +184 -185
  75. bpy/ops/sound/__init__.pyi +16 -16
  76. bpy/ops/spreadsheet/__init__.pyi +8 -8
  77. bpy/ops/surface/__init__.pyi +12 -12
  78. bpy/ops/text/__init__.pyi +86 -86
  79. bpy/ops/text_editor/__init__.pyi +2 -2
  80. bpy/ops/texture/__init__.pyi +8 -8
  81. bpy/ops/transform/__init__.pyi +112 -112
  82. bpy/ops/ui/__init__.pyi +64 -64
  83. bpy/ops/uilist/__init__.pyi +6 -6
  84. bpy/ops/uv/__init__.pyi +104 -105
  85. bpy/ops/view2d/__init__.pyi +28 -28
  86. bpy/ops/view3d/__init__.pyi +134 -134
  87. bpy/ops/wm/__init__.pyi +253 -230
  88. bpy/ops/workspace/__init__.pyi +14 -14
  89. bpy/ops/world/__init__.pyi +2 -2
  90. bpy/props/__init__.pyi +29 -52
  91. bpy/types/__init__.pyi +4648 -3095
  92. bpy/utils/__init__.pyi +3 -6
  93. bpy/utils/units/__init__.pyi +3 -6
  94. bpy_extras/io_utils/__init__.pyi +8 -0
  95. bpy_types/__init__.pyi +3 -0
  96. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/METADATA +1 -1
  97. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/RECORD +117 -117
  98. freestyle/chainingiterators/__init__.pyi +5 -12
  99. freestyle/functions/__init__.pyi +19 -73
  100. freestyle/predicates/__init__.pyi +8 -21
  101. freestyle/shaders/__init__.pyi +32 -81
  102. freestyle/types/__init__.pyi +100 -270
  103. freestyle/utils/ContextFunctions/__init__.pyi +7 -27
  104. freestyle/utils/__init__.pyi +1 -2
  105. gpu/capabilities/__init__.pyi +15 -32
  106. gpu/matrix/__init__.pyi +1 -2
  107. gpu/state/__init__.pyi +4 -10
  108. gpu/types/__init__.pyi +29 -87
  109. gpu_extras/presets/__init__.pyi +4 -16
  110. imbuf/types/__init__.pyi +4 -10
  111. mathutils/__init__.pyi +106 -257
  112. mathutils/bvhtree/__init__.pyi +7 -15
  113. mathutils/geometry/__init__.pyi +9 -18
  114. mathutils/kdtree/__init__.pyi +4 -11
  115. mathutils/noise/__init__.pyi +41 -82
  116. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/WHEEL +0 -0
  117. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/top_level.txt +0 -0
@@ -7,11 +7,10 @@ GenericType = typing.TypeVar("GenericType")
7
7
  class BackboneStretcherShader:
8
8
  """Class hierarchy: `freestyle.types.StrokeShader` > `BackboneStretcherShader`[Geometry shader]"""
9
9
 
10
- def __init__(self, amount: float = 2.0):
10
+ def __init__(self, amount=2.0):
11
11
  """Builds a BackboneStretcherShader object.
12
12
 
13
13
  :param amount: The stretching amount value.
14
- :type amount: float
15
14
  """
16
15
  ...
17
16
 
@@ -27,13 +26,12 @@ class BackboneStretcherShader:
27
26
  class BezierCurveShader:
28
27
  """Class hierarchy: `freestyle.types.StrokeShader` > `BezierCurveShader`[Geometry shader]"""
29
28
 
30
- def __init__(self, error: float = 4.0):
29
+ def __init__(self, error=4.0):
31
30
  """Builds a BezierCurveShader object.
32
31
 
33
32
  :param error: The error we're allowing for the approximation. This
34
33
  error is the max distance allowed between the new curve and the
35
34
  original geometry.
36
- :type error: float
37
35
  """
38
36
  ...
39
37
 
@@ -71,8 +69,8 @@ class CalligraphicShader:
71
69
 
72
70
  def __init__(
73
71
  self,
74
- thickness_min: float,
75
- thickness_max: float,
72
+ thickness_min,
73
+ thickness_max,
76
74
  orientation: typing.Union[typing.Sequence[float], mathutils.Vector],
77
75
  clamp: bool,
78
76
  ):
@@ -80,9 +78,7 @@ class CalligraphicShader:
80
78
 
81
79
  :param thickness_min: The minimum thickness in the direction
82
80
  perpendicular to the main direction.
83
- :type thickness_min: float
84
81
  :param thickness_max: The maximum thickness in the main direction.
85
- :type thickness_max: float
86
82
  :param orientation: The 2D vector giving the main direction.
87
83
  :type orientation: typing.Union[typing.Sequence[float], mathutils.Vector]
88
84
  :param clamp: If true, the strokes are drawn in black when the stroke
@@ -107,13 +103,11 @@ class CalligraphicShader:
107
103
  class ColorNoiseShader:
108
104
  """Class hierarchy: `freestyle.types.StrokeShader` > `ColorNoiseShader`[Color shader]"""
109
105
 
110
- def __init__(self, amplitude: float, period: float):
106
+ def __init__(self, amplitude, period):
111
107
  """Builds a ColorNoiseShader object.
112
108
 
113
109
  :param amplitude: The amplitude of the noise signal.
114
- :type amplitude: float
115
110
  :param period: The period of the noise signal.
116
- :type period: float
117
111
  """
118
112
  ...
119
113
 
@@ -128,17 +122,13 @@ class ColorNoiseShader:
128
122
  class ConstantColorShader:
129
123
  """Class hierarchy: `freestyle.types.StrokeShader` > `ConstantColorShader`[Color shader]"""
130
124
 
131
- def __init__(self, red: float, green: float, blue: float, alpha: float = 1.0):
125
+ def __init__(self, red, green, blue, alpha=1.0):
132
126
  """Builds a ConstantColorShader object.
133
127
 
134
128
  :param red: The red component.
135
- :type red: float
136
129
  :param green: The green component.
137
- :type green: float
138
130
  :param blue: The blue component.
139
- :type blue: float
140
131
  :param alpha: The alpha value.
141
- :type alpha: float
142
132
  """
143
133
  ...
144
134
 
@@ -153,11 +143,10 @@ class ConstantColorShader:
153
143
  class ConstantThicknessShader:
154
144
  """Class hierarchy: `freestyle.types.StrokeShader` > `ConstantThicknessShader`[Thickness shader]"""
155
145
 
156
- def __init__(self, thickness: float):
146
+ def __init__(self, thickness):
157
147
  """Builds a ConstantThicknessShader object.
158
148
 
159
149
  :param thickness: The thickness that must be assigned to the stroke.
160
- :type thickness: float
161
150
  """
162
151
  ...
163
152
 
@@ -172,15 +161,12 @@ class ConstantThicknessShader:
172
161
  class ConstrainedIncreasingThicknessShader:
173
162
  """Class hierarchy: `freestyle.types.StrokeShader` > `ConstrainedIncreasingThicknessShader`[Thickness shader]"""
174
163
 
175
- def __init__(self, thickness_min: float, thickness_max: float, ratio: float):
164
+ def __init__(self, thickness_min, thickness_max, ratio):
176
165
  """Builds a ConstrainedIncreasingThicknessShader object.
177
166
 
178
167
  :param thickness_min: The minimum thickness.
179
- :type thickness_min: float
180
168
  :param thickness_max: The maximum thickness.
181
- :type thickness_max: float
182
169
  :param ratio: The thickness/length ratio that we don't want to exceed.
183
- :type ratio: float
184
170
  """
185
171
  ...
186
172
 
@@ -197,14 +183,13 @@ class ConstrainedIncreasingThicknessShader:
197
183
  class GuidingLinesShader:
198
184
  """Class hierarchy: `freestyle.types.StrokeShader` > `GuidingLinesShader`[Geometry shader]"""
199
185
 
200
- def __init__(self, offset: float):
186
+ def __init__(self, offset):
201
187
  """Builds a GuidingLinesShader object.
202
188
 
203
189
  :param offset: The line that replaces the stroke is initially in the
204
190
  middle of the initial stroke bounding box. offset is the value
205
191
  of the displacement which is applied to this line along its
206
192
  normal.
207
- :type offset: float
208
193
  """
209
194
  ...
210
195
 
@@ -226,33 +211,25 @@ class IncreasingColorShader:
226
211
 
227
212
  def __init__(
228
213
  self,
229
- red_min: float,
230
- green_min: float,
231
- blue_min: float,
232
- alpha_min: float,
233
- red_max: float,
234
- green_max: float,
235
- blue_max: float,
236
- alpha_max: float,
214
+ red_min,
215
+ green_min,
216
+ blue_min,
217
+ alpha_min,
218
+ red_max,
219
+ green_max,
220
+ blue_max,
221
+ alpha_max,
237
222
  ):
238
223
  """Builds an IncreasingColorShader object.
239
224
 
240
225
  :param red_min: The first color red component.
241
- :type red_min: float
242
226
  :param green_min: The first color green component.
243
- :type green_min: float
244
227
  :param blue_min: The first color blue component.
245
- :type blue_min: float
246
228
  :param alpha_min: The first color alpha value.
247
- :type alpha_min: float
248
229
  :param red_max: The second color red component.
249
- :type red_max: float
250
230
  :param green_max: The second color green component.
251
- :type green_max: float
252
231
  :param blue_max: The second color blue component.
253
- :type blue_max: float
254
232
  :param alpha_max: The second color alpha value.
255
- :type alpha_max: float
256
233
  """
257
234
  ...
258
235
 
@@ -269,13 +246,11 @@ class IncreasingColorShader:
269
246
  class IncreasingThicknessShader:
270
247
  """Class hierarchy: `freestyle.types.StrokeShader` > `IncreasingThicknessShader`[Thickness shader]"""
271
248
 
272
- def __init__(self, thickness_A: float, thickness_B: float):
249
+ def __init__(self, thickness_A, thickness_B):
273
250
  """Builds an IncreasingThicknessShader object.
274
251
 
275
252
  :param thickness_A: The first thickness value.
276
- :type thickness_A: float
277
253
  :param thickness_B: The second thickness value.
278
- :type thickness_B: float
279
254
  """
280
255
  ...
281
256
 
@@ -294,14 +269,13 @@ class IncreasingThicknessShader:
294
269
  class PolygonalizationShader:
295
270
  """Class hierarchy: `freestyle.types.StrokeShader` > `PolygonalizationShader`[Geometry shader]"""
296
271
 
297
- def __init__(self, error: float):
272
+ def __init__(self, error):
298
273
  """Builds a PolygonalizationShader object.
299
274
 
300
275
  :param error: The error we want our polygonal approximation to have
301
276
  with respect to the original geometry. The smaller, the closer
302
277
  the new stroke is to the original one. This error corresponds to
303
278
  the maximum distance between the new stroke and the old one.
304
- :type error: float
305
279
  """
306
280
  ...
307
281
 
@@ -337,11 +311,10 @@ class RoundCapShader:
337
311
  class SamplingShader:
338
312
  """Class hierarchy: `freestyle.types.StrokeShader` > `SamplingShader`[Geometry shader]"""
339
313
 
340
- def __init__(self, sampling: float):
314
+ def __init__(self, sampling):
341
315
  """Builds a SamplingShader object.
342
316
 
343
317
  :param sampling: The sampling to use for the stroke resampling.
344
- :type sampling: float
345
318
  """
346
319
  ...
347
320
 
@@ -358,33 +331,25 @@ class SmoothingShader:
358
331
 
359
332
  def __init__(
360
333
  self,
361
- num_iterations: int = 100,
362
- factor_point: float = 0.1,
363
- factor_curvature: float = 0.0,
364
- factor_curvature_difference: float = 0.2,
365
- aniso_point: float = 0.0,
366
- aniso_normal: float = 0.0,
367
- aniso_curvature: float = 0.0,
368
- carricature_factor: float = 1.0,
334
+ num_iterations=100,
335
+ factor_point=0.1,
336
+ factor_curvature=0.0,
337
+ factor_curvature_difference=0.2,
338
+ aniso_point=0.0,
339
+ aniso_normal=0.0,
340
+ aniso_curvature=0.0,
341
+ carricature_factor=1.0,
369
342
  ):
370
343
  """Builds a SmoothingShader object.
371
344
 
372
345
  :param num_iterations: The number of iterations.
373
- :type num_iterations: int
374
346
  :param factor_point: 0.1
375
- :type factor_point: float
376
347
  :param factor_curvature: 0.0
377
- :type factor_curvature: float
378
348
  :param factor_curvature_difference: 0.2
379
- :type factor_curvature_difference: float
380
349
  :param aniso_point: 0.0
381
- :type aniso_point: float
382
350
  :param aniso_normal: 0.0
383
- :type aniso_normal: float
384
351
  :param aniso_curvature: 0.0
385
- :type aniso_curvature: float
386
352
  :param carricature_factor: 1.0
387
- :type carricature_factor: float
388
353
  """
389
354
  ...
390
355
 
@@ -402,22 +367,12 @@ class SmoothingShader:
402
367
  class SpatialNoiseShader:
403
368
  """Class hierarchy: `freestyle.types.StrokeShader` > `SpatialNoiseShader`[Geometry shader]"""
404
369
 
405
- def __init__(
406
- self,
407
- amount: float,
408
- scale: float,
409
- num_octaves: int,
410
- smooth: bool,
411
- pure_random: bool,
412
- ):
370
+ def __init__(self, amount, scale, num_octaves, smooth: bool, pure_random: bool):
413
371
  """Builds a SpatialNoiseShader object.
414
372
 
415
373
  :param amount: The amplitude of the noise.
416
- :type amount: float
417
374
  :param scale: The noise frequency.
418
- :type scale: float
419
375
  :param num_octaves: The number of octaves
420
- :type num_octaves: int
421
376
  :param smooth: True if you want the noise to be smooth.
422
377
  :type smooth: bool
423
378
  :param pure_random: True if you don't want any coherence.
@@ -447,11 +402,10 @@ class SquareCapShader:
447
402
  class StrokeTextureStepShader:
448
403
  """Class hierarchy: `freestyle.types.StrokeShader` > `StrokeTextureStepShader`[Texture shader]"""
449
404
 
450
- def __init__(self, step: float):
405
+ def __init__(self, step):
451
406
  """Builds a StrokeTextureStepShader object.
452
407
 
453
408
  :param step: The spacing along the stroke.
454
- :type step: float
455
409
  """
456
410
  ...
457
411
 
@@ -466,13 +420,11 @@ class StrokeTextureStepShader:
466
420
  class ThicknessNoiseShader:
467
421
  """Class hierarchy: `freestyle.types.StrokeShader` > `ThicknessNoiseShader`[Thickness shader]"""
468
422
 
469
- def __init__(self, amplitude: float, period: float):
423
+ def __init__(self, amplitude, period):
470
424
  """Builds a ThicknessNoiseShader object.
471
425
 
472
426
  :param amplitude: The amplitude of the noise signal.
473
- :type amplitude: float
474
427
  :param period: The period of the noise signal.
475
- :type period: float
476
428
  """
477
429
  ...
478
430
 
@@ -487,12 +439,11 @@ class ThicknessNoiseShader:
487
439
  class TipRemoverShader:
488
440
  """Class hierarchy: `freestyle.types.StrokeShader` > `TipRemoverShader`[Geometry shader]"""
489
441
 
490
- def __init__(self, tip_length: float):
442
+ def __init__(self, tip_length):
491
443
  """Builds a TipRemoverShader object.
492
444
 
493
445
  :param tip_length: The length of the piece of stroke we want to remove
494
446
  at each extremity.
495
- :type tip_length: float
496
447
  """
497
448
  ...
498
449