fake-bpy-module 20240731__py3-none-any.whl → 20240802__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.
- bmesh/ops/__init__.pyi +28 -28
- bmesh/types/__init__.pyi +5 -5
- bmesh/utils/__init__.pyi +2 -2
- bpy/ops/image/__init__.pyi +6 -6
- bpy/ops/preferences/__init__.pyi +1 -1
- bpy/path/__init__.pyi +33 -39
- bpy/props/__init__.pyi +4 -4
- bpy/types/__init__.pyi +226 -226
- bpy/utils/__init__.pyi +71 -81
- {fake_bpy_module-20240731.dist-info → fake_bpy_module-20240802.dist-info}/METADATA +2 -1
- {fake_bpy_module-20240731.dist-info → fake_bpy_module-20240802.dist-info}/RECORD +18 -18
- freestyle/functions/__init__.pyi +47 -19
- freestyle/predicates/__init__.pyi +1 -1
- gpu/types/__init__.pyi +4 -6
- imbuf/__init__.pyi +2 -2
- mathutils/bvhtree/__init__.pyi +1 -1
- {fake_bpy_module-20240731.dist-info → fake_bpy_module-20240802.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240731.dist-info → fake_bpy_module-20240802.dist-info}/top_level.txt +0 -0
freestyle/functions/__init__.pyi
CHANGED
|
@@ -76,7 +76,9 @@ class Curvature2DAngleF0D:
|
|
|
76
76
|
class Curvature2DAngleF1D:
|
|
77
77
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `Curvature2DAngleF1D`"""
|
|
78
78
|
|
|
79
|
-
def __init__(
|
|
79
|
+
def __init__(
|
|
80
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
81
|
+
):
|
|
80
82
|
"""Builds a Curvature2DAngleF1D object.
|
|
81
83
|
|
|
82
84
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -128,7 +130,9 @@ class CurveNatureF0D:
|
|
|
128
130
|
class CurveNatureF1D:
|
|
129
131
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DEdgeNature` > `CurveNatureF1D`"""
|
|
130
132
|
|
|
131
|
-
def __init__(
|
|
133
|
+
def __init__(
|
|
134
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
135
|
+
):
|
|
132
136
|
"""Builds a CurveNatureF1D object.
|
|
133
137
|
|
|
134
138
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -187,7 +191,7 @@ class DensityF1D:
|
|
|
187
191
|
def __init__(
|
|
188
192
|
self,
|
|
189
193
|
sigma: float = 2.0,
|
|
190
|
-
integration_type: freestyle.types.IntegrationType =
|
|
194
|
+
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
191
195
|
sampling: float = 2.0,
|
|
192
196
|
):
|
|
193
197
|
"""Builds a DensityF1D object.
|
|
@@ -226,7 +230,7 @@ class GetCompleteViewMapDensityF1D:
|
|
|
226
230
|
def __init__(
|
|
227
231
|
self,
|
|
228
232
|
level: int,
|
|
229
|
-
integration_type: freestyle.types.IntegrationType =
|
|
233
|
+
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
230
234
|
sampling: float = 2.0,
|
|
231
235
|
):
|
|
232
236
|
"""Builds a GetCompleteViewMapDensityF1D object.
|
|
@@ -287,7 +291,7 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
287
291
|
self,
|
|
288
292
|
orientation: int,
|
|
289
293
|
level: int,
|
|
290
|
-
integration_type: freestyle.types.IntegrationType =
|
|
294
|
+
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
291
295
|
sampling: float = 2.0,
|
|
292
296
|
):
|
|
293
297
|
"""Builds a GetDirectionalViewMapDensityF1D object.
|
|
@@ -435,7 +439,9 @@ class GetProjectedXF0D:
|
|
|
435
439
|
class GetProjectedXF1D:
|
|
436
440
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetProjectedXF1D`"""
|
|
437
441
|
|
|
438
|
-
def __init__(
|
|
442
|
+
def __init__(
|
|
443
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
444
|
+
):
|
|
439
445
|
"""Builds a GetProjectedXF1D object.
|
|
440
446
|
|
|
441
447
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -475,7 +481,9 @@ class GetProjectedYF0D:
|
|
|
475
481
|
class GetProjectedYF1D:
|
|
476
482
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetProjectedYF1D`"""
|
|
477
483
|
|
|
478
|
-
def __init__(
|
|
484
|
+
def __init__(
|
|
485
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
486
|
+
):
|
|
479
487
|
"""Builds a GetProjectedYF1D object.
|
|
480
488
|
|
|
481
489
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -515,7 +523,9 @@ class GetProjectedZF0D:
|
|
|
515
523
|
class GetProjectedZF1D:
|
|
516
524
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetProjectedZF1D`"""
|
|
517
525
|
|
|
518
|
-
def __init__(
|
|
526
|
+
def __init__(
|
|
527
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
528
|
+
):
|
|
519
529
|
"""Builds a GetProjectedZF1D object.
|
|
520
530
|
|
|
521
531
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -576,7 +586,7 @@ class GetSteerableViewMapDensityF1D:
|
|
|
576
586
|
def __init__(
|
|
577
587
|
self,
|
|
578
588
|
level: int,
|
|
579
|
-
integration_type: freestyle.types.IntegrationType =
|
|
589
|
+
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
580
590
|
sampling: float = 2.0,
|
|
581
591
|
):
|
|
582
592
|
"""Builds a GetSteerableViewMapDensityF1D object.
|
|
@@ -638,7 +648,7 @@ class GetViewMapGradientNormF1D:
|
|
|
638
648
|
def __init__(
|
|
639
649
|
self,
|
|
640
650
|
level: int,
|
|
641
|
-
integration_type: freestyle.types.IntegrationType =
|
|
651
|
+
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
642
652
|
sampling: float = 2.0,
|
|
643
653
|
):
|
|
644
654
|
"""Builds a GetViewMapGradientNormF1D object.
|
|
@@ -691,7 +701,9 @@ class GetXF0D:
|
|
|
691
701
|
class GetXF1D:
|
|
692
702
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetXF1D`"""
|
|
693
703
|
|
|
694
|
-
def __init__(
|
|
704
|
+
def __init__(
|
|
705
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
706
|
+
):
|
|
695
707
|
"""Builds a GetXF1D object.
|
|
696
708
|
|
|
697
709
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -731,7 +743,9 @@ class GetYF0D:
|
|
|
731
743
|
class GetYF1D:
|
|
732
744
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetYF1D`"""
|
|
733
745
|
|
|
734
|
-
def __init__(
|
|
746
|
+
def __init__(
|
|
747
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
748
|
+
):
|
|
735
749
|
"""Builds a GetYF1D object.
|
|
736
750
|
|
|
737
751
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -771,7 +785,9 @@ class GetZF0D:
|
|
|
771
785
|
class GetZF1D:
|
|
772
786
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetZF1D`"""
|
|
773
787
|
|
|
774
|
-
def __init__(
|
|
788
|
+
def __init__(
|
|
789
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
790
|
+
):
|
|
775
791
|
"""Builds a GetZF1D object.
|
|
776
792
|
|
|
777
793
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -833,7 +849,9 @@ class LocalAverageDepthF1D:
|
|
|
833
849
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `LocalAverageDepthF1D`"""
|
|
834
850
|
|
|
835
851
|
def __init__(
|
|
836
|
-
self,
|
|
852
|
+
self,
|
|
853
|
+
sigma: float,
|
|
854
|
+
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
837
855
|
):
|
|
838
856
|
"""Builds a LocalAverageDepthF1D object.
|
|
839
857
|
|
|
@@ -914,7 +932,9 @@ class Normal2DF0D:
|
|
|
914
932
|
class Normal2DF1D:
|
|
915
933
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVec2f` > `Normal2DF1D`"""
|
|
916
934
|
|
|
917
|
-
def __init__(
|
|
935
|
+
def __init__(
|
|
936
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
937
|
+
):
|
|
918
938
|
"""Builds a Normal2DF1D object.
|
|
919
939
|
|
|
920
940
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -936,7 +956,9 @@ class Normal2DF1D:
|
|
|
936
956
|
class Orientation2DF1D:
|
|
937
957
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVec2f` > `Orientation2DF1D`"""
|
|
938
958
|
|
|
939
|
-
def __init__(
|
|
959
|
+
def __init__(
|
|
960
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
961
|
+
):
|
|
940
962
|
"""Builds an Orientation2DF1D object.
|
|
941
963
|
|
|
942
964
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -958,7 +980,9 @@ class Orientation2DF1D:
|
|
|
958
980
|
class Orientation3DF1D:
|
|
959
981
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVec3f` > `Orientation3DF1D`"""
|
|
960
982
|
|
|
961
|
-
def __init__(
|
|
983
|
+
def __init__(
|
|
984
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
985
|
+
):
|
|
962
986
|
"""Builds an Orientation3DF1D object.
|
|
963
987
|
|
|
964
988
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -1004,7 +1028,9 @@ class QuantitativeInvisibilityF0D:
|
|
|
1004
1028
|
class QuantitativeInvisibilityF1D:
|
|
1005
1029
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DUnsigned` > `QuantitativeInvisibilityF1D`"""
|
|
1006
1030
|
|
|
1007
|
-
def __init__(
|
|
1031
|
+
def __init__(
|
|
1032
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
1033
|
+
):
|
|
1008
1034
|
"""Builds a QuantitativeInvisibilityF1D object.
|
|
1009
1035
|
|
|
1010
1036
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -1206,7 +1232,9 @@ class ZDiscontinuityF0D:
|
|
|
1206
1232
|
class ZDiscontinuityF1D:
|
|
1207
1233
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `ZDiscontinuityF1D`"""
|
|
1208
1234
|
|
|
1209
|
-
def __init__(
|
|
1235
|
+
def __init__(
|
|
1236
|
+
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
1237
|
+
):
|
|
1210
1238
|
"""Builds a ZDiscontinuityF1D object.
|
|
1211
1239
|
|
|
1212
1240
|
:param integration_type: The integration method used to compute a single value
|
|
@@ -315,7 +315,7 @@ class ViewMapGradientNormBP1D:
|
|
|
315
315
|
def __init__(
|
|
316
316
|
self,
|
|
317
317
|
level: int,
|
|
318
|
-
integration_type: freestyle.types.IntegrationType =
|
|
318
|
+
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
319
319
|
sampling: float = 2.0,
|
|
320
320
|
):
|
|
321
321
|
"""Builds a ViewMapGradientNormBP1D object.
|
gpu/types/__init__.pyi
CHANGED
|
@@ -119,7 +119,7 @@ class GPUFrameBuffer:
|
|
|
119
119
|
channels: int,
|
|
120
120
|
slot: int,
|
|
121
121
|
format: str,
|
|
122
|
-
data: Buffer
|
|
122
|
+
data: Buffer = data,
|
|
123
123
|
) -> Buffer:
|
|
124
124
|
"""Read a block of pixels from the frame buffer.
|
|
125
125
|
|
|
@@ -136,15 +136,13 @@ class GPUFrameBuffer:
|
|
|
136
136
|
Possible values are FLOAT, INT, UINT, UBYTE, UINT_24_8 and 10_11_11_REV.
|
|
137
137
|
:type format: str
|
|
138
138
|
:param data: Optional Buffer object to fill with the pixels values.
|
|
139
|
-
:type data: Buffer
|
|
139
|
+
:type data: Buffer
|
|
140
140
|
:return: The Buffer with the read pixels.
|
|
141
141
|
:rtype: Buffer
|
|
142
142
|
"""
|
|
143
143
|
...
|
|
144
144
|
|
|
145
|
-
def read_depth(
|
|
146
|
-
self, x: int, y, xsize: int, ysize, data: Buffer | None = data
|
|
147
|
-
) -> Buffer:
|
|
145
|
+
def read_depth(self, x: int, y, xsize: int, ysize, data: Buffer = data) -> Buffer:
|
|
148
146
|
"""Read a pixel depth block from the frame buffer.
|
|
149
147
|
|
|
150
148
|
:param x: Lower left corner of a rectangular block of pixels.
|
|
@@ -154,7 +152,7 @@ class GPUFrameBuffer:
|
|
|
154
152
|
:type xsize: int
|
|
155
153
|
:param ysize:
|
|
156
154
|
:param data: Optional Buffer object to fill with the pixels values.
|
|
157
|
-
:type data: Buffer
|
|
155
|
+
:type data: Buffer
|
|
158
156
|
:return: The Buffer with the read pixels.
|
|
159
157
|
:rtype: Buffer
|
|
160
158
|
"""
|
imbuf/__init__.pyi
CHANGED
|
@@ -42,13 +42,13 @@ def new(size) -> imbuf.types.ImBuf:
|
|
|
42
42
|
|
|
43
43
|
...
|
|
44
44
|
|
|
45
|
-
def write(image: imbuf.types.ImBuf, filepath: bytes | str
|
|
45
|
+
def write(image: imbuf.types.ImBuf, filepath: bytes | str = image.filepath):
|
|
46
46
|
"""Write an image.
|
|
47
47
|
|
|
48
48
|
:param image: the image to write.
|
|
49
49
|
:type image: imbuf.types.ImBuf
|
|
50
50
|
:param filepath: Optional filepath of the image (fallback to the images file path).
|
|
51
|
-
:type filepath: bytes | str
|
|
51
|
+
:type filepath: bytes | str
|
|
52
52
|
"""
|
|
53
53
|
|
|
54
54
|
...
|
mathutils/bvhtree/__init__.pyi
CHANGED
|
@@ -105,7 +105,7 @@ class BVHTree:
|
|
|
105
105
|
self,
|
|
106
106
|
origin: collections.abc.Sequence[float] | mathutils.Vector,
|
|
107
107
|
direction: collections.abc.Sequence[float] | mathutils.Vector,
|
|
108
|
-
distance: float =
|
|
108
|
+
distance: float = sys.float_info.max,
|
|
109
109
|
) -> tuple:
|
|
110
110
|
"""Cast a ray onto the mesh.
|
|
111
111
|
|
|
File without changes
|
|
File without changes
|