fake-bpy-module 20240605__py3-none-any.whl → 20240606__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_i18n_utils/utils/__init__.pyi +7 -7
- bl_operators/image_as_planes/__init__.pyi +295 -49
- bl_operators/wm/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bmesh/ops/__init__.pyi +2 -2
- bmesh/types/__init__.pyi +3 -3
- bpy/msgbus/__init__.pyi +1 -1
- bpy/ops/image/__init__.pyi +237 -105
- bpy/ops/wm/__init__.pyi +11 -1
- bpy/props/__init__.pyi +20 -20
- bpy/types/__init__.pyi +22 -1
- bpy_extras/asset_utils/__init__.pyi +0 -7
- bpy_extras/io_utils/__init__.pyi +1 -1
- {fake_bpy_module-20240605.dist-info → fake_bpy_module-20240606.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240605.dist-info → fake_bpy_module-20240606.dist-info}/RECORD +21 -21
- freestyle/utils/__init__.pyi +1 -1
- gpu/types/__init__.pyi +2 -2
- mathutils/__init__.pyi +3 -2
- rna_xml/__init__.pyi +1 -1
- {fake_bpy_module-20240605.dist-info → fake_bpy_module-20240606.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240605.dist-info → fake_bpy_module-20240606.dist-info}/top_level.txt +0 -0
bpy/ops/image/__init__.pyi
CHANGED
|
@@ -93,6 +93,138 @@ def clipboard_paste(
|
|
|
93
93
|
|
|
94
94
|
...
|
|
95
95
|
|
|
96
|
+
def convert_to_mesh_plane(
|
|
97
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
98
|
+
execution_context: int | str | None = None,
|
|
99
|
+
undo: bool | None = None,
|
|
100
|
+
*,
|
|
101
|
+
interpolation: str | None = "Linear",
|
|
102
|
+
extension: str | None = "CLIP",
|
|
103
|
+
alpha_mode: str | None = "STRAIGHT",
|
|
104
|
+
use_auto_refresh: bool | typing.Any | None = True,
|
|
105
|
+
relative: bool | typing.Any | None = True,
|
|
106
|
+
shader: str | None = "PRINCIPLED",
|
|
107
|
+
emit_strength: typing.Any | None = 1.0,
|
|
108
|
+
use_transparency: bool | typing.Any | None = True,
|
|
109
|
+
blend_method: str | None = "BLEND",
|
|
110
|
+
shadow_method: str | None = "CLIP",
|
|
111
|
+
use_backface_culling: bool | typing.Any | None = False,
|
|
112
|
+
show_transparent_back: bool | typing.Any | None = True,
|
|
113
|
+
overwrite_material: bool | typing.Any | None = True,
|
|
114
|
+
name_from: str | None = "OBJECT",
|
|
115
|
+
delete_ref: bool | typing.Any | None = True,
|
|
116
|
+
):
|
|
117
|
+
"""Convert selected reference images to textured mesh plane
|
|
118
|
+
|
|
119
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
120
|
+
:type execution_context: int | str | None
|
|
121
|
+
:type undo: bool | None
|
|
122
|
+
:param interpolation: Interpolation, Texture interpolation
|
|
123
|
+
|
|
124
|
+
Linear
|
|
125
|
+
Linear -- Linear interpolation.
|
|
126
|
+
|
|
127
|
+
Closest
|
|
128
|
+
Closest -- No interpolation (sample closest texel).
|
|
129
|
+
|
|
130
|
+
Cubic
|
|
131
|
+
Cubic -- Cubic interpolation.
|
|
132
|
+
|
|
133
|
+
Smart
|
|
134
|
+
Smart -- Bicubic when magnifying, else bilinear (OSL only).
|
|
135
|
+
:type interpolation: str | None
|
|
136
|
+
:param extension: Extension, How the image is extrapolated past its original bounds
|
|
137
|
+
|
|
138
|
+
CLIP
|
|
139
|
+
Clip -- Clip to image size and set exterior pixels as transparent.
|
|
140
|
+
|
|
141
|
+
EXTEND
|
|
142
|
+
Extend -- Extend by repeating edge pixels of the image.
|
|
143
|
+
|
|
144
|
+
REPEAT
|
|
145
|
+
Repeat -- Cause the image to repeat horizontally and vertically.
|
|
146
|
+
:type extension: str | None
|
|
147
|
+
:param alpha_mode: Alpha Mode, Representation of alpha in the image file, to convert to and from when saving and loading the image
|
|
148
|
+
|
|
149
|
+
STRAIGHT
|
|
150
|
+
Straight -- Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG.
|
|
151
|
+
|
|
152
|
+
PREMUL
|
|
153
|
+
Premultiplied -- Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR.
|
|
154
|
+
|
|
155
|
+
CHANNEL_PACKED
|
|
156
|
+
Channel Packed -- Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory.
|
|
157
|
+
|
|
158
|
+
NONE
|
|
159
|
+
None -- Ignore alpha channel from the file and make image fully opaque.
|
|
160
|
+
:type alpha_mode: str | None
|
|
161
|
+
:param use_auto_refresh: Auto Refresh, Always refresh image on frame changes
|
|
162
|
+
:type use_auto_refresh: bool | typing.Any | None
|
|
163
|
+
:param relative: Relative Paths, Use relative file paths
|
|
164
|
+
:type relative: bool | typing.Any | None
|
|
165
|
+
:param shader: Shader, Node shader to use
|
|
166
|
+
|
|
167
|
+
PRINCIPLED
|
|
168
|
+
Principled -- Principled shader.
|
|
169
|
+
|
|
170
|
+
SHADELESS
|
|
171
|
+
Shadeless -- Only visible to camera and reflections.
|
|
172
|
+
|
|
173
|
+
EMISSION
|
|
174
|
+
Emission -- Emission shader.
|
|
175
|
+
:type shader: str | None
|
|
176
|
+
:param emit_strength: Emission Strength, Strength of emission
|
|
177
|
+
:type emit_strength: typing.Any | None
|
|
178
|
+
:param use_transparency: Use Alpha, Use alpha channel for transparency
|
|
179
|
+
:type use_transparency: bool | typing.Any | None
|
|
180
|
+
:param blend_method: Blend Mode, Blend Mode for Transparent Faces
|
|
181
|
+
|
|
182
|
+
BLEND
|
|
183
|
+
Blend -- Render polygon transparent, depending on alpha channel of the texture.
|
|
184
|
+
|
|
185
|
+
CLIP
|
|
186
|
+
Clip -- Use the alpha threshold to clip the visibility (binary visibility).
|
|
187
|
+
|
|
188
|
+
HASHED
|
|
189
|
+
Hashed -- Use noise to dither the binary visibility (works well with multi-samples).
|
|
190
|
+
|
|
191
|
+
OPAQUE
|
|
192
|
+
Opaque -- Render surface without transparency.
|
|
193
|
+
:type blend_method: str | None
|
|
194
|
+
:param shadow_method: Shadow Mode, Shadow mapping method
|
|
195
|
+
|
|
196
|
+
CLIP
|
|
197
|
+
Clip -- Use the alpha threshold to clip the visibility (binary visibility).
|
|
198
|
+
|
|
199
|
+
HASHED
|
|
200
|
+
Hashed -- Use noise to dither the binary visibility (works well with multi-samples).
|
|
201
|
+
|
|
202
|
+
OPAQUE
|
|
203
|
+
Opaque -- Material will cast shadows without transparency.
|
|
204
|
+
|
|
205
|
+
NONE
|
|
206
|
+
None -- Material will cast no shadow.
|
|
207
|
+
:type shadow_method: str | None
|
|
208
|
+
:param use_backface_culling: Backface Culling, Use backface culling to hide the back side of faces
|
|
209
|
+
:type use_backface_culling: bool | typing.Any | None
|
|
210
|
+
:param show_transparent_back: Show Backface, Render multiple transparent layers (may introduce transparency sorting problems)
|
|
211
|
+
:type show_transparent_back: bool | typing.Any | None
|
|
212
|
+
:param overwrite_material: Overwrite Material, Overwrite existing material with the same name
|
|
213
|
+
:type overwrite_material: bool | typing.Any | None
|
|
214
|
+
:param name_from: Name After, Name for new mesh object and material
|
|
215
|
+
|
|
216
|
+
OBJECT
|
|
217
|
+
Source Object -- Name after object source with a suffix.
|
|
218
|
+
|
|
219
|
+
IMAGE
|
|
220
|
+
Source Image -- name from laoded image.
|
|
221
|
+
:type name_from: str | None
|
|
222
|
+
:param delete_ref: Delete Reference Object, Delete empty image object once mesh plane is created
|
|
223
|
+
:type delete_ref: bool | typing.Any | None
|
|
224
|
+
"""
|
|
225
|
+
|
|
226
|
+
...
|
|
227
|
+
|
|
96
228
|
def curves_point_set(
|
|
97
229
|
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
98
230
|
execution_context: int | str | None = None,
|
|
@@ -281,6 +413,19 @@ def import_as_mesh_planes(
|
|
|
281
413
|
execution_context: int | str | None = None,
|
|
282
414
|
undo: bool | None = None,
|
|
283
415
|
*,
|
|
416
|
+
interpolation: str | None = "Linear",
|
|
417
|
+
extension: str | None = "CLIP",
|
|
418
|
+
alpha_mode: str | None = "STRAIGHT",
|
|
419
|
+
use_auto_refresh: bool | typing.Any | None = True,
|
|
420
|
+
relative: bool | typing.Any | None = True,
|
|
421
|
+
shader: str | None = "PRINCIPLED",
|
|
422
|
+
emit_strength: typing.Any | None = 1.0,
|
|
423
|
+
use_transparency: bool | typing.Any | None = True,
|
|
424
|
+
blend_method: str | None = "BLEND",
|
|
425
|
+
shadow_method: str | None = "CLIP",
|
|
426
|
+
use_backface_culling: bool | typing.Any | None = False,
|
|
427
|
+
show_transparent_back: bool | typing.Any | None = True,
|
|
428
|
+
overwrite_material: bool | typing.Any | None = True,
|
|
284
429
|
filepath: str | typing.Any = "",
|
|
285
430
|
align: str | None = "WORLD",
|
|
286
431
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -303,25 +448,104 @@ def import_as_mesh_planes(
|
|
|
303
448
|
fill_mode: str | None = "FILL",
|
|
304
449
|
height: typing.Any | None = 1.0,
|
|
305
450
|
factor: typing.Any | None = 600.0,
|
|
306
|
-
shader: str | None = "PRINCIPLED",
|
|
307
|
-
emit_strength: typing.Any | None = 1.0,
|
|
308
|
-
use_transparency: bool | typing.Any | None = True,
|
|
309
|
-
blend_method: str | None = "BLEND",
|
|
310
|
-
shadow_method: str | None = "CLIP",
|
|
311
|
-
use_backface_culling: bool | typing.Any | None = False,
|
|
312
|
-
show_transparent_back: bool | typing.Any | None = True,
|
|
313
|
-
overwrite_material: bool | typing.Any | None = True,
|
|
314
|
-
interpolation: str | None = "Linear",
|
|
315
|
-
extension: str | None = "CLIP",
|
|
316
|
-
alpha_mode: str | None = "STRAIGHT",
|
|
317
|
-
use_auto_refresh: bool | typing.Any | None = True,
|
|
318
|
-
relative: bool | typing.Any | None = True,
|
|
319
451
|
):
|
|
320
452
|
"""Create mesh plane(s) from image files with the appropriate aspect ratio
|
|
321
453
|
|
|
322
454
|
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
323
455
|
:type execution_context: int | str | None
|
|
324
456
|
:type undo: bool | None
|
|
457
|
+
:param interpolation: Interpolation, Texture interpolation
|
|
458
|
+
|
|
459
|
+
Linear
|
|
460
|
+
Linear -- Linear interpolation.
|
|
461
|
+
|
|
462
|
+
Closest
|
|
463
|
+
Closest -- No interpolation (sample closest texel).
|
|
464
|
+
|
|
465
|
+
Cubic
|
|
466
|
+
Cubic -- Cubic interpolation.
|
|
467
|
+
|
|
468
|
+
Smart
|
|
469
|
+
Smart -- Bicubic when magnifying, else bilinear (OSL only).
|
|
470
|
+
:type interpolation: str | None
|
|
471
|
+
:param extension: Extension, How the image is extrapolated past its original bounds
|
|
472
|
+
|
|
473
|
+
CLIP
|
|
474
|
+
Clip -- Clip to image size and set exterior pixels as transparent.
|
|
475
|
+
|
|
476
|
+
EXTEND
|
|
477
|
+
Extend -- Extend by repeating edge pixels of the image.
|
|
478
|
+
|
|
479
|
+
REPEAT
|
|
480
|
+
Repeat -- Cause the image to repeat horizontally and vertically.
|
|
481
|
+
:type extension: str | None
|
|
482
|
+
:param alpha_mode: Alpha Mode, Representation of alpha in the image file, to convert to and from when saving and loading the image
|
|
483
|
+
|
|
484
|
+
STRAIGHT
|
|
485
|
+
Straight -- Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG.
|
|
486
|
+
|
|
487
|
+
PREMUL
|
|
488
|
+
Premultiplied -- Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR.
|
|
489
|
+
|
|
490
|
+
CHANNEL_PACKED
|
|
491
|
+
Channel Packed -- Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory.
|
|
492
|
+
|
|
493
|
+
NONE
|
|
494
|
+
None -- Ignore alpha channel from the file and make image fully opaque.
|
|
495
|
+
:type alpha_mode: str | None
|
|
496
|
+
:param use_auto_refresh: Auto Refresh, Always refresh image on frame changes
|
|
497
|
+
:type use_auto_refresh: bool | typing.Any | None
|
|
498
|
+
:param relative: Relative Paths, Use relative file paths
|
|
499
|
+
:type relative: bool | typing.Any | None
|
|
500
|
+
:param shader: Shader, Node shader to use
|
|
501
|
+
|
|
502
|
+
PRINCIPLED
|
|
503
|
+
Principled -- Principled shader.
|
|
504
|
+
|
|
505
|
+
SHADELESS
|
|
506
|
+
Shadeless -- Only visible to camera and reflections.
|
|
507
|
+
|
|
508
|
+
EMISSION
|
|
509
|
+
Emission -- Emission shader.
|
|
510
|
+
:type shader: str | None
|
|
511
|
+
:param emit_strength: Emission Strength, Strength of emission
|
|
512
|
+
:type emit_strength: typing.Any | None
|
|
513
|
+
:param use_transparency: Use Alpha, Use alpha channel for transparency
|
|
514
|
+
:type use_transparency: bool | typing.Any | None
|
|
515
|
+
:param blend_method: Blend Mode, Blend Mode for Transparent Faces
|
|
516
|
+
|
|
517
|
+
BLEND
|
|
518
|
+
Blend -- Render polygon transparent, depending on alpha channel of the texture.
|
|
519
|
+
|
|
520
|
+
CLIP
|
|
521
|
+
Clip -- Use the alpha threshold to clip the visibility (binary visibility).
|
|
522
|
+
|
|
523
|
+
HASHED
|
|
524
|
+
Hashed -- Use noise to dither the binary visibility (works well with multi-samples).
|
|
525
|
+
|
|
526
|
+
OPAQUE
|
|
527
|
+
Opaque -- Render surface without transparency.
|
|
528
|
+
:type blend_method: str | None
|
|
529
|
+
:param shadow_method: Shadow Mode, Shadow mapping method
|
|
530
|
+
|
|
531
|
+
CLIP
|
|
532
|
+
Clip -- Use the alpha threshold to clip the visibility (binary visibility).
|
|
533
|
+
|
|
534
|
+
HASHED
|
|
535
|
+
Hashed -- Use noise to dither the binary visibility (works well with multi-samples).
|
|
536
|
+
|
|
537
|
+
OPAQUE
|
|
538
|
+
Opaque -- Material will cast shadows without transparency.
|
|
539
|
+
|
|
540
|
+
NONE
|
|
541
|
+
None -- Material will cast no shadow.
|
|
542
|
+
:type shadow_method: str | None
|
|
543
|
+
:param use_backface_culling: Backface Culling, Use backface culling to hide the back side of faces
|
|
544
|
+
:type use_backface_culling: bool | typing.Any | None
|
|
545
|
+
:param show_transparent_back: Show Backface, Render multiple transparent layers (may introduce transparency sorting problems)
|
|
546
|
+
:type show_transparent_back: bool | typing.Any | None
|
|
547
|
+
:param overwrite_material: Overwrite Material, Overwrite existing material with the same name
|
|
548
|
+
:type overwrite_material: bool | typing.Any | None
|
|
325
549
|
:param filepath: File Path, Filepath used for importing the file
|
|
326
550
|
:type filepath: str | typing.Any
|
|
327
551
|
:param align: Align
|
|
@@ -460,98 +684,6 @@ def import_as_mesh_planes(
|
|
|
460
684
|
:type height: typing.Any | None
|
|
461
685
|
:param factor: Definition, Number of pixels per inch or Blender Unit
|
|
462
686
|
:type factor: typing.Any | None
|
|
463
|
-
:param shader: Shader, Node shader to use
|
|
464
|
-
|
|
465
|
-
PRINCIPLED
|
|
466
|
-
Principled -- Principled Shader.
|
|
467
|
-
|
|
468
|
-
SHADELESS
|
|
469
|
-
Shadeless -- Only visible to camera and reflections.
|
|
470
|
-
|
|
471
|
-
EMISSION
|
|
472
|
-
Emit -- Emission Shader.
|
|
473
|
-
:type shader: str | None
|
|
474
|
-
:param emit_strength: Emission Strength, Strength of emission
|
|
475
|
-
:type emit_strength: typing.Any | None
|
|
476
|
-
:param use_transparency: Use Alpha, Use alpha channel for transparency
|
|
477
|
-
:type use_transparency: bool | typing.Any | None
|
|
478
|
-
:param blend_method: Blend Mode, Blend Mode for Transparent Faces
|
|
479
|
-
|
|
480
|
-
BLEND
|
|
481
|
-
Blend -- Render polygon transparent, depending on alpha channel of the texture.
|
|
482
|
-
|
|
483
|
-
CLIP
|
|
484
|
-
Clip -- Use the alpha threshold to clip the visibility (binary visibility).
|
|
485
|
-
|
|
486
|
-
HASHED
|
|
487
|
-
Hashed -- Use noise to dither the binary visibility (works well with multi-samples).
|
|
488
|
-
|
|
489
|
-
OPAQUE
|
|
490
|
-
Opaque -- Render surface without transparency.
|
|
491
|
-
:type blend_method: str | None
|
|
492
|
-
:param shadow_method: Shadow Mode, Shadow mapping method
|
|
493
|
-
|
|
494
|
-
CLIP
|
|
495
|
-
Clip -- Use the alpha threshold to clip the visibility (binary visibility).
|
|
496
|
-
|
|
497
|
-
HASHED
|
|
498
|
-
Hashed -- Use noise to dither the binary visibility (works well with multi-samples).
|
|
499
|
-
|
|
500
|
-
OPAQUE
|
|
501
|
-
Opaque -- Material will cast shadows without transparency.
|
|
502
|
-
|
|
503
|
-
NONE
|
|
504
|
-
None -- Material will cast no shadow.
|
|
505
|
-
:type shadow_method: str | None
|
|
506
|
-
:param use_backface_culling: Backface Culling, Use backface culling to hide the back side of faces
|
|
507
|
-
:type use_backface_culling: bool | typing.Any | None
|
|
508
|
-
:param show_transparent_back: Show Backface, Render multiple transparent layers (may introduce transparency sorting problems)
|
|
509
|
-
:type show_transparent_back: bool | typing.Any | None
|
|
510
|
-
:param overwrite_material: Overwrite Material, Overwrite existing material with the same name
|
|
511
|
-
:type overwrite_material: bool | typing.Any | None
|
|
512
|
-
:param interpolation: Interpolation, Texture interpolation
|
|
513
|
-
|
|
514
|
-
Linear
|
|
515
|
-
Linear -- Linear interpolation.
|
|
516
|
-
|
|
517
|
-
Closest
|
|
518
|
-
Closest -- No interpolation (sample closest texel).
|
|
519
|
-
|
|
520
|
-
Cubic
|
|
521
|
-
Cubic -- Cubic interpolation.
|
|
522
|
-
|
|
523
|
-
Smart
|
|
524
|
-
Smart -- Bicubic when magnifying, else bilinear (OSL only).
|
|
525
|
-
:type interpolation: str | None
|
|
526
|
-
:param extension: Extension, How the image is extrapolated past its original bounds
|
|
527
|
-
|
|
528
|
-
CLIP
|
|
529
|
-
Clip -- Clip to image size and set exterior pixels as transparent.
|
|
530
|
-
|
|
531
|
-
EXTEND
|
|
532
|
-
Extend -- Extend by repeating edge pixels of the image.
|
|
533
|
-
|
|
534
|
-
REPEAT
|
|
535
|
-
Repeat -- Cause the image to repeat horizontally and vertically.
|
|
536
|
-
:type extension: str | None
|
|
537
|
-
:param alpha_mode: Alpha Mode, Representation of alpha in the image file, to convert to and from when saving and loading the image
|
|
538
|
-
|
|
539
|
-
STRAIGHT
|
|
540
|
-
Straight -- Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG.
|
|
541
|
-
|
|
542
|
-
PREMUL
|
|
543
|
-
Premultiplied -- Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR.
|
|
544
|
-
|
|
545
|
-
CHANNEL_PACKED
|
|
546
|
-
Channel Packed -- Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory.
|
|
547
|
-
|
|
548
|
-
NONE
|
|
549
|
-
None -- Ignore alpha channel from the file and make image fully opaque.
|
|
550
|
-
:type alpha_mode: str | None
|
|
551
|
-
:param use_auto_refresh: Auto Refresh, Always refresh image on frame changes
|
|
552
|
-
:type use_auto_refresh: bool | typing.Any | None
|
|
553
|
-
:param relative: Relative Paths, Use relative file paths
|
|
554
|
-
:type relative: bool | typing.Any | None
|
|
555
687
|
"""
|
|
556
688
|
|
|
557
689
|
...
|
bpy/ops/wm/__init__.pyi
CHANGED
|
@@ -202,6 +202,9 @@ def alembic_import(
|
|
|
202
202
|
undo: bool | None = None,
|
|
203
203
|
*,
|
|
204
204
|
filepath: str | typing.Any = "",
|
|
205
|
+
directory: str | typing.Any = "",
|
|
206
|
+
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
207
|
+
| None = None,
|
|
205
208
|
check_existing: bool | typing.Any | None = False,
|
|
206
209
|
filter_blender: bool | typing.Any | None = False,
|
|
207
210
|
filter_backup: bool | typing.Any | None = False,
|
|
@@ -239,6 +242,10 @@ def alembic_import(
|
|
|
239
242
|
:type undo: bool | None
|
|
240
243
|
:param filepath: File Path, Path to file
|
|
241
244
|
:type filepath: str | typing.Any
|
|
245
|
+
:param directory: Directory, Directory of the file
|
|
246
|
+
:type directory: str | typing.Any
|
|
247
|
+
:param files: Files
|
|
248
|
+
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] | None
|
|
242
249
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
243
250
|
:type check_existing: bool | typing.Any | None
|
|
244
251
|
:param filter_blender: Filter .blend files
|
|
@@ -4958,6 +4965,7 @@ def usd_export(
|
|
|
4958
4965
|
use_instancing: bool | typing.Any | None = False,
|
|
4959
4966
|
evaluation_mode: str | None = "RENDER",
|
|
4960
4967
|
generate_preview_surface: bool | typing.Any | None = True,
|
|
4968
|
+
generate_materialx_network: bool | typing.Any | None = False,
|
|
4961
4969
|
convert_orientation: bool | typing.Any | None = False,
|
|
4962
4970
|
export_global_forward_selection: str | None = "NEGATIVE_Z",
|
|
4963
4971
|
export_global_up_selection: str | None = "Y",
|
|
@@ -5087,8 +5095,10 @@ def usd_export(
|
|
|
5087
5095
|
VIEWPORT
|
|
5088
5096
|
Viewport -- Use Viewport settings for object visibility, modifier settings, etc.
|
|
5089
5097
|
:type evaluation_mode: str | None
|
|
5090
|
-
:param generate_preview_surface:
|
|
5098
|
+
:param generate_preview_surface: USD Preview Surface Network, Generate an approximate USD Preview Surface shader representation of a Principled BSDF node network
|
|
5091
5099
|
:type generate_preview_surface: bool | typing.Any | None
|
|
5100
|
+
:param generate_materialx_network: MaterialX Network, Generate a MaterialX network representation of the materials
|
|
5101
|
+
:type generate_materialx_network: bool | typing.Any | None
|
|
5092
5102
|
:param convert_orientation: Convert Orientation, The USD exporter will convert scene orientation axis
|
|
5093
5103
|
:type convert_orientation: bool | typing.Any | None
|
|
5094
5104
|
:param export_global_forward_selection: Forward Axis
|
bpy/props/__init__.pyi
CHANGED
|
@@ -100,8 +100,8 @@ def BoolProperty(
|
|
|
100
100
|
translation_context: str | None = "*",
|
|
101
101
|
default=False,
|
|
102
102
|
options: set | None = {"ANIMATABLE"},
|
|
103
|
-
override: set | None =
|
|
104
|
-
tags: set | None =
|
|
103
|
+
override: set | None = set(),
|
|
104
|
+
tags: set | None = set(),
|
|
105
105
|
subtype: str | None = "NONE",
|
|
106
106
|
update: typing.Any | None = None,
|
|
107
107
|
get: typing.Any | None = None,
|
|
@@ -144,8 +144,8 @@ def BoolVectorProperty(
|
|
|
144
144
|
translation_context: str | None = "*",
|
|
145
145
|
default: collections.abc.Sequence | None = (False, False, False),
|
|
146
146
|
options: set | None = {"ANIMATABLE"},
|
|
147
|
-
override: set | None =
|
|
148
|
-
tags: set | None =
|
|
147
|
+
override: set | None = set(),
|
|
148
|
+
tags: set | None = set(),
|
|
149
149
|
subtype: str | None = "NONE",
|
|
150
150
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
151
151
|
update: typing.Any | None = None,
|
|
@@ -193,8 +193,8 @@ def CollectionProperty(
|
|
|
193
193
|
description: str | None = "",
|
|
194
194
|
translation_context: str | None = "*",
|
|
195
195
|
options: set | None = {"ANIMATABLE"},
|
|
196
|
-
override: set | None =
|
|
197
|
-
tags: set | None =
|
|
196
|
+
override: set | None = set(),
|
|
197
|
+
tags: set | None = set(),
|
|
198
198
|
):
|
|
199
199
|
"""Returns a new collection property definition.
|
|
200
200
|
|
|
@@ -225,8 +225,8 @@ def EnumProperty(
|
|
|
225
225
|
translation_context: str | None = "*",
|
|
226
226
|
default: int | set | str | None = None,
|
|
227
227
|
options: set | None = {"ANIMATABLE"},
|
|
228
|
-
override: set | None =
|
|
229
|
-
tags: set | None =
|
|
228
|
+
override: set | None = set(),
|
|
229
|
+
tags: set | None = set(),
|
|
230
230
|
update: typing.Any | None = None,
|
|
231
231
|
get: typing.Any | None = None,
|
|
232
232
|
set: typing.Any | None = None,
|
|
@@ -316,8 +316,8 @@ def FloatProperty(
|
|
|
316
316
|
step: int | None = 3,
|
|
317
317
|
precision: int | None = 2,
|
|
318
318
|
options: set | None = {"ANIMATABLE"},
|
|
319
|
-
override: set | None =
|
|
320
|
-
tags: set | None =
|
|
319
|
+
override: set | None = set(),
|
|
320
|
+
tags: set | None = set(),
|
|
321
321
|
subtype: str | None = "NONE",
|
|
322
322
|
unit: str | None = "NONE",
|
|
323
323
|
update: typing.Any | None = None,
|
|
@@ -381,8 +381,8 @@ def FloatVectorProperty(
|
|
|
381
381
|
step: int | None = 3,
|
|
382
382
|
precision: int | None = 2,
|
|
383
383
|
options: set | None = {"ANIMATABLE"},
|
|
384
|
-
override: set | None =
|
|
385
|
-
tags: set | None =
|
|
384
|
+
override: set | None = set(),
|
|
385
|
+
tags: set | None = set(),
|
|
386
386
|
subtype: str | None = "NONE",
|
|
387
387
|
unit: str | None = "NONE",
|
|
388
388
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
@@ -450,8 +450,8 @@ def IntProperty(
|
|
|
450
450
|
soft_max: int | None = None,
|
|
451
451
|
step: int | None = 1,
|
|
452
452
|
options: set | None = {"ANIMATABLE"},
|
|
453
|
-
override: set | None =
|
|
454
|
-
tags: set | None =
|
|
453
|
+
override: set | None = set(),
|
|
454
|
+
tags: set | None = set(),
|
|
455
455
|
subtype: str | None = "NONE",
|
|
456
456
|
update: typing.Any | None = None,
|
|
457
457
|
get: typing.Any | None = None,
|
|
@@ -509,8 +509,8 @@ def IntVectorProperty(
|
|
|
509
509
|
soft_max: int | None = None,
|
|
510
510
|
step: int | None = 1,
|
|
511
511
|
options: set | None = {"ANIMATABLE"},
|
|
512
|
-
override: set | None =
|
|
513
|
-
tags: set | None =
|
|
512
|
+
override: set | None = set(),
|
|
513
|
+
tags: set | None = set(),
|
|
514
514
|
subtype: str | None = "NONE",
|
|
515
515
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
516
516
|
update: typing.Any | None = None,
|
|
@@ -568,8 +568,8 @@ def PointerProperty(
|
|
|
568
568
|
description: str | None = "",
|
|
569
569
|
translation_context: str | None = "*",
|
|
570
570
|
options: set | None = {"ANIMATABLE"},
|
|
571
|
-
override: set | None =
|
|
572
|
-
tags: set | None =
|
|
571
|
+
override: set | None = set(),
|
|
572
|
+
tags: set | None = set(),
|
|
573
573
|
poll: typing.Any | None = None,
|
|
574
574
|
update: typing.Any | None = None,
|
|
575
575
|
):
|
|
@@ -618,8 +618,8 @@ def StringProperty(
|
|
|
618
618
|
default: str | None = "",
|
|
619
619
|
maxlen: int | None = 0,
|
|
620
620
|
options: set | None = {"ANIMATABLE"},
|
|
621
|
-
override: set | None =
|
|
622
|
-
tags: set | None =
|
|
621
|
+
override: set | None = set(),
|
|
622
|
+
tags: set | None = set(),
|
|
623
623
|
subtype: str | None = "NONE",
|
|
624
624
|
update: typing.Any | None = None,
|
|
625
625
|
get: typing.Any | None = None,
|
bpy/types/__init__.pyi
CHANGED
|
@@ -98878,7 +98878,7 @@ class bpy_struct(typing.Generic[GenericType1]):
|
|
|
98878
98878
|
index: int | None = -1,
|
|
98879
98879
|
frame: float | None = None,
|
|
98880
98880
|
group: str | None = "",
|
|
98881
|
-
options=
|
|
98881
|
+
options: set | None = set(),
|
|
98882
98882
|
keytype: str | None = "KEYFRAME",
|
|
98883
98883
|
) -> bool:
|
|
98884
98884
|
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.This is the most simple example of inserting a keyframe from python.Note that when keying data paths which contain nested properties this must be
|
|
@@ -98907,6 +98907,7 @@ class bpy_struct(typing.Generic[GenericType1]):
|
|
|
98907
98907
|
INSERTKEY_AVAILABLE Only insert into already existing F-Curves.
|
|
98908
98908
|
|
|
98909
98909
|
INSERTKEY_CYCLE_AWARE Take cyclic extrapolation into account (Cycle-Aware Keying option).
|
|
98910
|
+
:type options: set | None
|
|
98910
98911
|
:param keytype: Type of the key: 'KEYFRAME', 'BREAKDOWN', 'MOVING_HOLD', 'EXTREME', 'JITTER', or 'GENERATED'
|
|
98911
98912
|
:type keytype: str | None
|
|
98912
98913
|
:return: Success of keyframe insertion.
|
|
@@ -106203,6 +106204,12 @@ class BrushGpencilSettings(bpy_struct):
|
|
|
106203
106204
|
:type: float
|
|
106204
106205
|
"""
|
|
106205
106206
|
|
|
106207
|
+
simplify_pixel_threshold: float
|
|
106208
|
+
""" Threashold in screen space used for the simplify algorithm. Points within this threashold are treated as if they were in a straight line
|
|
106209
|
+
|
|
106210
|
+
:type: float
|
|
106211
|
+
"""
|
|
106212
|
+
|
|
106206
106213
|
use_active_layer_only: bool
|
|
106207
106214
|
""" Only edit the active layer of the object
|
|
106208
106215
|
|
|
@@ -134420,6 +134427,12 @@ class PreferencesSystem(bpy_struct):
|
|
|
134420
134427
|
:type: mathutils.Color
|
|
134421
134428
|
"""
|
|
134422
134429
|
|
|
134430
|
+
max_shader_compilation_subprocesses: int
|
|
134431
|
+
""" Max number of parallel shader compilation subprocesses, clamped at the max threads supported by the CPU (requires restarting Blender for changes to take effect). Setting it to 0 disables subprocess shader compilation
|
|
134432
|
+
|
|
134433
|
+
:type: int
|
|
134434
|
+
"""
|
|
134435
|
+
|
|
134423
134436
|
memory_cache_limit: int
|
|
134424
134437
|
""" Memory cache limit (in megabytes)
|
|
134425
134438
|
|
|
@@ -142040,6 +142053,12 @@ class SpaceNodeOverlay(bpy_struct):
|
|
|
142040
142053
|
:type: bool
|
|
142041
142054
|
"""
|
|
142042
142055
|
|
|
142056
|
+
show_reroute_auto_labels: bool
|
|
142057
|
+
""" Label reroute nodes based on the label of connected reroute nodes
|
|
142058
|
+
|
|
142059
|
+
:type: bool
|
|
142060
|
+
"""
|
|
142061
|
+
|
|
142043
142062
|
show_timing: bool
|
|
142044
142063
|
""" Display each node's last execution time
|
|
142045
142064
|
|
|
@@ -233580,6 +233599,8 @@ IMAGE_MT_view_pie: bl_ui.space_image.IMAGE_MT_view_pie
|
|
|
233580
233599
|
|
|
233581
233600
|
IMAGE_MT_view_zoom: bl_ui.space_image.IMAGE_MT_view_zoom
|
|
233582
233601
|
|
|
233602
|
+
IMAGE_OT_convert_to_mesh_plane: bl_operators.image_as_planes.IMAGE_OT_convert_to_mesh_plane
|
|
233603
|
+
|
|
233583
233604
|
IMAGE_OT_import_as_mesh_planes: bl_operators.image_as_planes.IMAGE_OT_import_as_mesh_planes
|
|
233584
233605
|
|
|
233585
233606
|
IMAGE_OT_open_images: bl_operators.image.IMAGE_OT_open_images
|
bpy_extras/io_utils/__init__.pyi
CHANGED
|
@@ -221,7 +221,7 @@ def path_reference(
|
|
|
221
221
|
|
|
222
222
|
...
|
|
223
223
|
|
|
224
|
-
def path_reference_copy(copy_set: set, report: typing.Any =
|
|
224
|
+
def path_reference_copy(copy_set: set, report: typing.Any = print):
|
|
225
225
|
"""Execute copying files of path_reference
|
|
226
226
|
|
|
227
227
|
:param copy_set: set of (from, to) pairs to copy.
|