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.
- aud/__init__.pyi +34 -96
- bgl/__init__.pyi +1265 -2417
- bl_math/__init__.pyi +3 -14
- bl_ui/space_toolsystem_toolbar/__init__.pyi +6 -0
- blf/__init__.pyi +13 -50
- bmesh/ops/__init__.pyi +68 -142
- bmesh/types/__init__.pyi +18 -44
- bmesh/utils/__init__.pyi +2 -6
- bpy/app/icons/__init__.pyi +2 -4
- bpy/app/timers/__init__.pyi +2 -6
- bpy/ops/action/__init__.pyi +92 -93
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +108 -112
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +18 -18
- bpy/ops/brush/__init__.pyi +18 -18
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +194 -195
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +10 -10
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +114 -118
- bpy/ops/curves/__init__.pyi +55 -53
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +12 -12
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +9 -9
- bpy/ops/file/__init__.pyi +80 -83
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +38 -38
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +308 -309
- bpy/ops/graph/__init__.pyi +150 -151
- bpy/ops/grease_pencil/__init__.pyi +114 -115
- bpy/ops/image/__init__.pyi +100 -100
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +90 -91
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +20 -21
- bpy/ops/mesh/__init__.pyi +431 -429
- bpy/ops/nla/__init__.pyi +89 -90
- bpy/ops/node/__init__.pyi +242 -243
- bpy/ops/object/__init__.pyi +572 -567
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +182 -126
- bpy/ops/paintcurve/__init__.pyi +20 -20
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +90 -90
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +76 -76
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +34 -34
- bpy/ops/scene/__init__.pyi +86 -86
- bpy/ops/screen/__init__.pyi +84 -84
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +62 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +184 -185
- bpy/ops/sound/__init__.pyi +16 -16
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +112 -112
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +104 -105
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +232 -232
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +29 -52
- bpy/types/__init__.pyi +5354 -3708
- bpy/utils/__init__.pyi +3 -6
- bpy/utils/units/__init__.pyi +3 -6
- bpy_extras/io_utils/__init__.pyi +8 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/RECORD +114 -114
- freestyle/chainingiterators/__init__.pyi +5 -12
- freestyle/functions/__init__.pyi +19 -73
- freestyle/predicates/__init__.pyi +8 -21
- freestyle/shaders/__init__.pyi +32 -81
- freestyle/types/__init__.pyi +100 -270
- freestyle/utils/ContextFunctions/__init__.pyi +7 -27
- freestyle/utils/__init__.pyi +1 -2
- gpu/capabilities/__init__.pyi +15 -32
- gpu/matrix/__init__.pyi +1 -2
- gpu/state/__init__.pyi +4 -10
- gpu/types/__init__.pyi +29 -87
- gpu_extras/presets/__init__.pyi +4 -16
- imbuf/types/__init__.pyi +4 -10
- mathutils/__init__.pyi +106 -257
- mathutils/bvhtree/__init__.pyi +7 -15
- mathutils/geometry/__init__.pyi +9 -18
- mathutils/kdtree/__init__.pyi +4 -11
- mathutils/noise/__init__.pyi +41 -82
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/top_level.txt +0 -0
freestyle/shaders/__init__.pyi
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
75
|
-
thickness_max
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
230
|
-
green_min
|
|
231
|
-
blue_min
|
|
232
|
-
alpha_min
|
|
233
|
-
red_max
|
|
234
|
-
green_max
|
|
235
|
-
blue_max
|
|
236
|
-
alpha_max
|
|
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
|
|
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
|
|
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
|
|
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
|
|
362
|
-
factor_point
|
|
363
|
-
factor_curvature
|
|
364
|
-
factor_curvature_difference
|
|
365
|
-
aniso_point
|
|
366
|
-
aniso_normal
|
|
367
|
-
aniso_curvature
|
|
368
|
-
carricature_factor
|
|
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
|
|
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
|
|
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
|
|
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
|
|