fake-bpy-module 20240327__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.
- aud/__init__.pyi +34 -96
- bgl/__init__.pyi +1265 -2417
- bl_math/__init__.pyi +3 -14
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -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 +7 -7
- 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 +429 -427
- bpy/ops/nla/__init__.pyi +90 -91
- 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 +5257 -3766
- 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-20240329.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.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-20240329.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240329.dist-info}/top_level.txt +0 -0
|
@@ -12,20 +12,18 @@ def get_border() -> typing.Tuple:
|
|
|
12
12
|
|
|
13
13
|
...
|
|
14
14
|
|
|
15
|
-
def get_canvas_height()
|
|
15
|
+
def get_canvas_height():
|
|
16
16
|
"""Returns the canvas height.
|
|
17
17
|
|
|
18
18
|
:return: The canvas height.
|
|
19
|
-
:rtype: int
|
|
20
19
|
"""
|
|
21
20
|
|
|
22
21
|
...
|
|
23
22
|
|
|
24
|
-
def get_canvas_width()
|
|
23
|
+
def get_canvas_width():
|
|
25
24
|
"""Returns the canvas width.
|
|
26
25
|
|
|
27
26
|
:return: The canvas width.
|
|
28
|
-
:rtype: int
|
|
29
27
|
"""
|
|
30
28
|
|
|
31
29
|
...
|
|
@@ -39,16 +37,15 @@ def get_selected_fedge() -> freestyle.types.FEdge:
|
|
|
39
37
|
|
|
40
38
|
...
|
|
41
39
|
|
|
42
|
-
def get_time_stamp()
|
|
40
|
+
def get_time_stamp():
|
|
43
41
|
"""Returns the system time stamp.
|
|
44
42
|
|
|
45
43
|
:return: The system time stamp.
|
|
46
|
-
:rtype: int
|
|
47
44
|
"""
|
|
48
45
|
|
|
49
46
|
...
|
|
50
47
|
|
|
51
|
-
def load_map(file_name: str, map_name: str, num_levels
|
|
48
|
+
def load_map(file_name: str, map_name: str, num_levels=4, sigma=1.0):
|
|
52
49
|
"""Loads an image map for further reading.
|
|
53
50
|
|
|
54
51
|
:param file_name: The name of the image file.
|
|
@@ -58,70 +55,53 @@ def load_map(file_name: str, map_name: str, num_levels: int = 4, sigma: float =
|
|
|
58
55
|
:param num_levels: The number of levels in the map pyramid
|
|
59
56
|
(default = 4). If num_levels == 0, the complete pyramid is
|
|
60
57
|
built.
|
|
61
|
-
:type num_levels: int
|
|
62
58
|
:param sigma: The sigma value of the gaussian function.
|
|
63
|
-
:type sigma: float
|
|
64
59
|
"""
|
|
65
60
|
|
|
66
61
|
...
|
|
67
62
|
|
|
68
|
-
def read_complete_view_map_pixel(level
|
|
63
|
+
def read_complete_view_map_pixel(level, x, y):
|
|
69
64
|
"""Reads a pixel in the complete view map.
|
|
70
65
|
|
|
71
66
|
:param level: The level of the pyramid in which we wish to read the
|
|
72
67
|
pixel.
|
|
73
|
-
:type level: int
|
|
74
68
|
:param x: The x coordinate of the pixel we wish to read. The origin
|
|
75
69
|
is in the lower-left corner.
|
|
76
|
-
:type x: int
|
|
77
70
|
:param y: The y coordinate of the pixel we wish to read. The origin
|
|
78
71
|
is in the lower-left corner.
|
|
79
|
-
:type y: int
|
|
80
72
|
:return: The floating-point value stored for that pixel.
|
|
81
|
-
:rtype: float
|
|
82
73
|
"""
|
|
83
74
|
|
|
84
75
|
...
|
|
85
76
|
|
|
86
|
-
def read_directional_view_map_pixel(
|
|
87
|
-
orientation: int, level: int, x: int, y: int
|
|
88
|
-
) -> float:
|
|
77
|
+
def read_directional_view_map_pixel(orientation, level, x, y):
|
|
89
78
|
"""Reads a pixel in one of the oriented view map images.
|
|
90
79
|
|
|
91
80
|
:param orientation: The number telling which orientation we want to
|
|
92
81
|
check.
|
|
93
|
-
:type orientation: int
|
|
94
82
|
:param level: The level of the pyramid in which we wish to read the
|
|
95
83
|
pixel.
|
|
96
|
-
:type level: int
|
|
97
84
|
:param x: The x coordinate of the pixel we wish to read. The origin
|
|
98
85
|
is in the lower-left corner.
|
|
99
|
-
:type x: int
|
|
100
86
|
:param y: The y coordinate of the pixel we wish to read. The origin
|
|
101
87
|
is in the lower-left corner.
|
|
102
|
-
:type y: int
|
|
103
88
|
:return: The floating-point value stored for that pixel.
|
|
104
|
-
:rtype: float
|
|
105
89
|
"""
|
|
106
90
|
|
|
107
91
|
...
|
|
108
92
|
|
|
109
|
-
def read_map_pixel(map_name: str, level
|
|
93
|
+
def read_map_pixel(map_name: str, level, x, y):
|
|
110
94
|
"""Reads a pixel in a user-defined map.
|
|
111
95
|
|
|
112
96
|
:param map_name: The name of the map.
|
|
113
97
|
:type map_name: str
|
|
114
98
|
:param level: The level of the pyramid in which we wish to read the
|
|
115
99
|
pixel.
|
|
116
|
-
:type level: int
|
|
117
100
|
:param x: The x coordinate of the pixel we wish to read. The origin
|
|
118
101
|
is in the lower-left corner.
|
|
119
|
-
:type x: int
|
|
120
102
|
:param y: The y coordinate of the pixel we wish to read. The origin
|
|
121
103
|
is in the lower-left corner.
|
|
122
|
-
:type y: int
|
|
123
104
|
:return: The floating-point value stored for that pixel.
|
|
124
|
-
:rtype: float
|
|
125
105
|
"""
|
|
126
106
|
|
|
127
107
|
...
|
freestyle/utils/__init__.pyi
CHANGED
|
@@ -85,7 +85,7 @@ def integrate(
|
|
|
85
85
|
it: freestyle.types.Interface0DIterator,
|
|
86
86
|
it_end: freestyle.types.Interface0DIterator,
|
|
87
87
|
integration_type: freestyle.types.IntegrationType,
|
|
88
|
-
)
|
|
88
|
+
):
|
|
89
89
|
"""Returns a single value from a set of values evaluated at each 0D
|
|
90
90
|
element of this 1D element.
|
|
91
91
|
|
|
@@ -106,7 +106,6 @@ def integrate(
|
|
|
106
106
|
value type is float if func is of the `UnaryFunction0DDouble`
|
|
107
107
|
or `UnaryFunction0DFloat` type, and int if func is of the
|
|
108
108
|
`UnaryFunction0DUnsigned` type.
|
|
109
|
-
:rtype: typing.Union[int, float]
|
|
110
109
|
"""
|
|
111
110
|
|
|
112
111
|
...
|
gpu/capabilities/__init__.pyi
CHANGED
|
@@ -28,150 +28,133 @@ def hdr_support_get() -> bool:
|
|
|
28
28
|
|
|
29
29
|
...
|
|
30
30
|
|
|
31
|
-
def max_batch_indices_get()
|
|
31
|
+
def max_batch_indices_get():
|
|
32
32
|
"""Get maximum number of vertex array indices.
|
|
33
33
|
|
|
34
34
|
:return: Number of indices.
|
|
35
|
-
:rtype: int
|
|
36
35
|
"""
|
|
37
36
|
|
|
38
37
|
...
|
|
39
38
|
|
|
40
|
-
def max_batch_vertices_get()
|
|
39
|
+
def max_batch_vertices_get():
|
|
41
40
|
"""Get maximum number of vertex array vertices.
|
|
42
41
|
|
|
43
42
|
:return: Number of vertices.
|
|
44
|
-
:rtype: int
|
|
45
43
|
"""
|
|
46
44
|
|
|
47
45
|
...
|
|
48
46
|
|
|
49
|
-
def max_images_get()
|
|
47
|
+
def max_images_get():
|
|
50
48
|
"""Get maximum supported number of image units.
|
|
51
49
|
|
|
52
50
|
:return: Number of image units.
|
|
53
|
-
:rtype: int
|
|
54
51
|
"""
|
|
55
52
|
|
|
56
53
|
...
|
|
57
54
|
|
|
58
|
-
def max_texture_layers_get()
|
|
55
|
+
def max_texture_layers_get():
|
|
59
56
|
"""Get maximum number of layers in texture.
|
|
60
57
|
|
|
61
58
|
:return: Number of layers.
|
|
62
|
-
:rtype: int
|
|
63
59
|
"""
|
|
64
60
|
|
|
65
61
|
...
|
|
66
62
|
|
|
67
|
-
def max_texture_size_get()
|
|
63
|
+
def max_texture_size_get():
|
|
68
64
|
"""Get estimated maximum texture size to be able to handle.
|
|
69
65
|
|
|
70
66
|
:return: Texture size.
|
|
71
|
-
:rtype: int
|
|
72
67
|
"""
|
|
73
68
|
|
|
74
69
|
...
|
|
75
70
|
|
|
76
|
-
def max_textures_frag_get()
|
|
71
|
+
def max_textures_frag_get():
|
|
77
72
|
"""Get maximum supported texture image units used for
|
|
78
73
|
accessing texture maps from the fragment shader.
|
|
79
74
|
|
|
80
75
|
:return: Texture image units.
|
|
81
|
-
:rtype: int
|
|
82
76
|
"""
|
|
83
77
|
|
|
84
78
|
...
|
|
85
79
|
|
|
86
|
-
def max_textures_geom_get()
|
|
80
|
+
def max_textures_geom_get():
|
|
87
81
|
"""Get maximum supported texture image units used for
|
|
88
82
|
accessing texture maps from the geometry shader.
|
|
89
83
|
|
|
90
84
|
:return: Texture image units.
|
|
91
|
-
:rtype: int
|
|
92
85
|
"""
|
|
93
86
|
|
|
94
87
|
...
|
|
95
88
|
|
|
96
|
-
def max_textures_get()
|
|
89
|
+
def max_textures_get():
|
|
97
90
|
"""Get maximum supported texture image units used for
|
|
98
91
|
accessing texture maps from the vertex shader and the
|
|
99
92
|
fragment processor.
|
|
100
93
|
|
|
101
94
|
:return: Texture image units.
|
|
102
|
-
:rtype: int
|
|
103
95
|
"""
|
|
104
96
|
|
|
105
97
|
...
|
|
106
98
|
|
|
107
|
-
def max_textures_vert_get()
|
|
99
|
+
def max_textures_vert_get():
|
|
108
100
|
"""Get maximum supported texture image units used for
|
|
109
101
|
accessing texture maps from the vertex shader.
|
|
110
102
|
|
|
111
103
|
:return: Texture image units.
|
|
112
|
-
:rtype: int
|
|
113
104
|
"""
|
|
114
105
|
|
|
115
106
|
...
|
|
116
107
|
|
|
117
|
-
def max_uniforms_frag_get()
|
|
108
|
+
def max_uniforms_frag_get():
|
|
118
109
|
"""Get maximum number of values held in uniform variable
|
|
119
110
|
storage for a fragment shader.
|
|
120
111
|
|
|
121
112
|
:return: Number of values.
|
|
122
|
-
:rtype: int
|
|
123
113
|
"""
|
|
124
114
|
|
|
125
115
|
...
|
|
126
116
|
|
|
127
|
-
def max_uniforms_vert_get()
|
|
117
|
+
def max_uniforms_vert_get():
|
|
128
118
|
"""Get maximum number of values held in uniform variable
|
|
129
119
|
storage for a vertex shader.
|
|
130
120
|
|
|
131
121
|
:return: Number of values.
|
|
132
|
-
:rtype: int
|
|
133
122
|
"""
|
|
134
123
|
|
|
135
124
|
...
|
|
136
125
|
|
|
137
|
-
def max_varying_floats_get()
|
|
126
|
+
def max_varying_floats_get():
|
|
138
127
|
"""Get maximum number of varying variables used by
|
|
139
128
|
vertex and fragment shaders.
|
|
140
129
|
|
|
141
130
|
:return: Number of variables.
|
|
142
|
-
:rtype: int
|
|
143
131
|
"""
|
|
144
132
|
|
|
145
133
|
...
|
|
146
134
|
|
|
147
|
-
def max_vertex_attribs_get()
|
|
135
|
+
def max_vertex_attribs_get():
|
|
148
136
|
"""Get maximum number of vertex attributes accessible to
|
|
149
137
|
a vertex shader.
|
|
150
138
|
|
|
151
139
|
:return: Number of attributes.
|
|
152
|
-
:rtype: int
|
|
153
140
|
"""
|
|
154
141
|
|
|
155
142
|
...
|
|
156
143
|
|
|
157
|
-
def max_work_group_count_get(index
|
|
144
|
+
def max_work_group_count_get(index):
|
|
158
145
|
"""Get maximum number of work groups that may be dispatched to a compute shader.
|
|
159
146
|
|
|
160
147
|
:param index: Index of the dimension.
|
|
161
|
-
:type index: int
|
|
162
148
|
:return: Maximum number of work groups for the queried dimension.
|
|
163
|
-
:rtype: int
|
|
164
149
|
"""
|
|
165
150
|
|
|
166
151
|
...
|
|
167
152
|
|
|
168
|
-
def max_work_group_size_get(index
|
|
153
|
+
def max_work_group_size_get(index):
|
|
169
154
|
"""Get maximum size of a work group that may be dispatched to a compute shader.
|
|
170
155
|
|
|
171
156
|
:param index: Index of the dimension.
|
|
172
|
-
:type index: int
|
|
173
157
|
:return: Maximum size of a work group for the queried dimension.
|
|
174
|
-
:rtype: int
|
|
175
158
|
"""
|
|
176
159
|
|
|
177
160
|
...
|
gpu/matrix/__init__.pyi
CHANGED
gpu/state/__init__.pyi
CHANGED
|
@@ -24,11 +24,10 @@ def blend_set(mode: str):
|
|
|
24
24
|
|
|
25
25
|
...
|
|
26
26
|
|
|
27
|
-
def clip_distances_set(distances_enabled
|
|
27
|
+
def clip_distances_set(distances_enabled):
|
|
28
28
|
"""Sets the number of gl_ClipDistance planes used for clip geometry.
|
|
29
29
|
|
|
30
30
|
:param distances_enabled: Number of clip distances enabled.
|
|
31
|
-
:type distances_enabled: int
|
|
32
31
|
"""
|
|
33
32
|
|
|
34
33
|
...
|
|
@@ -115,7 +114,7 @@ def program_point_size_set(enable: bool):
|
|
|
115
114
|
|
|
116
115
|
...
|
|
117
116
|
|
|
118
|
-
def scissor_get()
|
|
117
|
+
def scissor_get():
|
|
119
118
|
"""Retrieve the scissors of the active framebuffer.
|
|
120
119
|
Note: Only valid between 'scissor_set' and a framebuffer rebind.
|
|
121
120
|
|
|
@@ -123,19 +122,16 @@ def scissor_get() -> typing.Union[int, int]:
|
|
|
123
122
|
(x, y, xsize, ysize).
|
|
124
123
|
x, y: lower left corner of the scissor rectangle, in pixels.
|
|
125
124
|
xsize, ysize: width and height of the scissor rectangle.
|
|
126
|
-
:rtype: typing.Union[int, int]
|
|
127
125
|
"""
|
|
128
126
|
|
|
129
127
|
...
|
|
130
128
|
|
|
131
|
-
def scissor_set(x
|
|
129
|
+
def scissor_set(x, y, xsize, ysize):
|
|
132
130
|
"""Specifies the scissor area of the active framebuffer.
|
|
133
131
|
Note: The scissor state is not saved upon framebuffer rebind.
|
|
134
132
|
|
|
135
133
|
:param x: lower left corner of the scissor rectangle, in pixels.
|
|
136
|
-
:type x: int
|
|
137
134
|
:param xsize: width and height of the scissor rectangle.
|
|
138
|
-
:type xsize: int
|
|
139
135
|
"""
|
|
140
136
|
|
|
141
137
|
...
|
|
@@ -155,14 +151,12 @@ def viewport_get():
|
|
|
155
151
|
|
|
156
152
|
...
|
|
157
153
|
|
|
158
|
-
def viewport_set(x
|
|
154
|
+
def viewport_set(x, y, xsize, ysize):
|
|
159
155
|
"""Specifies the viewport of the active framebuffer.
|
|
160
156
|
Note: The viewport state is not saved upon framebuffer rebind.
|
|
161
157
|
|
|
162
158
|
:param x: lower left corner of the viewport_set rectangle, in pixels.
|
|
163
|
-
:type x: int
|
|
164
159
|
:param xsize: width and height of the viewport_set.
|
|
165
|
-
:type xsize: int
|
|
166
160
|
"""
|
|
167
161
|
|
|
168
162
|
...
|