fake-bpy-module 20240601__py3-none-any.whl → 20240605__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 +4 -4
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -4
- bl_ui/space_node/__init__.pyi +0 -1
- bl_ui/space_sequencer/__init__.pyi +14 -0
- bl_ui/space_userpref/__init__.pyi +234 -0
- bl_ui/space_view3d/__init__.pyi +810 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +949 -3
- blf/__init__.pyi +4 -4
- bmesh/ops/__init__.pyi +97 -82
- bmesh/types/__init__.pyi +37 -32
- bmesh/utils/__init__.pyi +2 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/ops/action/__init__.pyi +152 -152
- bpy/ops/anim/__init__.pyi +216 -216
- bpy/ops/armature/__init__.pyi +192 -192
- bpy/ops/asset/__init__.pyi +64 -64
- bpy/ops/boid/__init__.pyi +32 -32
- bpy/ops/brush/__init__.pyi +36 -36
- bpy/ops/buttons/__init__.pyi +24 -24
- bpy/ops/cachefile/__init__.pyi +20 -20
- bpy/ops/camera/__init__.pyi +8 -8
- bpy/ops/clip/__init__.pyi +368 -368
- bpy/ops/cloth/__init__.pyi +4 -4
- bpy/ops/collection/__init__.pyi +36 -36
- bpy/ops/console/__init__.pyi +84 -84
- bpy/ops/constraint/__init__.pyi +72 -72
- bpy/ops/curve/__init__.pyi +204 -204
- bpy/ops/curves/__init__.pyi +108 -108
- bpy/ops/cycles/__init__.pyi +12 -12
- bpy/ops/dpaint/__init__.pyi +20 -20
- bpy/ops/ed/__init__.pyi +48 -48
- bpy/ops/export_anim/__init__.pyi +4 -4
- bpy/ops/export_scene/__init__.pyi +8 -8
- bpy/ops/extensions/__init__.pyi +123 -109
- bpy/ops/file/__init__.pyi +160 -160
- bpy/ops/fluid/__init__.pyi +56 -56
- bpy/ops/font/__init__.pyi +92 -92
- bpy/ops/geometry/__init__.pyi +40 -40
- bpy/ops/gizmogroup/__init__.pyi +8 -8
- bpy/ops/gpencil/__init__.pyi +600 -600
- bpy/ops/graph/__init__.pyi +260 -260
- bpy/ops/grease_pencil/__init__.pyi +292 -292
- bpy/ops/image/__init__.pyi +192 -192
- bpy/ops/import_anim/__init__.pyi +4 -4
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +8 -8
- bpy/ops/info/__init__.pyi +28 -28
- bpy/ops/lattice/__init__.pyi +32 -32
- bpy/ops/marker/__init__.pyi +44 -44
- bpy/ops/mask/__init__.pyi +156 -156
- bpy/ops/material/__init__.pyi +12 -12
- bpy/ops/mball/__init__.pyi +32 -32
- bpy/ops/mesh/__init__.pyi +652 -652
- bpy/ops/nla/__init__.pyi +156 -156
- bpy/ops/node/__init__.pyi +416 -416
- bpy/ops/object/__init__.pyi +984 -984
- bpy/ops/outliner/__init__.pyi +284 -284
- bpy/ops/paint/__init__.pyi +220 -220
- bpy/ops/paintcurve/__init__.pyi +32 -32
- bpy/ops/palette/__init__.pyi +28 -28
- bpy/ops/particle/__init__.pyi +144 -144
- bpy/ops/pose/__init__.pyi +156 -156
- bpy/ops/poselib/__init__.pyi +36 -36
- bpy/ops/preferences/__init__.pyi +148 -148
- bpy/ops/ptcache/__init__.pyi +28 -28
- bpy/ops/render/__init__.pyi +48 -48
- bpy/ops/rigidbody/__init__.pyi +52 -52
- bpy/ops/scene/__init__.pyi +148 -192
- bpy/ops/screen/__init__.pyi +156 -156
- bpy/ops/script/__init__.pyi +12 -12
- bpy/ops/sculpt/__init__.pyi +152 -152
- bpy/ops/sculpt_curves/__init__.pyi +16 -16
- bpy/ops/sequencer/__init__.pyi +364 -340
- bpy/ops/sound/__init__.pyi +28 -28
- bpy/ops/spreadsheet/__init__.pyi +16 -16
- bpy/ops/surface/__init__.pyi +24 -24
- bpy/ops/text/__init__.pyi +172 -172
- bpy/ops/text_editor/__init__.pyi +4 -4
- bpy/ops/texture/__init__.pyi +16 -16
- bpy/ops/transform/__init__.pyi +111 -108
- bpy/ops/ui/__init__.pyi +132 -132
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +196 -196
- bpy/ops/view2d/__init__.pyi +56 -56
- bpy/ops/view3d/__init__.pyi +268 -268
- bpy/ops/wm/__init__.pyi +448 -448
- bpy/ops/workspace/__init__.pyi +28 -28
- bpy/ops/world/__init__.pyi +8 -8
- bpy/path/__init__.pyi +18 -18
- bpy/props/__init__.pyi +11 -11
- bpy/types/__init__.pyi +2185 -1933
- bpy/utils/__init__.pyi +4 -4
- bpy_extras/mesh_utils/__init__.pyi +4 -4
- bpy_extras/view3d_utils/__init__.pyi +24 -20
- bpy_types/__init__.pyi +12 -7
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240605.dist-info}/METADATA +5 -1
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240605.dist-info}/RECORD +108 -108
- freestyle/types/__init__.pyi +64 -64
- freestyle/utils/__init__.pyi +2 -2
- gpu/matrix/__init__.pyi +15 -6
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +6 -4
- gpu_extras/presets/__init__.pyi +8 -4
- imbuf/__init__.pyi +4 -4
- mathutils/__init__.pyi +292 -187
- mathutils/geometry/__init__.pyi +2 -5
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240605.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240605.dist-info}/top_level.txt +0 -0
bpy/ops/font/__init__.pyi
CHANGED
|
@@ -6,16 +6,16 @@ GenericType1 = typing.TypeVar("GenericType1")
|
|
|
6
6
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
7
7
|
|
|
8
8
|
def case_set(
|
|
9
|
-
override_context: dict[str, typing.Any] |
|
|
10
|
-
execution_context:
|
|
9
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
10
|
+
execution_context: int | str | None = None,
|
|
11
11
|
undo: bool | None = None,
|
|
12
12
|
*,
|
|
13
13
|
case: str | None = "LOWER",
|
|
14
14
|
):
|
|
15
15
|
"""Set font case
|
|
16
16
|
|
|
17
|
-
:type override_context: dict[str, typing.Any] |
|
|
18
|
-
:type execution_context:
|
|
17
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
18
|
+
:type execution_context: int | str | None
|
|
19
19
|
:type undo: bool | None
|
|
20
20
|
:param case: Case, Lower or upper case
|
|
21
21
|
:type case: str | None
|
|
@@ -24,30 +24,30 @@ def case_set(
|
|
|
24
24
|
...
|
|
25
25
|
|
|
26
26
|
def case_toggle(
|
|
27
|
-
override_context: dict[str, typing.Any] |
|
|
28
|
-
execution_context:
|
|
27
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
28
|
+
execution_context: int | str | None = None,
|
|
29
29
|
undo: bool | None = None,
|
|
30
30
|
):
|
|
31
31
|
"""Toggle font case
|
|
32
32
|
|
|
33
|
-
:type override_context: dict[str, typing.Any] |
|
|
34
|
-
:type execution_context:
|
|
33
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
34
|
+
:type execution_context: int | str | None
|
|
35
35
|
:type undo: bool | None
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
38
|
...
|
|
39
39
|
|
|
40
40
|
def change_character(
|
|
41
|
-
override_context: dict[str, typing.Any] |
|
|
42
|
-
execution_context:
|
|
41
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
42
|
+
execution_context: int | str | None = None,
|
|
43
43
|
undo: bool | None = None,
|
|
44
44
|
*,
|
|
45
45
|
delta: typing.Any | None = 1,
|
|
46
46
|
):
|
|
47
47
|
"""Change font character code
|
|
48
48
|
|
|
49
|
-
:type override_context: dict[str, typing.Any] |
|
|
50
|
-
:type execution_context:
|
|
49
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
50
|
+
:type execution_context: int | str | None
|
|
51
51
|
:type undo: bool | None
|
|
52
52
|
:param delta: Delta, Number to increase or decrease character code with
|
|
53
53
|
:type delta: typing.Any | None
|
|
@@ -56,16 +56,16 @@ def change_character(
|
|
|
56
56
|
...
|
|
57
57
|
|
|
58
58
|
def change_spacing(
|
|
59
|
-
override_context: dict[str, typing.Any] |
|
|
60
|
-
execution_context:
|
|
59
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
60
|
+
execution_context: int | str | None = None,
|
|
61
61
|
undo: bool | None = None,
|
|
62
62
|
*,
|
|
63
63
|
delta: typing.Any | None = 1.0,
|
|
64
64
|
):
|
|
65
65
|
"""Change font spacing
|
|
66
66
|
|
|
67
|
-
:type override_context: dict[str, typing.Any] |
|
|
68
|
-
:type execution_context:
|
|
67
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
68
|
+
:type execution_context: int | str | None
|
|
69
69
|
:type undo: bool | None
|
|
70
70
|
:param delta: Delta, Amount to decrease or increase character spacing with
|
|
71
71
|
:type delta: typing.Any | None
|
|
@@ -74,16 +74,16 @@ def change_spacing(
|
|
|
74
74
|
...
|
|
75
75
|
|
|
76
76
|
def delete(
|
|
77
|
-
override_context: dict[str, typing.Any] |
|
|
78
|
-
execution_context:
|
|
77
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
78
|
+
execution_context: int | str | None = None,
|
|
79
79
|
undo: bool | None = None,
|
|
80
80
|
*,
|
|
81
81
|
type: str | None = "PREVIOUS_CHARACTER",
|
|
82
82
|
):
|
|
83
83
|
"""Delete text by cursor position
|
|
84
84
|
|
|
85
|
-
:type override_context: dict[str, typing.Any] |
|
|
86
|
-
:type execution_context:
|
|
85
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
86
|
+
:type execution_context: int | str | None
|
|
87
87
|
:type undo: bool | None
|
|
88
88
|
:param type: Type, Which part of the text to delete
|
|
89
89
|
:type type: str | None
|
|
@@ -92,30 +92,30 @@ def delete(
|
|
|
92
92
|
...
|
|
93
93
|
|
|
94
94
|
def line_break(
|
|
95
|
-
override_context: dict[str, typing.Any] |
|
|
96
|
-
execution_context:
|
|
95
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
96
|
+
execution_context: int | str | None = None,
|
|
97
97
|
undo: bool | None = None,
|
|
98
98
|
):
|
|
99
99
|
"""Insert line break at cursor position
|
|
100
100
|
|
|
101
|
-
:type override_context: dict[str, typing.Any] |
|
|
102
|
-
:type execution_context:
|
|
101
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
102
|
+
:type execution_context: int | str | None
|
|
103
103
|
:type undo: bool | None
|
|
104
104
|
"""
|
|
105
105
|
|
|
106
106
|
...
|
|
107
107
|
|
|
108
108
|
def move(
|
|
109
|
-
override_context: dict[str, typing.Any] |
|
|
110
|
-
execution_context:
|
|
109
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
110
|
+
execution_context: int | str | None = None,
|
|
111
111
|
undo: bool | None = None,
|
|
112
112
|
*,
|
|
113
113
|
type: str | None = "LINE_BEGIN",
|
|
114
114
|
):
|
|
115
115
|
"""Move cursor to position type
|
|
116
116
|
|
|
117
|
-
:type override_context: dict[str, typing.Any] |
|
|
118
|
-
:type execution_context:
|
|
117
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
118
|
+
:type execution_context: int | str | None
|
|
119
119
|
:type undo: bool | None
|
|
120
120
|
:param type: Type, Where to move cursor to
|
|
121
121
|
:type type: str | None
|
|
@@ -124,16 +124,16 @@ def move(
|
|
|
124
124
|
...
|
|
125
125
|
|
|
126
126
|
def move_select(
|
|
127
|
-
override_context: dict[str, typing.Any] |
|
|
128
|
-
execution_context:
|
|
127
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
128
|
+
execution_context: int | str | None = None,
|
|
129
129
|
undo: bool | None = None,
|
|
130
130
|
*,
|
|
131
131
|
type: str | None = "LINE_BEGIN",
|
|
132
132
|
):
|
|
133
133
|
"""Move the cursor while selecting
|
|
134
134
|
|
|
135
|
-
:type override_context: dict[str, typing.Any] |
|
|
136
|
-
:type execution_context:
|
|
135
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
136
|
+
:type execution_context: int | str | None
|
|
137
137
|
:type undo: bool | None
|
|
138
138
|
:param type: Type, Where to move cursor to, to make a selection
|
|
139
139
|
:type type: str | None
|
|
@@ -142,8 +142,8 @@ def move_select(
|
|
|
142
142
|
...
|
|
143
143
|
|
|
144
144
|
def open(
|
|
145
|
-
override_context: dict[str, typing.Any] |
|
|
146
|
-
execution_context:
|
|
145
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
146
|
+
execution_context: int | str | None = None,
|
|
147
147
|
undo: bool | None = None,
|
|
148
148
|
*,
|
|
149
149
|
filepath: str | typing.Any = "",
|
|
@@ -173,8 +173,8 @@ def open(
|
|
|
173
173
|
):
|
|
174
174
|
"""Load a new font from a file
|
|
175
175
|
|
|
176
|
-
:type override_context: dict[str, typing.Any] |
|
|
177
|
-
:type execution_context:
|
|
176
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
177
|
+
:type execution_context: int | str | None
|
|
178
178
|
:type undo: bool | None
|
|
179
179
|
:param filepath: File Path, Path to file
|
|
180
180
|
:type filepath: str | typing.Any
|
|
@@ -241,50 +241,50 @@ def open(
|
|
|
241
241
|
...
|
|
242
242
|
|
|
243
243
|
def select_all(
|
|
244
|
-
override_context: dict[str, typing.Any] |
|
|
245
|
-
execution_context:
|
|
244
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
245
|
+
execution_context: int | str | None = None,
|
|
246
246
|
undo: bool | None = None,
|
|
247
247
|
):
|
|
248
248
|
"""Select all text
|
|
249
249
|
|
|
250
|
-
:type override_context: dict[str, typing.Any] |
|
|
251
|
-
:type execution_context:
|
|
250
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
251
|
+
:type execution_context: int | str | None
|
|
252
252
|
:type undo: bool | None
|
|
253
253
|
"""
|
|
254
254
|
|
|
255
255
|
...
|
|
256
256
|
|
|
257
257
|
def select_word(
|
|
258
|
-
override_context: dict[str, typing.Any] |
|
|
259
|
-
execution_context:
|
|
258
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
259
|
+
execution_context: int | str | None = None,
|
|
260
260
|
undo: bool | None = None,
|
|
261
261
|
):
|
|
262
262
|
"""Select word under cursor
|
|
263
263
|
|
|
264
|
-
:type override_context: dict[str, typing.Any] |
|
|
265
|
-
:type execution_context:
|
|
264
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
265
|
+
:type execution_context: int | str | None
|
|
266
266
|
:type undo: bool | None
|
|
267
267
|
"""
|
|
268
268
|
|
|
269
269
|
...
|
|
270
270
|
|
|
271
271
|
def selection_set(
|
|
272
|
-
override_context: dict[str, typing.Any] |
|
|
273
|
-
execution_context:
|
|
272
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
273
|
+
execution_context: int | str | None = None,
|
|
274
274
|
undo: bool | None = None,
|
|
275
275
|
):
|
|
276
276
|
"""Set cursor selection
|
|
277
277
|
|
|
278
|
-
:type override_context: dict[str, typing.Any] |
|
|
279
|
-
:type execution_context:
|
|
278
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
279
|
+
:type execution_context: int | str | None
|
|
280
280
|
:type undo: bool | None
|
|
281
281
|
"""
|
|
282
282
|
|
|
283
283
|
...
|
|
284
284
|
|
|
285
285
|
def style_set(
|
|
286
|
-
override_context: dict[str, typing.Any] |
|
|
287
|
-
execution_context:
|
|
286
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
287
|
+
execution_context: int | str | None = None,
|
|
288
288
|
undo: bool | None = None,
|
|
289
289
|
*,
|
|
290
290
|
style: str | None = "BOLD",
|
|
@@ -292,8 +292,8 @@ def style_set(
|
|
|
292
292
|
):
|
|
293
293
|
"""Set font style
|
|
294
294
|
|
|
295
|
-
:type override_context: dict[str, typing.Any] |
|
|
296
|
-
:type execution_context:
|
|
295
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
296
|
+
:type execution_context: int | str | None
|
|
297
297
|
:type undo: bool | None
|
|
298
298
|
:param style: Style, Style to set selection to
|
|
299
299
|
:type style: str | None
|
|
@@ -304,16 +304,16 @@ def style_set(
|
|
|
304
304
|
...
|
|
305
305
|
|
|
306
306
|
def style_toggle(
|
|
307
|
-
override_context: dict[str, typing.Any] |
|
|
308
|
-
execution_context:
|
|
307
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
308
|
+
execution_context: int | str | None = None,
|
|
309
309
|
undo: bool | None = None,
|
|
310
310
|
*,
|
|
311
311
|
style: str | None = "BOLD",
|
|
312
312
|
):
|
|
313
313
|
"""Toggle font style
|
|
314
314
|
|
|
315
|
-
:type override_context: dict[str, typing.Any] |
|
|
316
|
-
:type execution_context:
|
|
315
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
316
|
+
:type execution_context: int | str | None
|
|
317
317
|
:type undo: bool | None
|
|
318
318
|
:param style: Style, Style to set selection to
|
|
319
319
|
:type style: str | None
|
|
@@ -322,36 +322,36 @@ def style_toggle(
|
|
|
322
322
|
...
|
|
323
323
|
|
|
324
324
|
def text_copy(
|
|
325
|
-
override_context: dict[str, typing.Any] |
|
|
326
|
-
execution_context:
|
|
325
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
326
|
+
execution_context: int | str | None = None,
|
|
327
327
|
undo: bool | None = None,
|
|
328
328
|
):
|
|
329
329
|
"""Copy selected text to clipboard
|
|
330
330
|
|
|
331
|
-
:type override_context: dict[str, typing.Any] |
|
|
332
|
-
:type execution_context:
|
|
331
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
332
|
+
:type execution_context: int | str | None
|
|
333
333
|
:type undo: bool | None
|
|
334
334
|
"""
|
|
335
335
|
|
|
336
336
|
...
|
|
337
337
|
|
|
338
338
|
def text_cut(
|
|
339
|
-
override_context: dict[str, typing.Any] |
|
|
340
|
-
execution_context:
|
|
339
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
340
|
+
execution_context: int | str | None = None,
|
|
341
341
|
undo: bool | None = None,
|
|
342
342
|
):
|
|
343
343
|
"""Cut selected text to clipboard
|
|
344
344
|
|
|
345
|
-
:type override_context: dict[str, typing.Any] |
|
|
346
|
-
:type execution_context:
|
|
345
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
346
|
+
:type execution_context: int | str | None
|
|
347
347
|
:type undo: bool | None
|
|
348
348
|
"""
|
|
349
349
|
|
|
350
350
|
...
|
|
351
351
|
|
|
352
352
|
def text_insert(
|
|
353
|
-
override_context: dict[str, typing.Any] |
|
|
354
|
-
execution_context:
|
|
353
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
354
|
+
execution_context: int | str | None = None,
|
|
355
355
|
undo: bool | None = None,
|
|
356
356
|
*,
|
|
357
357
|
text: str | typing.Any = "",
|
|
@@ -359,8 +359,8 @@ def text_insert(
|
|
|
359
359
|
):
|
|
360
360
|
"""Insert text at cursor position
|
|
361
361
|
|
|
362
|
-
:type override_context: dict[str, typing.Any] |
|
|
363
|
-
:type execution_context:
|
|
362
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
363
|
+
:type execution_context: int | str | None
|
|
364
364
|
:type undo: bool | None
|
|
365
365
|
:param text: Text, Text to insert at the cursor position
|
|
366
366
|
:type text: str | typing.Any
|
|
@@ -371,30 +371,30 @@ def text_insert(
|
|
|
371
371
|
...
|
|
372
372
|
|
|
373
373
|
def text_insert_unicode(
|
|
374
|
-
override_context: dict[str, typing.Any] |
|
|
375
|
-
execution_context:
|
|
374
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
375
|
+
execution_context: int | str | None = None,
|
|
376
376
|
undo: bool | None = None,
|
|
377
377
|
):
|
|
378
378
|
"""Insert Unicode Character
|
|
379
379
|
|
|
380
|
-
:type override_context: dict[str, typing.Any] |
|
|
381
|
-
:type execution_context:
|
|
380
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
381
|
+
:type execution_context: int | str | None
|
|
382
382
|
:type undo: bool | None
|
|
383
383
|
"""
|
|
384
384
|
|
|
385
385
|
...
|
|
386
386
|
|
|
387
387
|
def text_paste(
|
|
388
|
-
override_context: dict[str, typing.Any] |
|
|
389
|
-
execution_context:
|
|
388
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
389
|
+
execution_context: int | str | None = None,
|
|
390
390
|
undo: bool | None = None,
|
|
391
391
|
*,
|
|
392
392
|
selection: bool | typing.Any | None = False,
|
|
393
393
|
):
|
|
394
394
|
"""Paste text from clipboard
|
|
395
395
|
|
|
396
|
-
:type override_context: dict[str, typing.Any] |
|
|
397
|
-
:type execution_context:
|
|
396
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
397
|
+
:type execution_context: int | str | None
|
|
398
398
|
:type undo: bool | None
|
|
399
399
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
400
400
|
:type selection: bool | typing.Any | None
|
|
@@ -403,8 +403,8 @@ def text_paste(
|
|
|
403
403
|
...
|
|
404
404
|
|
|
405
405
|
def text_paste_from_file(
|
|
406
|
-
override_context: dict[str, typing.Any] |
|
|
407
|
-
execution_context:
|
|
406
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
407
|
+
execution_context: int | str | None = None,
|
|
408
408
|
undo: bool | None = None,
|
|
409
409
|
*,
|
|
410
410
|
filepath: str | typing.Any = "",
|
|
@@ -433,8 +433,8 @@ def text_paste_from_file(
|
|
|
433
433
|
):
|
|
434
434
|
"""Paste contents from file
|
|
435
435
|
|
|
436
|
-
:type override_context: dict[str, typing.Any] |
|
|
437
|
-
:type execution_context:
|
|
436
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
437
|
+
:type execution_context: int | str | None
|
|
438
438
|
:type undo: bool | None
|
|
439
439
|
:param filepath: File Path, Path to file
|
|
440
440
|
:type filepath: str | typing.Any
|
|
@@ -499,30 +499,30 @@ def text_paste_from_file(
|
|
|
499
499
|
...
|
|
500
500
|
|
|
501
501
|
def textbox_add(
|
|
502
|
-
override_context: dict[str, typing.Any] |
|
|
503
|
-
execution_context:
|
|
502
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
503
|
+
execution_context: int | str | None = None,
|
|
504
504
|
undo: bool | None = None,
|
|
505
505
|
):
|
|
506
506
|
"""Add a new text box
|
|
507
507
|
|
|
508
|
-
:type override_context: dict[str, typing.Any] |
|
|
509
|
-
:type execution_context:
|
|
508
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
509
|
+
:type execution_context: int | str | None
|
|
510
510
|
:type undo: bool | None
|
|
511
511
|
"""
|
|
512
512
|
|
|
513
513
|
...
|
|
514
514
|
|
|
515
515
|
def textbox_remove(
|
|
516
|
-
override_context: dict[str, typing.Any] |
|
|
517
|
-
execution_context:
|
|
516
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
517
|
+
execution_context: int | str | None = None,
|
|
518
518
|
undo: bool | None = None,
|
|
519
519
|
*,
|
|
520
520
|
index: typing.Any | None = 0,
|
|
521
521
|
):
|
|
522
522
|
"""Remove the text box
|
|
523
523
|
|
|
524
|
-
:type override_context: dict[str, typing.Any] |
|
|
525
|
-
:type execution_context:
|
|
524
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
525
|
+
:type execution_context: int | str | None
|
|
526
526
|
:type undo: bool | None
|
|
527
527
|
:param index: Index, The current text box
|
|
528
528
|
:type index: typing.Any | None
|
|
@@ -531,14 +531,14 @@ def textbox_remove(
|
|
|
531
531
|
...
|
|
532
532
|
|
|
533
533
|
def unlink(
|
|
534
|
-
override_context: dict[str, typing.Any] |
|
|
535
|
-
execution_context:
|
|
534
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
535
|
+
execution_context: int | str | None = None,
|
|
536
536
|
undo: bool | None = None,
|
|
537
537
|
):
|
|
538
538
|
"""Unlink active font data-block
|
|
539
539
|
|
|
540
|
-
:type override_context: dict[str, typing.Any] |
|
|
541
|
-
:type execution_context:
|
|
540
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
541
|
+
:type execution_context: int | str | None
|
|
542
542
|
:type undo: bool | None
|
|
543
543
|
"""
|
|
544
544
|
|
bpy/ops/geometry/__init__.pyi
CHANGED
|
@@ -6,8 +6,8 @@ GenericType1 = typing.TypeVar("GenericType1")
|
|
|
6
6
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
7
7
|
|
|
8
8
|
def attribute_add(
|
|
9
|
-
override_context: dict[str, typing.Any] |
|
|
10
|
-
execution_context:
|
|
9
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
10
|
+
execution_context: int | str | None = None,
|
|
11
11
|
undo: bool | None = None,
|
|
12
12
|
*,
|
|
13
13
|
name: str | typing.Any = "",
|
|
@@ -16,8 +16,8 @@ def attribute_add(
|
|
|
16
16
|
):
|
|
17
17
|
"""Add attribute to geometry
|
|
18
18
|
|
|
19
|
-
:type override_context: dict[str, typing.Any] |
|
|
20
|
-
:type execution_context:
|
|
19
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
20
|
+
:type execution_context: int | str | None
|
|
21
21
|
:type undo: bool | None
|
|
22
22
|
:param name: Name, Name of new attribute
|
|
23
23
|
:type name: str | typing.Any
|
|
@@ -30,8 +30,8 @@ def attribute_add(
|
|
|
30
30
|
...
|
|
31
31
|
|
|
32
32
|
def attribute_convert(
|
|
33
|
-
override_context: dict[str, typing.Any] |
|
|
34
|
-
execution_context:
|
|
33
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
34
|
+
execution_context: int | str | None = None,
|
|
35
35
|
undo: bool | None = None,
|
|
36
36
|
*,
|
|
37
37
|
mode: str | None = "GENERIC",
|
|
@@ -40,8 +40,8 @@ def attribute_convert(
|
|
|
40
40
|
):
|
|
41
41
|
"""Change how the attribute is stored
|
|
42
42
|
|
|
43
|
-
:type override_context: dict[str, typing.Any] |
|
|
44
|
-
:type execution_context:
|
|
43
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
44
|
+
:type execution_context: int | str | None
|
|
45
45
|
:type undo: bool | None
|
|
46
46
|
:param mode: Mode
|
|
47
47
|
:type mode: str | None
|
|
@@ -54,22 +54,22 @@ def attribute_convert(
|
|
|
54
54
|
...
|
|
55
55
|
|
|
56
56
|
def attribute_remove(
|
|
57
|
-
override_context: dict[str, typing.Any] |
|
|
58
|
-
execution_context:
|
|
57
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
58
|
+
execution_context: int | str | None = None,
|
|
59
59
|
undo: bool | None = None,
|
|
60
60
|
):
|
|
61
61
|
"""Remove attribute from geometry
|
|
62
62
|
|
|
63
|
-
:type override_context: dict[str, typing.Any] |
|
|
64
|
-
:type execution_context:
|
|
63
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
64
|
+
:type execution_context: int | str | None
|
|
65
65
|
:type undo: bool | None
|
|
66
66
|
"""
|
|
67
67
|
|
|
68
68
|
...
|
|
69
69
|
|
|
70
70
|
def color_attribute_add(
|
|
71
|
-
override_context: dict[str, typing.Any] |
|
|
72
|
-
execution_context:
|
|
71
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
72
|
+
execution_context: int | str | None = None,
|
|
73
73
|
undo: bool | None = None,
|
|
74
74
|
*,
|
|
75
75
|
name: str | typing.Any = "",
|
|
@@ -79,8 +79,8 @@ def color_attribute_add(
|
|
|
79
79
|
):
|
|
80
80
|
"""Add color attribute to geometry
|
|
81
81
|
|
|
82
|
-
:type override_context: dict[str, typing.Any] |
|
|
83
|
-
:type execution_context:
|
|
82
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
83
|
+
:type execution_context: int | str | None
|
|
84
84
|
:type undo: bool | None
|
|
85
85
|
:param name: Name, Name of new color attribute
|
|
86
86
|
:type name: str | typing.Any
|
|
@@ -95,8 +95,8 @@ def color_attribute_add(
|
|
|
95
95
|
...
|
|
96
96
|
|
|
97
97
|
def color_attribute_convert(
|
|
98
|
-
override_context: dict[str, typing.Any] |
|
|
99
|
-
execution_context:
|
|
98
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
99
|
+
execution_context: int | str | None = None,
|
|
100
100
|
undo: bool | None = None,
|
|
101
101
|
*,
|
|
102
102
|
domain: str | None = "POINT",
|
|
@@ -104,8 +104,8 @@ def color_attribute_convert(
|
|
|
104
104
|
):
|
|
105
105
|
"""Change how the color attribute is stored
|
|
106
106
|
|
|
107
|
-
:type override_context: dict[str, typing.Any] |
|
|
108
|
-
:type execution_context:
|
|
107
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
108
|
+
:type execution_context: int | str | None
|
|
109
109
|
:type undo: bool | None
|
|
110
110
|
:param domain: Domain, Type of element that attribute is stored on
|
|
111
111
|
:type domain: str | None
|
|
@@ -116,44 +116,44 @@ def color_attribute_convert(
|
|
|
116
116
|
...
|
|
117
117
|
|
|
118
118
|
def color_attribute_duplicate(
|
|
119
|
-
override_context: dict[str, typing.Any] |
|
|
120
|
-
execution_context:
|
|
119
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
120
|
+
execution_context: int | str | None = None,
|
|
121
121
|
undo: bool | None = None,
|
|
122
122
|
):
|
|
123
123
|
"""Duplicate color attribute
|
|
124
124
|
|
|
125
|
-
:type override_context: dict[str, typing.Any] |
|
|
126
|
-
:type execution_context:
|
|
125
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
126
|
+
:type execution_context: int | str | None
|
|
127
127
|
:type undo: bool | None
|
|
128
128
|
"""
|
|
129
129
|
|
|
130
130
|
...
|
|
131
131
|
|
|
132
132
|
def color_attribute_remove(
|
|
133
|
-
override_context: dict[str, typing.Any] |
|
|
134
|
-
execution_context:
|
|
133
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
134
|
+
execution_context: int | str | None = None,
|
|
135
135
|
undo: bool | None = None,
|
|
136
136
|
):
|
|
137
137
|
"""Remove color attribute from geometry
|
|
138
138
|
|
|
139
|
-
:type override_context: dict[str, typing.Any] |
|
|
140
|
-
:type execution_context:
|
|
139
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
140
|
+
:type execution_context: int | str | None
|
|
141
141
|
:type undo: bool | None
|
|
142
142
|
"""
|
|
143
143
|
|
|
144
144
|
...
|
|
145
145
|
|
|
146
146
|
def color_attribute_render_set(
|
|
147
|
-
override_context: dict[str, typing.Any] |
|
|
148
|
-
execution_context:
|
|
147
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
148
|
+
execution_context: int | str | None = None,
|
|
149
149
|
undo: bool | None = None,
|
|
150
150
|
*,
|
|
151
151
|
name: str | typing.Any = "Color",
|
|
152
152
|
):
|
|
153
153
|
"""Set default color attribute used for rendering
|
|
154
154
|
|
|
155
|
-
:type override_context: dict[str, typing.Any] |
|
|
156
|
-
:type execution_context:
|
|
155
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
156
|
+
:type execution_context: int | str | None
|
|
157
157
|
:type undo: bool | None
|
|
158
158
|
:param name: Name, Name of color attribute
|
|
159
159
|
:type name: str | typing.Any
|
|
@@ -162,8 +162,8 @@ def color_attribute_render_set(
|
|
|
162
162
|
...
|
|
163
163
|
|
|
164
164
|
def execute_node_group(
|
|
165
|
-
override_context: dict[str, typing.Any] |
|
|
166
|
-
execution_context:
|
|
165
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
166
|
+
execution_context: int | str | None = None,
|
|
167
167
|
undo: bool | None = None,
|
|
168
168
|
*,
|
|
169
169
|
asset_library_type: str | None = "LOCAL",
|
|
@@ -175,8 +175,8 @@ def execute_node_group(
|
|
|
175
175
|
):
|
|
176
176
|
"""Execute a node group on geometry
|
|
177
177
|
|
|
178
|
-
:type override_context: dict[str, typing.Any] |
|
|
179
|
-
:type execution_context:
|
|
178
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
179
|
+
:type execution_context: int | str | None
|
|
180
180
|
:type undo: bool | None
|
|
181
181
|
:param asset_library_type: Asset Library Type
|
|
182
182
|
:type asset_library_type: str | None
|
|
@@ -195,16 +195,16 @@ def execute_node_group(
|
|
|
195
195
|
...
|
|
196
196
|
|
|
197
197
|
def geometry_randomization(
|
|
198
|
-
override_context: dict[str, typing.Any] |
|
|
199
|
-
execution_context:
|
|
198
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
199
|
+
execution_context: int | str | None = None,
|
|
200
200
|
undo: bool | None = None,
|
|
201
201
|
*,
|
|
202
202
|
value: bool | typing.Any | None = False,
|
|
203
203
|
):
|
|
204
204
|
"""Toggle geometry randomization for debugging purposes
|
|
205
205
|
|
|
206
|
-
:type override_context: dict[str, typing.Any] |
|
|
207
|
-
:type execution_context:
|
|
206
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
207
|
+
:type execution_context: int | str | None
|
|
208
208
|
:type undo: bool | None
|
|
209
209
|
:param value: Value, Randomize the order of geometry elements (e.g. vertices or edges) after some operations where there are no guarantees about the order. This avoids accidentally depending on something that may change in the future
|
|
210
210
|
:type value: bool | typing.Any | None
|