fake-bpy-module 20241207__py3-none-any.whl → 20241209__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.
- addon_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
- bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
- blf/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +110 -53
- bmesh/types/__init__.pyi +18 -10
- bmesh/utils/__init__.pyi +14 -4
- bpy/app/icons/__init__.pyi +4 -1
- bpy/app/translations/__init__.pyi +4 -1
- bpy/msgbus/__init__.pyi +8 -5
- bpy/ops/action/__init__.pyi +38 -138
- bpy/ops/anim/__init__.pyi +61 -179
- bpy/ops/armature/__init__.pyi +48 -147
- bpy/ops/asset/__init__.pyi +16 -71
- bpy/ops/boid/__init__.pyi +8 -41
- bpy/ops/brush/__init__.pyi +13 -39
- bpy/ops/buttons/__init__.pyi +6 -29
- bpy/ops/cachefile/__init__.pyi +5 -19
- bpy/ops/camera/__init__.pyi +2 -5
- bpy/ops/clip/__init__.pyi +92 -290
- bpy/ops/cloth/__init__.pyi +1 -3
- bpy/ops/collection/__init__.pyi +9 -25
- bpy/ops/console/__init__.pyi +21 -79
- bpy/ops/constraint/__init__.pyi +18 -45
- bpy/ops/curve/__init__.pyi +51 -180
- bpy/ops/curves/__init__.pyi +28 -100
- bpy/ops/cycles/__init__.pyi +3 -9
- bpy/ops/dpaint/__init__.pyi +5 -19
- bpy/ops/ed/__init__.pyi +12 -53
- bpy/ops/export_anim/__init__.pyi +1 -3
- bpy/ops/export_scene/__init__.pyi +2 -5
- bpy/ops/extensions/__init__.pyi +34 -110
- bpy/ops/file/__init__.pyi +40 -167
- bpy/ops/fluid/__init__.pyi +14 -77
- bpy/ops/font/__init__.pyi +23 -85
- bpy/ops/geometry/__init__.pyi +10 -27
- bpy/ops/gizmogroup/__init__.pyi +2 -9
- bpy/ops/gpencil/__init__.pyi +8 -32
- bpy/ops/graph/__init__.pyi +65 -184
- bpy/ops/grease_pencil/__init__.pyi +108 -290
- bpy/ops/image/__init__.pyi +49 -154
- bpy/ops/import_anim/__init__.pyi +1 -3
- bpy/ops/import_curve/__init__.pyi +1 -3
- bpy/ops/import_scene/__init__.pyi +2 -4
- bpy/ops/info/__init__.pyi +7 -29
- bpy/ops/lattice/__init__.pyi +8 -29
- bpy/ops/marker/__init__.pyi +11 -31
- bpy/ops/mask/__init__.pyi +39 -132
- bpy/ops/material/__init__.pyi +3 -19
- bpy/ops/mball/__init__.pyi +8 -19
- bpy/ops/mesh/__init__.pyi +164 -401
- bpy/ops/nla/__init__.pyi +39 -147
- bpy/ops/node/__init__.pyi +115 -390
- bpy/ops/object/__init__.pyi +237 -630
- bpy/ops/outliner/__init__.pyi +71 -263
- bpy/ops/paint/__init__.pyi +54 -140
- bpy/ops/paintcurve/__init__.pyi +8 -33
- bpy/ops/palette/__init__.pyi +7 -27
- bpy/ops/particle/__init__.pyi +36 -134
- bpy/ops/pose/__init__.pyi +51 -169
- bpy/ops/poselib/__init__.pyi +9 -33
- bpy/ops/preferences/__init__.pyi +35 -94
- bpy/ops/ptcache/__init__.pyi +7 -33
- bpy/ops/render/__init__.pyi +13 -37
- bpy/ops/rigidbody/__init__.pyi +13 -45
- bpy/ops/scene/__init__.pyi +37 -121
- bpy/ops/screen/__init__.pyi +39 -137
- bpy/ops/script/__init__.pyi +3 -11
- bpy/ops/sculpt/__init__.pyi +37 -94
- bpy/ops/sculpt_curves/__init__.pyi +4 -10
- bpy/ops/sequencer/__init__.pyi +89 -284
- bpy/ops/sound/__init__.pyi +7 -23
- bpy/ops/spreadsheet/__init__.pyi +4 -15
- bpy/ops/surface/__init__.pyi +6 -13
- bpy/ops/text/__init__.pyi +43 -175
- bpy/ops/text_editor/__init__.pyi +1 -3
- bpy/ops/texture/__init__.pyi +4 -21
- bpy/ops/transform/__init__.pyi +27 -61
- bpy/ops/ui/__init__.pyi +34 -117
- bpy/ops/uilist/__init__.pyi +3 -7
- bpy/ops/uv/__init__.pyi +49 -134
- bpy/ops/view2d/__init__.pyi +14 -39
- bpy/ops/view3d/__init__.pyi +67 -232
- bpy/ops/wm/__init__.pyi +114 -298
- bpy/ops/workspace/__init__.pyi +7 -33
- bpy/ops/world/__init__.pyi +2 -11
- bpy/path/__init__.pyi +4 -2
- bpy/types/__init__.pyi +68 -32
- bpy/utils/__init__.pyi +18 -9
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +7 -2
- bpy_extras/mesh_utils/__init__.pyi +19 -7
- bpy_extras/view3d_utils/__init__.pyi +2 -2
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/METADATA +1 -1
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/RECORD +115 -115
- freestyle/functions/__init__.pyi +16 -4
- freestyle/types/__init__.pyi +60 -23
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- gpu/capabilities/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +2 -2
- gpu_extras/batch/__init__.pyi +6 -3
- idprop/types/__init__.pyi +4 -3
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +5 -2
- mathutils/__init__.pyi +25 -14
- mathutils/bvhtree/__init__.pyi +8 -7
- mathutils/geometry/__init__.pyi +38 -17
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +11 -6
- mathutils/noise/__init__.pyi +2 -1
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/top_level.txt +0 -0
bpy/ops/screen/__init__.pyi
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
import bpy.typing
|
|
6
5
|
|
|
7
6
|
def actionzone(
|
|
8
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
9
7
|
execution_context: int | str | None = None,
|
|
10
8
|
undo: bool | None = None,
|
|
9
|
+
/,
|
|
11
10
|
*,
|
|
12
11
|
modifier: int | None = 0,
|
|
13
12
|
):
|
|
14
13
|
"""Handle area action zones for mouse actions/gestures
|
|
15
14
|
|
|
16
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
17
15
|
:type execution_context: int | str | None
|
|
18
16
|
:type undo: bool | None
|
|
19
17
|
:param modifier: Modifier, Modifier state
|
|
@@ -21,15 +19,14 @@ def actionzone(
|
|
|
21
19
|
"""
|
|
22
20
|
|
|
23
21
|
def animation_cancel(
|
|
24
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
25
22
|
execution_context: int | str | None = None,
|
|
26
23
|
undo: bool | None = None,
|
|
24
|
+
/,
|
|
27
25
|
*,
|
|
28
26
|
restore_frame: bool | None = True,
|
|
29
27
|
):
|
|
30
28
|
"""Cancel animation, returning to the original frame
|
|
31
29
|
|
|
32
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
33
30
|
:type execution_context: int | str | None
|
|
34
31
|
:type undo: bool | None
|
|
35
32
|
:param restore_frame: Restore Frame, Restore the frame when animation was initialized
|
|
@@ -37,16 +34,15 @@ def animation_cancel(
|
|
|
37
34
|
"""
|
|
38
35
|
|
|
39
36
|
def animation_play(
|
|
40
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
41
37
|
execution_context: int | str | None = None,
|
|
42
38
|
undo: bool | None = None,
|
|
39
|
+
/,
|
|
43
40
|
*,
|
|
44
41
|
reverse: bool | None = False,
|
|
45
42
|
sync: bool | None = False,
|
|
46
43
|
):
|
|
47
44
|
"""Play animation
|
|
48
45
|
|
|
49
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
50
46
|
:type execution_context: int | str | None
|
|
51
47
|
:type undo: bool | None
|
|
52
48
|
:param reverse: Play in Reverse, Animation is played backwards
|
|
@@ -56,52 +52,38 @@ def animation_play(
|
|
|
56
52
|
"""
|
|
57
53
|
|
|
58
54
|
def animation_step(
|
|
59
|
-
|
|
60
|
-
execution_context: int | str | None = None,
|
|
61
|
-
undo: bool | None = None,
|
|
55
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
62
56
|
):
|
|
63
57
|
"""Step through animation by position
|
|
64
58
|
|
|
65
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
66
59
|
:type execution_context: int | str | None
|
|
67
60
|
:type undo: bool | None
|
|
68
61
|
"""
|
|
69
62
|
|
|
70
|
-
def area_close(
|
|
71
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
72
|
-
execution_context: int | str | None = None,
|
|
73
|
-
undo: bool | None = None,
|
|
74
|
-
):
|
|
63
|
+
def area_close(execution_context: int | str | None = None, undo: bool | None = None):
|
|
75
64
|
"""Close selected area
|
|
76
65
|
|
|
77
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
78
66
|
:type execution_context: int | str | None
|
|
79
67
|
:type undo: bool | None
|
|
80
68
|
"""
|
|
81
69
|
|
|
82
|
-
def area_dupli(
|
|
83
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
84
|
-
execution_context: int | str | None = None,
|
|
85
|
-
undo: bool | None = None,
|
|
86
|
-
):
|
|
70
|
+
def area_dupli(execution_context: int | str | None = None, undo: bool | None = None):
|
|
87
71
|
"""Duplicate selected area into new window
|
|
88
72
|
|
|
89
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
90
73
|
:type execution_context: int | str | None
|
|
91
74
|
:type undo: bool | None
|
|
92
75
|
"""
|
|
93
76
|
|
|
94
77
|
def area_join(
|
|
95
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
96
78
|
execution_context: int | str | None = None,
|
|
97
79
|
undo: bool | None = None,
|
|
80
|
+
/,
|
|
98
81
|
*,
|
|
99
82
|
source_xy: collections.abc.Iterable[int] | None = (0, 0),
|
|
100
83
|
target_xy: collections.abc.Iterable[int] | None = (0, 0),
|
|
101
84
|
):
|
|
102
85
|
"""Join selected areas into new window
|
|
103
86
|
|
|
104
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
105
87
|
:type execution_context: int | str | None
|
|
106
88
|
:type undo: bool | None
|
|
107
89
|
:param source_xy: Source location
|
|
@@ -111,9 +93,9 @@ def area_join(
|
|
|
111
93
|
"""
|
|
112
94
|
|
|
113
95
|
def area_move(
|
|
114
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
115
96
|
execution_context: int | str | None = None,
|
|
116
97
|
undo: bool | None = None,
|
|
98
|
+
/,
|
|
117
99
|
*,
|
|
118
100
|
x: int | None = 0,
|
|
119
101
|
y: int | None = 0,
|
|
@@ -121,7 +103,6 @@ def area_move(
|
|
|
121
103
|
):
|
|
122
104
|
"""Move selected area edges
|
|
123
105
|
|
|
124
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
125
106
|
:type execution_context: int | str | None
|
|
126
107
|
:type undo: bool | None
|
|
127
108
|
:param x: X
|
|
@@ -132,22 +113,17 @@ def area_move(
|
|
|
132
113
|
:type delta: int | None
|
|
133
114
|
"""
|
|
134
115
|
|
|
135
|
-
def area_options(
|
|
136
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
137
|
-
execution_context: int | str | None = None,
|
|
138
|
-
undo: bool | None = None,
|
|
139
|
-
):
|
|
116
|
+
def area_options(execution_context: int | str | None = None, undo: bool | None = None):
|
|
140
117
|
"""Operations for splitting and merging
|
|
141
118
|
|
|
142
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
143
119
|
:type execution_context: int | str | None
|
|
144
120
|
:type undo: bool | None
|
|
145
121
|
"""
|
|
146
122
|
|
|
147
123
|
def area_split(
|
|
148
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
149
124
|
execution_context: int | str | None = None,
|
|
150
125
|
undo: bool | None = None,
|
|
126
|
+
/,
|
|
151
127
|
*,
|
|
152
128
|
direction: typing.Literal["HORIZONTAL", "VERTICAL"] | None = "HORIZONTAL",
|
|
153
129
|
factor: float | None = 0.5,
|
|
@@ -155,7 +131,6 @@ def area_split(
|
|
|
155
131
|
):
|
|
156
132
|
"""Split selected area into new windows
|
|
157
133
|
|
|
158
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
159
134
|
:type execution_context: int | str | None
|
|
160
135
|
:type undo: bool | None
|
|
161
136
|
:param direction: Direction
|
|
@@ -167,15 +142,14 @@ def area_split(
|
|
|
167
142
|
"""
|
|
168
143
|
|
|
169
144
|
def area_swap(
|
|
170
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
171
145
|
execution_context: int | str | None = None,
|
|
172
146
|
undo: bool | None = None,
|
|
147
|
+
/,
|
|
173
148
|
*,
|
|
174
149
|
cursor: collections.abc.Iterable[int] | None = (0, 0),
|
|
175
150
|
):
|
|
176
151
|
"""Swap selected areas screen positions
|
|
177
152
|
|
|
178
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
179
153
|
:type execution_context: int | str | None
|
|
180
154
|
:type undo: bool | None
|
|
181
155
|
:param cursor: Cursor
|
|
@@ -183,51 +157,39 @@ def area_swap(
|
|
|
183
157
|
"""
|
|
184
158
|
|
|
185
159
|
def back_to_previous(
|
|
186
|
-
|
|
187
|
-
execution_context: int | str | None = None,
|
|
188
|
-
undo: bool | None = None,
|
|
160
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
189
161
|
):
|
|
190
162
|
"""Revert back to the original screen layout, before fullscreen area overlay
|
|
191
163
|
|
|
192
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
193
164
|
:type execution_context: int | str | None
|
|
194
165
|
:type undo: bool | None
|
|
195
166
|
"""
|
|
196
167
|
|
|
197
|
-
def delete(
|
|
198
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
199
|
-
execution_context: int | str | None = None,
|
|
200
|
-
undo: bool | None = None,
|
|
201
|
-
):
|
|
168
|
+
def delete(execution_context: int | str | None = None, undo: bool | None = None):
|
|
202
169
|
"""Delete active screen
|
|
203
170
|
|
|
204
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
205
171
|
:type execution_context: int | str | None
|
|
206
172
|
:type undo: bool | None
|
|
207
173
|
"""
|
|
208
174
|
|
|
209
175
|
def drivers_editor_show(
|
|
210
|
-
|
|
211
|
-
execution_context: int | str | None = None,
|
|
212
|
-
undo: bool | None = None,
|
|
176
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
213
177
|
):
|
|
214
178
|
"""Show drivers editor in a separate window
|
|
215
179
|
|
|
216
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
217
180
|
:type execution_context: int | str | None
|
|
218
181
|
:type undo: bool | None
|
|
219
182
|
"""
|
|
220
183
|
|
|
221
184
|
def frame_jump(
|
|
222
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
223
185
|
execution_context: int | str | None = None,
|
|
224
186
|
undo: bool | None = None,
|
|
187
|
+
/,
|
|
225
188
|
*,
|
|
226
189
|
end: bool | None = False,
|
|
227
190
|
):
|
|
228
191
|
"""Jump to first/last frame in frame range
|
|
229
192
|
|
|
230
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
231
193
|
:type execution_context: int | str | None
|
|
232
194
|
:type undo: bool | None
|
|
233
195
|
:param end: Last Frame, Jump to the last frame of the frame range
|
|
@@ -235,15 +197,14 @@ def frame_jump(
|
|
|
235
197
|
"""
|
|
236
198
|
|
|
237
199
|
def frame_offset(
|
|
238
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
239
200
|
execution_context: int | str | None = None,
|
|
240
201
|
undo: bool | None = None,
|
|
202
|
+
/,
|
|
241
203
|
*,
|
|
242
204
|
delta: int | None = 0,
|
|
243
205
|
):
|
|
244
206
|
"""Move current frame forward/backward by a given number
|
|
245
207
|
|
|
246
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
247
208
|
:type execution_context: int | str | None
|
|
248
209
|
:type undo: bool | None
|
|
249
210
|
:param delta: Delta
|
|
@@ -251,39 +212,30 @@ def frame_offset(
|
|
|
251
212
|
"""
|
|
252
213
|
|
|
253
214
|
def header_toggle_menus(
|
|
254
|
-
|
|
255
|
-
execution_context: int | str | None = None,
|
|
256
|
-
undo: bool | None = None,
|
|
215
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
257
216
|
):
|
|
258
217
|
"""Expand or collapse the header pulldown menus
|
|
259
218
|
|
|
260
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
261
219
|
:type execution_context: int | str | None
|
|
262
220
|
:type undo: bool | None
|
|
263
221
|
"""
|
|
264
222
|
|
|
265
|
-
def info_log_show(
|
|
266
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
267
|
-
execution_context: int | str | None = None,
|
|
268
|
-
undo: bool | None = None,
|
|
269
|
-
):
|
|
223
|
+
def info_log_show(execution_context: int | str | None = None, undo: bool | None = None):
|
|
270
224
|
"""Show info log in a separate window
|
|
271
225
|
|
|
272
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
273
226
|
:type execution_context: int | str | None
|
|
274
227
|
:type undo: bool | None
|
|
275
228
|
"""
|
|
276
229
|
|
|
277
230
|
def keyframe_jump(
|
|
278
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
279
231
|
execution_context: int | str | None = None,
|
|
280
232
|
undo: bool | None = None,
|
|
233
|
+
/,
|
|
281
234
|
*,
|
|
282
235
|
next: bool | None = True,
|
|
283
236
|
):
|
|
284
237
|
"""Jump to previous/next keyframe
|
|
285
238
|
|
|
286
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
287
239
|
:type execution_context: int | str | None
|
|
288
240
|
:type undo: bool | None
|
|
289
241
|
:param next: Next Keyframe
|
|
@@ -291,115 +243,82 @@ def keyframe_jump(
|
|
|
291
243
|
"""
|
|
292
244
|
|
|
293
245
|
def marker_jump(
|
|
294
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
295
246
|
execution_context: int | str | None = None,
|
|
296
247
|
undo: bool | None = None,
|
|
248
|
+
/,
|
|
297
249
|
*,
|
|
298
250
|
next: bool | None = True,
|
|
299
251
|
):
|
|
300
252
|
"""Jump to previous/next marker
|
|
301
253
|
|
|
302
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
303
254
|
:type execution_context: int | str | None
|
|
304
255
|
:type undo: bool | None
|
|
305
256
|
:param next: Next Marker
|
|
306
257
|
:type next: bool | None
|
|
307
258
|
"""
|
|
308
259
|
|
|
309
|
-
def new(
|
|
310
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
311
|
-
execution_context: int | str | None = None,
|
|
312
|
-
undo: bool | None = None,
|
|
313
|
-
):
|
|
260
|
+
def new(execution_context: int | str | None = None, undo: bool | None = None):
|
|
314
261
|
"""Add a new screen
|
|
315
262
|
|
|
316
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
317
263
|
:type execution_context: int | str | None
|
|
318
264
|
:type undo: bool | None
|
|
319
265
|
"""
|
|
320
266
|
|
|
321
|
-
def redo_last(
|
|
322
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
323
|
-
execution_context: int | str | None = None,
|
|
324
|
-
undo: bool | None = None,
|
|
325
|
-
):
|
|
267
|
+
def redo_last(execution_context: int | str | None = None, undo: bool | None = None):
|
|
326
268
|
"""Display parameters for last action performed
|
|
327
269
|
|
|
328
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
329
270
|
:type execution_context: int | str | None
|
|
330
271
|
:type undo: bool | None
|
|
331
272
|
"""
|
|
332
273
|
|
|
333
|
-
def region_blend(
|
|
334
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
335
|
-
execution_context: int | str | None = None,
|
|
336
|
-
undo: bool | None = None,
|
|
337
|
-
):
|
|
274
|
+
def region_blend(execution_context: int | str | None = None, undo: bool | None = None):
|
|
338
275
|
"""Blend in and out overlapping region
|
|
339
276
|
|
|
340
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
341
277
|
:type execution_context: int | str | None
|
|
342
278
|
:type undo: bool | None
|
|
343
279
|
"""
|
|
344
280
|
|
|
345
281
|
def region_context_menu(
|
|
346
|
-
|
|
347
|
-
execution_context: int | str | None = None,
|
|
348
|
-
undo: bool | None = None,
|
|
282
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
349
283
|
):
|
|
350
284
|
"""Display region context menu
|
|
351
285
|
|
|
352
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
353
286
|
:type execution_context: int | str | None
|
|
354
287
|
:type undo: bool | None
|
|
355
288
|
"""
|
|
356
289
|
|
|
357
|
-
def region_flip(
|
|
358
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
359
|
-
execution_context: int | str | None = None,
|
|
360
|
-
undo: bool | None = None,
|
|
361
|
-
):
|
|
290
|
+
def region_flip(execution_context: int | str | None = None, undo: bool | None = None):
|
|
362
291
|
"""Toggle the region's alignment (left/right or top/bottom)
|
|
363
292
|
|
|
364
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
365
293
|
:type execution_context: int | str | None
|
|
366
294
|
:type undo: bool | None
|
|
367
295
|
"""
|
|
368
296
|
|
|
369
297
|
def region_quadview(
|
|
370
|
-
|
|
371
|
-
execution_context: int | str | None = None,
|
|
372
|
-
undo: bool | None = None,
|
|
298
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
373
299
|
):
|
|
374
300
|
"""Split selected area into camera, front, right, and top views
|
|
375
301
|
|
|
376
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
377
302
|
:type execution_context: int | str | None
|
|
378
303
|
:type undo: bool | None
|
|
379
304
|
"""
|
|
380
305
|
|
|
381
|
-
def region_scale(
|
|
382
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
383
|
-
execution_context: int | str | None = None,
|
|
384
|
-
undo: bool | None = None,
|
|
385
|
-
):
|
|
306
|
+
def region_scale(execution_context: int | str | None = None, undo: bool | None = None):
|
|
386
307
|
"""Scale selected area
|
|
387
308
|
|
|
388
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
389
309
|
:type execution_context: int | str | None
|
|
390
310
|
:type undo: bool | None
|
|
391
311
|
"""
|
|
392
312
|
|
|
393
313
|
def region_toggle(
|
|
394
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
395
314
|
execution_context: int | str | None = None,
|
|
396
315
|
undo: bool | None = None,
|
|
316
|
+
/,
|
|
397
317
|
*,
|
|
398
318
|
region_type: bpy.typing.RegionTypeItems | None = "WINDOW",
|
|
399
319
|
):
|
|
400
320
|
"""Hide or unhide the region
|
|
401
321
|
|
|
402
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
403
322
|
:type execution_context: int | str | None
|
|
404
323
|
:type undo: bool | None
|
|
405
324
|
:param region_type: Region Type, Type of the region to toggle
|
|
@@ -407,43 +326,36 @@ def region_toggle(
|
|
|
407
326
|
"""
|
|
408
327
|
|
|
409
328
|
def repeat_history(
|
|
410
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
411
329
|
execution_context: int | str | None = None,
|
|
412
330
|
undo: bool | None = None,
|
|
331
|
+
/,
|
|
413
332
|
*,
|
|
414
333
|
index: int | None = 0,
|
|
415
334
|
):
|
|
416
335
|
"""Display menu for previous actions performed
|
|
417
336
|
|
|
418
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
419
337
|
:type execution_context: int | str | None
|
|
420
338
|
:type undo: bool | None
|
|
421
339
|
:param index: Index
|
|
422
340
|
:type index: int | None
|
|
423
341
|
"""
|
|
424
342
|
|
|
425
|
-
def repeat_last(
|
|
426
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
427
|
-
execution_context: int | str | None = None,
|
|
428
|
-
undo: bool | None = None,
|
|
429
|
-
):
|
|
343
|
+
def repeat_last(execution_context: int | str | None = None, undo: bool | None = None):
|
|
430
344
|
"""Repeat last action
|
|
431
345
|
|
|
432
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
433
346
|
:type execution_context: int | str | None
|
|
434
347
|
:type undo: bool | None
|
|
435
348
|
"""
|
|
436
349
|
|
|
437
350
|
def screen_full_area(
|
|
438
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
439
351
|
execution_context: int | str | None = None,
|
|
440
352
|
undo: bool | None = None,
|
|
353
|
+
/,
|
|
441
354
|
*,
|
|
442
355
|
use_hide_panels: bool | None = False,
|
|
443
356
|
):
|
|
444
357
|
"""Toggle display selected area as fullscreen/maximized
|
|
445
358
|
|
|
446
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
447
359
|
:type execution_context: int | str | None
|
|
448
360
|
:type undo: bool | None
|
|
449
361
|
:param use_hide_panels: Hide Panels, Hide all the panels
|
|
@@ -451,15 +363,14 @@ def screen_full_area(
|
|
|
451
363
|
"""
|
|
452
364
|
|
|
453
365
|
def screen_set(
|
|
454
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
455
366
|
execution_context: int | str | None = None,
|
|
456
367
|
undo: bool | None = None,
|
|
368
|
+
/,
|
|
457
369
|
*,
|
|
458
370
|
delta: int | None = 1,
|
|
459
371
|
):
|
|
460
372
|
"""Cycle through available screens
|
|
461
373
|
|
|
462
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
463
374
|
:type execution_context: int | str | None
|
|
464
375
|
:type undo: bool | None
|
|
465
376
|
:param delta: Delta
|
|
@@ -467,9 +378,9 @@ def screen_set(
|
|
|
467
378
|
"""
|
|
468
379
|
|
|
469
380
|
def screenshot(
|
|
470
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
471
381
|
execution_context: int | str | None = None,
|
|
472
382
|
undo: bool | None = None,
|
|
383
|
+
/,
|
|
473
384
|
*,
|
|
474
385
|
filepath: str = "",
|
|
475
386
|
hide_props_region: bool | None = True,
|
|
@@ -502,7 +413,6 @@ def screenshot(
|
|
|
502
413
|
):
|
|
503
414
|
"""Capture a picture of the whole Blender window
|
|
504
415
|
|
|
505
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
506
416
|
:type execution_context: int | str | None
|
|
507
417
|
:type undo: bool | None
|
|
508
418
|
:param filepath: File Path, Path to file
|
|
@@ -570,9 +480,9 @@ def screenshot(
|
|
|
570
480
|
"""
|
|
571
481
|
|
|
572
482
|
def screenshot_area(
|
|
573
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
574
483
|
execution_context: int | str | None = None,
|
|
575
484
|
undo: bool | None = None,
|
|
485
|
+
/,
|
|
576
486
|
*,
|
|
577
487
|
filepath: str = "",
|
|
578
488
|
hide_props_region: bool | None = True,
|
|
@@ -605,7 +515,6 @@ def screenshot_area(
|
|
|
605
515
|
):
|
|
606
516
|
"""Capture a picture of an editor
|
|
607
517
|
|
|
608
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
609
518
|
:type execution_context: int | str | None
|
|
610
519
|
:type undo: bool | None
|
|
611
520
|
:param filepath: File Path, Path to file
|
|
@@ -673,15 +582,14 @@ def screenshot_area(
|
|
|
673
582
|
"""
|
|
674
583
|
|
|
675
584
|
def space_context_cycle(
|
|
676
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
677
585
|
execution_context: int | str | None = None,
|
|
678
586
|
undo: bool | None = None,
|
|
587
|
+
/,
|
|
679
588
|
*,
|
|
680
589
|
direction: typing.Literal["PREV", "NEXT"] | None = "NEXT",
|
|
681
590
|
):
|
|
682
591
|
"""Cycle through the editor context by activating the next/previous one
|
|
683
592
|
|
|
684
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
685
593
|
:type execution_context: int | str | None
|
|
686
594
|
:type undo: bool | None
|
|
687
595
|
:param direction: Direction, Direction to cycle through
|
|
@@ -689,15 +597,14 @@ def space_context_cycle(
|
|
|
689
597
|
"""
|
|
690
598
|
|
|
691
599
|
def space_type_set_or_cycle(
|
|
692
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
693
600
|
execution_context: int | str | None = None,
|
|
694
601
|
undo: bool | None = None,
|
|
602
|
+
/,
|
|
695
603
|
*,
|
|
696
604
|
space_type: bpy.typing.SpaceTypeItems | None = "EMPTY",
|
|
697
605
|
):
|
|
698
606
|
"""Set the space type or cycle subtype
|
|
699
607
|
|
|
700
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
701
608
|
:type execution_context: int | str | None
|
|
702
609
|
:type undo: bool | None
|
|
703
610
|
:param space_type: Type
|
|
@@ -705,27 +612,23 @@ def space_type_set_or_cycle(
|
|
|
705
612
|
"""
|
|
706
613
|
|
|
707
614
|
def spacedata_cleanup(
|
|
708
|
-
|
|
709
|
-
execution_context: int | str | None = None,
|
|
710
|
-
undo: bool | None = None,
|
|
615
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
711
616
|
):
|
|
712
617
|
"""Remove unused settings for invisible editors
|
|
713
618
|
|
|
714
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
715
619
|
:type execution_context: int | str | None
|
|
716
620
|
:type undo: bool | None
|
|
717
621
|
"""
|
|
718
622
|
|
|
719
623
|
def userpref_show(
|
|
720
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
721
624
|
execution_context: int | str | None = None,
|
|
722
625
|
undo: bool | None = None,
|
|
626
|
+
/,
|
|
723
627
|
*,
|
|
724
628
|
section: bpy.typing.PreferenceSectionItems | None = "INTERFACE",
|
|
725
629
|
):
|
|
726
630
|
"""Edit user preferences and system settings
|
|
727
631
|
|
|
728
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
729
632
|
:type execution_context: int | str | None
|
|
730
633
|
:type undo: bool | None
|
|
731
634
|
:param section: Section to activate in the Preferences
|
|
@@ -733,15 +636,14 @@ def userpref_show(
|
|
|
733
636
|
"""
|
|
734
637
|
|
|
735
638
|
def workspace_cycle(
|
|
736
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
737
639
|
execution_context: int | str | None = None,
|
|
738
640
|
undo: bool | None = None,
|
|
641
|
+
/,
|
|
739
642
|
*,
|
|
740
643
|
direction: typing.Literal["PREV", "NEXT"] | None = "NEXT",
|
|
741
644
|
):
|
|
742
645
|
"""Cycle through workspaces
|
|
743
646
|
|
|
744
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
745
647
|
:type execution_context: int | str | None
|
|
746
648
|
:type undo: bool | None
|
|
747
649
|
:param direction: Direction, Direction to cycle through
|
bpy/ops/script/__init__.pyi
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.types
|
|
5
4
|
|
|
6
5
|
def execute_preset(
|
|
7
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
8
6
|
execution_context: int | str | None = None,
|
|
9
7
|
undo: bool | None = None,
|
|
8
|
+
/,
|
|
10
9
|
*,
|
|
11
10
|
filepath: str = "",
|
|
12
11
|
menu_idname: str = "",
|
|
13
12
|
):
|
|
14
13
|
"""Load a preset
|
|
15
14
|
|
|
16
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
17
15
|
:type execution_context: int | str | None
|
|
18
16
|
:type undo: bool | None
|
|
19
17
|
:param filepath: filepath
|
|
@@ -23,29 +21,23 @@ def execute_preset(
|
|
|
23
21
|
"""
|
|
24
22
|
|
|
25
23
|
def python_file_run(
|
|
26
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
27
24
|
execution_context: int | str | None = None,
|
|
28
25
|
undo: bool | None = None,
|
|
26
|
+
/,
|
|
29
27
|
*,
|
|
30
28
|
filepath: str = "",
|
|
31
29
|
):
|
|
32
30
|
"""Run Python file
|
|
33
31
|
|
|
34
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
35
32
|
:type execution_context: int | str | None
|
|
36
33
|
:type undo: bool | None
|
|
37
34
|
:param filepath: Path
|
|
38
35
|
:type filepath: str
|
|
39
36
|
"""
|
|
40
37
|
|
|
41
|
-
def reload(
|
|
42
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
43
|
-
execution_context: int | str | None = None,
|
|
44
|
-
undo: bool | None = None,
|
|
45
|
-
):
|
|
38
|
+
def reload(execution_context: int | str | None = None, undo: bool | None = None):
|
|
46
39
|
"""Reload scripts
|
|
47
40
|
|
|
48
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
49
41
|
:type execution_context: int | str | None
|
|
50
42
|
:type undo: bool | None
|
|
51
43
|
"""
|