fake-bpy-module 20240507__py3-none-any.whl → 20240509__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.
- bpy/ops/action/__init__.pyi +152 -76
- bpy/ops/anim/__init__.pyi +212 -106
- bpy/ops/armature/__init__.pyi +192 -96
- bpy/ops/asset/__init__.pyi +64 -32
- bpy/ops/boid/__init__.pyi +32 -16
- bpy/ops/brush/__init__.pyi +36 -18
- bpy/ops/buttons/__init__.pyi +24 -12
- bpy/ops/cachefile/__init__.pyi +20 -10
- bpy/ops/camera/__init__.pyi +8 -4
- bpy/ops/clip/__init__.pyi +368 -184
- bpy/ops/cloth/__init__.pyi +4 -2
- bpy/ops/collection/__init__.pyi +36 -18
- bpy/ops/console/__init__.pyi +84 -42
- bpy/ops/constraint/__init__.pyi +72 -36
- bpy/ops/curve/__init__.pyi +204 -102
- bpy/ops/curves/__init__.pyi +108 -54
- bpy/ops/cycles/__init__.pyi +12 -6
- bpy/ops/dpaint/__init__.pyi +20 -10
- bpy/ops/ed/__init__.pyi +48 -24
- bpy/ops/export_anim/__init__.pyi +4 -2
- bpy/ops/export_mesh/__init__.pyi +4 -2
- bpy/ops/export_scene/__init__.pyi +14 -8
- bpy/ops/file/__init__.pyi +160 -80
- bpy/ops/fluid/__init__.pyi +56 -28
- bpy/ops/font/__init__.pyi +92 -46
- bpy/ops/geometry/__init__.pyi +40 -20
- bpy/ops/gizmogroup/__init__.pyi +8 -4
- bpy/ops/gpencil/__init__.pyi +600 -300
- bpy/ops/graph/__init__.pyi +260 -130
- bpy/ops/grease_pencil/__init__.pyi +268 -134
- bpy/ops/image/__init__.pyi +188 -94
- bpy/ops/import_anim/__init__.pyi +4 -2
- bpy/ops/import_curve/__init__.pyi +4 -2
- bpy/ops/import_mesh/__init__.pyi +4 -2
- bpy/ops/import_scene/__init__.pyi +12 -6
- bpy/ops/info/__init__.pyi +28 -14
- bpy/ops/lattice/__init__.pyi +32 -16
- bpy/ops/marker/__init__.pyi +44 -22
- bpy/ops/mask/__init__.pyi +156 -78
- bpy/ops/material/__init__.pyi +12 -6
- bpy/ops/mball/__init__.pyi +32 -16
- bpy/ops/mesh/__init__.pyi +652 -326
- bpy/ops/nla/__init__.pyi +158 -80
- bpy/ops/node/__init__.pyi +404 -202
- bpy/ops/object/__init__.pyi +1002 -490
- bpy/ops/outliner/__init__.pyi +276 -138
- bpy/ops/paint/__init__.pyi +212 -106
- bpy/ops/paintcurve/__init__.pyi +32 -16
- bpy/ops/palette/__init__.pyi +28 -14
- bpy/ops/particle/__init__.pyi +144 -72
- bpy/ops/pose/__init__.pyi +156 -78
- bpy/ops/poselib/__init__.pyi +36 -18
- bpy/ops/preferences/__init__.pyi +152 -76
- bpy/ops/ptcache/__init__.pyi +28 -14
- bpy/ops/render/__init__.pyi +48 -24
- bpy/ops/rigidbody/__init__.pyi +52 -26
- bpy/ops/scene/__init__.pyi +156 -78
- bpy/ops/screen/__init__.pyi +156 -78
- bpy/ops/script/__init__.pyi +12 -6
- bpy/ops/sculpt/__init__.pyi +134 -68
- bpy/ops/sculpt_curves/__init__.pyi +16 -8
- bpy/ops/sequencer/__init__.pyi +340 -170
- bpy/ops/sound/__init__.pyi +28 -14
- bpy/ops/spreadsheet/__init__.pyi +16 -8
- bpy/ops/surface/__init__.pyi +24 -12
- bpy/ops/text/__init__.pyi +172 -86
- bpy/ops/text_editor/__init__.pyi +4 -2
- bpy/ops/texture/__init__.pyi +16 -8
- bpy/ops/transform/__init__.pyi +108 -54
- bpy/ops/ui/__init__.pyi +132 -66
- bpy/ops/uilist/__init__.pyi +12 -6
- bpy/ops/uv/__init__.pyi +196 -98
- bpy/ops/view2d/__init__.pyi +56 -28
- bpy/ops/view3d/__init__.pyi +268 -134
- bpy/ops/wm/__init__.pyi +493 -224
- bpy/ops/workspace/__init__.pyi +28 -14
- bpy/ops/world/__init__.pyi +4 -2
- bpy/types/__init__.pyi +1250 -631
- {fake_bpy_module-20240507.dist-info → fake_bpy_module-20240509.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240507.dist-info → fake_bpy_module-20240509.dist-info}/RECORD +83 -83
- mathutils/__init__.pyi +20 -0
- {fake_bpy_module-20240507.dist-info → fake_bpy_module-20240509.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240507.dist-info → fake_bpy_module-20240509.dist-info}/top_level.txt +0 -0
bpy/ops/fluid/__init__.pyi
CHANGED
|
@@ -4,13 +4,15 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def bake_all(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
):
|
|
11
13
|
"""Bake Entire Fluid Simulation
|
|
12
14
|
|
|
13
|
-
:type override_context: typing.Optional[typing.Union[
|
|
15
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
14
16
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
17
|
:type undo: typing.Optional[bool]
|
|
16
18
|
"""
|
|
@@ -18,13 +20,15 @@ def bake_all(
|
|
|
18
20
|
...
|
|
19
21
|
|
|
20
22
|
def bake_data(
|
|
21
|
-
override_context: typing.Optional[
|
|
23
|
+
override_context: typing.Optional[
|
|
24
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
25
|
+
] = None,
|
|
22
26
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
27
|
undo: typing.Optional[bool] = None,
|
|
24
28
|
):
|
|
25
29
|
"""Bake Fluid Data
|
|
26
30
|
|
|
27
|
-
:type override_context: typing.Optional[typing.Union[
|
|
31
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
28
32
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
29
33
|
:type undo: typing.Optional[bool]
|
|
30
34
|
"""
|
|
@@ -32,13 +36,15 @@ def bake_data(
|
|
|
32
36
|
...
|
|
33
37
|
|
|
34
38
|
def bake_guides(
|
|
35
|
-
override_context: typing.Optional[
|
|
39
|
+
override_context: typing.Optional[
|
|
40
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
41
|
+
] = None,
|
|
36
42
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
37
43
|
undo: typing.Optional[bool] = None,
|
|
38
44
|
):
|
|
39
45
|
"""Bake Fluid Guiding
|
|
40
46
|
|
|
41
|
-
:type override_context: typing.Optional[typing.Union[
|
|
47
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
42
48
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
43
49
|
:type undo: typing.Optional[bool]
|
|
44
50
|
"""
|
|
@@ -46,13 +52,15 @@ def bake_guides(
|
|
|
46
52
|
...
|
|
47
53
|
|
|
48
54
|
def bake_mesh(
|
|
49
|
-
override_context: typing.Optional[
|
|
55
|
+
override_context: typing.Optional[
|
|
56
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
57
|
+
] = None,
|
|
50
58
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
51
59
|
undo: typing.Optional[bool] = None,
|
|
52
60
|
):
|
|
53
61
|
"""Bake Fluid Mesh
|
|
54
62
|
|
|
55
|
-
:type override_context: typing.Optional[typing.Union[
|
|
63
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
56
64
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
57
65
|
:type undo: typing.Optional[bool]
|
|
58
66
|
"""
|
|
@@ -60,13 +68,15 @@ def bake_mesh(
|
|
|
60
68
|
...
|
|
61
69
|
|
|
62
70
|
def bake_noise(
|
|
63
|
-
override_context: typing.Optional[
|
|
71
|
+
override_context: typing.Optional[
|
|
72
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
73
|
+
] = None,
|
|
64
74
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
65
75
|
undo: typing.Optional[bool] = None,
|
|
66
76
|
):
|
|
67
77
|
"""Bake Fluid Noise
|
|
68
78
|
|
|
69
|
-
:type override_context: typing.Optional[typing.Union[
|
|
79
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
70
80
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
71
81
|
:type undo: typing.Optional[bool]
|
|
72
82
|
"""
|
|
@@ -74,13 +84,15 @@ def bake_noise(
|
|
|
74
84
|
...
|
|
75
85
|
|
|
76
86
|
def bake_particles(
|
|
77
|
-
override_context: typing.Optional[
|
|
87
|
+
override_context: typing.Optional[
|
|
88
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
89
|
+
] = None,
|
|
78
90
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
79
91
|
undo: typing.Optional[bool] = None,
|
|
80
92
|
):
|
|
81
93
|
"""Bake Fluid Particles
|
|
82
94
|
|
|
83
|
-
:type override_context: typing.Optional[typing.Union[
|
|
95
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
84
96
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
85
97
|
:type undo: typing.Optional[bool]
|
|
86
98
|
"""
|
|
@@ -88,13 +100,15 @@ def bake_particles(
|
|
|
88
100
|
...
|
|
89
101
|
|
|
90
102
|
def free_all(
|
|
91
|
-
override_context: typing.Optional[
|
|
103
|
+
override_context: typing.Optional[
|
|
104
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
105
|
+
] = None,
|
|
92
106
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
93
107
|
undo: typing.Optional[bool] = None,
|
|
94
108
|
):
|
|
95
109
|
"""Free Entire Fluid Simulation
|
|
96
110
|
|
|
97
|
-
:type override_context: typing.Optional[typing.Union[
|
|
111
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
98
112
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
99
113
|
:type undo: typing.Optional[bool]
|
|
100
114
|
"""
|
|
@@ -102,13 +116,15 @@ def free_all(
|
|
|
102
116
|
...
|
|
103
117
|
|
|
104
118
|
def free_data(
|
|
105
|
-
override_context: typing.Optional[
|
|
119
|
+
override_context: typing.Optional[
|
|
120
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
121
|
+
] = None,
|
|
106
122
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
107
123
|
undo: typing.Optional[bool] = None,
|
|
108
124
|
):
|
|
109
125
|
"""Free Fluid Data
|
|
110
126
|
|
|
111
|
-
:type override_context: typing.Optional[typing.Union[
|
|
127
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
112
128
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
113
129
|
:type undo: typing.Optional[bool]
|
|
114
130
|
"""
|
|
@@ -116,13 +132,15 @@ def free_data(
|
|
|
116
132
|
...
|
|
117
133
|
|
|
118
134
|
def free_guides(
|
|
119
|
-
override_context: typing.Optional[
|
|
135
|
+
override_context: typing.Optional[
|
|
136
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
137
|
+
] = None,
|
|
120
138
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
121
139
|
undo: typing.Optional[bool] = None,
|
|
122
140
|
):
|
|
123
141
|
"""Free Fluid Guiding
|
|
124
142
|
|
|
125
|
-
:type override_context: typing.Optional[typing.Union[
|
|
143
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
126
144
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
127
145
|
:type undo: typing.Optional[bool]
|
|
128
146
|
"""
|
|
@@ -130,13 +148,15 @@ def free_guides(
|
|
|
130
148
|
...
|
|
131
149
|
|
|
132
150
|
def free_mesh(
|
|
133
|
-
override_context: typing.Optional[
|
|
151
|
+
override_context: typing.Optional[
|
|
152
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
153
|
+
] = None,
|
|
134
154
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
135
155
|
undo: typing.Optional[bool] = None,
|
|
136
156
|
):
|
|
137
157
|
"""Free Fluid Mesh
|
|
138
158
|
|
|
139
|
-
:type override_context: typing.Optional[typing.Union[
|
|
159
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
140
160
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
141
161
|
:type undo: typing.Optional[bool]
|
|
142
162
|
"""
|
|
@@ -144,13 +164,15 @@ def free_mesh(
|
|
|
144
164
|
...
|
|
145
165
|
|
|
146
166
|
def free_noise(
|
|
147
|
-
override_context: typing.Optional[
|
|
167
|
+
override_context: typing.Optional[
|
|
168
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
169
|
+
] = None,
|
|
148
170
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
149
171
|
undo: typing.Optional[bool] = None,
|
|
150
172
|
):
|
|
151
173
|
"""Free Fluid Noise
|
|
152
174
|
|
|
153
|
-
:type override_context: typing.Optional[typing.Union[
|
|
175
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
154
176
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
155
177
|
:type undo: typing.Optional[bool]
|
|
156
178
|
"""
|
|
@@ -158,13 +180,15 @@ def free_noise(
|
|
|
158
180
|
...
|
|
159
181
|
|
|
160
182
|
def free_particles(
|
|
161
|
-
override_context: typing.Optional[
|
|
183
|
+
override_context: typing.Optional[
|
|
184
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
185
|
+
] = None,
|
|
162
186
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
163
187
|
undo: typing.Optional[bool] = None,
|
|
164
188
|
):
|
|
165
189
|
"""Free Fluid Particles
|
|
166
190
|
|
|
167
|
-
:type override_context: typing.Optional[typing.Union[
|
|
191
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
168
192
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
169
193
|
:type undo: typing.Optional[bool]
|
|
170
194
|
"""
|
|
@@ -172,13 +196,15 @@ def free_particles(
|
|
|
172
196
|
...
|
|
173
197
|
|
|
174
198
|
def pause_bake(
|
|
175
|
-
override_context: typing.Optional[
|
|
199
|
+
override_context: typing.Optional[
|
|
200
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
201
|
+
] = None,
|
|
176
202
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
177
203
|
undo: typing.Optional[bool] = None,
|
|
178
204
|
):
|
|
179
205
|
"""Pause Bake
|
|
180
206
|
|
|
181
|
-
:type override_context: typing.Optional[typing.Union[
|
|
207
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
182
208
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
183
209
|
:type undo: typing.Optional[bool]
|
|
184
210
|
"""
|
|
@@ -186,7 +212,9 @@ def pause_bake(
|
|
|
186
212
|
...
|
|
187
213
|
|
|
188
214
|
def preset_add(
|
|
189
|
-
override_context: typing.Optional[
|
|
215
|
+
override_context: typing.Optional[
|
|
216
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
217
|
+
] = None,
|
|
190
218
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
191
219
|
undo: typing.Optional[bool] = None,
|
|
192
220
|
name: typing.Union[str, typing.Any] = "",
|
|
@@ -195,7 +223,7 @@ def preset_add(
|
|
|
195
223
|
):
|
|
196
224
|
"""Add or remove a Fluid Preset
|
|
197
225
|
|
|
198
|
-
:type override_context: typing.Optional[typing.Union[
|
|
226
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
199
227
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
200
228
|
:type undo: typing.Optional[bool]
|
|
201
229
|
:param name: Name, Name of the preset, used to make the path name
|
bpy/ops/font/__init__.pyi
CHANGED
|
@@ -4,14 +4,16 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def case_set(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
case: typing.Optional[typing.Any] = "LOWER",
|
|
11
13
|
):
|
|
12
14
|
"""Set font case
|
|
13
15
|
|
|
14
|
-
:type override_context: typing.Optional[typing.Union[
|
|
16
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
15
17
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
16
18
|
:type undo: typing.Optional[bool]
|
|
17
19
|
:param case: Case, Lower or upper case
|
|
@@ -21,13 +23,15 @@ def case_set(
|
|
|
21
23
|
...
|
|
22
24
|
|
|
23
25
|
def case_toggle(
|
|
24
|
-
override_context: typing.Optional[
|
|
26
|
+
override_context: typing.Optional[
|
|
27
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
28
|
+
] = None,
|
|
25
29
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
26
30
|
undo: typing.Optional[bool] = None,
|
|
27
31
|
):
|
|
28
32
|
"""Toggle font case
|
|
29
33
|
|
|
30
|
-
:type override_context: typing.Optional[typing.Union[
|
|
34
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
31
35
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
32
36
|
:type undo: typing.Optional[bool]
|
|
33
37
|
"""
|
|
@@ -35,14 +39,16 @@ def case_toggle(
|
|
|
35
39
|
...
|
|
36
40
|
|
|
37
41
|
def change_character(
|
|
38
|
-
override_context: typing.Optional[
|
|
42
|
+
override_context: typing.Optional[
|
|
43
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
44
|
+
] = None,
|
|
39
45
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
40
46
|
undo: typing.Optional[bool] = None,
|
|
41
47
|
delta: typing.Optional[typing.Any] = 1,
|
|
42
48
|
):
|
|
43
49
|
"""Change font character code
|
|
44
50
|
|
|
45
|
-
:type override_context: typing.Optional[typing.Union[
|
|
51
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
46
52
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
47
53
|
:type undo: typing.Optional[bool]
|
|
48
54
|
:param delta: Delta, Number to increase or decrease character code with
|
|
@@ -52,14 +58,16 @@ def change_character(
|
|
|
52
58
|
...
|
|
53
59
|
|
|
54
60
|
def change_spacing(
|
|
55
|
-
override_context: typing.Optional[
|
|
61
|
+
override_context: typing.Optional[
|
|
62
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
63
|
+
] = None,
|
|
56
64
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
57
65
|
undo: typing.Optional[bool] = None,
|
|
58
66
|
delta: typing.Optional[typing.Any] = 1.0,
|
|
59
67
|
):
|
|
60
68
|
"""Change font spacing
|
|
61
69
|
|
|
62
|
-
:type override_context: typing.Optional[typing.Union[
|
|
70
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
63
71
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
64
72
|
:type undo: typing.Optional[bool]
|
|
65
73
|
:param delta: Delta, Amount to decrease or increase character spacing with
|
|
@@ -69,14 +77,16 @@ def change_spacing(
|
|
|
69
77
|
...
|
|
70
78
|
|
|
71
79
|
def delete(
|
|
72
|
-
override_context: typing.Optional[
|
|
80
|
+
override_context: typing.Optional[
|
|
81
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
82
|
+
] = None,
|
|
73
83
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
74
84
|
undo: typing.Optional[bool] = None,
|
|
75
85
|
type: typing.Optional[typing.Any] = "PREVIOUS_CHARACTER",
|
|
76
86
|
):
|
|
77
87
|
"""Delete text by cursor position
|
|
78
88
|
|
|
79
|
-
:type override_context: typing.Optional[typing.Union[
|
|
89
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
80
90
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
81
91
|
:type undo: typing.Optional[bool]
|
|
82
92
|
:param type: Type, Which part of the text to delete
|
|
@@ -86,13 +96,15 @@ def delete(
|
|
|
86
96
|
...
|
|
87
97
|
|
|
88
98
|
def line_break(
|
|
89
|
-
override_context: typing.Optional[
|
|
99
|
+
override_context: typing.Optional[
|
|
100
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
101
|
+
] = None,
|
|
90
102
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
91
103
|
undo: typing.Optional[bool] = None,
|
|
92
104
|
):
|
|
93
105
|
"""Insert line break at cursor position
|
|
94
106
|
|
|
95
|
-
:type override_context: typing.Optional[typing.Union[
|
|
107
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
96
108
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
97
109
|
:type undo: typing.Optional[bool]
|
|
98
110
|
"""
|
|
@@ -100,14 +112,16 @@ def line_break(
|
|
|
100
112
|
...
|
|
101
113
|
|
|
102
114
|
def move(
|
|
103
|
-
override_context: typing.Optional[
|
|
115
|
+
override_context: typing.Optional[
|
|
116
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
117
|
+
] = None,
|
|
104
118
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
105
119
|
undo: typing.Optional[bool] = None,
|
|
106
120
|
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
107
121
|
):
|
|
108
122
|
"""Move cursor to position type
|
|
109
123
|
|
|
110
|
-
:type override_context: typing.Optional[typing.Union[
|
|
124
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
111
125
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
112
126
|
:type undo: typing.Optional[bool]
|
|
113
127
|
:param type: Type, Where to move cursor to
|
|
@@ -117,14 +131,16 @@ def move(
|
|
|
117
131
|
...
|
|
118
132
|
|
|
119
133
|
def move_select(
|
|
120
|
-
override_context: typing.Optional[
|
|
134
|
+
override_context: typing.Optional[
|
|
135
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
136
|
+
] = None,
|
|
121
137
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
122
138
|
undo: typing.Optional[bool] = None,
|
|
123
139
|
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
124
140
|
):
|
|
125
141
|
"""Move the cursor while selecting
|
|
126
142
|
|
|
127
|
-
:type override_context: typing.Optional[typing.Union[
|
|
143
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
128
144
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
129
145
|
:type undo: typing.Optional[bool]
|
|
130
146
|
:param type: Type, Where to move cursor to, to make a selection
|
|
@@ -134,7 +150,9 @@ def move_select(
|
|
|
134
150
|
...
|
|
135
151
|
|
|
136
152
|
def open(
|
|
137
|
-
override_context: typing.Optional[
|
|
153
|
+
override_context: typing.Optional[
|
|
154
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
155
|
+
] = None,
|
|
138
156
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
139
157
|
undo: typing.Optional[bool] = None,
|
|
140
158
|
filepath: typing.Union[str, typing.Any] = "",
|
|
@@ -164,7 +182,7 @@ def open(
|
|
|
164
182
|
):
|
|
165
183
|
"""Load a new font from a file
|
|
166
184
|
|
|
167
|
-
:type override_context: typing.Optional[typing.Union[
|
|
185
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
168
186
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
169
187
|
:type undo: typing.Optional[bool]
|
|
170
188
|
:param filepath: File Path, Path to file
|
|
@@ -232,13 +250,15 @@ def open(
|
|
|
232
250
|
...
|
|
233
251
|
|
|
234
252
|
def select_all(
|
|
235
|
-
override_context: typing.Optional[
|
|
253
|
+
override_context: typing.Optional[
|
|
254
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
255
|
+
] = None,
|
|
236
256
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
237
257
|
undo: typing.Optional[bool] = None,
|
|
238
258
|
):
|
|
239
259
|
"""Select all text
|
|
240
260
|
|
|
241
|
-
:type override_context: typing.Optional[typing.Union[
|
|
261
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
242
262
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
243
263
|
:type undo: typing.Optional[bool]
|
|
244
264
|
"""
|
|
@@ -246,13 +266,15 @@ def select_all(
|
|
|
246
266
|
...
|
|
247
267
|
|
|
248
268
|
def select_word(
|
|
249
|
-
override_context: typing.Optional[
|
|
269
|
+
override_context: typing.Optional[
|
|
270
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
271
|
+
] = None,
|
|
250
272
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
251
273
|
undo: typing.Optional[bool] = None,
|
|
252
274
|
):
|
|
253
275
|
"""Select word under cursor
|
|
254
276
|
|
|
255
|
-
:type override_context: typing.Optional[typing.Union[
|
|
277
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
256
278
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
257
279
|
:type undo: typing.Optional[bool]
|
|
258
280
|
"""
|
|
@@ -260,13 +282,15 @@ def select_word(
|
|
|
260
282
|
...
|
|
261
283
|
|
|
262
284
|
def selection_set(
|
|
263
|
-
override_context: typing.Optional[
|
|
285
|
+
override_context: typing.Optional[
|
|
286
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
287
|
+
] = None,
|
|
264
288
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
265
289
|
undo: typing.Optional[bool] = None,
|
|
266
290
|
):
|
|
267
291
|
"""Set cursor selection
|
|
268
292
|
|
|
269
|
-
:type override_context: typing.Optional[typing.Union[
|
|
293
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
270
294
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
271
295
|
:type undo: typing.Optional[bool]
|
|
272
296
|
"""
|
|
@@ -274,7 +298,9 @@ def selection_set(
|
|
|
274
298
|
...
|
|
275
299
|
|
|
276
300
|
def style_set(
|
|
277
|
-
override_context: typing.Optional[
|
|
301
|
+
override_context: typing.Optional[
|
|
302
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
303
|
+
] = None,
|
|
278
304
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
279
305
|
undo: typing.Optional[bool] = None,
|
|
280
306
|
style: typing.Optional[typing.Any] = "BOLD",
|
|
@@ -282,7 +308,7 @@ def style_set(
|
|
|
282
308
|
):
|
|
283
309
|
"""Set font style
|
|
284
310
|
|
|
285
|
-
:type override_context: typing.Optional[typing.Union[
|
|
311
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
286
312
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
287
313
|
:type undo: typing.Optional[bool]
|
|
288
314
|
:param style: Style, Style to set selection to
|
|
@@ -294,14 +320,16 @@ def style_set(
|
|
|
294
320
|
...
|
|
295
321
|
|
|
296
322
|
def style_toggle(
|
|
297
|
-
override_context: typing.Optional[
|
|
323
|
+
override_context: typing.Optional[
|
|
324
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
325
|
+
] = None,
|
|
298
326
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
299
327
|
undo: typing.Optional[bool] = None,
|
|
300
328
|
style: typing.Optional[typing.Any] = "BOLD",
|
|
301
329
|
):
|
|
302
330
|
"""Toggle font style
|
|
303
331
|
|
|
304
|
-
:type override_context: typing.Optional[typing.Union[
|
|
332
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
305
333
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
306
334
|
:type undo: typing.Optional[bool]
|
|
307
335
|
:param style: Style, Style to set selection to
|
|
@@ -311,13 +339,15 @@ def style_toggle(
|
|
|
311
339
|
...
|
|
312
340
|
|
|
313
341
|
def text_copy(
|
|
314
|
-
override_context: typing.Optional[
|
|
342
|
+
override_context: typing.Optional[
|
|
343
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
344
|
+
] = None,
|
|
315
345
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
316
346
|
undo: typing.Optional[bool] = None,
|
|
317
347
|
):
|
|
318
348
|
"""Copy selected text to clipboard
|
|
319
349
|
|
|
320
|
-
:type override_context: typing.Optional[typing.Union[
|
|
350
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
321
351
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
322
352
|
:type undo: typing.Optional[bool]
|
|
323
353
|
"""
|
|
@@ -325,13 +355,15 @@ def text_copy(
|
|
|
325
355
|
...
|
|
326
356
|
|
|
327
357
|
def text_cut(
|
|
328
|
-
override_context: typing.Optional[
|
|
358
|
+
override_context: typing.Optional[
|
|
359
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
360
|
+
] = None,
|
|
329
361
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
330
362
|
undo: typing.Optional[bool] = None,
|
|
331
363
|
):
|
|
332
364
|
"""Cut selected text to clipboard
|
|
333
365
|
|
|
334
|
-
:type override_context: typing.Optional[typing.Union[
|
|
366
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
335
367
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
336
368
|
:type undo: typing.Optional[bool]
|
|
337
369
|
"""
|
|
@@ -339,7 +371,9 @@ def text_cut(
|
|
|
339
371
|
...
|
|
340
372
|
|
|
341
373
|
def text_insert(
|
|
342
|
-
override_context: typing.Optional[
|
|
374
|
+
override_context: typing.Optional[
|
|
375
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
376
|
+
] = None,
|
|
343
377
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
344
378
|
undo: typing.Optional[bool] = None,
|
|
345
379
|
text: typing.Union[str, typing.Any] = "",
|
|
@@ -347,7 +381,7 @@ def text_insert(
|
|
|
347
381
|
):
|
|
348
382
|
"""Insert text at cursor position
|
|
349
383
|
|
|
350
|
-
:type override_context: typing.Optional[typing.Union[
|
|
384
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
351
385
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
352
386
|
:type undo: typing.Optional[bool]
|
|
353
387
|
:param text: Text, Text to insert at the cursor position
|
|
@@ -359,13 +393,15 @@ def text_insert(
|
|
|
359
393
|
...
|
|
360
394
|
|
|
361
395
|
def text_insert_unicode(
|
|
362
|
-
override_context: typing.Optional[
|
|
396
|
+
override_context: typing.Optional[
|
|
397
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
398
|
+
] = None,
|
|
363
399
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
364
400
|
undo: typing.Optional[bool] = None,
|
|
365
401
|
):
|
|
366
402
|
"""Insert Unicode Character
|
|
367
403
|
|
|
368
|
-
:type override_context: typing.Optional[typing.Union[
|
|
404
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
369
405
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
370
406
|
:type undo: typing.Optional[bool]
|
|
371
407
|
"""
|
|
@@ -373,14 +409,16 @@ def text_insert_unicode(
|
|
|
373
409
|
...
|
|
374
410
|
|
|
375
411
|
def text_paste(
|
|
376
|
-
override_context: typing.Optional[
|
|
412
|
+
override_context: typing.Optional[
|
|
413
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
414
|
+
] = None,
|
|
377
415
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
378
416
|
undo: typing.Optional[bool] = None,
|
|
379
417
|
selection: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
380
418
|
):
|
|
381
419
|
"""Paste text from clipboard
|
|
382
420
|
|
|
383
|
-
:type override_context: typing.Optional[typing.Union[
|
|
421
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
384
422
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
385
423
|
:type undo: typing.Optional[bool]
|
|
386
424
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
@@ -390,7 +428,9 @@ def text_paste(
|
|
|
390
428
|
...
|
|
391
429
|
|
|
392
430
|
def text_paste_from_file(
|
|
393
|
-
override_context: typing.Optional[
|
|
431
|
+
override_context: typing.Optional[
|
|
432
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
433
|
+
] = None,
|
|
394
434
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
395
435
|
undo: typing.Optional[bool] = None,
|
|
396
436
|
filepath: typing.Union[str, typing.Any] = "",
|
|
@@ -419,7 +459,7 @@ def text_paste_from_file(
|
|
|
419
459
|
):
|
|
420
460
|
"""Paste contents from file
|
|
421
461
|
|
|
422
|
-
:type override_context: typing.Optional[typing.Union[
|
|
462
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
423
463
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
424
464
|
:type undo: typing.Optional[bool]
|
|
425
465
|
:param filepath: File Path, Path to file
|
|
@@ -485,13 +525,15 @@ def text_paste_from_file(
|
|
|
485
525
|
...
|
|
486
526
|
|
|
487
527
|
def textbox_add(
|
|
488
|
-
override_context: typing.Optional[
|
|
528
|
+
override_context: typing.Optional[
|
|
529
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
530
|
+
] = None,
|
|
489
531
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
490
532
|
undo: typing.Optional[bool] = None,
|
|
491
533
|
):
|
|
492
534
|
"""Add a new text box
|
|
493
535
|
|
|
494
|
-
:type override_context: typing.Optional[typing.Union[
|
|
536
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
495
537
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
496
538
|
:type undo: typing.Optional[bool]
|
|
497
539
|
"""
|
|
@@ -499,14 +541,16 @@ def textbox_add(
|
|
|
499
541
|
...
|
|
500
542
|
|
|
501
543
|
def textbox_remove(
|
|
502
|
-
override_context: typing.Optional[
|
|
544
|
+
override_context: typing.Optional[
|
|
545
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
546
|
+
] = None,
|
|
503
547
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
504
548
|
undo: typing.Optional[bool] = None,
|
|
505
549
|
index: typing.Optional[typing.Any] = 0,
|
|
506
550
|
):
|
|
507
551
|
"""Remove the text box
|
|
508
552
|
|
|
509
|
-
:type override_context: typing.Optional[typing.Union[
|
|
553
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
510
554
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
511
555
|
:type undo: typing.Optional[bool]
|
|
512
556
|
:param index: Index, The current text box
|
|
@@ -516,13 +560,15 @@ def textbox_remove(
|
|
|
516
560
|
...
|
|
517
561
|
|
|
518
562
|
def unlink(
|
|
519
|
-
override_context: typing.Optional[
|
|
563
|
+
override_context: typing.Optional[
|
|
564
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
565
|
+
] = None,
|
|
520
566
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
521
567
|
undo: typing.Optional[bool] = None,
|
|
522
568
|
):
|
|
523
569
|
"""Unlink active font data-block
|
|
524
570
|
|
|
525
|
-
:type override_context: typing.Optional[typing.Union[
|
|
571
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
526
572
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
527
573
|
:type undo: typing.Optional[bool]
|
|
528
574
|
"""
|