fake-bpy-module 20240518__py3-none-any.whl → 20240519__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_internal/__init__.pyi +2 -1
- _bpy_internal/freedesktop/__init__.pyi +2 -1
- addon_utils/__init__.pyi +2 -1
- animsys_refactor/__init__.pyi +2 -1
- aud/__init__.pyi +2 -1
- bgl/__init__.pyi +2 -1
- bl_app_override/__init__.pyi +2 -1
- bl_app_override/helpers/__init__.pyi +2 -1
- bl_app_template_utils/__init__.pyi +2 -1
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +2 -1
- bl_i18n_utils/merge_po/__init__.pyi +2 -1
- bl_i18n_utils/settings/__init__.pyi +2 -1
- bl_i18n_utils/utils/__init__.pyi +2 -1
- bl_i18n_utils/utils_cli/__init__.pyi +2 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +2 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -1
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +2 -1
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/anim/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +2 -1
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +2 -1
- bl_operators/clip/__init__.pyi +2 -1
- bl_operators/console/__init__.pyi +2 -1
- bl_operators/constraint/__init__.pyi +2 -1
- bl_operators/file/__init__.pyi +2 -1
- bl_operators/freestyle/__init__.pyi +2 -1
- bl_operators/geometry_nodes/__init__.pyi +2 -1
- bl_operators/image/__init__.pyi +2 -1
- bl_operators/mesh/__init__.pyi +2 -1
- bl_operators/node/__init__.pyi +2 -1
- bl_operators/object/__init__.pyi +2 -1
- bl_operators/object_align/__init__.pyi +2 -1
- bl_operators/object_quick_effects/__init__.pyi +2 -1
- bl_operators/object_randomize_transform/__init__.pyi +2 -1
- bl_operators/presets/__init__.pyi +2 -1
- bl_operators/rigidbody/__init__.pyi +2 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -1
- bl_operators/sequencer/__init__.pyi +2 -1
- bl_operators/spreadsheet/__init__.pyi +2 -1
- bl_operators/userpref/__init__.pyi +2 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +2 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +2 -1
- bl_operators/uvcalc_transform/__init__.pyi +2 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -1
- bl_operators/view3d/__init__.pyi +2 -1
- bl_operators/wm/__init__.pyi +2 -1
- bl_operators/world/__init__.pyi +2 -1
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +2 -1
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -1
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +2 -1
- bl_ui/__init__.pyi +2 -1
- bl_ui/anim/__init__.pyi +2 -1
- bl_ui/asset_shelf/__init__.pyi +2 -1
- bl_ui/generic_ui_list/__init__.pyi +2 -1
- bl_ui/node_add_menu/__init__.pyi +2 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +2 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +2 -1
- bl_ui/node_add_menu_shader/__init__.pyi +2 -1
- bl_ui/node_add_menu_texture/__init__.pyi +2 -1
- bl_ui/properties_animviz/__init__.pyi +2 -1
- bl_ui/properties_collection/__init__.pyi +2 -1
- bl_ui/properties_constraint/__init__.pyi +2 -1
- bl_ui/properties_data_armature/__init__.pyi +2 -1
- bl_ui/properties_data_bone/__init__.pyi +2 -1
- bl_ui/properties_data_camera/__init__.pyi +2 -1
- bl_ui/properties_data_curve/__init__.pyi +2 -1
- bl_ui/properties_data_curves/__init__.pyi +2 -1
- bl_ui/properties_data_empty/__init__.pyi +2 -1
- bl_ui/properties_data_gpencil/__init__.pyi +2 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +2 -1
- bl_ui/properties_data_lattice/__init__.pyi +2 -1
- bl_ui/properties_data_light/__init__.pyi +2 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +2 -1
- bl_ui/properties_data_mesh/__init__.pyi +2 -1
- bl_ui/properties_data_metaball/__init__.pyi +2 -1
- bl_ui/properties_data_modifier/__init__.pyi +2 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +2 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -1
- bl_ui/properties_data_speaker/__init__.pyi +2 -1
- bl_ui/properties_data_volume/__init__.pyi +2 -1
- bl_ui/properties_freestyle/__init__.pyi +2 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +2 -1
- bl_ui/properties_mask_common/__init__.pyi +2 -1
- bl_ui/properties_material/__init__.pyi +2 -1
- bl_ui/properties_material_gpencil/__init__.pyi +2 -1
- bl_ui/properties_object/__init__.pyi +2 -1
- bl_ui/properties_output/__init__.pyi +2 -1
- bl_ui/properties_paint_common/__init__.pyi +2 -1
- bl_ui/properties_particle/__init__.pyi +2 -1
- bl_ui/properties_physics_cloth/__init__.pyi +2 -1
- bl_ui/properties_physics_common/__init__.pyi +2 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -1
- bl_ui/properties_physics_field/__init__.pyi +2 -1
- bl_ui/properties_physics_fluid/__init__.pyi +2 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -1
- bl_ui/properties_physics_softbody/__init__.pyi +2 -1
- bl_ui/properties_render/__init__.pyi +2 -1
- bl_ui/properties_scene/__init__.pyi +2 -1
- bl_ui/properties_texture/__init__.pyi +2 -1
- bl_ui/properties_view_layer/__init__.pyi +2 -1
- bl_ui/properties_workspace/__init__.pyi +2 -1
- bl_ui/properties_world/__init__.pyi +2 -1
- bl_ui/space_clip/__init__.pyi +2 -1
- bl_ui/space_console/__init__.pyi +2 -1
- bl_ui/space_dopesheet/__init__.pyi +2 -1
- bl_ui/space_filebrowser/__init__.pyi +2 -1
- bl_ui/space_graph/__init__.pyi +2 -1
- bl_ui/space_image/__init__.pyi +2 -1
- bl_ui/space_info/__init__.pyi +2 -1
- bl_ui/space_nla/__init__.pyi +2 -1
- bl_ui/space_node/__init__.pyi +2 -1
- bl_ui/space_outliner/__init__.pyi +2 -1
- bl_ui/space_properties/__init__.pyi +2 -1
- bl_ui/space_sequencer/__init__.pyi +2 -1
- bl_ui/space_spreadsheet/__init__.pyi +2 -1
- bl_ui/space_statusbar/__init__.pyi +2 -1
- bl_ui/space_text/__init__.pyi +2 -1
- bl_ui/space_time/__init__.pyi +2 -1
- bl_ui/space_toolsystem_common/__init__.pyi +2 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -1
- bl_ui/space_topbar/__init__.pyi +2 -1
- bl_ui/space_userpref/__init__.pyi +2 -1
- bl_ui/space_view3d/__init__.pyi +2 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +2 -1
- bl_ui/temp_anim_layers/__init__.pyi +2 -1
- bl_ui/utils/__init__.pyi +2 -1
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +2 -1
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +2 -1
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +28 -27
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +188 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +131 -79
- bpy/utils/__init__.pyi +2 -1
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -1
- bpy_extras/asset_utils/__init__.pyi +2 -1
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +2 -1
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/keyconfig_utils/__init__.pyi +2 -1
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +2 -1
- bpy_extras/node_utils/__init__.pyi +2 -1
- bpy_extras/object_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +2 -1
- bpy_restrict_state/__init__.pyi +2 -1
- bpy_types/__init__.pyi +2 -1
- console_python/__init__.pyi +2 -1
- console_shell/__init__.pyi +2 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +2 -1
- freestyle/functions/__init__.pyi +2 -1
- freestyle/predicates/__init__.pyi +2 -1
- freestyle/shaders/__init__.pyi +2 -1
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +2 -1
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +2 -1
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +2 -1
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -1
- keyingsets_builtins/__init__.pyi +2 -1
- keyingsets_utils/__init__.pyi +2 -1
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -1
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +2 -1
- nodeitems_utils/__init__.pyi +2 -1
- rna_info/__init__.pyi +2 -1
- rna_keymap_ui/__init__.pyi +2 -1
- rna_prop_ui/__init__.pyi +2 -1
- rna_xml/__init__.pyi +2 -1
- sys_info/__init__.pyi +2 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/wm/__init__.pyi
CHANGED
|
@@ -2,7 +2,8 @@ import typing
|
|
|
2
2
|
import bl_operators.wm
|
|
3
3
|
import bpy.types
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
7
|
|
|
7
8
|
def alembic_export(
|
|
8
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -28,8 +29,8 @@ def alembic_export(
|
|
|
28
29
|
filter_folder: bool | typing.Any | None = True,
|
|
29
30
|
filter_blenlib: bool | typing.Any | None = False,
|
|
30
31
|
filemode: typing.Any | None = 8,
|
|
31
|
-
display_type:
|
|
32
|
-
sort_method: str | int |
|
|
32
|
+
display_type: str | int | None = "DEFAULT",
|
|
33
|
+
sort_method: str | int | None = "",
|
|
33
34
|
filter_glob: str | typing.Any = "*.abc",
|
|
34
35
|
start: typing.Any | None = -2147483648,
|
|
35
36
|
end: typing.Any | None = -2147483648,
|
|
@@ -59,7 +60,7 @@ def alembic_export(
|
|
|
59
60
|
export_particles: bool | typing.Any | None = True,
|
|
60
61
|
export_custom_properties: bool | typing.Any | None = True,
|
|
61
62
|
as_background_job: bool | typing.Any | None = False,
|
|
62
|
-
evaluation_mode:
|
|
63
|
+
evaluation_mode: str | int | None = "RENDER",
|
|
63
64
|
init_scene_frame_range: bool | typing.Any | None = True,
|
|
64
65
|
):
|
|
65
66
|
"""Export current scene in an Alembic archive
|
|
@@ -120,9 +121,9 @@ def alembic_export(
|
|
|
120
121
|
|
|
121
122
|
THUMBNAIL
|
|
122
123
|
Thumbnails -- Display files as thumbnails.
|
|
123
|
-
:type display_type:
|
|
124
|
+
:type display_type: str | int | None
|
|
124
125
|
:param sort_method: File sorting mode
|
|
125
|
-
:type sort_method: str | int |
|
|
126
|
+
:type sort_method: str | int | None
|
|
126
127
|
:type filter_glob: str | typing.Any
|
|
127
128
|
:param start: Start Frame, Start frame of the export, use the default value to take the start frame of the current scene
|
|
128
129
|
:type start: typing.Any | None
|
|
@@ -187,7 +188,7 @@ def alembic_export(
|
|
|
187
188
|
|
|
188
189
|
VIEWPORT
|
|
189
190
|
Viewport -- Use Viewport settings for object visibility, modifier settings, etc.
|
|
190
|
-
:type evaluation_mode:
|
|
191
|
+
:type evaluation_mode: str | int | None
|
|
191
192
|
:type init_scene_frame_range: bool | typing.Any | None
|
|
192
193
|
"""
|
|
193
194
|
|
|
@@ -218,8 +219,8 @@ def alembic_import(
|
|
|
218
219
|
filter_blenlib: bool | typing.Any | None = False,
|
|
219
220
|
filemode: typing.Any | None = 8,
|
|
220
221
|
relative_path: bool | typing.Any | None = True,
|
|
221
|
-
display_type:
|
|
222
|
-
sort_method: str | int |
|
|
222
|
+
display_type: str | int | None = "DEFAULT",
|
|
223
|
+
sort_method: str | int | None = "",
|
|
223
224
|
filter_glob: str | typing.Any = "*.abc",
|
|
224
225
|
scale: typing.Any | None = 1.0,
|
|
225
226
|
set_frame_range: bool | typing.Any | None = True,
|
|
@@ -288,9 +289,9 @@ def alembic_import(
|
|
|
288
289
|
|
|
289
290
|
THUMBNAIL
|
|
290
291
|
Thumbnails -- Display files as thumbnails.
|
|
291
|
-
:type display_type:
|
|
292
|
+
:type display_type: str | int | None
|
|
292
293
|
:param sort_method: File sorting mode
|
|
293
|
-
:type sort_method: str | int |
|
|
294
|
+
:type sort_method: str | int | None
|
|
294
295
|
:type filter_glob: str | typing.Any
|
|
295
296
|
:param scale: Scale, Value by which to enlarge or shrink the objects with respect to the world's origin
|
|
296
297
|
:type scale: typing.Any | None
|
|
@@ -336,8 +337,8 @@ def append(
|
|
|
336
337
|
filter_folder: bool | typing.Any | None = True,
|
|
337
338
|
filter_blenlib: bool | typing.Any | None = True,
|
|
338
339
|
filemode: typing.Any | None = 1,
|
|
339
|
-
display_type:
|
|
340
|
-
sort_method: str | int |
|
|
340
|
+
display_type: str | int | None = "DEFAULT",
|
|
341
|
+
sort_method: str | int | None = "",
|
|
341
342
|
link: bool | typing.Any | None = False,
|
|
342
343
|
do_reuse_local_id: bool | typing.Any | None = False,
|
|
343
344
|
clear_asset_data: bool | typing.Any | None = False,
|
|
@@ -412,9 +413,9 @@ def append(
|
|
|
412
413
|
|
|
413
414
|
THUMBNAIL
|
|
414
415
|
Thumbnails -- Display files as thumbnails.
|
|
415
|
-
:type display_type:
|
|
416
|
+
:type display_type: str | int | None
|
|
416
417
|
:param sort_method: File sorting mode
|
|
417
|
-
:type sort_method: str | int |
|
|
418
|
+
:type sort_method: str | int | None
|
|
418
419
|
:param link: Link, Link the objects or data-blocks rather than appending
|
|
419
420
|
:type link: bool | typing.Any | None
|
|
420
421
|
:param do_reuse_local_id: Re-Use Local Data, Try to re-use previously matching appended data-blocks instead of appending a new copy
|
|
@@ -441,8 +442,8 @@ def batch_rename(
|
|
|
441
442
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
442
443
|
execution_context: str | int | None = None,
|
|
443
444
|
undo: bool | None = None,
|
|
444
|
-
data_type:
|
|
445
|
-
data_source:
|
|
445
|
+
data_type: str | int | None = "OBJECT",
|
|
446
|
+
data_source: str | int | None = "SELECT",
|
|
446
447
|
actions: bpy.types.bpy_prop_collection[bl_operators.wm.BatchRenameAction]
|
|
447
448
|
| None = None,
|
|
448
449
|
):
|
|
@@ -452,9 +453,9 @@ def batch_rename(
|
|
|
452
453
|
:type execution_context: str | int | None
|
|
453
454
|
:type undo: bool | None
|
|
454
455
|
:param data_type: Type, Type of data to rename
|
|
455
|
-
:type data_type:
|
|
456
|
+
:type data_type: str | int | None
|
|
456
457
|
:param data_source: Source
|
|
457
|
-
:type data_source:
|
|
458
|
+
:type data_source: str | int | None
|
|
458
459
|
:param actions: actions
|
|
459
460
|
:type actions: bpy.types.bpy_prop_collection[bl_operators.wm.BatchRenameAction] | None
|
|
460
461
|
"""
|
|
@@ -567,15 +568,15 @@ def collada_export(
|
|
|
567
568
|
filter_folder: bool | typing.Any | None = True,
|
|
568
569
|
filter_blenlib: bool | typing.Any | None = False,
|
|
569
570
|
filemode: typing.Any | None = 8,
|
|
570
|
-
display_type:
|
|
571
|
-
sort_method: str | int |
|
|
571
|
+
display_type: str | int | None = "DEFAULT",
|
|
572
|
+
sort_method: str | int | None = "",
|
|
572
573
|
filter_glob: str | typing.Any = "*.dae",
|
|
573
|
-
prop_bc_export_ui_section:
|
|
574
|
+
prop_bc_export_ui_section: str | int | None = "main",
|
|
574
575
|
apply_modifiers: bool | typing.Any | None = False,
|
|
575
576
|
export_mesh_type: typing.Any | None = 0,
|
|
576
|
-
export_mesh_type_selection:
|
|
577
|
-
export_global_forward_selection:
|
|
578
|
-
export_global_up_selection:
|
|
577
|
+
export_mesh_type_selection: str | int | None = "view",
|
|
578
|
+
export_global_forward_selection: str | int | None = "Y",
|
|
579
|
+
export_global_up_selection: str | int | None = "Z",
|
|
579
580
|
apply_global_orientation: bool | typing.Any | None = False,
|
|
580
581
|
selected: bool | typing.Any | None = False,
|
|
581
582
|
include_children: bool | typing.Any | None = False,
|
|
@@ -584,7 +585,7 @@ def collada_export(
|
|
|
584
585
|
deform_bones_only: bool | typing.Any | None = False,
|
|
585
586
|
include_animations: bool | typing.Any | None = True,
|
|
586
587
|
include_all_actions: bool | typing.Any | None = True,
|
|
587
|
-
export_animation_type_selection:
|
|
588
|
+
export_animation_type_selection: str | int | None = "sample",
|
|
588
589
|
sampling_rate: typing.Any | None = 1,
|
|
589
590
|
keep_smooth_curves: bool | typing.Any | None = False,
|
|
590
591
|
keep_keyframes: bool | typing.Any | None = False,
|
|
@@ -596,9 +597,9 @@ def collada_export(
|
|
|
596
597
|
use_blender_profile: bool | typing.Any | None = True,
|
|
597
598
|
sort_by_name: bool | typing.Any | None = False,
|
|
598
599
|
export_object_transformation_type: typing.Any | None = 0,
|
|
599
|
-
export_object_transformation_type_selection:
|
|
600
|
+
export_object_transformation_type_selection: str | int | None = "matrix",
|
|
600
601
|
export_animation_transformation_type: typing.Any | None = 0,
|
|
601
|
-
export_animation_transformation_type_selection:
|
|
602
|
+
export_animation_transformation_type_selection: str | int | None = "matrix",
|
|
602
603
|
open_sim: bool | typing.Any | None = False,
|
|
603
604
|
limit_precision: bool | typing.Any | None = False,
|
|
604
605
|
keep_bind_info: bool | typing.Any | None = False,
|
|
@@ -661,9 +662,9 @@ def collada_export(
|
|
|
661
662
|
|
|
662
663
|
THUMBNAIL
|
|
663
664
|
Thumbnails -- Display files as thumbnails.
|
|
664
|
-
:type display_type:
|
|
665
|
+
:type display_type: str | int | None
|
|
665
666
|
:param sort_method: File sorting mode
|
|
666
|
-
:type sort_method: str | int |
|
|
667
|
+
:type sort_method: str | int | None
|
|
667
668
|
:type filter_glob: str | typing.Any
|
|
668
669
|
:param prop_bc_export_ui_section: Export Section, Only for User Interface organization
|
|
669
670
|
|
|
@@ -681,7 +682,7 @@ def collada_export(
|
|
|
681
682
|
|
|
682
683
|
collada
|
|
683
684
|
Extra -- Collada export section.
|
|
684
|
-
:type prop_bc_export_ui_section:
|
|
685
|
+
:type prop_bc_export_ui_section: str | int | None
|
|
685
686
|
:param apply_modifiers: Apply Modifiers, Apply modifiers to exported mesh (non destructive)
|
|
686
687
|
:type apply_modifiers: bool | typing.Any | None
|
|
687
688
|
:param export_mesh_type: Resolution, Modifier resolution for export
|
|
@@ -693,7 +694,7 @@ def collada_export(
|
|
|
693
694
|
|
|
694
695
|
render
|
|
695
696
|
Render -- Apply modifier's render settings.
|
|
696
|
-
:type export_mesh_type_selection:
|
|
697
|
+
:type export_mesh_type_selection: str | int | None
|
|
697
698
|
:param export_global_forward_selection: Global Forward Axis, Global Forward axis for export
|
|
698
699
|
|
|
699
700
|
X
|
|
@@ -713,7 +714,7 @@ def collada_export(
|
|
|
713
714
|
|
|
714
715
|
-Z
|
|
715
716
|
-Z -- Global Forward is negative Z Axis.
|
|
716
|
-
:type export_global_forward_selection:
|
|
717
|
+
:type export_global_forward_selection: str | int | None
|
|
717
718
|
:param export_global_up_selection: Global Up Axis, Global Up axis for export
|
|
718
719
|
|
|
719
720
|
X
|
|
@@ -733,7 +734,7 @@ def collada_export(
|
|
|
733
734
|
|
|
734
735
|
-Z
|
|
735
736
|
-Z -- Global UP is negative Z Axis.
|
|
736
|
-
:type export_global_up_selection:
|
|
737
|
+
:type export_global_up_selection: str | int | None
|
|
737
738
|
:param apply_global_orientation: Apply Global Orientation, Rotate all root objects to match the global orientation settings otherwise set the global orientation per Collada asset
|
|
738
739
|
:type apply_global_orientation: bool | typing.Any | None
|
|
739
740
|
:param selected: Selection Only, Export only selected elements
|
|
@@ -757,7 +758,7 @@ def collada_export(
|
|
|
757
758
|
|
|
758
759
|
keys
|
|
759
760
|
Curves -- Export Curves (note: guided by curve keys).
|
|
760
|
-
:type export_animation_type_selection:
|
|
761
|
+
:type export_animation_type_selection: str | int | None
|
|
761
762
|
:param sampling_rate: Sampling Rate, The distance between 2 keyframes (1 to key every frame)
|
|
762
763
|
:type sampling_rate: typing.Any | None
|
|
763
764
|
:param keep_smooth_curves: Keep Smooth curves, Export also the curve handles (if available) (this does only work when the inverse parent matrix is the unity matrix, otherwise you may end up with odd results)
|
|
@@ -787,7 +788,7 @@ def collada_export(
|
|
|
787
788
|
|
|
788
789
|
decomposed
|
|
789
790
|
Decomposed -- Use <rotate>, <translate> and <scale> representation for exported transformations.
|
|
790
|
-
:type export_object_transformation_type_selection:
|
|
791
|
+
:type export_object_transformation_type_selection: str | int | None
|
|
791
792
|
:param export_animation_transformation_type: Transform, Transformation type for translation, scale and rotation. Note: The Animation transformation type in the Anim Tab is always equal to the Object transformation type in the Geom tab
|
|
792
793
|
:type export_animation_transformation_type: typing.Any | None
|
|
793
794
|
:param export_animation_transformation_type_selection: Transform, Transformation type for translation, scale and rotation. Note: The Animation transformation type in the Anim Tab is always equal to the Object transformation type in the Geom tab
|
|
@@ -797,7 +798,7 @@ def collada_export(
|
|
|
797
798
|
|
|
798
799
|
decomposed
|
|
799
800
|
Decomposed -- Use <rotate>, <translate> and <scale> representation for exported transformations.
|
|
800
|
-
:type export_animation_transformation_type_selection:
|
|
801
|
+
:type export_animation_transformation_type_selection: str | int | None
|
|
801
802
|
:param open_sim: Export to SL/OpenSim, Compatibility mode for Second Life, OpenSimulator and other compatible online worlds
|
|
802
803
|
:type open_sim: bool | typing.Any | None
|
|
803
804
|
:param limit_precision: Limit Precision, Reduce the precision of the exported data to 6 digits
|
|
@@ -832,8 +833,8 @@ def collada_import(
|
|
|
832
833
|
filter_folder: bool | typing.Any | None = True,
|
|
833
834
|
filter_blenlib: bool | typing.Any | None = False,
|
|
834
835
|
filemode: typing.Any | None = 8,
|
|
835
|
-
display_type:
|
|
836
|
-
sort_method: str | int |
|
|
836
|
+
display_type: str | int | None = "DEFAULT",
|
|
837
|
+
sort_method: str | int | None = "",
|
|
837
838
|
filter_glob: str | typing.Any = "*.dae",
|
|
838
839
|
import_units: bool | typing.Any | None = False,
|
|
839
840
|
custom_normals: bool | typing.Any | None = True,
|
|
@@ -901,9 +902,9 @@ def collada_import(
|
|
|
901
902
|
|
|
902
903
|
THUMBNAIL
|
|
903
904
|
Thumbnails -- Display files as thumbnails.
|
|
904
|
-
:type display_type:
|
|
905
|
+
:type display_type: str | int | None
|
|
905
906
|
:param sort_method: File sorting mode
|
|
906
|
-
:type sort_method: str | int |
|
|
907
|
+
:type sort_method: str | int | None
|
|
907
908
|
:type filter_glob: str | typing.Any
|
|
908
909
|
:param import_units: Import Units, If disabled match import to Blender's current Unit settings, otherwise use the settings from the Imported scene
|
|
909
910
|
:type import_units: bool | typing.Any | None
|
|
@@ -943,7 +944,7 @@ def context_collection_boolean_set(
|
|
|
943
944
|
undo: bool | None = None,
|
|
944
945
|
data_path_iter: str | typing.Any = "",
|
|
945
946
|
data_path_item: str | typing.Any = "",
|
|
946
|
-
type:
|
|
947
|
+
type: str | int | None = "TOGGLE",
|
|
947
948
|
):
|
|
948
949
|
"""Set boolean values for a collection of items
|
|
949
950
|
|
|
@@ -955,7 +956,7 @@ def context_collection_boolean_set(
|
|
|
955
956
|
:param data_path_item: data_path_item, The data path from each iterable to the value (int or float)
|
|
956
957
|
:type data_path_item: str | typing.Any
|
|
957
958
|
:param type: Type
|
|
958
|
-
:type type:
|
|
959
|
+
:type type: str | int | None
|
|
959
960
|
"""
|
|
960
961
|
|
|
961
962
|
...
|
|
@@ -1451,13 +1452,13 @@ def gpencil_export_pdf(
|
|
|
1451
1452
|
filter_folder: bool | typing.Any | None = True,
|
|
1452
1453
|
filter_blenlib: bool | typing.Any | None = False,
|
|
1453
1454
|
filemode: typing.Any | None = 8,
|
|
1454
|
-
display_type:
|
|
1455
|
-
sort_method: str | int |
|
|
1455
|
+
display_type: str | int | None = "DEFAULT",
|
|
1456
|
+
sort_method: str | int | None = "",
|
|
1456
1457
|
use_fill: bool | typing.Any | None = True,
|
|
1457
|
-
selected_object_type:
|
|
1458
|
+
selected_object_type: str | int | None = "SELECTED",
|
|
1458
1459
|
stroke_sample: typing.Any | None = 0.0,
|
|
1459
1460
|
use_normalized_thickness: bool | typing.Any | None = False,
|
|
1460
|
-
frame_mode:
|
|
1461
|
+
frame_mode: str | int | None = "ACTIVE",
|
|
1461
1462
|
):
|
|
1462
1463
|
"""Export grease pencil to PDF
|
|
1463
1464
|
|
|
@@ -1517,9 +1518,9 @@ def gpencil_export_pdf(
|
|
|
1517
1518
|
|
|
1518
1519
|
THUMBNAIL
|
|
1519
1520
|
Thumbnails -- Display files as thumbnails.
|
|
1520
|
-
:type display_type:
|
|
1521
|
+
:type display_type: str | int | None
|
|
1521
1522
|
:param sort_method: File sorting mode
|
|
1522
|
-
:type sort_method: str | int |
|
|
1523
|
+
:type sort_method: str | int | None
|
|
1523
1524
|
:param use_fill: Fill, Export strokes with fill enabled
|
|
1524
1525
|
:type use_fill: bool | typing.Any | None
|
|
1525
1526
|
:param selected_object_type: Object, Which objects to include in the export
|
|
@@ -1532,7 +1533,7 @@ def gpencil_export_pdf(
|
|
|
1532
1533
|
|
|
1533
1534
|
VISIBLE
|
|
1534
1535
|
Visible -- Include all visible objects.
|
|
1535
|
-
:type selected_object_type:
|
|
1536
|
+
:type selected_object_type: str | int | None
|
|
1536
1537
|
:param stroke_sample: Sampling, Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling
|
|
1537
1538
|
:type stroke_sample: typing.Any | None
|
|
1538
1539
|
:param use_normalized_thickness: Normalize, Export strokes with constant thickness
|
|
@@ -1547,7 +1548,7 @@ def gpencil_export_pdf(
|
|
|
1547
1548
|
|
|
1548
1549
|
SCENE
|
|
1549
1550
|
Scene -- Include all scene frames.
|
|
1550
|
-
:type frame_mode:
|
|
1551
|
+
:type frame_mode: str | int | None
|
|
1551
1552
|
"""
|
|
1552
1553
|
|
|
1553
1554
|
...
|
|
@@ -1576,10 +1577,10 @@ def gpencil_export_svg(
|
|
|
1576
1577
|
filter_folder: bool | typing.Any | None = True,
|
|
1577
1578
|
filter_blenlib: bool | typing.Any | None = False,
|
|
1578
1579
|
filemode: typing.Any | None = 8,
|
|
1579
|
-
display_type:
|
|
1580
|
-
sort_method: str | int |
|
|
1580
|
+
display_type: str | int | None = "DEFAULT",
|
|
1581
|
+
sort_method: str | int | None = "",
|
|
1581
1582
|
use_fill: bool | typing.Any | None = True,
|
|
1582
|
-
selected_object_type:
|
|
1583
|
+
selected_object_type: str | int | None = "SELECTED",
|
|
1583
1584
|
stroke_sample: typing.Any | None = 0.0,
|
|
1584
1585
|
use_normalized_thickness: bool | typing.Any | None = False,
|
|
1585
1586
|
use_clip_camera: bool | typing.Any | None = False,
|
|
@@ -1642,9 +1643,9 @@ def gpencil_export_svg(
|
|
|
1642
1643
|
|
|
1643
1644
|
THUMBNAIL
|
|
1644
1645
|
Thumbnails -- Display files as thumbnails.
|
|
1645
|
-
:type display_type:
|
|
1646
|
+
:type display_type: str | int | None
|
|
1646
1647
|
:param sort_method: File sorting mode
|
|
1647
|
-
:type sort_method: str | int |
|
|
1648
|
+
:type sort_method: str | int | None
|
|
1648
1649
|
:param use_fill: Fill, Export strokes with fill enabled
|
|
1649
1650
|
:type use_fill: bool | typing.Any | None
|
|
1650
1651
|
:param selected_object_type: Object, Which objects to include in the export
|
|
@@ -1657,7 +1658,7 @@ def gpencil_export_svg(
|
|
|
1657
1658
|
|
|
1658
1659
|
VISIBLE
|
|
1659
1660
|
Visible -- Include all visible objects.
|
|
1660
|
-
:type selected_object_type:
|
|
1661
|
+
:type selected_object_type: str | int | None
|
|
1661
1662
|
:param stroke_sample: Sampling, Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling
|
|
1662
1663
|
:type stroke_sample: typing.Any | None
|
|
1663
1664
|
:param use_normalized_thickness: Normalize, Export strokes with constant thickness
|
|
@@ -1696,8 +1697,8 @@ def gpencil_import_svg(
|
|
|
1696
1697
|
filter_blenlib: bool | typing.Any | None = False,
|
|
1697
1698
|
filemode: typing.Any | None = 8,
|
|
1698
1699
|
relative_path: bool | typing.Any | None = True,
|
|
1699
|
-
display_type:
|
|
1700
|
-
sort_method: str | int |
|
|
1700
|
+
display_type: str | int | None = "DEFAULT",
|
|
1701
|
+
sort_method: str | int | None = "",
|
|
1701
1702
|
resolution: typing.Any | None = 10,
|
|
1702
1703
|
scale: typing.Any | None = 10.0,
|
|
1703
1704
|
):
|
|
@@ -1765,9 +1766,9 @@ def gpencil_import_svg(
|
|
|
1765
1766
|
|
|
1766
1767
|
THUMBNAIL
|
|
1767
1768
|
Thumbnails -- Display files as thumbnails.
|
|
1768
|
-
:type display_type:
|
|
1769
|
+
:type display_type: str | int | None
|
|
1769
1770
|
:param sort_method: File sorting mode
|
|
1770
|
-
:type sort_method: str | int |
|
|
1771
|
+
:type sort_method: str | int | None
|
|
1771
1772
|
:param resolution: Resolution, Resolution of the generated strokes
|
|
1772
1773
|
:type resolution: typing.Any | None
|
|
1773
1774
|
:param scale: Scale, Scale of the final strokes
|
|
@@ -1920,8 +1921,8 @@ def lib_reload(
|
|
|
1920
1921
|
filter_blenlib: bool | typing.Any | None = False,
|
|
1921
1922
|
filemode: typing.Any | None = 8,
|
|
1922
1923
|
relative_path: bool | typing.Any | None = True,
|
|
1923
|
-
display_type:
|
|
1924
|
-
sort_method: str | int |
|
|
1924
|
+
display_type: str | int | None = "DEFAULT",
|
|
1925
|
+
sort_method: str | int | None = "",
|
|
1925
1926
|
):
|
|
1926
1927
|
"""Reload the given library
|
|
1927
1928
|
|
|
@@ -1991,9 +1992,9 @@ def lib_reload(
|
|
|
1991
1992
|
|
|
1992
1993
|
THUMBNAIL
|
|
1993
1994
|
Thumbnails -- Display files as thumbnails.
|
|
1994
|
-
:type display_type:
|
|
1995
|
+
:type display_type: str | int | None
|
|
1995
1996
|
:param sort_method: File sorting mode
|
|
1996
|
-
:type sort_method: str | int |
|
|
1997
|
+
:type sort_method: str | int | None
|
|
1997
1998
|
"""
|
|
1998
1999
|
|
|
1999
2000
|
...
|
|
@@ -2029,8 +2030,8 @@ def lib_relocate(
|
|
|
2029
2030
|
filter_blenlib: bool | typing.Any | None = False,
|
|
2030
2031
|
filemode: typing.Any | None = 8,
|
|
2031
2032
|
relative_path: bool | typing.Any | None = True,
|
|
2032
|
-
display_type:
|
|
2033
|
-
sort_method: str | int |
|
|
2033
|
+
display_type: str | int | None = "DEFAULT",
|
|
2034
|
+
sort_method: str | int | None = "",
|
|
2034
2035
|
):
|
|
2035
2036
|
"""Relocate the given library to one or several others
|
|
2036
2037
|
|
|
@@ -2102,9 +2103,9 @@ def lib_relocate(
|
|
|
2102
2103
|
|
|
2103
2104
|
THUMBNAIL
|
|
2104
2105
|
Thumbnails -- Display files as thumbnails.
|
|
2105
|
-
:type display_type:
|
|
2106
|
+
:type display_type: str | int | None
|
|
2106
2107
|
:param sort_method: File sorting mode
|
|
2107
|
-
:type sort_method: str | int |
|
|
2108
|
+
:type sort_method: str | int | None
|
|
2108
2109
|
"""
|
|
2109
2110
|
|
|
2110
2111
|
...
|
|
@@ -2138,8 +2139,8 @@ def link(
|
|
|
2138
2139
|
filter_blenlib: bool | typing.Any | None = True,
|
|
2139
2140
|
filemode: typing.Any | None = 1,
|
|
2140
2141
|
relative_path: bool | typing.Any | None = True,
|
|
2141
|
-
display_type:
|
|
2142
|
-
sort_method: str | int |
|
|
2142
|
+
display_type: str | int | None = "DEFAULT",
|
|
2143
|
+
sort_method: str | int | None = "",
|
|
2143
2144
|
link: bool | typing.Any | None = True,
|
|
2144
2145
|
do_reuse_local_id: bool | typing.Any | None = False,
|
|
2145
2146
|
clear_asset_data: bool | typing.Any | None = False,
|
|
@@ -2214,9 +2215,9 @@ def link(
|
|
|
2214
2215
|
|
|
2215
2216
|
THUMBNAIL
|
|
2216
2217
|
Thumbnails -- Display files as thumbnails.
|
|
2217
|
-
:type display_type:
|
|
2218
|
+
:type display_type: str | int | None
|
|
2218
2219
|
:param sort_method: File sorting mode
|
|
2219
|
-
:type sort_method: str | int |
|
|
2220
|
+
:type sort_method: str | int | None
|
|
2220
2221
|
:param link: Link, Link the objects or data-blocks rather than appending
|
|
2221
2222
|
:type link: bool | typing.Any | None
|
|
2222
2223
|
:param do_reuse_local_id: Re-Use Local Data, Try to re-use previously matching appended data-blocks instead of appending a new copy
|
|
@@ -2273,23 +2274,23 @@ def obj_export(
|
|
|
2273
2274
|
filter_folder: bool | typing.Any | None = True,
|
|
2274
2275
|
filter_blenlib: bool | typing.Any | None = False,
|
|
2275
2276
|
filemode: typing.Any | None = 8,
|
|
2276
|
-
display_type:
|
|
2277
|
-
sort_method: str | int |
|
|
2277
|
+
display_type: str | int | None = "DEFAULT",
|
|
2278
|
+
sort_method: str | int | None = "",
|
|
2278
2279
|
export_animation: bool | typing.Any | None = False,
|
|
2279
2280
|
start_frame: typing.Any | None = -2147483648,
|
|
2280
2281
|
end_frame: typing.Any | None = 2147483647,
|
|
2281
|
-
forward_axis:
|
|
2282
|
-
up_axis:
|
|
2282
|
+
forward_axis: str | int | None = "NEGATIVE_Z",
|
|
2283
|
+
up_axis: str | int | None = "Y",
|
|
2283
2284
|
global_scale: typing.Any | None = 1.0,
|
|
2284
2285
|
apply_modifiers: bool | typing.Any | None = True,
|
|
2285
|
-
export_eval_mode:
|
|
2286
|
+
export_eval_mode: str | int | None = "DAG_EVAL_VIEWPORT",
|
|
2286
2287
|
export_selected_objects: bool | typing.Any | None = False,
|
|
2287
2288
|
export_uv: bool | typing.Any | None = True,
|
|
2288
2289
|
export_normals: bool | typing.Any | None = True,
|
|
2289
2290
|
export_colors: bool | typing.Any | None = False,
|
|
2290
2291
|
export_materials: bool | typing.Any | None = True,
|
|
2291
2292
|
export_pbr_extensions: bool | typing.Any | None = False,
|
|
2292
|
-
path_mode:
|
|
2293
|
+
path_mode: str | int | None = "AUTO",
|
|
2293
2294
|
export_triangulated_mesh: bool | typing.Any | None = False,
|
|
2294
2295
|
export_curves_as_nurbs: bool | typing.Any | None = False,
|
|
2295
2296
|
export_object_groups: bool | typing.Any | None = False,
|
|
@@ -2358,9 +2359,9 @@ def obj_export(
|
|
|
2358
2359
|
|
|
2359
2360
|
THUMBNAIL
|
|
2360
2361
|
Thumbnails -- Display files as thumbnails.
|
|
2361
|
-
:type display_type:
|
|
2362
|
+
:type display_type: str | int | None
|
|
2362
2363
|
:param sort_method: File sorting mode
|
|
2363
|
-
:type sort_method: str | int |
|
|
2364
|
+
:type sort_method: str | int | None
|
|
2364
2365
|
:param export_animation: Export Animation, Export multiple frames instead of the current frame only
|
|
2365
2366
|
:type export_animation: bool | typing.Any | None
|
|
2366
2367
|
:param start_frame: Start Frame, The first frame to be exported
|
|
@@ -2386,7 +2387,7 @@ def obj_export(
|
|
|
2386
2387
|
|
|
2387
2388
|
NEGATIVE_Z
|
|
2388
2389
|
-Z -- Negative Z axis.
|
|
2389
|
-
:type forward_axis:
|
|
2390
|
+
:type forward_axis: str | int | None
|
|
2390
2391
|
:param up_axis: Up Axis
|
|
2391
2392
|
|
|
2392
2393
|
X
|
|
@@ -2406,7 +2407,7 @@ def obj_export(
|
|
|
2406
2407
|
|
|
2407
2408
|
NEGATIVE_Z
|
|
2408
2409
|
-Z -- Negative Z axis.
|
|
2409
|
-
:type up_axis:
|
|
2410
|
+
:type up_axis: str | int | None
|
|
2410
2411
|
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the world's origin
|
|
2411
2412
|
:type global_scale: typing.Any | None
|
|
2412
2413
|
:param apply_modifiers: Apply Modifiers, Apply modifiers to exported meshes
|
|
@@ -2418,7 +2419,7 @@ def obj_export(
|
|
|
2418
2419
|
|
|
2419
2420
|
DAG_EVAL_VIEWPORT
|
|
2420
2421
|
Viewport -- Export objects as they appear in the viewport.
|
|
2421
|
-
:type export_eval_mode:
|
|
2422
|
+
:type export_eval_mode: str | int | None
|
|
2422
2423
|
:param export_selected_objects: Export Selected Objects, Export only selected objects instead of all supported objects
|
|
2423
2424
|
:type export_selected_objects: bool | typing.Any | None
|
|
2424
2425
|
:param export_uv: Export UVs
|
|
@@ -2450,7 +2451,7 @@ def obj_export(
|
|
|
2450
2451
|
|
|
2451
2452
|
COPY
|
|
2452
2453
|
Copy -- Copy the file to the destination path.
|
|
2453
|
-
:type path_mode:
|
|
2454
|
+
:type path_mode: str | int | None
|
|
2454
2455
|
:param export_triangulated_mesh: Export Triangulated Mesh, All ngons with four or more vertices will be triangulated. Meshes in the scene will not be affected. Behaves like Triangulate Modifier with ngon-method: "Beauty", quad-method: "Shortest Diagonal", min vertices: 4
|
|
2455
2456
|
:type export_triangulated_mesh: bool | typing.Any | None
|
|
2456
2457
|
:param export_curves_as_nurbs: Export Curves as NURBS, Export curves in parametric form instead of exporting as mesh
|
|
@@ -2500,12 +2501,12 @@ def obj_import(
|
|
|
2500
2501
|
filter_folder: bool | typing.Any | None = True,
|
|
2501
2502
|
filter_blenlib: bool | typing.Any | None = False,
|
|
2502
2503
|
filemode: typing.Any | None = 8,
|
|
2503
|
-
display_type:
|
|
2504
|
-
sort_method: str | int |
|
|
2504
|
+
display_type: str | int | None = "DEFAULT",
|
|
2505
|
+
sort_method: str | int | None = "",
|
|
2505
2506
|
global_scale: typing.Any | None = 1.0,
|
|
2506
2507
|
clamp_size: typing.Any | None = 0.0,
|
|
2507
|
-
forward_axis:
|
|
2508
|
-
up_axis:
|
|
2508
|
+
forward_axis: str | int | None = "NEGATIVE_Z",
|
|
2509
|
+
up_axis: str | int | None = "Y",
|
|
2509
2510
|
use_split_objects: bool | typing.Any | None = True,
|
|
2510
2511
|
use_split_groups: bool | typing.Any | None = False,
|
|
2511
2512
|
import_vertex_groups: bool | typing.Any | None = False,
|
|
@@ -2575,9 +2576,9 @@ def obj_import(
|
|
|
2575
2576
|
|
|
2576
2577
|
THUMBNAIL
|
|
2577
2578
|
Thumbnails -- Display files as thumbnails.
|
|
2578
|
-
:type display_type:
|
|
2579
|
+
:type display_type: str | int | None
|
|
2579
2580
|
:param sort_method: File sorting mode
|
|
2580
|
-
:type sort_method: str | int |
|
|
2581
|
+
:type sort_method: str | int | None
|
|
2581
2582
|
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the world's origin
|
|
2582
2583
|
:type global_scale: typing.Any | None
|
|
2583
2584
|
:param clamp_size: Clamp Bounding Box, Resize the objects to keep bounding box under this value. Value 0 disables clamping
|
|
@@ -2601,7 +2602,7 @@ def obj_import(
|
|
|
2601
2602
|
|
|
2602
2603
|
NEGATIVE_Z
|
|
2603
2604
|
-Z -- Negative Z axis.
|
|
2604
|
-
:type forward_axis:
|
|
2605
|
+
:type forward_axis: str | int | None
|
|
2605
2606
|
:param up_axis: Up Axis
|
|
2606
2607
|
|
|
2607
2608
|
X
|
|
@@ -2621,7 +2622,7 @@ def obj_import(
|
|
|
2621
2622
|
|
|
2622
2623
|
NEGATIVE_Z
|
|
2623
2624
|
-Z -- Negative Z axis.
|
|
2624
|
-
:type up_axis:
|
|
2625
|
+
:type up_axis: str | int | None
|
|
2625
2626
|
:param use_split_objects: Split By Object, Import each OBJ 'o' as a separate object
|
|
2626
2627
|
:type use_split_objects: bool | typing.Any | None
|
|
2627
2628
|
:param use_split_groups: Split By Group, Import each OBJ 'g' as a separate object
|
|
@@ -2663,8 +2664,8 @@ def open_mainfile(
|
|
|
2663
2664
|
filter_folder: bool | typing.Any | None = True,
|
|
2664
2665
|
filter_blenlib: bool | typing.Any | None = False,
|
|
2665
2666
|
filemode: typing.Any | None = 8,
|
|
2666
|
-
display_type:
|
|
2667
|
-
sort_method: str | int |
|
|
2667
|
+
display_type: str | int | None = "DEFAULT",
|
|
2668
|
+
sort_method: str | int | None = "",
|
|
2668
2669
|
load_ui: bool | typing.Any | None = True,
|
|
2669
2670
|
use_scripts: bool | typing.Any | None = True,
|
|
2670
2671
|
display_file_selector: bool | typing.Any | None = True,
|
|
@@ -2730,9 +2731,9 @@ def open_mainfile(
|
|
|
2730
2731
|
|
|
2731
2732
|
THUMBNAIL
|
|
2732
2733
|
Thumbnails -- Display files as thumbnails.
|
|
2733
|
-
:type display_type:
|
|
2734
|
+
:type display_type: str | int | None
|
|
2734
2735
|
:param sort_method: File sorting mode
|
|
2735
|
-
:type sort_method: str | int |
|
|
2736
|
+
:type sort_method: str | int | None
|
|
2736
2737
|
:param load_ui: Load UI, Load user interface setup in the .blend file
|
|
2737
2738
|
:type load_ui: bool | typing.Any | None
|
|
2738
2739
|
:param use_scripts: Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences
|
|
@@ -2915,17 +2916,17 @@ def ply_export(
|
|
|
2915
2916
|
filter_folder: bool | typing.Any | None = True,
|
|
2916
2917
|
filter_blenlib: bool | typing.Any | None = False,
|
|
2917
2918
|
filemode: typing.Any | None = 8,
|
|
2918
|
-
display_type:
|
|
2919
|
-
sort_method: str | int |
|
|
2920
|
-
forward_axis:
|
|
2921
|
-
up_axis:
|
|
2919
|
+
display_type: str | int | None = "DEFAULT",
|
|
2920
|
+
sort_method: str | int | None = "",
|
|
2921
|
+
forward_axis: str | int | None = "Y",
|
|
2922
|
+
up_axis: str | int | None = "Z",
|
|
2922
2923
|
global_scale: typing.Any | None = 1.0,
|
|
2923
2924
|
apply_modifiers: bool | typing.Any | None = True,
|
|
2924
2925
|
export_selected_objects: bool | typing.Any | None = False,
|
|
2925
2926
|
collection: str | typing.Any = "",
|
|
2926
2927
|
export_uv: bool | typing.Any | None = True,
|
|
2927
2928
|
export_normals: bool | typing.Any | None = False,
|
|
2928
|
-
export_colors:
|
|
2929
|
+
export_colors: str | int | None = "SRGB",
|
|
2929
2930
|
export_attributes: bool | typing.Any | None = True,
|
|
2930
2931
|
export_triangulated_mesh: bool | typing.Any | None = False,
|
|
2931
2932
|
ascii_format: bool | typing.Any | None = False,
|
|
@@ -2989,9 +2990,9 @@ def ply_export(
|
|
|
2989
2990
|
|
|
2990
2991
|
THUMBNAIL
|
|
2991
2992
|
Thumbnails -- Display files as thumbnails.
|
|
2992
|
-
:type display_type:
|
|
2993
|
+
:type display_type: str | int | None
|
|
2993
2994
|
:param sort_method: File sorting mode
|
|
2994
|
-
:type sort_method: str | int |
|
|
2995
|
+
:type sort_method: str | int | None
|
|
2995
2996
|
:param forward_axis: Forward Axis
|
|
2996
2997
|
|
|
2997
2998
|
X
|
|
@@ -3011,7 +3012,7 @@ def ply_export(
|
|
|
3011
3012
|
|
|
3012
3013
|
NEGATIVE_Z
|
|
3013
3014
|
-Z -- Negative Z axis.
|
|
3014
|
-
:type forward_axis:
|
|
3015
|
+
:type forward_axis: str | int | None
|
|
3015
3016
|
:param up_axis: Up Axis
|
|
3016
3017
|
|
|
3017
3018
|
X
|
|
@@ -3031,7 +3032,7 @@ def ply_export(
|
|
|
3031
3032
|
|
|
3032
3033
|
NEGATIVE_Z
|
|
3033
3034
|
-Z -- Negative Z axis.
|
|
3034
|
-
:type up_axis:
|
|
3035
|
+
:type up_axis: str | int | None
|
|
3035
3036
|
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the world's origin
|
|
3036
3037
|
:type global_scale: typing.Any | None
|
|
3037
3038
|
:param apply_modifiers: Apply Modifiers, Apply modifiers to exported meshes
|
|
@@ -3054,7 +3055,7 @@ def ply_export(
|
|
|
3054
3055
|
|
|
3055
3056
|
LINEAR
|
|
3056
3057
|
Linear -- Vertex colors in the file are in linear color space.
|
|
3057
|
-
:type export_colors:
|
|
3058
|
+
:type export_colors: str | int | None
|
|
3058
3059
|
:param export_attributes: Export Vertex Attributes, Export custom vertex attributes
|
|
3059
3060
|
:type export_attributes: bool | typing.Any | None
|
|
3060
3061
|
:param export_triangulated_mesh: Export Triangulated Mesh, All ngons with four or more vertices will be triangulated. Meshes in the scene will not be affected. Behaves like Triangulate Modifier with ngon-method: "Beauty", quad-method: "Shortest Diagonal", min vertices: 4
|
|
@@ -3094,14 +3095,14 @@ def ply_import(
|
|
|
3094
3095
|
filter_folder: bool | typing.Any | None = True,
|
|
3095
3096
|
filter_blenlib: bool | typing.Any | None = False,
|
|
3096
3097
|
filemode: typing.Any | None = 8,
|
|
3097
|
-
display_type:
|
|
3098
|
-
sort_method: str | int |
|
|
3098
|
+
display_type: str | int | None = "DEFAULT",
|
|
3099
|
+
sort_method: str | int | None = "",
|
|
3099
3100
|
global_scale: typing.Any | None = 1.0,
|
|
3100
3101
|
use_scene_unit: bool | typing.Any | None = False,
|
|
3101
|
-
forward_axis:
|
|
3102
|
-
up_axis:
|
|
3102
|
+
forward_axis: str | int | None = "Y",
|
|
3103
|
+
up_axis: str | int | None = "Z",
|
|
3103
3104
|
merge_verts: bool | typing.Any | None = False,
|
|
3104
|
-
import_colors:
|
|
3105
|
+
import_colors: str | int | None = "SRGB",
|
|
3105
3106
|
import_attributes: bool | typing.Any | None = True,
|
|
3106
3107
|
filter_glob: str | typing.Any = "*.ply",
|
|
3107
3108
|
):
|
|
@@ -3167,9 +3168,9 @@ def ply_import(
|
|
|
3167
3168
|
|
|
3168
3169
|
THUMBNAIL
|
|
3169
3170
|
Thumbnails -- Display files as thumbnails.
|
|
3170
|
-
:type display_type:
|
|
3171
|
+
:type display_type: str | int | None
|
|
3171
3172
|
:param sort_method: File sorting mode
|
|
3172
|
-
:type sort_method: str | int |
|
|
3173
|
+
:type sort_method: str | int | None
|
|
3173
3174
|
:param global_scale: Scale
|
|
3174
3175
|
:type global_scale: typing.Any | None
|
|
3175
3176
|
:param use_scene_unit: Scene Unit, Apply current scene's unit (as defined by unit scale) to imported data
|
|
@@ -3193,7 +3194,7 @@ def ply_import(
|
|
|
3193
3194
|
|
|
3194
3195
|
NEGATIVE_Z
|
|
3195
3196
|
-Z -- Negative Z axis.
|
|
3196
|
-
:type forward_axis:
|
|
3197
|
+
:type forward_axis: str | int | None
|
|
3197
3198
|
:param up_axis: Up Axis
|
|
3198
3199
|
|
|
3199
3200
|
X
|
|
@@ -3213,7 +3214,7 @@ def ply_import(
|
|
|
3213
3214
|
|
|
3214
3215
|
NEGATIVE_Z
|
|
3215
3216
|
-Z -- Negative Z axis.
|
|
3216
|
-
:type up_axis:
|
|
3217
|
+
:type up_axis: str | int | None
|
|
3217
3218
|
:param merge_verts: Merge Vertices, Merges vertices by distance
|
|
3218
3219
|
:type merge_verts: bool | typing.Any | None
|
|
3219
3220
|
:param import_colors: Vertex Colors, Import vertex color attributes
|
|
@@ -3226,7 +3227,7 @@ def ply_import(
|
|
|
3226
3227
|
|
|
3227
3228
|
LINEAR
|
|
3228
3229
|
Linear -- Vertex colors in the file are in linear color space.
|
|
3229
|
-
:type import_colors:
|
|
3230
|
+
:type import_colors: str | int | None
|
|
3230
3231
|
:param import_attributes: Vertex Attributes, Import custom vertex attributes
|
|
3231
3232
|
:type import_attributes: bool | typing.Any | None
|
|
3232
3233
|
:param filter_glob: Extension Filter
|
|
@@ -3329,7 +3330,7 @@ def previews_clear(
|
|
|
3329
3330
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3330
3331
|
execution_context: str | int | None = None,
|
|
3331
3332
|
undo: bool | None = None,
|
|
3332
|
-
id_type:
|
|
3333
|
+
id_type: set[str] | set[int] | None = {},
|
|
3333
3334
|
):
|
|
3334
3335
|
"""Clear data-block previews (only for some types like objects, materials, textures, etc.)
|
|
3335
3336
|
|
|
@@ -3370,7 +3371,7 @@ def previews_clear(
|
|
|
3370
3371
|
|
|
3371
3372
|
IMAGE
|
|
3372
3373
|
Images.
|
|
3373
|
-
:type id_type:
|
|
3374
|
+
:type id_type: set[str] | set[int] | None
|
|
3374
3375
|
"""
|
|
3375
3376
|
|
|
3376
3377
|
...
|
|
@@ -3429,7 +3430,7 @@ def properties_edit(
|
|
|
3429
3430
|
undo: bool | None = None,
|
|
3430
3431
|
data_path: str | typing.Any = "",
|
|
3431
3432
|
property_name: str | typing.Any = "",
|
|
3432
|
-
property_type:
|
|
3433
|
+
property_type: str | int | None = "FLOAT",
|
|
3433
3434
|
is_overridable_library: bool | typing.Any | None = False,
|
|
3434
3435
|
description: str | typing.Any = "",
|
|
3435
3436
|
use_soft_limits: bool | typing.Any | None = False,
|
|
@@ -3547,9 +3548,9 @@ def properties_edit(
|
|
|
3547
3548
|
soft_max_float: typing.Any | None = -10000.0,
|
|
3548
3549
|
precision: typing.Any | None = 3,
|
|
3549
3550
|
step_float: typing.Any | None = 0.1,
|
|
3550
|
-
subtype: str | int |
|
|
3551
|
+
subtype: str | int | None = "",
|
|
3551
3552
|
default_string: str | typing.Any = "",
|
|
3552
|
-
id_type:
|
|
3553
|
+
id_type: str | int | None = "OBJECT",
|
|
3553
3554
|
eval_string: str | typing.Any = "",
|
|
3554
3555
|
):
|
|
3555
3556
|
"""Change a custom property's type, or adjust how it is displayed in the interface
|
|
@@ -3589,7 +3590,7 @@ def properties_edit(
|
|
|
3589
3590
|
|
|
3590
3591
|
PYTHON
|
|
3591
3592
|
Python -- Edit a Python value directly, for unsupported property types.
|
|
3592
|
-
:type property_type:
|
|
3593
|
+
:type property_type: str | int | None
|
|
3593
3594
|
:param is_overridable_library: Library Overridable, Allow the property to be overridden when the data-block is linked
|
|
3594
3595
|
:type is_overridable_library: bool | typing.Any | None
|
|
3595
3596
|
:param description: Description
|
|
@@ -3627,11 +3628,11 @@ def properties_edit(
|
|
|
3627
3628
|
:param step_float: Step
|
|
3628
3629
|
:type step_float: typing.Any | None
|
|
3629
3630
|
:param subtype: Subtype
|
|
3630
|
-
:type subtype: str | int |
|
|
3631
|
+
:type subtype: str | int | None
|
|
3631
3632
|
:param default_string: Default Value
|
|
3632
3633
|
:type default_string: str | typing.Any
|
|
3633
3634
|
:param id_type: ID Type
|
|
3634
|
-
:type id_type:
|
|
3635
|
+
:type id_type: str | int | None
|
|
3635
3636
|
:param eval_string: Value, Python value for unsupported custom property types
|
|
3636
3637
|
:type eval_string: str | typing.Any
|
|
3637
3638
|
"""
|
|
@@ -3871,8 +3872,8 @@ def recover_auto_save(
|
|
|
3871
3872
|
filter_folder: bool | typing.Any | None = False,
|
|
3872
3873
|
filter_blenlib: bool | typing.Any | None = False,
|
|
3873
3874
|
filemode: typing.Any | None = 8,
|
|
3874
|
-
display_type:
|
|
3875
|
-
sort_method: str | int |
|
|
3875
|
+
display_type: str | int | None = "LIST_VERTICAL",
|
|
3876
|
+
sort_method: str | int | None = "",
|
|
3876
3877
|
use_scripts: bool | typing.Any | None = True,
|
|
3877
3878
|
):
|
|
3878
3879
|
"""Open an automatically saved file to recover it
|
|
@@ -3935,9 +3936,9 @@ def recover_auto_save(
|
|
|
3935
3936
|
|
|
3936
3937
|
THUMBNAIL
|
|
3937
3938
|
Thumbnails -- Display files as thumbnails.
|
|
3938
|
-
:type display_type:
|
|
3939
|
+
:type display_type: str | int | None
|
|
3939
3940
|
:param sort_method: File sorting mode
|
|
3940
|
-
:type sort_method: str | int |
|
|
3941
|
+
:type sort_method: str | int | None
|
|
3941
3942
|
:param use_scripts: Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences
|
|
3942
3943
|
:type use_scripts: bool | typing.Any | None
|
|
3943
3944
|
"""
|
|
@@ -3965,7 +3966,7 @@ def redraw_timer(
|
|
|
3965
3966
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3966
3967
|
execution_context: str | int | None = None,
|
|
3967
3968
|
undo: bool | None = None,
|
|
3968
|
-
type:
|
|
3969
|
+
type: str | int | None = "DRAW",
|
|
3969
3970
|
iterations: typing.Any | None = 10,
|
|
3970
3971
|
time_limit: typing.Any | None = 0.0,
|
|
3971
3972
|
):
|
|
@@ -3996,7 +3997,7 @@ def redraw_timer(
|
|
|
3996
3997
|
|
|
3997
3998
|
UNDO
|
|
3998
3999
|
Undo/Redo -- Undo and redo.
|
|
3999
|
-
:type type:
|
|
4000
|
+
:type type: str | int | None
|
|
4000
4001
|
:param iterations: Iterations, Number of times to redraw
|
|
4001
4002
|
:type iterations: typing.Any | None
|
|
4002
4003
|
:param time_limit: Time Limit, Seconds to run the test for (override iterations)
|
|
@@ -4047,8 +4048,8 @@ def save_as_mainfile(
|
|
|
4047
4048
|
filter_folder: bool | typing.Any | None = True,
|
|
4048
4049
|
filter_blenlib: bool | typing.Any | None = False,
|
|
4049
4050
|
filemode: typing.Any | None = 8,
|
|
4050
|
-
display_type:
|
|
4051
|
-
sort_method: str | int |
|
|
4051
|
+
display_type: str | int | None = "DEFAULT",
|
|
4052
|
+
sort_method: str | int | None = "",
|
|
4052
4053
|
compress: bool | typing.Any | None = False,
|
|
4053
4054
|
relative_remap: bool | typing.Any | None = True,
|
|
4054
4055
|
copy: bool | typing.Any | None = False,
|
|
@@ -4113,9 +4114,9 @@ def save_as_mainfile(
|
|
|
4113
4114
|
|
|
4114
4115
|
THUMBNAIL
|
|
4115
4116
|
Thumbnails -- Display files as thumbnails.
|
|
4116
|
-
:type display_type:
|
|
4117
|
+
:type display_type: str | int | None
|
|
4117
4118
|
:param sort_method: File sorting mode
|
|
4118
|
-
:type sort_method: str | int |
|
|
4119
|
+
:type sort_method: str | int | None
|
|
4119
4120
|
:param compress: Compress, Write compressed .blend file
|
|
4120
4121
|
:type compress: bool | typing.Any | None
|
|
4121
4122
|
:param relative_remap: Remap Relative, Remap relative paths when saving to a different directory
|
|
@@ -4165,8 +4166,8 @@ def save_mainfile(
|
|
|
4165
4166
|
filter_folder: bool | typing.Any | None = True,
|
|
4166
4167
|
filter_blenlib: bool | typing.Any | None = False,
|
|
4167
4168
|
filemode: typing.Any | None = 8,
|
|
4168
|
-
display_type:
|
|
4169
|
-
sort_method: str | int |
|
|
4169
|
+
display_type: str | int | None = "DEFAULT",
|
|
4170
|
+
sort_method: str | int | None = "",
|
|
4170
4171
|
compress: bool | typing.Any | None = False,
|
|
4171
4172
|
relative_remap: bool | typing.Any | None = False,
|
|
4172
4173
|
exit: bool | typing.Any | None = False,
|
|
@@ -4232,9 +4233,9 @@ def save_mainfile(
|
|
|
4232
4233
|
|
|
4233
4234
|
THUMBNAIL
|
|
4234
4235
|
Thumbnails -- Display files as thumbnails.
|
|
4235
|
-
:type display_type:
|
|
4236
|
+
:type display_type: str | int | None
|
|
4236
4237
|
:param sort_method: File sorting mode
|
|
4237
|
-
:type sort_method: str | int |
|
|
4238
|
+
:type sort_method: str | int | None
|
|
4238
4239
|
:param compress: Compress, Write compressed .blend file
|
|
4239
4240
|
:type compress: bool | typing.Any | None
|
|
4240
4241
|
:param relative_remap: Remap Relative, Remap relative paths when saving to a different directory
|
|
@@ -4390,16 +4391,16 @@ def stl_export(
|
|
|
4390
4391
|
filter_folder: bool | typing.Any | None = True,
|
|
4391
4392
|
filter_blenlib: bool | typing.Any | None = False,
|
|
4392
4393
|
filemode: typing.Any | None = 8,
|
|
4393
|
-
display_type:
|
|
4394
|
-
sort_method: str | int |
|
|
4394
|
+
display_type: str | int | None = "DEFAULT",
|
|
4395
|
+
sort_method: str | int | None = "",
|
|
4395
4396
|
ascii_format: bool | typing.Any | None = False,
|
|
4396
4397
|
use_batch: bool | typing.Any | None = False,
|
|
4397
4398
|
export_selected_objects: bool | typing.Any | None = False,
|
|
4398
4399
|
collection: str | typing.Any = "",
|
|
4399
4400
|
global_scale: typing.Any | None = 1.0,
|
|
4400
4401
|
use_scene_unit: bool | typing.Any | None = False,
|
|
4401
|
-
forward_axis:
|
|
4402
|
-
up_axis:
|
|
4402
|
+
forward_axis: str | int | None = "Y",
|
|
4403
|
+
up_axis: str | int | None = "Z",
|
|
4403
4404
|
apply_modifiers: bool | typing.Any | None = True,
|
|
4404
4405
|
filter_glob: str | typing.Any = "*.stl",
|
|
4405
4406
|
):
|
|
@@ -4461,9 +4462,9 @@ def stl_export(
|
|
|
4461
4462
|
|
|
4462
4463
|
THUMBNAIL
|
|
4463
4464
|
Thumbnails -- Display files as thumbnails.
|
|
4464
|
-
:type display_type:
|
|
4465
|
+
:type display_type: str | int | None
|
|
4465
4466
|
:param sort_method: File sorting mode
|
|
4466
|
-
:type sort_method: str | int |
|
|
4467
|
+
:type sort_method: str | int | None
|
|
4467
4468
|
:param ascii_format: ASCII Format, Export file in ASCII format, export as binary otherwise
|
|
4468
4469
|
:type ascii_format: bool | typing.Any | None
|
|
4469
4470
|
:param use_batch: Batch Export, Export each object to a separate file
|
|
@@ -4495,7 +4496,7 @@ def stl_export(
|
|
|
4495
4496
|
|
|
4496
4497
|
NEGATIVE_Z
|
|
4497
4498
|
-Z -- Negative Z axis.
|
|
4498
|
-
:type forward_axis:
|
|
4499
|
+
:type forward_axis: str | int | None
|
|
4499
4500
|
:param up_axis: Up Axis
|
|
4500
4501
|
|
|
4501
4502
|
X
|
|
@@ -4515,7 +4516,7 @@ def stl_export(
|
|
|
4515
4516
|
|
|
4516
4517
|
NEGATIVE_Z
|
|
4517
4518
|
-Z -- Negative Z axis.
|
|
4518
|
-
:type up_axis:
|
|
4519
|
+
:type up_axis: str | int | None
|
|
4519
4520
|
:param apply_modifiers: Apply Modifiers, Apply modifiers to exported meshes
|
|
4520
4521
|
:type apply_modifiers: bool | typing.Any | None
|
|
4521
4522
|
:param filter_glob: Extension Filter
|
|
@@ -4551,13 +4552,13 @@ def stl_import(
|
|
|
4551
4552
|
filter_folder: bool | typing.Any | None = True,
|
|
4552
4553
|
filter_blenlib: bool | typing.Any | None = False,
|
|
4553
4554
|
filemode: typing.Any | None = 8,
|
|
4554
|
-
display_type:
|
|
4555
|
-
sort_method: str | int |
|
|
4555
|
+
display_type: str | int | None = "DEFAULT",
|
|
4556
|
+
sort_method: str | int | None = "",
|
|
4556
4557
|
global_scale: typing.Any | None = 1.0,
|
|
4557
4558
|
use_scene_unit: bool | typing.Any | None = False,
|
|
4558
4559
|
use_facet_normal: bool | typing.Any | None = False,
|
|
4559
|
-
forward_axis:
|
|
4560
|
-
up_axis:
|
|
4560
|
+
forward_axis: str | int | None = "Y",
|
|
4561
|
+
up_axis: str | int | None = "Z",
|
|
4561
4562
|
use_mesh_validate: bool | typing.Any | None = True,
|
|
4562
4563
|
filter_glob: str | typing.Any = "*.stl",
|
|
4563
4564
|
):
|
|
@@ -4623,9 +4624,9 @@ def stl_import(
|
|
|
4623
4624
|
|
|
4624
4625
|
THUMBNAIL
|
|
4625
4626
|
Thumbnails -- Display files as thumbnails.
|
|
4626
|
-
:type display_type:
|
|
4627
|
+
:type display_type: str | int | None
|
|
4627
4628
|
:param sort_method: File sorting mode
|
|
4628
|
-
:type sort_method: str | int |
|
|
4629
|
+
:type sort_method: str | int | None
|
|
4629
4630
|
:param global_scale: Scale
|
|
4630
4631
|
:type global_scale: typing.Any | None
|
|
4631
4632
|
:param use_scene_unit: Scene Unit, Apply current scene's unit (as defined by unit scale) to imported data
|
|
@@ -4651,7 +4652,7 @@ def stl_import(
|
|
|
4651
4652
|
|
|
4652
4653
|
NEGATIVE_Z
|
|
4653
4654
|
-Z -- Negative Z axis.
|
|
4654
|
-
:type forward_axis:
|
|
4655
|
+
:type forward_axis: str | int | None
|
|
4655
4656
|
:param up_axis: Up Axis
|
|
4656
4657
|
|
|
4657
4658
|
X
|
|
@@ -4671,7 +4672,7 @@ def stl_import(
|
|
|
4671
4672
|
|
|
4672
4673
|
NEGATIVE_Z
|
|
4673
4674
|
-Z -- Negative Z axis.
|
|
4674
|
-
:type up_axis:
|
|
4675
|
+
:type up_axis: str | int | None
|
|
4675
4676
|
:param use_mesh_validate: Validate Mesh, Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing)
|
|
4676
4677
|
:type use_mesh_validate: bool | typing.Any | None
|
|
4677
4678
|
:param filter_glob: Extension Filter
|
|
@@ -4704,7 +4705,7 @@ def tool_set_by_id(
|
|
|
4704
4705
|
name: str | typing.Any = "",
|
|
4705
4706
|
cycle: bool | typing.Any | None = False,
|
|
4706
4707
|
as_fallback: bool | typing.Any | None = False,
|
|
4707
|
-
space_type:
|
|
4708
|
+
space_type: str | int | None = "EMPTY",
|
|
4708
4709
|
):
|
|
4709
4710
|
"""Set the tool by name (for key-maps)
|
|
4710
4711
|
|
|
@@ -4718,7 +4719,7 @@ def tool_set_by_id(
|
|
|
4718
4719
|
:param as_fallback: Set Fallback, Set the fallback tool instead of the primary tool
|
|
4719
4720
|
:type as_fallback: bool | typing.Any | None
|
|
4720
4721
|
:param space_type: Type
|
|
4721
|
-
:type space_type:
|
|
4722
|
+
:type space_type: str | int | None
|
|
4722
4723
|
"""
|
|
4723
4724
|
|
|
4724
4725
|
...
|
|
@@ -4731,7 +4732,7 @@ def tool_set_by_index(
|
|
|
4731
4732
|
cycle: bool | typing.Any | None = False,
|
|
4732
4733
|
expand: bool | typing.Any | None = True,
|
|
4733
4734
|
as_fallback: bool | typing.Any | None = False,
|
|
4734
|
-
space_type:
|
|
4735
|
+
space_type: str | int | None = "EMPTY",
|
|
4735
4736
|
):
|
|
4736
4737
|
"""Set the tool by index (for key-maps)
|
|
4737
4738
|
|
|
@@ -4747,7 +4748,7 @@ def tool_set_by_index(
|
|
|
4747
4748
|
:param as_fallback: Set Fallback, Set the fallback tool instead of the primary
|
|
4748
4749
|
:type as_fallback: bool | typing.Any | None
|
|
4749
4750
|
:param space_type: Type
|
|
4750
|
-
:type space_type:
|
|
4751
|
+
:type space_type: str | int | None
|
|
4751
4752
|
"""
|
|
4752
4753
|
|
|
4753
4754
|
...
|
|
@@ -4815,7 +4816,7 @@ def url_open_preset(
|
|
|
4815
4816
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
4816
4817
|
execution_context: str | int | None = None,
|
|
4817
4818
|
undo: bool | None = None,
|
|
4818
|
-
type: str | int |
|
|
4819
|
+
type: str | int | None = "",
|
|
4819
4820
|
id: str | typing.Any = "",
|
|
4820
4821
|
):
|
|
4821
4822
|
"""Open a preset website in the web browser
|
|
@@ -4824,7 +4825,7 @@ def url_open_preset(
|
|
|
4824
4825
|
:type execution_context: str | int | None
|
|
4825
4826
|
:type undo: bool | None
|
|
4826
4827
|
:param type: Site
|
|
4827
|
-
:type type: str | int |
|
|
4828
|
+
:type type: str | int | None
|
|
4828
4829
|
:param id: Identifier, Optional identifier
|
|
4829
4830
|
:type id: str | typing.Any
|
|
4830
4831
|
"""
|
|
@@ -4855,8 +4856,8 @@ def usd_export(
|
|
|
4855
4856
|
filter_folder: bool | typing.Any | None = True,
|
|
4856
4857
|
filter_blenlib: bool | typing.Any | None = False,
|
|
4857
4858
|
filemode: typing.Any | None = 8,
|
|
4858
|
-
display_type:
|
|
4859
|
-
sort_method: str | int |
|
|
4859
|
+
display_type: str | int | None = "DEFAULT",
|
|
4860
|
+
sort_method: str | int | None = "",
|
|
4860
4861
|
filter_glob: str | typing.Any = "*.usd",
|
|
4861
4862
|
selected_objects_only: bool | typing.Any | None = False,
|
|
4862
4863
|
visible_objects_only: bool | typing.Any | None = True,
|
|
@@ -4867,16 +4868,16 @@ def usd_export(
|
|
|
4867
4868
|
export_mesh_colors: bool | typing.Any | None = True,
|
|
4868
4869
|
export_normals: bool | typing.Any | None = True,
|
|
4869
4870
|
export_materials: bool | typing.Any | None = True,
|
|
4870
|
-
export_subdivision:
|
|
4871
|
+
export_subdivision: str | int | None = "BEST_MATCH",
|
|
4871
4872
|
export_armatures: bool | typing.Any | None = True,
|
|
4872
4873
|
only_deform_bones: bool | typing.Any | None = False,
|
|
4873
4874
|
export_shapekeys: bool | typing.Any | None = True,
|
|
4874
4875
|
use_instancing: bool | typing.Any | None = False,
|
|
4875
|
-
evaluation_mode:
|
|
4876
|
+
evaluation_mode: str | int | None = "RENDER",
|
|
4876
4877
|
generate_preview_surface: bool | typing.Any | None = True,
|
|
4877
4878
|
convert_orientation: bool | typing.Any | None = False,
|
|
4878
|
-
export_global_forward_selection:
|
|
4879
|
-
export_global_up_selection:
|
|
4879
|
+
export_global_forward_selection: str | int | None = "NEGATIVE_Z",
|
|
4880
|
+
export_global_up_selection: str | int | None = "Y",
|
|
4880
4881
|
export_textures: bool | typing.Any | None = True,
|
|
4881
4882
|
overwrite_textures: bool | typing.Any | None = False,
|
|
4882
4883
|
relative_paths: bool | typing.Any | None = True,
|
|
@@ -4942,9 +4943,9 @@ def usd_export(
|
|
|
4942
4943
|
|
|
4943
4944
|
THUMBNAIL
|
|
4944
4945
|
Thumbnails -- Display files as thumbnails.
|
|
4945
|
-
:type display_type:
|
|
4946
|
+
:type display_type: str | int | None
|
|
4946
4947
|
:param sort_method: File sorting mode
|
|
4947
|
-
:type sort_method: str | int |
|
|
4948
|
+
:type sort_method: str | int | None
|
|
4948
4949
|
:type filter_glob: str | typing.Any
|
|
4949
4950
|
:param selected_objects_only: Selection Only, Only export selected objects. Unselected parents of selected objects are exported as empty transform
|
|
4950
4951
|
:type selected_objects_only: bool | typing.Any | None
|
|
@@ -4974,7 +4975,7 @@ def usd_export(
|
|
|
4974
4975
|
|
|
4975
4976
|
BEST_MATCH
|
|
4976
4977
|
Best Match -- Subdivision scheme = Catmull-Clark, when possible. Reverts to exporting the subdivided mesh for the Simple subdivision type.
|
|
4977
|
-
:type export_subdivision:
|
|
4978
|
+
:type export_subdivision: str | int | None
|
|
4978
4979
|
:param export_armatures: Armatures, Export armatures and meshes with armature modifiers as USD skeletons and skinned meshes
|
|
4979
4980
|
:type export_armatures: bool | typing.Any | None
|
|
4980
4981
|
:param only_deform_bones: Only Deform Bones, Only export deform bones and their parents
|
|
@@ -4990,7 +4991,7 @@ def usd_export(
|
|
|
4990
4991
|
|
|
4991
4992
|
VIEWPORT
|
|
4992
4993
|
Viewport -- Use Viewport settings for object visibility, modifier settings, etc.
|
|
4993
|
-
:type evaluation_mode:
|
|
4994
|
+
:type evaluation_mode: str | int | None
|
|
4994
4995
|
:param generate_preview_surface: To USD Preview Surface, Generate an approximate USD Preview Surface shader representation of a Principled BSDF node network
|
|
4995
4996
|
:type generate_preview_surface: bool | typing.Any | None
|
|
4996
4997
|
:param convert_orientation: Convert Orientation, The USD exporter will convert scene orientation axis
|
|
@@ -5014,7 +5015,7 @@ def usd_export(
|
|
|
5014
5015
|
|
|
5015
5016
|
NEGATIVE_Z
|
|
5016
5017
|
-Z -- Negative Z axis.
|
|
5017
|
-
:type export_global_forward_selection:
|
|
5018
|
+
:type export_global_forward_selection: str | int | None
|
|
5018
5019
|
:param export_global_up_selection: Up Axis
|
|
5019
5020
|
|
|
5020
5021
|
X
|
|
@@ -5034,7 +5035,7 @@ def usd_export(
|
|
|
5034
5035
|
|
|
5035
5036
|
NEGATIVE_Z
|
|
5036
5037
|
-Z -- Negative Z axis.
|
|
5037
|
-
:type export_global_up_selection:
|
|
5038
|
+
:type export_global_up_selection: str | int | None
|
|
5038
5039
|
:param export_textures: Export Textures, If exporting materials, export textures referenced by material nodes to a 'textures' directory in the same directory as the USD file
|
|
5039
5040
|
:type export_textures: bool | typing.Any | None
|
|
5040
5041
|
:param overwrite_textures: Overwrite Textures, Overwrite existing files when exporting textures
|
|
@@ -5076,8 +5077,8 @@ def usd_import(
|
|
|
5076
5077
|
filter_blenlib: bool | typing.Any | None = False,
|
|
5077
5078
|
filemode: typing.Any | None = 8,
|
|
5078
5079
|
relative_path: bool | typing.Any | None = True,
|
|
5079
|
-
display_type:
|
|
5080
|
-
sort_method: str | int |
|
|
5080
|
+
display_type: str | int | None = "DEFAULT",
|
|
5081
|
+
sort_method: str | int | None = "",
|
|
5081
5082
|
filter_glob: str | typing.Any = "*.usd",
|
|
5082
5083
|
scale: typing.Any | None = 1.0,
|
|
5083
5084
|
set_frame_range: bool | typing.Any | None = True,
|
|
@@ -5106,11 +5107,11 @@ def usd_import(
|
|
|
5106
5107
|
import_usd_preview: bool | typing.Any | None = True,
|
|
5107
5108
|
set_material_blend: bool | typing.Any | None = True,
|
|
5108
5109
|
light_intensity_scale: typing.Any | None = 1.0,
|
|
5109
|
-
mtl_name_collision_mode:
|
|
5110
|
-
import_textures_mode:
|
|
5110
|
+
mtl_name_collision_mode: str | int | None = "MAKE_UNIQUE",
|
|
5111
|
+
import_textures_mode: str | int | None = "IMPORT_PACK",
|
|
5111
5112
|
import_textures_dir: str | typing.Any = "//textures/",
|
|
5112
|
-
tex_name_collision_mode:
|
|
5113
|
-
attr_import_mode:
|
|
5113
|
+
tex_name_collision_mode: str | int | None = "USE_EXISTING",
|
|
5114
|
+
attr_import_mode: str | int | None = "ALL",
|
|
5114
5115
|
validate_meshes: bool | typing.Any | None = False,
|
|
5115
5116
|
):
|
|
5116
5117
|
"""Import USD stage into current scene
|
|
@@ -5173,9 +5174,9 @@ def usd_import(
|
|
|
5173
5174
|
|
|
5174
5175
|
THUMBNAIL
|
|
5175
5176
|
Thumbnails -- Display files as thumbnails.
|
|
5176
|
-
:type display_type:
|
|
5177
|
+
:type display_type: str | int | None
|
|
5177
5178
|
:param sort_method: File sorting mode
|
|
5178
|
-
:type sort_method: str | int |
|
|
5179
|
+
:type sort_method: str | int | None
|
|
5179
5180
|
:type filter_glob: str | typing.Any
|
|
5180
5181
|
:param scale: Scale, Value by which to enlarge or shrink the objects with respect to the world's origin
|
|
5181
5182
|
:type scale: typing.Any | None
|
|
@@ -5238,7 +5239,7 @@ def usd_import(
|
|
|
5238
5239
|
|
|
5239
5240
|
REFERENCE_EXISTING
|
|
5240
5241
|
Reference Existing -- If a material with the same name already exists, reference that instead of importing.
|
|
5241
|
-
:type mtl_name_collision_mode:
|
|
5242
|
+
:type mtl_name_collision_mode: str | int | None
|
|
5242
5243
|
:param import_textures_mode: Import Textures, Behavior when importing textures from a USDZ archive
|
|
5243
5244
|
|
|
5244
5245
|
IMPORT_NONE
|
|
@@ -5249,7 +5250,7 @@ def usd_import(
|
|
|
5249
5250
|
|
|
5250
5251
|
IMPORT_COPY
|
|
5251
5252
|
Copy -- Copy files to textures directory.
|
|
5252
|
-
:type import_textures_mode:
|
|
5253
|
+
:type import_textures_mode: str | int | None
|
|
5253
5254
|
:param import_textures_dir: Textures Directory, Path to the directory where imported textures will be copied
|
|
5254
5255
|
:type import_textures_dir: str | typing.Any
|
|
5255
5256
|
:param tex_name_collision_mode: File Name Collision, Behavior when the name of an imported texture file conflicts with an existing file
|
|
@@ -5259,7 +5260,7 @@ def usd_import(
|
|
|
5259
5260
|
|
|
5260
5261
|
OVERWRITE
|
|
5261
5262
|
Overwrite -- Overwrite existing files.
|
|
5262
|
-
:type tex_name_collision_mode:
|
|
5263
|
+
:type tex_name_collision_mode: str | int | None
|
|
5263
5264
|
:param attr_import_mode: Custom Properties, Behavior when importing USD attributes as Blender custom properties
|
|
5264
5265
|
|
|
5265
5266
|
NONE
|
|
@@ -5270,7 +5271,7 @@ def usd_import(
|
|
|
5270
5271
|
|
|
5271
5272
|
ALL
|
|
5272
5273
|
All Custom -- Import all USD custom attributes as Blender custom properties. Namespaces will be retained in the property names.
|
|
5273
|
-
:type attr_import_mode:
|
|
5274
|
+
:type attr_import_mode: str | int | None
|
|
5274
5275
|
:param validate_meshes: Validate Meshes, Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing)
|
|
5275
5276
|
:type validate_meshes: bool | typing.Any | None
|
|
5276
5277
|
"""
|
|
@@ -5337,7 +5338,7 @@ def xr_navigation_fly(
|
|
|
5337
5338
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
5338
5339
|
execution_context: str | int | None = None,
|
|
5339
5340
|
undo: bool | None = None,
|
|
5340
|
-
mode:
|
|
5341
|
+
mode: str | int | None = "VIEWER_FORWARD",
|
|
5341
5342
|
lock_location_z: bool | typing.Any | None = False,
|
|
5342
5343
|
lock_direction: bool | typing.Any | None = False,
|
|
5343
5344
|
speed_frame_based: bool | typing.Any | None = True,
|
|
@@ -5391,7 +5392,7 @@ def xr_navigation_fly(
|
|
|
5391
5392
|
|
|
5392
5393
|
CONTROLLER_FORWARD
|
|
5393
5394
|
Controller Forward -- Move along controller's forward axis.
|
|
5394
|
-
:type mode:
|
|
5395
|
+
:type mode: str | int | None
|
|
5395
5396
|
:param lock_location_z: Lock Elevation, Prevent changes to viewer elevation
|
|
5396
5397
|
:type lock_location_z: bool | typing.Any | None
|
|
5397
5398
|
:param lock_direction: Lock Direction, Limit movement to viewer's initial direction
|