fake-bpy-module 20240620__py3-none-any.whl → 20240621__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.
- bl_ui/space_userpref/__init__.pyi +225 -0
- bpy/ops/action/__init__.pyi +50 -50
- bpy/ops/anim/__init__.pyi +94 -94
- bpy/ops/armature/__init__.pyi +54 -54
- bpy/ops/asset/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +10 -10
- bpy/ops/buttons/__init__.pyi +88 -88
- bpy/ops/cachefile/__init__.pyi +88 -88
- bpy/ops/camera/__init__.pyi +14 -14
- bpy/ops/clip/__init__.pyi +175 -174
- bpy/ops/cloth/__init__.pyi +6 -6
- bpy/ops/collection/__init__.pyi +8 -8
- bpy/ops/console/__init__.pyi +26 -26
- bpy/ops/constraint/__init__.pyi +42 -42
- bpy/ops/curve/__init__.pyi +167 -122
- bpy/ops/curves/__init__.pyi +75 -58
- bpy/ops/cycles/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +50 -50
- bpy/ops/export_anim/__init__.pyi +14 -14
- bpy/ops/export_scene/__init__.pyi +250 -250
- bpy/ops/extensions/__init__.pyi +73 -73
- bpy/ops/file/__init__.pyi +94 -94
- bpy/ops/fluid/__init__.pyi +6 -6
- bpy/ops/font/__init__.pyi +100 -100
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +10 -10
- bpy/ops/gpencil/__init__.pyi +411 -410
- bpy/ops/graph/__init__.pyi +194 -194
- bpy/ops/grease_pencil/__init__.pyi +100 -100
- bpy/ops/image/__init__.pyi +399 -390
- bpy/ops/import_anim/__init__.pyi +16 -16
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +56 -56
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +8 -8
- bpy/ops/marker/__init__.pyi +34 -34
- bpy/ops/mask/__init__.pyi +63 -62
- bpy/ops/mball/__init__.pyi +12 -12
- bpy/ops/mesh/__init__.pyi +893 -790
- bpy/ops/nla/__init__.pyi +70 -70
- bpy/ops/node/__init__.pyi +192 -192
- bpy/ops/object/__init__.pyi +1013 -840
- bpy/ops/outliner/__init__.pyi +44 -44
- bpy/ops/paint/__init__.pyi +169 -168
- bpy/ops/paintcurve/__init__.pyi +12 -12
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +34 -34
- bpy/ops/pose/__init__.pyi +60 -60
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +150 -150
- bpy/ops/ptcache/__init__.pyi +4 -4
- bpy/ops/render/__init__.pyi +56 -56
- bpy/ops/rigidbody/__init__.pyi +8 -8
- bpy/ops/scene/__init__.pyi +20 -20
- bpy/ops/screen/__init__.pyi +128 -128
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +207 -202
- bpy/ops/sculpt_curves/__init__.pyi +12 -12
- bpy/ops/sequencer/__init__.pyi +465 -464
- bpy/ops/sound/__init__.pyi +154 -154
- bpy/ops/spreadsheet/__init__.pyi +6 -6
- bpy/ops/surface/__init__.pyi +109 -60
- bpy/ops/text/__init__.pyi +110 -110
- bpy/ops/text_editor/__init__.pyi +6 -6
- bpy/ops/transform/__init__.pyi +628 -566
- bpy/ops/ui/__init__.pyi +25 -24
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +235 -234
- bpy/ops/view2d/__init__.pyi +72 -72
- bpy/ops/view3d/__init__.pyi +144 -144
- bpy/ops/wm/__init__.pyi +1813 -1806
- bpy/ops/workspace/__init__.pyi +4 -4
- bpy/types/__init__.pyi +1611 -1802
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240621.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240621.dist-info}/RECORD +77 -77
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240621.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240621.dist-info}/top_level.txt +0 -0
bpy/ops/preferences/__init__.pyi
CHANGED
|
@@ -10,7 +10,7 @@ def addon_disable(
|
|
|
10
10
|
execution_context: int | str | None = None,
|
|
11
11
|
undo: bool | None = None,
|
|
12
12
|
*,
|
|
13
|
-
module: str
|
|
13
|
+
module: str = "",
|
|
14
14
|
):
|
|
15
15
|
"""Turn off this extension
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ def addon_disable(
|
|
|
18
18
|
:type execution_context: int | str | None
|
|
19
19
|
:type undo: bool | None
|
|
20
20
|
:param module: Module, Module name of the add-on to disable
|
|
21
|
-
:type module: str
|
|
21
|
+
:type module: str
|
|
22
22
|
"""
|
|
23
23
|
|
|
24
24
|
...
|
|
@@ -28,7 +28,7 @@ def addon_enable(
|
|
|
28
28
|
execution_context: int | str | None = None,
|
|
29
29
|
undo: bool | None = None,
|
|
30
30
|
*,
|
|
31
|
-
module: str
|
|
31
|
+
module: str = "",
|
|
32
32
|
):
|
|
33
33
|
"""Turn on this extension
|
|
34
34
|
|
|
@@ -36,7 +36,7 @@ def addon_enable(
|
|
|
36
36
|
:type execution_context: int | str | None
|
|
37
37
|
:type undo: bool | None
|
|
38
38
|
:param module: Module, Module name of the add-on to enable
|
|
39
|
-
:type module: str
|
|
39
|
+
:type module: str
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
...
|
|
@@ -46,7 +46,7 @@ def addon_expand(
|
|
|
46
46
|
execution_context: int | str | None = None,
|
|
47
47
|
undo: bool | None = None,
|
|
48
48
|
*,
|
|
49
|
-
module: str
|
|
49
|
+
module: str = "",
|
|
50
50
|
):
|
|
51
51
|
"""Display information and preferences for this add-on
|
|
52
52
|
|
|
@@ -54,7 +54,7 @@ def addon_expand(
|
|
|
54
54
|
:type execution_context: int | str | None
|
|
55
55
|
:type undo: bool | None
|
|
56
56
|
:param module: Module, Module name of the add-on to expand
|
|
57
|
-
:type module: str
|
|
57
|
+
:type module: str
|
|
58
58
|
"""
|
|
59
59
|
|
|
60
60
|
...
|
|
@@ -64,13 +64,13 @@ def addon_install(
|
|
|
64
64
|
execution_context: int | str | None = None,
|
|
65
65
|
undo: bool | None = None,
|
|
66
66
|
*,
|
|
67
|
-
overwrite: bool |
|
|
68
|
-
enable_on_install: bool |
|
|
67
|
+
overwrite: bool | None = True,
|
|
68
|
+
enable_on_install: bool | None = False,
|
|
69
69
|
target: str | None = "",
|
|
70
|
-
filepath: str
|
|
71
|
-
filter_folder: bool |
|
|
72
|
-
filter_python: bool |
|
|
73
|
-
filter_glob: str
|
|
70
|
+
filepath: str = "",
|
|
71
|
+
filter_folder: bool | None = True,
|
|
72
|
+
filter_python: bool | None = True,
|
|
73
|
+
filter_glob: str = "*.py;*.zip",
|
|
74
74
|
):
|
|
75
75
|
"""Install an add-on
|
|
76
76
|
|
|
@@ -78,19 +78,19 @@ def addon_install(
|
|
|
78
78
|
:type execution_context: int | str | None
|
|
79
79
|
:type undo: bool | None
|
|
80
80
|
:param overwrite: Overwrite, Remove existing add-ons with the same ID
|
|
81
|
-
:type overwrite: bool |
|
|
81
|
+
:type overwrite: bool | None
|
|
82
82
|
:param enable_on_install: Enable on Install, Enable after installing
|
|
83
|
-
:type enable_on_install: bool |
|
|
83
|
+
:type enable_on_install: bool | None
|
|
84
84
|
:param target: Target Path
|
|
85
85
|
:type target: str | None
|
|
86
86
|
:param filepath: filepath
|
|
87
|
-
:type filepath: str
|
|
87
|
+
:type filepath: str
|
|
88
88
|
:param filter_folder: Filter folders
|
|
89
|
-
:type filter_folder: bool |
|
|
89
|
+
:type filter_folder: bool | None
|
|
90
90
|
:param filter_python: Filter Python
|
|
91
|
-
:type filter_python: bool |
|
|
91
|
+
:type filter_python: bool | None
|
|
92
92
|
:param filter_glob: filter_glob
|
|
93
|
-
:type filter_glob: str
|
|
93
|
+
:type filter_glob: str
|
|
94
94
|
"""
|
|
95
95
|
|
|
96
96
|
...
|
|
@@ -114,7 +114,7 @@ def addon_remove(
|
|
|
114
114
|
execution_context: int | str | None = None,
|
|
115
115
|
undo: bool | None = None,
|
|
116
116
|
*,
|
|
117
|
-
module: str
|
|
117
|
+
module: str = "",
|
|
118
118
|
):
|
|
119
119
|
"""Delete the add-on from the file system
|
|
120
120
|
|
|
@@ -122,7 +122,7 @@ def addon_remove(
|
|
|
122
122
|
:type execution_context: int | str | None
|
|
123
123
|
:type undo: bool | None
|
|
124
124
|
:param module: Module, Module name of the add-on to remove
|
|
125
|
-
:type module: str
|
|
125
|
+
:type module: str
|
|
126
126
|
"""
|
|
127
127
|
|
|
128
128
|
...
|
|
@@ -132,7 +132,7 @@ def addon_show(
|
|
|
132
132
|
execution_context: int | str | None = None,
|
|
133
133
|
undo: bool | None = None,
|
|
134
134
|
*,
|
|
135
|
-
module: str
|
|
135
|
+
module: str = "",
|
|
136
136
|
):
|
|
137
137
|
"""Show add-on preferences
|
|
138
138
|
|
|
@@ -140,7 +140,7 @@ def addon_show(
|
|
|
140
140
|
:type execution_context: int | str | None
|
|
141
141
|
:type undo: bool | None
|
|
142
142
|
:param module: Module, Module name of the add-on to expand
|
|
143
|
-
:type module: str
|
|
143
|
+
:type module: str
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
...
|
|
@@ -150,10 +150,10 @@ def app_template_install(
|
|
|
150
150
|
execution_context: int | str | None = None,
|
|
151
151
|
undo: bool | None = None,
|
|
152
152
|
*,
|
|
153
|
-
overwrite: bool |
|
|
154
|
-
filepath: str
|
|
155
|
-
filter_folder: bool |
|
|
156
|
-
filter_glob: str
|
|
153
|
+
overwrite: bool | None = True,
|
|
154
|
+
filepath: str = "",
|
|
155
|
+
filter_folder: bool | None = True,
|
|
156
|
+
filter_glob: str = "*.zip",
|
|
157
157
|
):
|
|
158
158
|
"""Install an application template
|
|
159
159
|
|
|
@@ -161,13 +161,13 @@ def app_template_install(
|
|
|
161
161
|
:type execution_context: int | str | None
|
|
162
162
|
:type undo: bool | None
|
|
163
163
|
:param overwrite: Overwrite, Remove existing template with the same ID
|
|
164
|
-
:type overwrite: bool |
|
|
164
|
+
:type overwrite: bool | None
|
|
165
165
|
:param filepath: filepath
|
|
166
|
-
:type filepath: str
|
|
166
|
+
:type filepath: str
|
|
167
167
|
:param filter_folder: Filter folders
|
|
168
|
-
:type filter_folder: bool |
|
|
168
|
+
:type filter_folder: bool | None
|
|
169
169
|
:param filter_glob: filter_glob
|
|
170
|
-
:type filter_glob: str
|
|
170
|
+
:type filter_glob: str
|
|
171
171
|
"""
|
|
172
172
|
|
|
173
173
|
...
|
|
@@ -177,27 +177,27 @@ def asset_library_add(
|
|
|
177
177
|
execution_context: int | str | None = None,
|
|
178
178
|
undo: bool | None = None,
|
|
179
179
|
*,
|
|
180
|
-
directory: str
|
|
181
|
-
hide_props_region: bool |
|
|
182
|
-
check_existing: bool |
|
|
183
|
-
filter_blender: bool |
|
|
184
|
-
filter_backup: bool |
|
|
185
|
-
filter_image: bool |
|
|
186
|
-
filter_movie: bool |
|
|
187
|
-
filter_python: bool |
|
|
188
|
-
filter_font: bool |
|
|
189
|
-
filter_sound: bool |
|
|
190
|
-
filter_text: bool |
|
|
191
|
-
filter_archive: bool |
|
|
192
|
-
filter_btx: bool |
|
|
193
|
-
filter_collada: bool |
|
|
194
|
-
filter_alembic: bool |
|
|
195
|
-
filter_usd: bool |
|
|
196
|
-
filter_obj: bool |
|
|
197
|
-
filter_volume: bool |
|
|
198
|
-
filter_folder: bool |
|
|
199
|
-
filter_blenlib: bool |
|
|
200
|
-
filemode:
|
|
180
|
+
directory: str = "",
|
|
181
|
+
hide_props_region: bool | None = True,
|
|
182
|
+
check_existing: bool | None = False,
|
|
183
|
+
filter_blender: bool | None = False,
|
|
184
|
+
filter_backup: bool | None = False,
|
|
185
|
+
filter_image: bool | None = False,
|
|
186
|
+
filter_movie: bool | None = False,
|
|
187
|
+
filter_python: bool | None = False,
|
|
188
|
+
filter_font: bool | None = False,
|
|
189
|
+
filter_sound: bool | None = False,
|
|
190
|
+
filter_text: bool | None = False,
|
|
191
|
+
filter_archive: bool | None = False,
|
|
192
|
+
filter_btx: bool | None = False,
|
|
193
|
+
filter_collada: bool | None = False,
|
|
194
|
+
filter_alembic: bool | None = False,
|
|
195
|
+
filter_usd: bool | None = False,
|
|
196
|
+
filter_obj: bool | None = False,
|
|
197
|
+
filter_volume: bool | None = False,
|
|
198
|
+
filter_folder: bool | None = True,
|
|
199
|
+
filter_blenlib: bool | None = False,
|
|
200
|
+
filemode: int | None = 9,
|
|
201
201
|
display_type: str | None = "DEFAULT",
|
|
202
202
|
sort_method: str | None = "",
|
|
203
203
|
):
|
|
@@ -207,47 +207,47 @@ def asset_library_add(
|
|
|
207
207
|
:type execution_context: int | str | None
|
|
208
208
|
:type undo: bool | None
|
|
209
209
|
:param directory: Directory, Directory of the file
|
|
210
|
-
:type directory: str
|
|
210
|
+
:type directory: str
|
|
211
211
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
212
|
-
:type hide_props_region: bool |
|
|
212
|
+
:type hide_props_region: bool | None
|
|
213
213
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
214
|
-
:type check_existing: bool |
|
|
214
|
+
:type check_existing: bool | None
|
|
215
215
|
:param filter_blender: Filter .blend files
|
|
216
|
-
:type filter_blender: bool |
|
|
216
|
+
:type filter_blender: bool | None
|
|
217
217
|
:param filter_backup: Filter .blend files
|
|
218
|
-
:type filter_backup: bool |
|
|
218
|
+
:type filter_backup: bool | None
|
|
219
219
|
:param filter_image: Filter image files
|
|
220
|
-
:type filter_image: bool |
|
|
220
|
+
:type filter_image: bool | None
|
|
221
221
|
:param filter_movie: Filter movie files
|
|
222
|
-
:type filter_movie: bool |
|
|
222
|
+
:type filter_movie: bool | None
|
|
223
223
|
:param filter_python: Filter Python files
|
|
224
|
-
:type filter_python: bool |
|
|
224
|
+
:type filter_python: bool | None
|
|
225
225
|
:param filter_font: Filter font files
|
|
226
|
-
:type filter_font: bool |
|
|
226
|
+
:type filter_font: bool | None
|
|
227
227
|
:param filter_sound: Filter sound files
|
|
228
|
-
:type filter_sound: bool |
|
|
228
|
+
:type filter_sound: bool | None
|
|
229
229
|
:param filter_text: Filter text files
|
|
230
|
-
:type filter_text: bool |
|
|
230
|
+
:type filter_text: bool | None
|
|
231
231
|
:param filter_archive: Filter archive files
|
|
232
|
-
:type filter_archive: bool |
|
|
232
|
+
:type filter_archive: bool | None
|
|
233
233
|
:param filter_btx: Filter btx files
|
|
234
|
-
:type filter_btx: bool |
|
|
234
|
+
:type filter_btx: bool | None
|
|
235
235
|
:param filter_collada: Filter COLLADA files
|
|
236
|
-
:type filter_collada: bool |
|
|
236
|
+
:type filter_collada: bool | None
|
|
237
237
|
:param filter_alembic: Filter Alembic files
|
|
238
|
-
:type filter_alembic: bool |
|
|
238
|
+
:type filter_alembic: bool | None
|
|
239
239
|
:param filter_usd: Filter USD files
|
|
240
|
-
:type filter_usd: bool |
|
|
240
|
+
:type filter_usd: bool | None
|
|
241
241
|
:param filter_obj: Filter OBJ files
|
|
242
|
-
:type filter_obj: bool |
|
|
242
|
+
:type filter_obj: bool | None
|
|
243
243
|
:param filter_volume: Filter OpenVDB volume files
|
|
244
|
-
:type filter_volume: bool |
|
|
244
|
+
:type filter_volume: bool | None
|
|
245
245
|
:param filter_folder: Filter folders
|
|
246
|
-
:type filter_folder: bool |
|
|
246
|
+
:type filter_folder: bool | None
|
|
247
247
|
:param filter_blenlib: Filter Blender IDs
|
|
248
|
-
:type filter_blenlib: bool |
|
|
248
|
+
:type filter_blenlib: bool | None
|
|
249
249
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
250
|
-
:type filemode:
|
|
250
|
+
:type filemode: int | None
|
|
251
251
|
:param display_type: Display Type
|
|
252
252
|
|
|
253
253
|
DEFAULT
|
|
@@ -273,7 +273,7 @@ def asset_library_remove(
|
|
|
273
273
|
execution_context: int | str | None = None,
|
|
274
274
|
undo: bool | None = None,
|
|
275
275
|
*,
|
|
276
|
-
index:
|
|
276
|
+
index: int | None = 0,
|
|
277
277
|
):
|
|
278
278
|
"""Remove a path to a .blend file, so the Asset Browser will not attempt to show it anymore
|
|
279
279
|
|
|
@@ -281,7 +281,7 @@ def asset_library_remove(
|
|
|
281
281
|
:type execution_context: int | str | None
|
|
282
282
|
:type undo: bool | None
|
|
283
283
|
:param index: Index
|
|
284
|
-
:type index:
|
|
284
|
+
:type index: int | None
|
|
285
285
|
"""
|
|
286
286
|
|
|
287
287
|
...
|
|
@@ -319,7 +319,7 @@ def autoexec_path_remove(
|
|
|
319
319
|
execution_context: int | str | None = None,
|
|
320
320
|
undo: bool | None = None,
|
|
321
321
|
*,
|
|
322
|
-
index:
|
|
322
|
+
index: int | None = 0,
|
|
323
323
|
):
|
|
324
324
|
"""Remove path to exclude from auto-execution
|
|
325
325
|
|
|
@@ -327,7 +327,7 @@ def autoexec_path_remove(
|
|
|
327
327
|
:type execution_context: int | str | None
|
|
328
328
|
:type undo: bool | None
|
|
329
329
|
:param index: Index
|
|
330
|
-
:type index:
|
|
330
|
+
:type index: int | None
|
|
331
331
|
"""
|
|
332
332
|
|
|
333
333
|
...
|
|
@@ -351,13 +351,13 @@ def extension_repo_add(
|
|
|
351
351
|
execution_context: int | str | None = None,
|
|
352
352
|
undo: bool | None = None,
|
|
353
353
|
*,
|
|
354
|
-
name: str
|
|
355
|
-
remote_url: str
|
|
356
|
-
use_access_token: bool |
|
|
357
|
-
access_token: str
|
|
358
|
-
use_sync_on_startup: bool |
|
|
359
|
-
use_custom_directory: bool |
|
|
360
|
-
custom_directory: str
|
|
354
|
+
name: str = "",
|
|
355
|
+
remote_url: str = "",
|
|
356
|
+
use_access_token: bool | None = False,
|
|
357
|
+
access_token: str = "",
|
|
358
|
+
use_sync_on_startup: bool | None = False,
|
|
359
|
+
use_custom_directory: bool | None = False,
|
|
360
|
+
custom_directory: str = "",
|
|
361
361
|
type: str | None = "REMOTE",
|
|
362
362
|
):
|
|
363
363
|
"""Add a new repository used to store extensions
|
|
@@ -366,19 +366,19 @@ def extension_repo_add(
|
|
|
366
366
|
:type execution_context: int | str | None
|
|
367
367
|
:type undo: bool | None
|
|
368
368
|
:param name: Name, Unique repository name
|
|
369
|
-
:type name: str
|
|
369
|
+
:type name: str
|
|
370
370
|
:param remote_url: URL, Remote URL to the extension repository, the file-system may be referenced using the file URI scheme: "file://"
|
|
371
|
-
:type remote_url: str
|
|
371
|
+
:type remote_url: str
|
|
372
372
|
:param use_access_token: Requires Access Token, Repository requires an access token
|
|
373
|
-
:type use_access_token: bool |
|
|
373
|
+
:type use_access_token: bool | None
|
|
374
374
|
:param access_token: Secret, Personal access token, may be required by some repositories
|
|
375
|
-
:type access_token: str
|
|
375
|
+
:type access_token: str
|
|
376
376
|
:param use_sync_on_startup: Check for Updates on Startup, Allow Blender to check for updates upon launch
|
|
377
|
-
:type use_sync_on_startup: bool |
|
|
377
|
+
:type use_sync_on_startup: bool | None
|
|
378
378
|
:param use_custom_directory: Custom Directory, Manually set the path for extensions to be stored. When disabled a user's extensions directory is created
|
|
379
|
-
:type use_custom_directory: bool |
|
|
379
|
+
:type use_custom_directory: bool | None
|
|
380
380
|
:param custom_directory: Custom Directory, The local directory containing extensions
|
|
381
|
-
:type custom_directory: str
|
|
381
|
+
:type custom_directory: str
|
|
382
382
|
:param type: Type, The kind of repository to add
|
|
383
383
|
|
|
384
384
|
REMOTE
|
|
@@ -396,8 +396,8 @@ def extension_repo_remove(
|
|
|
396
396
|
execution_context: int | str | None = None,
|
|
397
397
|
undo: bool | None = None,
|
|
398
398
|
*,
|
|
399
|
-
index:
|
|
400
|
-
remove_files: bool |
|
|
399
|
+
index: int | None = 0,
|
|
400
|
+
remove_files: bool | None = False,
|
|
401
401
|
):
|
|
402
402
|
"""Remove an extension repository
|
|
403
403
|
|
|
@@ -405,9 +405,9 @@ def extension_repo_remove(
|
|
|
405
405
|
:type execution_context: int | str | None
|
|
406
406
|
:type undo: bool | None
|
|
407
407
|
:param index: Index
|
|
408
|
-
:type index:
|
|
408
|
+
:type index: int | None
|
|
409
409
|
:param remove_files: Remove Files, Remove extension files when removing the repository
|
|
410
|
-
:type remove_files: bool |
|
|
410
|
+
:type remove_files: bool | None
|
|
411
411
|
"""
|
|
412
412
|
|
|
413
413
|
...
|
|
@@ -417,7 +417,7 @@ def extension_url_drop(
|
|
|
417
417
|
execution_context: int | str | None = None,
|
|
418
418
|
undo: bool | None = None,
|
|
419
419
|
*,
|
|
420
|
-
url: str
|
|
420
|
+
url: str = "",
|
|
421
421
|
):
|
|
422
422
|
"""Handle dropping an extension URL
|
|
423
423
|
|
|
@@ -425,7 +425,7 @@ def extension_url_drop(
|
|
|
425
425
|
:type execution_context: int | str | None
|
|
426
426
|
:type undo: bool | None
|
|
427
427
|
:param url: URL, Location of the extension to install
|
|
428
|
-
:type url: str
|
|
428
|
+
:type url: str
|
|
429
429
|
"""
|
|
430
430
|
|
|
431
431
|
...
|
|
@@ -435,7 +435,7 @@ def keyconfig_activate(
|
|
|
435
435
|
execution_context: int | str | None = None,
|
|
436
436
|
undo: bool | None = None,
|
|
437
437
|
*,
|
|
438
|
-
filepath: str
|
|
438
|
+
filepath: str = "",
|
|
439
439
|
):
|
|
440
440
|
"""Undocumented, consider contributing.
|
|
441
441
|
|
|
@@ -443,7 +443,7 @@ def keyconfig_activate(
|
|
|
443
443
|
:type execution_context: int | str | None
|
|
444
444
|
:type undo: bool | None
|
|
445
445
|
:param filepath: filepath
|
|
446
|
-
:type filepath: str
|
|
446
|
+
:type filepath: str
|
|
447
447
|
"""
|
|
448
448
|
|
|
449
449
|
...
|
|
@@ -453,11 +453,11 @@ def keyconfig_export(
|
|
|
453
453
|
execution_context: int | str | None = None,
|
|
454
454
|
undo: bool | None = None,
|
|
455
455
|
*,
|
|
456
|
-
all: bool |
|
|
457
|
-
filepath: str
|
|
458
|
-
filter_folder: bool |
|
|
459
|
-
filter_text: bool |
|
|
460
|
-
filter_python: bool |
|
|
456
|
+
all: bool | None = False,
|
|
457
|
+
filepath: str = "",
|
|
458
|
+
filter_folder: bool | None = True,
|
|
459
|
+
filter_text: bool | None = True,
|
|
460
|
+
filter_python: bool | None = True,
|
|
461
461
|
):
|
|
462
462
|
"""Export key configuration to a Python script
|
|
463
463
|
|
|
@@ -465,15 +465,15 @@ def keyconfig_export(
|
|
|
465
465
|
:type execution_context: int | str | None
|
|
466
466
|
:type undo: bool | None
|
|
467
467
|
:param all: All Keymaps, Write all keymaps (not just user modified)
|
|
468
|
-
:type all: bool |
|
|
468
|
+
:type all: bool | None
|
|
469
469
|
:param filepath: filepath
|
|
470
|
-
:type filepath: str
|
|
470
|
+
:type filepath: str
|
|
471
471
|
:param filter_folder: Filter folders
|
|
472
|
-
:type filter_folder: bool |
|
|
472
|
+
:type filter_folder: bool | None
|
|
473
473
|
:param filter_text: Filter text
|
|
474
|
-
:type filter_text: bool |
|
|
474
|
+
:type filter_text: bool | None
|
|
475
475
|
:param filter_python: Filter Python
|
|
476
|
-
:type filter_python: bool |
|
|
476
|
+
:type filter_python: bool | None
|
|
477
477
|
"""
|
|
478
478
|
|
|
479
479
|
...
|
|
@@ -483,11 +483,11 @@ def keyconfig_import(
|
|
|
483
483
|
execution_context: int | str | None = None,
|
|
484
484
|
undo: bool | None = None,
|
|
485
485
|
*,
|
|
486
|
-
filepath: str
|
|
487
|
-
filter_folder: bool |
|
|
488
|
-
filter_text: bool |
|
|
489
|
-
filter_python: bool |
|
|
490
|
-
keep_original: bool |
|
|
486
|
+
filepath: str = "keymap.py",
|
|
487
|
+
filter_folder: bool | None = True,
|
|
488
|
+
filter_text: bool | None = True,
|
|
489
|
+
filter_python: bool | None = True,
|
|
490
|
+
keep_original: bool | None = True,
|
|
491
491
|
):
|
|
492
492
|
"""Import key configuration from a Python script
|
|
493
493
|
|
|
@@ -495,15 +495,15 @@ def keyconfig_import(
|
|
|
495
495
|
:type execution_context: int | str | None
|
|
496
496
|
:type undo: bool | None
|
|
497
497
|
:param filepath: filepath
|
|
498
|
-
:type filepath: str
|
|
498
|
+
:type filepath: str
|
|
499
499
|
:param filter_folder: Filter folders
|
|
500
|
-
:type filter_folder: bool |
|
|
500
|
+
:type filter_folder: bool | None
|
|
501
501
|
:param filter_text: Filter text
|
|
502
|
-
:type filter_text: bool |
|
|
502
|
+
:type filter_text: bool | None
|
|
503
503
|
:param filter_python: Filter Python
|
|
504
|
-
:type filter_python: bool |
|
|
504
|
+
:type filter_python: bool | None
|
|
505
505
|
:param keep_original: Keep Original, Keep original file after copying to configuration folder
|
|
506
|
-
:type keep_original: bool |
|
|
506
|
+
:type keep_original: bool | None
|
|
507
507
|
"""
|
|
508
508
|
|
|
509
509
|
...
|
|
@@ -555,7 +555,7 @@ def keyitem_remove(
|
|
|
555
555
|
execution_context: int | str | None = None,
|
|
556
556
|
undo: bool | None = None,
|
|
557
557
|
*,
|
|
558
|
-
item_id:
|
|
558
|
+
item_id: int | None = 0,
|
|
559
559
|
):
|
|
560
560
|
"""Remove key map item
|
|
561
561
|
|
|
@@ -563,7 +563,7 @@ def keyitem_remove(
|
|
|
563
563
|
:type execution_context: int | str | None
|
|
564
564
|
:type undo: bool | None
|
|
565
565
|
:param item_id: Item Identifier, Identifier of the item to remove
|
|
566
|
-
:type item_id:
|
|
566
|
+
:type item_id: int | None
|
|
567
567
|
"""
|
|
568
568
|
|
|
569
569
|
...
|
|
@@ -573,7 +573,7 @@ def keyitem_restore(
|
|
|
573
573
|
execution_context: int | str | None = None,
|
|
574
574
|
undo: bool | None = None,
|
|
575
575
|
*,
|
|
576
|
-
item_id:
|
|
576
|
+
item_id: int | None = 0,
|
|
577
577
|
):
|
|
578
578
|
"""Restore key map item
|
|
579
579
|
|
|
@@ -581,7 +581,7 @@ def keyitem_restore(
|
|
|
581
581
|
:type execution_context: int | str | None
|
|
582
582
|
:type undo: bool | None
|
|
583
583
|
:param item_id: Item Identifier, Identifier of the item to restore
|
|
584
|
-
:type item_id:
|
|
584
|
+
:type item_id: int | None
|
|
585
585
|
"""
|
|
586
586
|
|
|
587
587
|
...
|
|
@@ -591,7 +591,7 @@ def keymap_restore(
|
|
|
591
591
|
execution_context: int | str | None = None,
|
|
592
592
|
undo: bool | None = None,
|
|
593
593
|
*,
|
|
594
|
-
all: bool |
|
|
594
|
+
all: bool | None = False,
|
|
595
595
|
):
|
|
596
596
|
"""Restore key map(s)
|
|
597
597
|
|
|
@@ -599,7 +599,7 @@ def keymap_restore(
|
|
|
599
599
|
:type execution_context: int | str | None
|
|
600
600
|
:type undo: bool | None
|
|
601
601
|
:param all: All Keymaps, Restore all keymaps to default
|
|
602
|
-
:type all: bool |
|
|
602
|
+
:type all: bool | None
|
|
603
603
|
"""
|
|
604
604
|
|
|
605
605
|
...
|
|
@@ -623,8 +623,8 @@ def script_directory_add(
|
|
|
623
623
|
execution_context: int | str | None = None,
|
|
624
624
|
undo: bool | None = None,
|
|
625
625
|
*,
|
|
626
|
-
directory: str
|
|
627
|
-
filter_folder: bool |
|
|
626
|
+
directory: str = "",
|
|
627
|
+
filter_folder: bool | None = True,
|
|
628
628
|
):
|
|
629
629
|
"""Undocumented, consider contributing.
|
|
630
630
|
|
|
@@ -632,9 +632,9 @@ def script_directory_add(
|
|
|
632
632
|
:type execution_context: int | str | None
|
|
633
633
|
:type undo: bool | None
|
|
634
634
|
:param directory: directory
|
|
635
|
-
:type directory: str
|
|
635
|
+
:type directory: str
|
|
636
636
|
:param filter_folder: Filter Folders
|
|
637
|
-
:type filter_folder: bool |
|
|
637
|
+
:type filter_folder: bool | None
|
|
638
638
|
"""
|
|
639
639
|
|
|
640
640
|
...
|
|
@@ -644,7 +644,7 @@ def script_directory_remove(
|
|
|
644
644
|
execution_context: int | str | None = None,
|
|
645
645
|
undo: bool | None = None,
|
|
646
646
|
*,
|
|
647
|
-
index:
|
|
647
|
+
index: int | None = 0,
|
|
648
648
|
):
|
|
649
649
|
"""Undocumented, consider contributing.
|
|
650
650
|
|
|
@@ -652,7 +652,7 @@ def script_directory_remove(
|
|
|
652
652
|
:type execution_context: int | str | None
|
|
653
653
|
:type undo: bool | None
|
|
654
654
|
:param index: Index, Index of the script directory to remove
|
|
655
|
-
:type index:
|
|
655
|
+
:type index: int | None
|
|
656
656
|
"""
|
|
657
657
|
|
|
658
658
|
...
|
|
@@ -662,7 +662,7 @@ def studiolight_copy_settings(
|
|
|
662
662
|
execution_context: int | str | None = None,
|
|
663
663
|
undo: bool | None = None,
|
|
664
664
|
*,
|
|
665
|
-
index:
|
|
665
|
+
index: int | None = 0,
|
|
666
666
|
):
|
|
667
667
|
"""Copy Studio Light settings to the Studio Light editor
|
|
668
668
|
|
|
@@ -670,7 +670,7 @@ def studiolight_copy_settings(
|
|
|
670
670
|
:type execution_context: int | str | None
|
|
671
671
|
:type undo: bool | None
|
|
672
672
|
:param index: index
|
|
673
|
-
:type index:
|
|
673
|
+
:type index: int | None
|
|
674
674
|
"""
|
|
675
675
|
|
|
676
676
|
...
|
|
@@ -682,9 +682,9 @@ def studiolight_install(
|
|
|
682
682
|
*,
|
|
683
683
|
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
684
684
|
| None = None,
|
|
685
|
-
directory: str
|
|
686
|
-
filter_folder: bool |
|
|
687
|
-
filter_glob: str
|
|
685
|
+
directory: str = "",
|
|
686
|
+
filter_folder: bool | None = True,
|
|
687
|
+
filter_glob: str = "*.png;*.jpg;*.hdr;*.exr",
|
|
688
688
|
type: str | None = "MATCAP",
|
|
689
689
|
):
|
|
690
690
|
"""Install a user defined light
|
|
@@ -695,11 +695,11 @@ def studiolight_install(
|
|
|
695
695
|
:param files: File Path
|
|
696
696
|
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] | None
|
|
697
697
|
:param directory: directory
|
|
698
|
-
:type directory: str
|
|
698
|
+
:type directory: str
|
|
699
699
|
:param filter_folder: Filter Folders
|
|
700
|
-
:type filter_folder: bool |
|
|
700
|
+
:type filter_folder: bool | None
|
|
701
701
|
:param filter_glob: filter_glob
|
|
702
|
-
:type filter_glob: str
|
|
702
|
+
:type filter_glob: str
|
|
703
703
|
:param type: Type
|
|
704
704
|
|
|
705
705
|
MATCAP
|
|
@@ -720,7 +720,7 @@ def studiolight_new(
|
|
|
720
720
|
execution_context: int | str | None = None,
|
|
721
721
|
undo: bool | None = None,
|
|
722
722
|
*,
|
|
723
|
-
filename: str
|
|
723
|
+
filename: str = "StudioLight",
|
|
724
724
|
):
|
|
725
725
|
"""Save custom studio light from the studio light editor settings
|
|
726
726
|
|
|
@@ -728,7 +728,7 @@ def studiolight_new(
|
|
|
728
728
|
:type execution_context: int | str | None
|
|
729
729
|
:type undo: bool | None
|
|
730
730
|
:param filename: Name
|
|
731
|
-
:type filename: str
|
|
731
|
+
:type filename: str
|
|
732
732
|
"""
|
|
733
733
|
|
|
734
734
|
...
|
|
@@ -738,7 +738,7 @@ def studiolight_uninstall(
|
|
|
738
738
|
execution_context: int | str | None = None,
|
|
739
739
|
undo: bool | None = None,
|
|
740
740
|
*,
|
|
741
|
-
index:
|
|
741
|
+
index: int | None = 0,
|
|
742
742
|
):
|
|
743
743
|
"""Delete Studio Light
|
|
744
744
|
|
|
@@ -746,7 +746,7 @@ def studiolight_uninstall(
|
|
|
746
746
|
:type execution_context: int | str | None
|
|
747
747
|
:type undo: bool | None
|
|
748
748
|
:param index: index
|
|
749
|
-
:type index:
|
|
749
|
+
:type index: int | None
|
|
750
750
|
"""
|
|
751
751
|
|
|
752
752
|
...
|
|
@@ -756,10 +756,10 @@ def theme_install(
|
|
|
756
756
|
execution_context: int | str | None = None,
|
|
757
757
|
undo: bool | None = None,
|
|
758
758
|
*,
|
|
759
|
-
overwrite: bool |
|
|
760
|
-
filepath: str
|
|
761
|
-
filter_folder: bool |
|
|
762
|
-
filter_glob: str
|
|
759
|
+
overwrite: bool | None = True,
|
|
760
|
+
filepath: str = "",
|
|
761
|
+
filter_folder: bool | None = True,
|
|
762
|
+
filter_glob: str = "*.xml",
|
|
763
763
|
):
|
|
764
764
|
"""Load and apply a Blender XML theme file
|
|
765
765
|
|
|
@@ -767,13 +767,13 @@ def theme_install(
|
|
|
767
767
|
:type execution_context: int | str | None
|
|
768
768
|
:type undo: bool | None
|
|
769
769
|
:param overwrite: Overwrite, Remove existing theme file if exists
|
|
770
|
-
:type overwrite: bool |
|
|
770
|
+
:type overwrite: bool | None
|
|
771
771
|
:param filepath: filepath
|
|
772
|
-
:type filepath: str
|
|
772
|
+
:type filepath: str
|
|
773
773
|
:param filter_folder: Filter folders
|
|
774
|
-
:type filter_folder: bool |
|
|
774
|
+
:type filter_folder: bool | None
|
|
775
775
|
:param filter_glob: filter_glob
|
|
776
|
-
:type filter_glob: str
|
|
776
|
+
:type filter_glob: str
|
|
777
777
|
"""
|
|
778
778
|
|
|
779
779
|
...
|