fake-bpy-module 20240524__py3-none-any.whl → 20240529__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.
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -3
- bl_operators/__init__.pyi +3 -0
- bl_operators/connect_to_output/__init__.pyi +325 -0
- bl_operators/image_as_planes/__init__.pyi +463 -0
- bl_operators/node_editor/__init__.pyi +6 -0
- bl_operators/node_editor/node_functions/__init__.pyi +23 -0
- bl_operators/presets/__init__.pyi +12 -12
- bl_operators/userpref/__init__.pyi +0 -214
- bl_operators/wm/__init__.pyi +24 -24
- bl_ui/__init__.pyi +12 -12
- bl_ui/anim/__init__.pyi +6 -6
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bl_ui/node_add_menu/__init__.pyi +6 -6
- bl_ui/node_add_menu_compositor/__init__.pyi +108 -108
- bl_ui/node_add_menu_geometry/__init__.pyi +288 -288
- bl_ui/node_add_menu_shader/__init__.pyi +60 -60
- bl_ui/node_add_menu_texture/__init__.pyi +54 -54
- bl_ui/properties_collection/__init__.pyi +6 -6
- bl_ui/properties_data_armature/__init__.pyi +12 -12
- bl_ui/properties_data_camera/__init__.pyi +12 -12
- bl_ui/properties_data_curves/__init__.pyi +6 -6
- bl_ui/properties_data_gpencil/__init__.pyi +12 -12
- bl_ui/properties_data_grease_pencil/__init__.pyi +18 -18
- bl_ui/properties_data_mesh/__init__.pyi +24 -24
- bl_ui/properties_data_modifier/__init__.pyi +42 -42
- bl_ui/properties_data_pointcloud/__init__.pyi +6 -6
- bl_ui/properties_freestyle/__init__.pyi +6 -6
- bl_ui/properties_grease_pencil_common/__init__.pyi +72 -72
- bl_ui/properties_mask_common/__init__.pyi +36 -36
- bl_ui/properties_material/__init__.pyi +6 -6
- bl_ui/properties_material_gpencil/__init__.pyi +12 -12
- bl_ui/properties_object/__init__.pyi +6 -6
- bl_ui/properties_output/__init__.pyi +18 -18
- bl_ui/properties_paint_common/__init__.pyi +6 -6
- bl_ui/properties_particle/__init__.pyi +12 -12
- bl_ui/properties_physics_cloth/__init__.pyi +6 -6
- bl_ui/properties_physics_fluid/__init__.pyi +6 -6
- bl_ui/properties_render/__init__.pyi +7 -7
- bl_ui/properties_texture/__init__.pyi +6 -6
- bl_ui/properties_view_layer/__init__.pyi +6 -6
- bl_ui/space_clip/__init__.pyi +186 -186
- bl_ui/space_console/__init__.pyi +30 -30
- bl_ui/space_dopesheet/__init__.pyi +84 -84
- bl_ui/space_filebrowser/__init__.pyi +78 -78
- bl_ui/space_graph/__init__.pyi +96 -96
- bl_ui/space_image/__init__.pyi +138 -138
- bl_ui/space_info/__init__.pyi +30 -30
- bl_ui/space_nla/__init__.pyi +78 -78
- bl_ui/space_node/__init__.pyi +72 -72
- bl_ui/space_outliner/__init__.pyi +72 -72
- bl_ui/space_sequencer/__init__.pyi +204 -204
- bl_ui/space_text/__init__.pyi +72 -72
- bl_ui/space_time/__init__.pyi +24 -24
- bl_ui/space_toolsystem_toolbar/__init__.pyi +4 -0
- bl_ui/space_topbar/__init__.pyi +114 -114
- bl_ui/space_userpref/__init__.pyi +36 -36
- bl_ui/space_view3d/__init__.pyi +1446 -1176
- bl_ui/space_view3d_toolbar/__init__.pyi +30 -30
- bl_ui/utils/__init__.pyi +6 -6
- bmesh/geometry/__init__.pyi +2 -2
- bmesh/ops/__init__.pyi +55 -54
- bmesh/types/__init__.pyi +43 -33
- bmesh/utils/__init__.pyi +2 -2
- bpy/app/__init__.pyi +5 -1
- bpy/app/handlers/__init__.pyi +37 -37
- bpy/app/icons/__init__.pyi +4 -4
- bpy/app/timers/__init__.pyi +6 -6
- bpy/ops/action/__init__.pyi +21 -0
- bpy/ops/anim/__init__.pyi +34 -0
- bpy/ops/armature/__init__.pyi +31 -0
- bpy/ops/asset/__init__.pyi +5 -0
- bpy/ops/bl_pkg/__init__.pyi +32 -21
- bpy/ops/boid/__init__.pyi +1 -0
- bpy/ops/brush/__init__.pyi +6 -0
- bpy/ops/buttons/__init__.pyi +2 -0
- bpy/ops/cachefile/__init__.pyi +3 -0
- bpy/ops/camera/__init__.pyi +2 -0
- bpy/ops/clip/__init__.pyi +49 -0
- bpy/ops/cloth/__init__.pyi +1 -0
- bpy/ops/collection/__init__.pyi +7 -0
- bpy/ops/console/__init__.pyi +11 -0
- bpy/ops/constraint/__init__.pyi +15 -0
- bpy/ops/curve/__init__.pyi +28 -0
- bpy/ops/curves/__init__.pyi +14 -0
- bpy/ops/cycles/__init__.pyi +2 -0
- bpy/ops/dpaint/__init__.pyi +2 -0
- bpy/ops/ed/__init__.pyi +3 -0
- bpy/ops/export_anim/__init__.pyi +1 -0
- bpy/ops/export_scene/__init__.pyi +20 -3
- bpy/ops/file/__init__.pyi +14 -0
- bpy/ops/fluid/__init__.pyi +1 -0
- bpy/ops/font/__init__.pyi +13 -0
- bpy/ops/geometry/__init__.pyi +7 -0
- bpy/ops/gizmogroup/__init__.pyi +1 -0
- bpy/ops/gpencil/__init__.pyi +106 -0
- bpy/ops/graph/__init__.pyi +47 -0
- bpy/ops/grease_pencil/__init__.pyi +52 -0
- bpy/ops/image/__init__.pyi +308 -0
- bpy/ops/import_anim/__init__.pyi +1 -0
- bpy/ops/import_curve/__init__.pyi +1 -0
- bpy/ops/import_scene/__init__.pyi +2 -0
- bpy/ops/info/__init__.pyi +3 -0
- bpy/ops/lattice/__init__.pyi +5 -0
- bpy/ops/marker/__init__.pyi +9 -0
- bpy/ops/mask/__init__.pyi +22 -0
- bpy/ops/mball/__init__.pyi +7 -0
- bpy/ops/mesh/__init__.pyi +134 -0
- bpy/ops/nla/__init__.pyi +20 -0
- bpy/ops/node/__init__.pyi +65 -0
- bpy/ops/object/__init__.pyi +174 -0
- bpy/ops/outliner/__init__.pyi +25 -0
- bpy/ops/paint/__init__.pyi +105 -0
- bpy/ops/paintcurve/__init__.pyi +4 -0
- bpy/ops/palette/__init__.pyi +4 -0
- bpy/ops/particle/__init__.pyi +17 -0
- bpy/ops/pose/__init__.pyi +24 -0
- bpy/ops/poselib/__init__.pyi +4 -0
- bpy/ops/preferences/__init__.pyi +28 -16
- bpy/ops/ptcache/__init__.pyi +2 -0
- bpy/ops/render/__init__.pyi +9 -0
- bpy/ops/rigidbody/__init__.pyi +7 -0
- bpy/ops/scene/__init__.pyi +16 -0
- bpy/ops/screen/__init__.pyi +21 -0
- bpy/ops/script/__init__.pyi +2 -0
- bpy/ops/sculpt/__init__.pyi +151 -0
- bpy/ops/sculpt_curves/__init__.pyi +3 -0
- bpy/ops/sequencer/__init__.pyi +57 -0
- bpy/ops/sound/__init__.pyi +4 -0
- bpy/ops/spreadsheet/__init__.pyi +2 -0
- bpy/ops/surface/__init__.pyi +6 -0
- bpy/ops/text/__init__.pyi +18 -0
- bpy/ops/text_editor/__init__.pyi +1 -0
- bpy/ops/texture/__init__.pyi +1 -0
- bpy/ops/transform/__init__.pyi +25 -0
- bpy/ops/ui/__init__.pyi +13 -0
- bpy/ops/uilist/__init__.pyi +3 -0
- bpy/ops/uv/__init__.pyi +40 -0
- bpy/ops/view2d/__init__.pyi +11 -0
- bpy/ops/view3d/__init__.pyi +30 -0
- bpy/ops/wm/__init__.pyi +114 -0
- bpy/ops/workspace/__init__.pyi +1 -0
- bpy/path/__init__.pyi +6 -6
- bpy/props/__init__.pyi +27 -15
- bpy/types/__init__.pyi +662 -388
- bpy/utils/__init__.pyi +12 -10
- bpy_extras/anim_utils/__init__.pyi +7 -7
- bpy_extras/io_utils/__init__.pyi +4 -4
- bpy_extras/mesh_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +8 -8
- bpy_extras/view3d_utils/__init__.pyi +2 -0
- bpy_types/__init__.pyi +12 -12
- {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/RECORD +167 -163
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +64 -56
- gpu/matrix/__init__.pyi +6 -6
- gpu/types/__init__.pyi +14 -10
- gpu_extras/batch/__init__.pyi +1 -1
- gpu_extras/presets/__init__.pyi +1 -1
- imbuf/__init__.pyi +2 -2
- mathutils/__init__.pyi +176 -137
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +139 -139
- mathutils/kdtree/__init__.pyi +14 -10
- mathutils/noise/__init__.pyi +26 -26
- {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/top_level.txt +0 -0
mathutils/noise/__init__.pyi
CHANGED
|
@@ -10,11 +10,11 @@ import mathutils
|
|
|
10
10
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
11
11
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
12
12
|
|
|
13
|
-
def cell(position:
|
|
13
|
+
def cell(position: collections.abc.Sequence[float] | mathutils.Vector) -> float:
|
|
14
14
|
"""Returns cell noise value at the specified position.
|
|
15
15
|
|
|
16
16
|
:param position: The position to evaluate the selected noise function.
|
|
17
|
-
:type position:
|
|
17
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
18
18
|
:return: The cell noise value.
|
|
19
19
|
:rtype: float
|
|
20
20
|
"""
|
|
@@ -22,12 +22,12 @@ def cell(position: typing.Sequence[float] | mathutils.Vector) -> float:
|
|
|
22
22
|
...
|
|
23
23
|
|
|
24
24
|
def cell_vector(
|
|
25
|
-
position:
|
|
25
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
26
26
|
) -> mathutils.Vector:
|
|
27
27
|
"""Returns cell noise vector at the specified position.
|
|
28
28
|
|
|
29
29
|
:param position: The position to evaluate the selected noise function.
|
|
30
|
-
:type position:
|
|
30
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
31
31
|
:return: The cell noise vector.
|
|
32
32
|
:rtype: mathutils.Vector
|
|
33
33
|
"""
|
|
@@ -35,7 +35,7 @@ def cell_vector(
|
|
|
35
35
|
...
|
|
36
36
|
|
|
37
37
|
def fractal(
|
|
38
|
-
position:
|
|
38
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
39
39
|
H: float,
|
|
40
40
|
lacunarity: float,
|
|
41
41
|
octaves: int,
|
|
@@ -44,7 +44,7 @@ def fractal(
|
|
|
44
44
|
"""Returns the fractal Brownian motion (fBm) noise value from the noise basis at the specified position.
|
|
45
45
|
|
|
46
46
|
:param position: The position to evaluate the selected noise function.
|
|
47
|
-
:type position:
|
|
47
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
48
48
|
:param H: The fractal increment factor.
|
|
49
49
|
:type H: float
|
|
50
50
|
:param lacunarity: The gap between successive frequencies.
|
|
@@ -60,7 +60,7 @@ def fractal(
|
|
|
60
60
|
...
|
|
61
61
|
|
|
62
62
|
def hetero_terrain(
|
|
63
|
-
position:
|
|
63
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
64
64
|
H: float,
|
|
65
65
|
lacunarity: float,
|
|
66
66
|
octaves: int,
|
|
@@ -70,7 +70,7 @@ def hetero_terrain(
|
|
|
70
70
|
"""Returns the heterogeneous terrain value from the noise basis at the specified position.
|
|
71
71
|
|
|
72
72
|
:param position: The position to evaluate the selected noise function.
|
|
73
|
-
:type position:
|
|
73
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
74
74
|
:param H: The fractal dimension of the roughest areas.
|
|
75
75
|
:type H: float
|
|
76
76
|
:param lacunarity: The gap between successive frequencies.
|
|
@@ -88,7 +88,7 @@ def hetero_terrain(
|
|
|
88
88
|
...
|
|
89
89
|
|
|
90
90
|
def hybrid_multi_fractal(
|
|
91
|
-
position:
|
|
91
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
92
92
|
H: float,
|
|
93
93
|
lacunarity: float,
|
|
94
94
|
octaves: int,
|
|
@@ -99,7 +99,7 @@ def hybrid_multi_fractal(
|
|
|
99
99
|
"""Returns hybrid multifractal value from the noise basis at the specified position.
|
|
100
100
|
|
|
101
101
|
:param position: The position to evaluate the selected noise function.
|
|
102
|
-
:type position:
|
|
102
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
103
103
|
:param H: The fractal dimension of the roughest areas.
|
|
104
104
|
:type H: float
|
|
105
105
|
:param lacunarity: The gap between successive frequencies.
|
|
@@ -119,7 +119,7 @@ def hybrid_multi_fractal(
|
|
|
119
119
|
...
|
|
120
120
|
|
|
121
121
|
def multi_fractal(
|
|
122
|
-
position:
|
|
122
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
123
123
|
H: float,
|
|
124
124
|
lacunarity: float,
|
|
125
125
|
octaves: int,
|
|
@@ -128,7 +128,7 @@ def multi_fractal(
|
|
|
128
128
|
"""Returns multifractal noise value from the noise basis at the specified position.
|
|
129
129
|
|
|
130
130
|
:param position: The position to evaluate the selected noise function.
|
|
131
|
-
:type position:
|
|
131
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
132
132
|
:param H: The fractal increment factor.
|
|
133
133
|
:type H: float
|
|
134
134
|
:param lacunarity: The gap between successive frequencies.
|
|
@@ -144,13 +144,13 @@ def multi_fractal(
|
|
|
144
144
|
...
|
|
145
145
|
|
|
146
146
|
def noise(
|
|
147
|
-
position:
|
|
147
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
148
148
|
noise_basis: str = "PERLIN_ORIGINAL",
|
|
149
149
|
) -> float:
|
|
150
150
|
"""Returns noise value from the noise basis at the position specified.
|
|
151
151
|
|
|
152
152
|
:param position: The position to evaluate the selected noise function.
|
|
153
|
-
:type position:
|
|
153
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
154
154
|
:param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
|
|
155
155
|
:type noise_basis: str
|
|
156
156
|
:return: The noise value.
|
|
@@ -160,13 +160,13 @@ def noise(
|
|
|
160
160
|
...
|
|
161
161
|
|
|
162
162
|
def noise_vector(
|
|
163
|
-
position:
|
|
163
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
164
164
|
noise_basis: str = "PERLIN_ORIGINAL",
|
|
165
165
|
) -> mathutils.Vector:
|
|
166
166
|
"""Returns the noise vector from the noise basis at the specified position.
|
|
167
167
|
|
|
168
168
|
:param position: The position to evaluate the selected noise function.
|
|
169
|
-
:type position:
|
|
169
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
170
170
|
:param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
|
|
171
171
|
:type noise_basis: str
|
|
172
172
|
:return: The noise vector.
|
|
@@ -207,7 +207,7 @@ def random_vector(size: int = 3) -> mathutils.Vector:
|
|
|
207
207
|
...
|
|
208
208
|
|
|
209
209
|
def ridged_multi_fractal(
|
|
210
|
-
position:
|
|
210
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
211
211
|
H: float,
|
|
212
212
|
lacunarity: float,
|
|
213
213
|
octaves: int,
|
|
@@ -218,7 +218,7 @@ def ridged_multi_fractal(
|
|
|
218
218
|
"""Returns ridged multifractal value from the noise basis at the specified position.
|
|
219
219
|
|
|
220
220
|
:param position: The position to evaluate the selected noise function.
|
|
221
|
-
:type position:
|
|
221
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
222
222
|
:param H: The fractal dimension of the roughest areas.
|
|
223
223
|
:type H: float
|
|
224
224
|
:param lacunarity: The gap between successive frequencies.
|
|
@@ -248,7 +248,7 @@ def seed_set(seed: int):
|
|
|
248
248
|
...
|
|
249
249
|
|
|
250
250
|
def turbulence(
|
|
251
|
-
position:
|
|
251
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
252
252
|
octaves: int,
|
|
253
253
|
hard: bool,
|
|
254
254
|
noise_basis: str = "PERLIN_ORIGINAL",
|
|
@@ -258,7 +258,7 @@ def turbulence(
|
|
|
258
258
|
"""Returns the turbulence value from the noise basis at the specified position.
|
|
259
259
|
|
|
260
260
|
:param position: The position to evaluate the selected noise function.
|
|
261
|
-
:type position:
|
|
261
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
262
262
|
:param octaves: The number of different noise frequencies used.
|
|
263
263
|
:type octaves: int
|
|
264
264
|
:param hard: Specifies whether returned turbulence is hard (sharp transitions) or soft (smooth transitions).
|
|
@@ -276,7 +276,7 @@ def turbulence(
|
|
|
276
276
|
...
|
|
277
277
|
|
|
278
278
|
def turbulence_vector(
|
|
279
|
-
position:
|
|
279
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
280
280
|
octaves: int,
|
|
281
281
|
hard: bool,
|
|
282
282
|
noise_basis: str = "PERLIN_ORIGINAL",
|
|
@@ -286,7 +286,7 @@ def turbulence_vector(
|
|
|
286
286
|
"""Returns the turbulence vector from the noise basis at the specified position.
|
|
287
287
|
|
|
288
288
|
:param position: The position to evaluate the selected noise function.
|
|
289
|
-
:type position:
|
|
289
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
290
290
|
:param octaves: The number of different noise frequencies used.
|
|
291
291
|
:type octaves: int
|
|
292
292
|
:param hard: Specifies whether returned turbulence is hard (sharp transitions) or soft (smooth transitions).
|
|
@@ -304,7 +304,7 @@ def turbulence_vector(
|
|
|
304
304
|
...
|
|
305
305
|
|
|
306
306
|
def variable_lacunarity(
|
|
307
|
-
position:
|
|
307
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
308
308
|
distortion: float,
|
|
309
309
|
noise_type1: str = "PERLIN_ORIGINAL",
|
|
310
310
|
noise_type2: str = "PERLIN_ORIGINAL",
|
|
@@ -312,7 +312,7 @@ def variable_lacunarity(
|
|
|
312
312
|
"""Returns variable lacunarity noise value, a distorted variety of noise, from noise type 1 distorted by noise type 2 at the specified position.
|
|
313
313
|
|
|
314
314
|
:param position: The position to evaluate the selected noise function.
|
|
315
|
-
:type position:
|
|
315
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
316
316
|
:param distortion: The amount of distortion.
|
|
317
317
|
:type distortion: float
|
|
318
318
|
:param noise_type1: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
|
|
@@ -326,14 +326,14 @@ def variable_lacunarity(
|
|
|
326
326
|
...
|
|
327
327
|
|
|
328
328
|
def voronoi(
|
|
329
|
-
position:
|
|
329
|
+
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
330
330
|
distance_metric: str = "DISTANCE",
|
|
331
331
|
exponent: float = 2.5,
|
|
332
332
|
):
|
|
333
333
|
"""Returns a list of distances to the four closest features and their locations.
|
|
334
334
|
|
|
335
335
|
:param position: The position to evaluate the selected noise function.
|
|
336
|
-
:type position:
|
|
336
|
+
:type position: collections.abc.Sequence[float] | mathutils.Vector
|
|
337
337
|
:param distance_metric: Enumerator in ['DISTANCE', 'DISTANCE_SQUARED', 'MANHATTAN', 'CHEBYCHEV', 'MINKOVSKY', 'MINKOVSKY_HALF', 'MINKOVSKY_FOUR'].
|
|
338
338
|
:type distance_metric: str
|
|
339
339
|
:param exponent: The exponent for Minkowski distance metric.
|
|
File without changes
|
|
File without changes
|