Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";
/** bpy.ops.wm */
export interface Ops {
/**
* Export current scene in an Alembic archive
*
* bpy.ops.wm.alembic_export
*/
alembic_export: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: True. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Default: "*.abc". */
filter_glob?: H.In<string>;
/** Start frame of the export, use the default value to take the start frame of the current scene Default: -2147483648. */
start?: H.In<number>;
/** End frame of the export, use the default value to take the end frame of the current scene Default: -2147483648. */
end?: H.In<number>;
/** Number of times per frame transformations are sampled Default: 1. */
xsamples?: H.In<number>;
/** Number of times per frame object data are sampled Default: 1. */
gsamples?: H.In<number>;
/** Time at which the shutter is open Default: 0.0. */
sh_open?: H.In<number>;
/** Time at which the shutter is closed Default: 1.0. */
sh_close?: H.In<number>;
/** Export only selected objects Default: False. */
selected?: H.In<boolean>;
/** Do not preserve objects' parent/children relationship Default: False. */
flatten?: H.In<boolean>;
/** Collection Default: "". */
collection?: H.In<string>;
/** Export UV coordinates Default: True. */
uvs?: H.In<boolean>;
/** Merge UVs Default: True. */
packuv?: H.In<boolean>;
/** Export normals Default: True. */
normals?: H.In<boolean>;
/** Export color attributes Default: False. */
vcolors?: H.In<boolean>;
/** Export undeformed mesh vertex coordinates Default: True. */
orcos?: H.In<boolean>;
/** Export per face shading group assignments Default: False. */
face_sets?: H.In<boolean>;
/** Export meshes using Alembic's subdivision schema Default: False. */
subdiv_schema?: H.In<boolean>;
/** Export subdivision surfaces as meshes Default: False. */
apply_subdiv?: H.In<boolean>;
/** Export curves and NURBS surfaces as meshes Default: False. */
curves_as_mesh?: H.In<boolean>;
/** Export data of duplicated objects as Alembic instances; speeds up the export and can be disabled for compatibility with other software Default: True. */
use_instancing?: H.In<boolean>;
/** Value by which to enlarge or shrink the objects with respect to the world's origin Default: 1.0. */
global_scale?: H.In<number>;
/** Export polygons (quads and n-gons) as triangles Default: False. */
triangulate?: H.In<boolean>;
/**
* Method for splitting the quads into triangles Default: 'SHORTEST_DIAGONAL'.
* - `BEAUTY`: Beauty (Split the quads in nice triangles, slower method)
* - `FIXED`: Fixed (Split the quads on the first and third vertices)
* - `FIXED_ALTERNATE`: Fixed Alternate (Split the quads on the 2nd and 4th vertices)
* - `SHORTEST_DIAGONAL`: Shortest Diagonal (Split the quads along their shortest diagonal)
* - `LONGEST_DIAGONAL`: Longest Diagonal (Split the quads along their longest diagonal)
*/
quad_method?: H.In<"BEAUTY" | "FIXED" | "FIXED_ALTERNATE" | "SHORTEST_DIAGONAL" | "LONGEST_DIAGONAL">;
/**
* Method for splitting the n-gons into triangles Default: 'BEAUTY'.
* - `BEAUTY`: Beauty (Arrange the new triangles evenly (slow))
* - `CLIP`: Clip (Split the polygons with an ear clipping algorithm)
*/
ngon_method?: H.In<"BEAUTY" | "CLIP">;
/** Exports hair particle systems as animated curves Default: True. */
export_hair?: H.In<boolean>;
/** Exports non-hair particle systems Default: True. */
export_particles?: H.In<boolean>;
/** Export custom properties to Alembic .userProperties Default: True. */
export_custom_properties?: H.In<boolean>;
/** Enable this to run the import in the background, disable to block Blender while importing. This option is deprecated; EXECUTE this operator to run in the foreground, and INVOKE it to run as a background job Default: False. */
as_background_job?: H.In<boolean>;
/**
* Determines visibility of objects, modifier settings, and other areas where there are different settings for viewport and rendering Default: 'RENDER'.
* - `RENDER`: Render (Use Render settings for object visibility, modifier settings, etc)
* - `VIEWPORT`: Viewport (Use Viewport settings for object visibility, modifier settings, etc)
*/
evaluation_mode?: H.In<"RENDER" | "VIEWPORT">;
/** Default: True. */
init_scene_frame_range?: H.In<boolean>;
}>;
/**
* Load an Alembic archive
*
* bpy.ops.wm.alembic_import
*/
alembic_import: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: True. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Default: "*.abc". */
filter_glob?: H.In<string>;
/** Value by which to enlarge or shrink the objects with respect to the world's origin Default: 1.0. */
scale?: H.In<number>;
/** If checked, update scene's start and end frame to match those of the Alembic archive Default: True. */
set_frame_range?: H.In<boolean>;
/** Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing) Default: False. */
validate_meshes?: H.In<boolean>;
/** Add cache modifiers and constraints to imported objects even if they are not animated so that they can be updated when reloading the Alembic archive Default: False. */
always_add_cache_reader?: H.In<boolean>;
/** Set to true if the cache is split into separate files Default: False. */
is_sequence?: H.In<boolean>;
/** Enable this to run the export in the background, disable to block Blender while exporting. This option is deprecated; EXECUTE this operator to run in the foreground, and INVOKE it to run as a background job Default: False. */
as_background_job?: H.In<boolean>;
}>;
/**
* Append from a Library .blend file
*
* bpy.ops.wm.append
*/
append: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Name of the file Default: "". */
filename?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: True. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: True. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 1. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Link the objects or data-blocks rather than appending Default: False. */
link?: H.In<boolean>;
/** Try to re-use previously matching appended data-blocks instead of appending a new copy Default: False. */
do_reuse_local_id?: H.In<boolean>;
/** Don't add asset meta-data or tags from the original data-block Default: False. */
clear_asset_data?: H.In<boolean>;
/** Select new objects Default: True. */
autoselect?: H.In<boolean>;
/** Put new objects on the active collection Default: True. */
active_collection?: H.In<boolean>;
/** Create instances for collections, rather than adding them directly to the scene Default: False. */
instance_collections?: H.In<boolean>;
/** Create instances for object data which are not referenced by any objects Default: True. */
instance_object_data?: H.In<boolean>;
/** Set "Fake User" for appended items (except objects and collections) Default: False. */
set_fake?: H.In<boolean>;
/** Localize all appended data, including those indirectly linked from other libraries Default: True. */
use_recursive?: H.In<boolean>;
}>;
/**
* Rename multiple items at once
*
* bpy.ops.wm.batch_rename
*/
batch_rename: H.Operator<{
/** Type of data to rename Default: 'OBJECT'. */
data_type?: H.In<E.WmBatchRenameDataType>;
/**
* Source Default: 'SELECT'.
* - `SELECT`: Selected
* - `ALL`: All
*/
data_source?: H.In<"SELECT" | "ALL">;
actions?: H.In<readonly Record<string, any>[]>;
}>;
/**
* Check and fix all strings in current .blend file to be valid UTF-8 Unicode (needed for some old, 2.4x area files)
*
* bpy.ops.wm.blend_strings_utf8_validate
*/
blend_strings_utf8_validate: H.Operator<{}>;
/**
* Open a predefined asset shelf in a popup
*
* bpy.ops.wm.call_asset_shelf_popover
*/
call_asset_shelf_popover: H.Operator<{
/** Identifier of the asset shelf to display Default: "". */
name?: H.In<string>;
}>;
/**
* Open a predefined menu
*
* bpy.ops.wm.call_menu
*/
call_menu: H.Operator<{
/** Name of the menu Default: "". */
name?: H.In<string>;
}>;
/**
* Open a predefined pie menu
*
* bpy.ops.wm.call_menu_pie
*/
call_menu_pie: H.Operator<{
/** Name of the pie menu Default: "". */
name?: H.In<string>;
}>;
/**
* Open a predefined panel
*
* bpy.ops.wm.call_panel
*/
call_panel: H.Operator<{
/** Name of the menu Default: "". */
name?: H.In<string>;
/** Keep Open Default: True. */
keep_open?: H.In<boolean>;
}>;
/**
* Clear the recent files list
*
* bpy.ops.wm.clear_recent_files
*/
clear_recent_files: H.Operator<{
/**
* Remove Default: 'ALL'.
* - `ALL`: All Items
* - `MISSING`: Items Not Found
*/
remove?: H.In<"ALL" | "MISSING">;
}>;
/**
* Invoke all configured exporters for all collections
*
* bpy.ops.wm.collection_export_all
*/
collection_export_all: H.Operator<{}>;
/**
* Set boolean values for a collection of items
*
* bpy.ops.wm.context_collection_boolean_set
*/
context_collection_boolean_set: H.Operator<{
/** The data path relative to the context, must point to an iterable Default: "". */
data_path_iter?: H.In<string>;
/** The data path from each iterable to the value (int or float) Default: "". */
data_path_item?: H.In<string>;
/**
* Type Default: 'TOGGLE'.
* - `TOGGLE`: Toggle
* - `ENABLE`: Enable
* - `DISABLE`: Disable
*/
type?: H.In<"TOGGLE" | "ENABLE" | "DISABLE">;
}>;
/**
* Set a context array value (useful for cycling the active mesh edit mode)
*
* bpy.ops.wm.context_cycle_array
*/
context_cycle_array: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Cycle backwards Default: False. */
reverse?: H.In<boolean>;
}>;
/**
* Toggle a context value
*
* bpy.ops.wm.context_cycle_enum
*/
context_cycle_enum: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Cycle backwards Default: False. */
reverse?: H.In<boolean>;
/** Wrap back to the first/last values Default: False. */
wrap?: H.In<boolean>;
}>;
/**
* Set a context value (useful for cycling active material, shape keys, groups, etc.)
*
* bpy.ops.wm.context_cycle_int
*/
context_cycle_int: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Cycle backwards Default: False. */
reverse?: H.In<boolean>;
/** Wrap back to the first/last values Default: False. */
wrap?: H.In<boolean>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.wm.context_menu_enum
*/
context_menu_enum: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
}>;
/**
* Adjust arbitrary values with mouse input
*
* bpy.ops.wm.context_modal_mouse
*/
context_modal_mouse: H.Operator<{
/** The data path relative to the context, must point to an iterable Default: "". */
data_path_iter?: H.In<string>;
/** The data path from each iterable to the value (int or float) Default: "". */
data_path_item?: H.In<string>;
/** Text to display in header during scale Default: "". */
header_text?: H.In<string>;
/** Scale the mouse movement by this value before applying the delta Default: 0.01. */
input_scale?: H.In<number>;
/** Invert the mouse input Default: False. */
invert?: H.In<boolean>;
/** Default: 0. */
initial_x?: H.In<number>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.wm.context_pie_enum
*/
context_pie_enum: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
}>;
/**
* Scale a float context value
*
* bpy.ops.wm.context_scale_float
*/
context_scale_float: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Assign value Default: 1.0. */
value?: H.In<number>;
}>;
/**
* Scale an int context value
*
* bpy.ops.wm.context_scale_int
*/
context_scale_int: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Assign value Default: 1.0. */
value?: H.In<number>;
/** Always adjust the value by a minimum of 1 when 'value' is not 1.0 Default: True. */
always_step?: H.In<boolean>;
}>;
/**
* Set a context value
*
* bpy.ops.wm.context_set_boolean
*/
context_set_boolean: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Assignment value Default: True. */
value?: H.In<boolean>;
}>;
/**
* Set a context value
*
* bpy.ops.wm.context_set_enum
*/
context_set_enum: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Assignment value (as a string) Default: "". */
value?: H.In<string>;
}>;
/**
* Set a context value
*
* bpy.ops.wm.context_set_float
*/
context_set_float: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Assignment value Default: 0.0. */
value?: H.In<number>;
/** Apply relative to the current value (delta) Default: False. */
relative?: H.In<boolean>;
}>;
/**
* Set a context value to an ID data-block
*
* bpy.ops.wm.context_set_id
*/
context_set_id: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Assign value Default: "". */
value?: H.In<string>;
}>;
/**
* Set a context value
*
* bpy.ops.wm.context_set_int
*/
context_set_int: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Assign value Default: 0. */
value?: H.In<number>;
/** Apply relative to the current value (delta) Default: False. */
relative?: H.In<boolean>;
}>;
/**
* Set a context value
*
* bpy.ops.wm.context_set_string
*/
context_set_string: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Assign value Default: "". */
value?: H.In<string>;
}>;
/**
* Set a context value
*
* bpy.ops.wm.context_set_value
*/
context_set_value: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Assignment value (as a string) Default: "". */
value?: H.In<string>;
}>;
/**
* Toggle a context value
*
* bpy.ops.wm.context_toggle
*/
context_toggle: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Optionally override the context with a module Default: "". */
module?: H.In<string>;
}>;
/**
* Toggle a context value
*
* bpy.ops.wm.context_toggle_enum
*/
context_toggle_enum: H.Operator<{
/** Context data-path (expanded using visible windows in the current .blend file) Default: "". */
data_path?: H.In<string>;
/** Toggle enum Default: "". */
value_1?: H.In<string>;
/** Toggle enum Default: "". */
value_2?: H.In<string>;
}>;
/**
* Open a popup to set the debug level
*
* bpy.ops.wm.debug_menu
*/
debug_menu: H.Operator<{
/** Debug Value Default: 0. */
debug_value?: H.In<number>;
}>;
/**
* Open online reference docs in a web browser
*
* bpy.ops.wm.doc_view
*/
doc_view: H.Operator<{
/** Doc ID Default: "". */
doc_id?: H.In<string>;
}>;
/**
* Load online manual
*
* bpy.ops.wm.doc_view_manual
*/
doc_view_manual: H.Operator<{
/** Doc ID Default: "". */
doc_id?: H.In<string>;
}>;
/**
* View a context based online manual in a web browser
*
* bpy.ops.wm.doc_view_manual_ui_context
*/
doc_view_manual_ui_context: H.Operator<{}>;
/**
* (undocumented operator)
*
* bpy.ops.wm.drop_blend_file
*/
drop_blend_file: H.Operator<{
/** Default: "". */
filepath?: H.In<string>;
}>;
/**
* Operator that allows file handlers to receive file drops
*
* bpy.ops.wm.drop_import_file
*/
drop_import_file: H.Operator<{
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
}>;
/**
* Import FBX file into current scene
*
* bpy.ops.wm.fbx_import
*/
fbx_import: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Scale Default: 1.0. */
global_scale?: H.In<number>;
/**
* Behavior when the name of an imported material conflicts with an existing material Default: 'MAKE_UNIQUE'.
* - `MAKE_UNIQUE`: Make Unique (Import each FBX material as a unique Blender material)
* - `REFERENCE_EXISTING`: Reference Existing (If a material with the same name already exists, reference that instead of importing)
*/
mtl_name_collision_mode?: H.In<"MAKE_UNIQUE" | "REFERENCE_EXISTING">;
/**
* Import vertex color attributes Default: 'SRGB'.
* - `NONE`: None (Do not import color attributes)
* - `SRGB`: sRGB (Vertex colors in the file are in sRGB color space)
* - `LINEAR`: Linear (Vertex colors in the file are in linear color space)
*/
import_colors?: H.In<"NONE" | "SRGB" | "LINEAR">;
/** Import custom normals, if available (otherwise Blender will compute them) Default: True. */
use_custom_normals?: H.In<boolean>;
/** Import user properties as custom properties Default: True. */
use_custom_props?: H.In<boolean>;
/** Store custom property enumeration values as strings Default: True. */
use_custom_props_enum_as_string?: H.In<boolean>;
/** Import FBX subdivision information as subdivision surface modifiers Default: False. */
import_subdivision?: H.In<boolean>;
/** Ignore the last bone at the end of each chain (used to mark the length of the previous bone) Default: False. */
ignore_leaf_bones?: H.In<boolean>;
/** Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing) Default: True. */
validate_meshes?: H.In<boolean>;
/** Import FBX animation Default: True. */
use_anim?: H.In<boolean>;
/** Offset to apply to animation timestamps, in frames Default: 1.0. */
anim_offset?: H.In<number>;
/** Extension Filter Default: "*.fbx". */
filter_glob?: H.In<string>;
}>;
/**
* Export Grease Pencil to PDF
*
* bpy.ops.wm.grease_pencil_export_pdf
*/
grease_pencil_export_pdf: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: True. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Export strokes with fill enabled Default: True. */
use_fill?: H.In<boolean>;
/**
* Which objects to include in the export Default: 'ACTIVE'.
* - `ACTIVE`: Active (Include only the active object)
* - `SELECTED`: Selected (Include selected objects)
* - `VISIBLE`: Visible (Include all visible objects)
*/
selected_object_type?: H.In<"ACTIVE" | "SELECTED" | "VISIBLE">;
/**
* Which frames to include in the export Default: 'ACTIVE'.
* - `ACTIVE`: Active (Include only active frame)
* - `SELECTED`: Selected (Include selected frames)
* - `SCENE`: Scene (Include all scene frames)
*/
frame_mode?: H.In<"ACTIVE" | "SELECTED" | "SCENE">;
/** Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling Default: 0.0. */
stroke_sample?: H.In<number>;
/** Export strokes with uniform width Default: False. */
use_uniform_width?: H.In<boolean>;
}>;
/**
* Export Grease Pencil to SVG
*
* bpy.ops.wm.grease_pencil_export_svg
*/
grease_pencil_export_svg: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: True. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Export strokes with fill enabled Default: True. */
use_fill?: H.In<boolean>;
/**
* Which objects to include in the export Default: 'ACTIVE'.
* - `ACTIVE`: Active (Include only the active object)
* - `SELECTED`: Selected (Include selected objects)
* - `VISIBLE`: Visible (Include all visible objects)
*/
selected_object_type?: H.In<"ACTIVE" | "SELECTED" | "VISIBLE">;
/**
* Which frames to include in the export Default: 'ACTIVE'.
* - `ACTIVE`: Active (Include only active frame)
* - `SELECTED`: Selected (Include selected frames)
* - `SCENE`: Scene (Include all scene frames)
*/
frame_mode?: H.In<"ACTIVE" | "SELECTED" | "SCENE">;
/** Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling Default: 0.0. */
stroke_sample?: H.In<number>;
/** Export strokes with uniform width Default: False. */
use_uniform_width?: H.In<boolean>;
/** Clip drawings to camera size when exporting in camera view Default: False. */
use_clip_camera?: H.In<boolean>;
}>;
/**
* Import SVG into Grease Pencil
*
* bpy.ops.wm.grease_pencil_import_svg
*/
grease_pencil_import_svg: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: True. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Resolution of the generated strokes Default: 10. */
resolution?: H.In<number>;
/** Scale of the final strokes Default: 10.0. */
scale?: H.In<number>;
/** Apply current scene's unit (as defined by unit scale) to imported data Default: False. */
use_scene_unit?: H.In<boolean>;
/** Center the imported SVG on its bounding box Default: True. */
recenter_bounds?: H.In<boolean>;
}>;
/**
* Relocate a linked ID, i.e. select another ID to link, and remap its local usages to that newly linked data-block). Currently only designed as an internal operator, not directly exposed to the user
*
* bpy.ops.wm.id_linked_relocate
*/
id_linked_relocate: H.Operator<{
/** Unique runtime identifier for the linked ID to relocate Default: 0. */
id_session_uid?: H.In<number>;
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Name of the file Default: "". */
filename?: H.In<string>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: True. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: True. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 1. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Link the objects or data-blocks rather than appending Default: True. */
link?: H.In<boolean>;
/** Try to re-use previously matching appended data-blocks instead of appending a new copy Default: False. */
do_reuse_local_id?: H.In<boolean>;
/** Don't add asset meta-data or tags from the original data-block Default: False. */
clear_asset_data?: H.In<boolean>;
/** Select new objects Default: True. */
autoselect?: H.In<boolean>;
/** Put new objects on the active collection Default: False. */
active_collection?: H.In<boolean>;
/** Create instances for collections, rather than adding them directly to the scene Default: False. */
instance_collections?: H.In<boolean>;
/** Create instances for object data which are not referenced by any objects Default: False. */
instance_object_data?: H.In<boolean>;
}>;
/**
* Add a custom theme to the preset list
*
* bpy.ops.wm.interface_theme_preset_add
*/
interface_theme_preset_add: H.Operator<{
/** Name of the preset, used to make the path name Default: "". */
name?: H.In<string>;
/** Default: False. */
remove_name?: H.In<boolean>;
/** Default: False. */
remove_active?: H.In<boolean>;
}>;
/**
* Remove a custom theme from the preset list
*
* bpy.ops.wm.interface_theme_preset_remove
*/
interface_theme_preset_remove: H.Operator<{
/** Name of the preset, used to make the path name Default: "". */
name?: H.In<string>;
/** Default: False. */
remove_name?: H.In<boolean>;
/** Default: True. */
remove_active?: H.In<boolean>;
}>;
/**
* Save a custom theme in the preset list
*
* bpy.ops.wm.interface_theme_preset_save
*/
interface_theme_preset_save: H.Operator<{
/** Name of the preset, used to make the path name Default: "". */
name?: H.In<string>;
/** Default: False. */
remove_name?: H.In<boolean>;
/** Default: True. */
remove_active?: H.In<boolean>;
}>;
/**
* Add a custom keymap configuration to the preset list
*
* bpy.ops.wm.keyconfig_preset_add
*/
keyconfig_preset_add: H.Operator<{
/** Name of the preset, used to make the path name Default: "". */
name?: H.In<string>;
/** Default: False. */
remove_name?: H.In<boolean>;
/** Default: False. */
remove_active?: H.In<boolean>;
}>;
/**
* Remove a custom keymap configuration from the preset list
*
* bpy.ops.wm.keyconfig_preset_remove
*/
keyconfig_preset_remove: H.Operator<{
/** Name of the preset, used to make the path name Default: "". */
name?: H.In<string>;
/** Default: False. */
remove_name?: H.In<boolean>;
/** Default: True. */
remove_active?: H.In<boolean>;
}>;
/**
* Reload the given library
*
* bpy.ops.wm.lib_reload
*/
lib_reload: H.Operator<{
/** Library to reload Default: "". */
library?: H.In<string>;
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Name of the file Default: "". */
filename?: H.In<string>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: True. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
}>;
/**
* Relocate the given library to one or several others
*
* bpy.ops.wm.lib_relocate
*/
lib_relocate: H.Operator<{
/** Library to relocate Default: "". */
library?: H.In<string>;
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Name of the file Default: "". */
filename?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: True. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
}>;
/**
* Link from a Library .blend file
*
* bpy.ops.wm.link
*/
link: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Name of the file Default: "". */
filename?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: True. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: True. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 1. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Link the objects or data-blocks rather than appending Default: True. */
link?: H.In<boolean>;
/** Try to re-use previously matching appended data-blocks instead of appending a new copy Default: False. */
do_reuse_local_id?: H.In<boolean>;
/** Don't add asset meta-data or tags from the original data-block Default: False. */
clear_asset_data?: H.In<boolean>;
/** Select new objects Default: True. */
autoselect?: H.In<boolean>;
/** Put new objects on the active collection Default: True. */
active_collection?: H.In<boolean>;
/** Create instances for collections, rather than adding them directly to the scene Default: True. */
instance_collections?: H.In<boolean>;
/** Create instances for object data which are not referenced by any objects Default: True. */
instance_object_data?: H.In<boolean>;
}>;
/**
* Print memory statistics to the console
*
* bpy.ops.wm.memory_statistics
*/
memory_statistics: H.Operator<{}>;
/**
* Save the scene to a Wavefront OBJ file
*
* bpy.ops.wm.obj_export
*/
obj_export: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Export multiple frames instead of the current frame only Default: False. */
export_animation?: H.In<boolean>;
/** The first frame to be exported Default: -2147483648. */
start_frame?: H.In<number>;
/** The last frame to be exported Default: 2147483647. */
end_frame?: H.In<number>;
/**
* Forward Axis Default: 'NEGATIVE_Z'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
forward_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/**
* Up Axis Default: 'Y'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
up_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/** Value by which to enlarge or shrink the objects with respect to the world's origin Default: 1.0. */
global_scale?: H.In<number>;
/** Apply modifiers to exported meshes Default: True. */
apply_modifiers?: H.In<boolean>;
/** Apply object transforms to exported vertices Default: True. */
apply_transform?: H.In<boolean>;
/**
* Determines properties like object visibility, modifiers etc., where they differ for Render and Viewport Default: 'DAG_EVAL_VIEWPORT'.
* - `DAG_EVAL_RENDER`: Render (Export objects as they appear in render)
* - `DAG_EVAL_VIEWPORT`: Viewport (Export objects as they appear in the viewport)
*/
export_eval_mode?: H.In<"DAG_EVAL_RENDER" | "DAG_EVAL_VIEWPORT">;
/** Export only selected objects instead of all supported objects Default: False. */
export_selected_objects?: H.In<boolean>;
/** Export UVs Default: True. */
export_uv?: H.In<boolean>;
/** Export per-face normals if the face is flat-shaded, per-face-corner normals if smooth-shaded Default: True. */
export_normals?: H.In<boolean>;
/** Export per-vertex colors Default: False. */
export_colors?: H.In<boolean>;
/** Export MTL library. There must be a Principled-BSDF node for image textures to be exported to the MTL file Default: True. */
export_materials?: H.In<boolean>;
/** Export MTL library using PBR extensions (roughness, metallic, sheen, coat, anisotropy, transmission) Default: False. */
export_pbr_extensions?: H.In<boolean>;
/**
* Method used to reference paths Default: 'AUTO'.
* - `AUTO`: Auto (Use relative paths with subdirectories only)
* - `ABSOLUTE`: Absolute (Always write absolute paths)
* - `RELATIVE`: Relative (Write relative paths where possible)
* - `MATCH`: Match (Match absolute/relative setting with input path)
* - `STRIP`: Strip (Write filename only)
* - `COPY`: Copy (Copy the file to the destination path)
*/
path_mode?: H.In<"AUTO" | "ABSOLUTE" | "RELATIVE" | "MATCH" | "STRIP" | "COPY">;
/** 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 Default: False. */
export_triangulated_mesh?: H.In<boolean>;
/** Export curves in parametric form instead of exporting as mesh Default: False. */
export_curves_as_nurbs?: H.In<boolean>;
/** Append mesh name to object name, separated by a '_' Default: False. */
export_object_groups?: H.In<boolean>;
/** Generate an OBJ group for each part of a geometry using a different material Default: False. */
export_material_groups?: H.In<boolean>;
/** Export the name of the vertex group of a face. It is approximated by choosing the vertex group with the most members among the vertices of a face Default: False. */
export_vertex_groups?: H.In<boolean>;
/** Generate smooth groups identifiers for each group of smooth faces, as unique integer values by default Default: False. */
export_smooth_groups?: H.In<boolean>;
/** If exporting smoothgroups, generate 'bitflags' values for the groups, instead of unique integer values. The same bitflag value can be re-used for different groups of smooth faces, as long as they have no common sharp edges or vertices Default: False. */
smooth_group_bitflags?: H.In<boolean>;
/** Extension Filter Default: "*.obj;*.mtl". */
filter_glob?: H.In<string>;
/** Collection Default: "". */
collection?: H.In<string>;
}>;
/**
* Load a Wavefront OBJ scene
*
* bpy.ops.wm.obj_import
*/
obj_import: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Value by which to enlarge or shrink the objects with respect to the world's origin Default: 1.0. */
global_scale?: H.In<number>;
/** Resize the objects to keep bounding box under this value. Value 0 disables clamping Default: 0.0. */
clamp_size?: H.In<number>;
/**
* Forward Axis Default: 'NEGATIVE_Z'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
forward_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/**
* Up Axis Default: 'Y'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
up_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/** Import each OBJ 'o' as a separate object Default: True. */
use_split_objects?: H.In<boolean>;
/** Import each OBJ 'g' as a separate object Default: False. */
use_split_groups?: H.In<boolean>;
/** Import OBJ groups as vertex groups Default: False. */
import_vertex_groups?: H.In<boolean>;
/** Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing) Default: True. */
validate_meshes?: H.In<boolean>;
/** Join curve endpoints if overlapping control points are detected (if disabled, no curves will be cyclic) Default: True. */
close_spline_loops?: H.In<boolean>;
/** Character used to separate objects name into hierarchical structure Default: "". */
collection_separator?: H.In<string>;
/**
* How to handle naming collisions when importing materials Default: 'MAKE_UNIQUE'.
* - `MAKE_UNIQUE`: Make Unique (Create new materials with unique names for each OBJ file)
* - `REFERENCE_EXISTING`: Reference Existing (Use existing materials with same name instead of creating new ones)
*/
mtl_name_collision_mode?: H.In<"MAKE_UNIQUE" | "REFERENCE_EXISTING">;
/** Extension Filter Default: "*.obj;*.mtl". */
filter_glob?: H.In<string>;
}>;
/**
* Open a Blender file
*
* bpy.ops.wm.open_mainfile
*/
open_mainfile: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: True. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Load user interface setup in the .blend file Default: True. */
load_ui?: H.In<boolean>;
/** Allow .blend file to execute scripts automatically, default available from system preferences Default: False. */
use_scripts?: H.In<boolean>;
/** Display File Selector Default: True. */
display_file_selector?: H.In<boolean>;
/** State Default: 0. */
state?: H.In<number>;
}>;
/**
* List all the operators in a text-block, useful for scripting
*
* bpy.ops.wm.operator_cheat_sheet
*/
operator_cheat_sheet: H.Operator<{}>;
/**
* Set the active operator to its default values
*
* bpy.ops.wm.operator_defaults
*/
operator_defaults: H.Operator<{}>;
/**
* (undocumented operator)
*
* bpy.ops.wm.operator_pie_enum
*/
operator_pie_enum: H.Operator<{
/** Operator name (in Python as string) Default: "". */
data_path?: H.In<string>;
/** Property name (as a string) Default: "". */
prop_string?: H.In<string>;
}>;
/**
* Add or remove an Operator Preset
*
* bpy.ops.wm.operator_preset_add
*/
operator_preset_add: H.Operator<{
/** Name of the preset, used to make the path name Default: "". */
name?: H.In<string>;
/** Default: False. */
remove_name?: H.In<boolean>;
/** Default: False. */
remove_active?: H.In<boolean>;
/** Operator Default: "". */
operator?: H.In<string>;
}>;
/**
* Remove outdated operator properties from presets that may cause problems
*
* bpy.ops.wm.operator_presets_cleanup
*/
operator_presets_cleanup: H.Operator<{
/** Default: "". */
operator?: H.In<string>;
properties?: H.In<readonly Record<string, any>[]>;
}>;
/**
* Disable add-on for workspace
*
* bpy.ops.wm.owner_disable
*/
owner_disable: H.Operator<{
/** UI Tag Default: "". */
owner_id?: H.In<string>;
}>;
/**
* Enable add-on for workspace
*
* bpy.ops.wm.owner_enable
*/
owner_enable: H.Operator<{
/** UI Tag Default: "". */
owner_id?: H.In<string>;
}>;
/**
* Open a path in a file browser
*
* bpy.ops.wm.path_open
*/
path_open: H.Operator<{
/** Default: "". */
filepath?: H.In<string>;
}>;
/**
* Save the scene to a PLY file
*
* bpy.ops.wm.ply_export
*/
ply_export: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/**
* Forward Axis Default: 'Y'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
forward_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/**
* Up Axis Default: 'Z'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
up_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/** Value by which to enlarge or shrink the objects with respect to the world's origin Default: 1.0. */
global_scale?: H.In<number>;
/** Apply modifiers to exported meshes Default: True. */
apply_modifiers?: H.In<boolean>;
/** Export only selected objects instead of all supported objects Default: False. */
export_selected_objects?: H.In<boolean>;
/** Export only objects from this collection (and its children) Default: "". */
collection?: H.In<string>;
/** Export UVs Default: True. */
export_uv?: H.In<boolean>;
/** Export specific vertex normals if available, export calculated normals otherwise Default: False. */
export_normals?: H.In<boolean>;
/**
* Export vertex color attributes Default: 'SRGB'.
* - `NONE`: None (Do not import/export color attributes)
* - `SRGB`: sRGB (Vertex colors in the file are in sRGB color space)
* - `LINEAR`: Linear (Vertex colors in the file are in linear color space)
*/
export_colors?: H.In<"NONE" | "SRGB" | "LINEAR">;
/** Export custom vertex attributes Default: True. */
export_attributes?: H.In<boolean>;
/** 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 Default: False. */
export_triangulated_mesh?: H.In<boolean>;
/** Export file in ASCII format, export as binary otherwise Default: False. */
ascii_format?: H.In<boolean>;
/** Extension Filter Default: "*.ply". */
filter_glob?: H.In<string>;
}>;
/**
* Import an PLY file as an object
*
* bpy.ops.wm.ply_import
*/
ply_import: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Scale Default: 1.0. */
global_scale?: H.In<number>;
/** Apply current scene's unit (as defined by unit scale) to imported data Default: False. */
use_scene_unit?: H.In<boolean>;
/**
* Forward Axis Default: 'Y'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
forward_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/**
* Up Axis Default: 'Z'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
up_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/** Merges vertices by distance Default: False. */
merge_verts?: H.In<boolean>;
/**
* Import vertex color attributes Default: 'SRGB'.
* - `NONE`: None (Do not import/export color attributes)
* - `SRGB`: sRGB (Vertex colors in the file are in sRGB color space)
* - `LINEAR`: Linear (Vertex colors in the file are in linear color space)
*/
import_colors?: H.In<"NONE" | "SRGB" | "LINEAR">;
/** Import custom vertex attributes Default: True. */
import_attributes?: H.In<boolean>;
/** Extension Filter Default: "*.ply". */
filter_glob?: H.In<string>;
}>;
/**
* Clear selected .blend file's previews
*
* bpy.ops.wm.previews_batch_clear
*/
previews_batch_clear: H.Operator<{
files?: H.In<readonly Record<string, any>[]>;
/** Default: "". */
directory?: H.In<string>;
/** Default: True. */
filter_blender?: H.In<boolean>;
/** Default: True. */
filter_folder?: H.In<boolean>;
/** Clear scenes' previews Default: True. */
use_scenes?: H.In<boolean>;
/** Clear collections' previews Default: True. */
use_collections?: H.In<boolean>;
/** Clear objects' previews Default: True. */
use_objects?: H.In<boolean>;
/** Clear 'internal' previews (materials, textures, images, etc.) Default: True. */
use_intern_data?: H.In<boolean>;
/** Enable Python evaluation for selected files Default: False. */
use_trusted?: H.In<boolean>;
/** Keep a backup (.blend1) version of the files when saving with cleared previews Default: True. */
use_backups?: H.In<boolean>;
}>;
/**
* Generate selected .blend file's previews
*
* bpy.ops.wm.previews_batch_generate
*/
previews_batch_generate: H.Operator<{
/** Collection of file paths with common ``directory`` root */
files?: H.In<readonly Record<string, any>[]>;
/** Root path of all files listed in ``files`` collection Default: "". */
directory?: H.In<string>;
/** Show Blender files in the File Browser Default: True. */
filter_blender?: H.In<boolean>;
/** Show folders in the File Browser Default: True. */
filter_folder?: H.In<boolean>;
/** Generate scenes' previews Default: True. */
use_scenes?: H.In<boolean>;
/** Generate collections' previews Default: True. */
use_collections?: H.In<boolean>;
/** Generate objects' previews Default: True. */
use_objects?: H.In<boolean>;
/** Generate 'internal' previews (materials, textures, images, etc.) Default: True. */
use_intern_data?: H.In<boolean>;
/** Enable Python evaluation for selected files Default: False. */
use_trusted?: H.In<boolean>;
/** Keep a backup (.blend1) version of the files when saving with generated previews Default: True. */
use_backups?: H.In<boolean>;
}>;
/**
* Clear data-block previews (only for some types like objects, materials, textures, etc.)
*
* bpy.ops.wm.previews_clear
*/
previews_clear: H.Operator<{
/** Which data-block previews to clear Default: set(). */
id_type?: H.In<Set<E.WmPreviewsClearIdType>>;
}>;
/**
* Ensure data-block previews are available and up-to-date (to be saved in .blend file, only for some types like materials, textures, etc.)
*
* bpy.ops.wm.previews_ensure
*/
previews_ensure: H.Operator<{}>;
/**
* Add your own property to the data-block
*
* bpy.ops.wm.properties_add
*/
properties_add: H.Operator<{
/** Property data_path edit Default: "". */
data_path?: H.In<string>;
}>;
/**
* Jump to a different tab inside the properties editor
*
* bpy.ops.wm.properties_context_change
*/
properties_context_change: H.Operator<{
/** Context Default: "". */
context?: H.In<string>;
}>;
/**
* Change a custom property's type, or adjust how it is displayed in the interface
*
* bpy.ops.wm.properties_edit
*/
properties_edit: H.Operator<{
/** Property data_path edit Default: "". */
data_path?: H.In<string>;
/** Property name edit Default: "". */
property_name?: H.In<string>;
/** Type Default: 'FLOAT'. */
property_type?: H.In<E.WmPropertiesEditPropertyType>;
/** Allow the property to be overridden when the data-block is linked Default: False. */
is_overridable_library?: H.In<boolean>;
/** Description Default: "". */
description?: H.In<string>;
/** Limits the Property Value slider to a range, values outside the range must be inputted numerically Default: False. */
use_soft_limits?: H.In<boolean>;
/** Array Length Default: 3. */
array_length?: H.In<number>;
/** Default Value Default: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0). */
default_int?: H.In<readonly number[]>;
/** Min Default: -10000. */
min_int?: H.In<number>;
/** Max Default: 10000. */
max_int?: H.In<number>;
/** Soft Min Default: -10000. */
soft_min_int?: H.In<number>;
/** Soft Max Default: 10000. */
soft_max_int?: H.In<number>;
/** Step Default: 1. */
step_int?: H.In<number>;
/** Default Value Default: (False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False). */
default_bool?: H.In<readonly boolean[]>;
/** Default Value Default: (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0). */
default_float?: H.In<readonly number[]>;
/** Min Default: -10000.0. */
min_float?: H.In<number>;
/** Max Default: -10000.0. */
max_float?: H.In<number>;
/** Soft Min Default: -10000.0. */
soft_min_float?: H.In<number>;
/** Soft Max Default: -10000.0. */
soft_max_float?: H.In<number>;
/** Precision Default: 3. */
precision?: H.In<number>;
/** Step Default: 0.1. */
step_float?: H.In<number>;
/** Subtype Default: ''. */
subtype?: H.In<string>;
/** Default Value Default: "". */
default_string?: H.In<string>;
/** ID Type Default: 'OBJECT'. */
id_type?: H.In<E.ActionSlotsIdType>;
/** Python value for unsupported custom property types Default: "". */
eval_string?: H.In<string>;
}>;
/**
* Edit the value of a custom property
*
* bpy.ops.wm.properties_edit_value
*/
properties_edit_value: H.Operator<{
/** Property data_path edit Default: "". */
data_path?: H.In<string>;
/** Property name edit Default: "". */
property_name?: H.In<string>;
/** Value for custom property types that can only be edited as a Python expression Default: "". */
eval_string?: H.In<string>;
}>;
/**
* Internal use (edit a property data_path)
*
* bpy.ops.wm.properties_remove
*/
properties_remove: H.Operator<{
/** Property data_path edit Default: "". */
data_path?: H.In<string>;
/** Property name edit Default: "". */
property_name?: H.In<string>;
}>;
/**
* Quit Blender
*
* bpy.ops.wm.quit_blender
*/
quit_blender: H.Operator<{}>;
/**
* Set some size property (e.g. brush size) with mouse wheel
*
* bpy.ops.wm.radial_control
*/
radial_control: H.Operator<{
/** Primary path of property to be set by the radial control Default: "". */
data_path_primary?: H.In<string>;
/** Secondary path of property to be set by the radial control Default: "". */
data_path_secondary?: H.In<string>;
/** Path of property to select between the primary and secondary data paths Default: "". */
use_secondary?: H.In<string>;
/** Path of property used to rotate the texture display Default: "". */
rotation_path?: H.In<string>;
/** Path of property used to set the color of the control Default: "". */
color_path?: H.In<string>;
/** Path of property used to set the fill color of the control Default: "". */
fill_color_path?: H.In<string>;
/** Fill Color Override Path Default: "". */
fill_color_override_path?: H.In<string>;
/** Fill Color Override Test Default: "". */
fill_color_override_test_path?: H.In<string>;
/** Path of property used to set the zoom level for the control Default: "". */
zoom_path?: H.In<string>;
/** Path of ID that is used to generate an image for the control Default: "". */
image_id?: H.In<string>;
/** Tweak brush secondary/mask texture Default: False. */
secondary_tex?: H.In<boolean>;
/** Finish operation on key release Default: False. */
release_confirm?: H.In<boolean>;
}>;
/**
* Load factory default startup file and preferences. To make changes permanent, use "Save Startup File" and "Save Preferences"
*
* bpy.ops.wm.read_factory_settings
*/
read_factory_settings: H.Operator<{
/** Factory Startup App-Template Only Default: False. */
use_factory_startup_app_template_only?: H.In<boolean>;
/** Default: "Template". */
app_template?: H.In<string>;
/** After loading, remove everything except scenes, windows, and workspaces. This makes it possible to load the startup file with its scene configuration and window layout intact, but no objects, materials, animations, ... Default: False. */
use_empty?: H.In<boolean>;
}>;
/**
* Load factory default preferences. To make changes to preferences permanent, use "Save Preferences"
*
* bpy.ops.wm.read_factory_userpref
*/
read_factory_userpref: H.Operator<{
/** Factory Startup App-Template Only Default: False. */
use_factory_startup_app_template_only?: H.In<boolean>;
}>;
/**
* Reloads history and bookmarks
*
* bpy.ops.wm.read_history
*/
read_history: H.Operator<{}>;
/**
* Open the default file
*
* bpy.ops.wm.read_homefile
*/
read_homefile: H.Operator<{
/** Path to an alternative start-up file Default: "". */
filepath?: H.In<string>;
/** Load user interface setup from the .blend file Default: True. */
load_ui?: H.In<boolean>;
/** Splash Default: False. */
use_splash?: H.In<boolean>;
/** Load the default ('factory startup') blend file. This is independent of the normal start-up file that the user can save Default: False. */
use_factory_startup?: H.In<boolean>;
/** Factory Startup App-Template Only Default: False. */
use_factory_startup_app_template_only?: H.In<boolean>;
/** Default: "Template". */
app_template?: H.In<string>;
/** After loading, remove everything except scenes, windows, and workspaces. This makes it possible to load the startup file with its scene configuration and window layout intact, but no objects, materials, animations, ... Default: False. */
use_empty?: H.In<boolean>;
}>;
/**
* Load last saved preferences
*
* bpy.ops.wm.read_userpref
*/
read_userpref: H.Operator<{}>;
/**
* Open an automatically saved file to recover it
*
* bpy.ops.wm.recover_auto_save
*/
recover_auto_save: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: True. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: False. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'LIST_VERTICAL'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Allow .blend file to execute scripts automatically, default available from system preferences Default: False. */
use_scripts?: H.In<boolean>;
}>;
/**
* Open the last closed file ("quit.blend")
*
* bpy.ops.wm.recover_last_session
*/
recover_last_session: H.Operator<{
/** Allow .blend file to execute scripts automatically, default available from system preferences Default: False. */
use_scripts?: H.In<boolean>;
}>;
/**
* Simple redraw timer to test the speed of updating the interface
*
* bpy.ops.wm.redraw_timer
*/
redraw_timer: H.Operator<{
/** Type Default: 'DRAW'. */
type?: H.In<E.WmRedrawTimerType>;
/** Number of times to redraw Default: 10. */
iterations?: H.In<number>;
/** Seconds to run the test for (override iterations) Default: 0.0. */
time_limit?: H.In<number>;
}>;
/**
* Reload the saved file
*
* bpy.ops.wm.revert_mainfile
*/
revert_mainfile: H.Operator<{
/** Allow .blend file to execute scripts automatically, default available from system preferences Default: False. */
use_scripts?: H.In<boolean>;
}>;
/**
* Save the current file in the desired location
*
* bpy.ops.wm.save_as_mainfile
*/
save_as_mainfile: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: True. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Write compressed .blend file Default: False. */
compress?: H.In<boolean>;
/** Remap relative paths when saving to a different directory Default: True. */
relative_remap?: H.In<boolean>;
/** Save a copy of the actual working state but does not make saved file active Default: False. */
copy?: H.In<boolean>;
/** Show a popup dialog to save modified images before saving the blend file Default: False. */
show_save_modified_images_dialog?: H.In<boolean>;
}>;
/**
* Create an autosave in the temp directory for the current file
*
* bpy.ops.wm.save_auto_save
*/
save_auto_save: H.Operator<{}>;
/**
* Make the current file the default startup file
*
* bpy.ops.wm.save_homefile
*/
save_homefile: H.Operator<{}>;
/**
* Save the current Blender file
*
* bpy.ops.wm.save_mainfile
*/
save_mainfile: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Collapse the region displaying the operator settings Default: True. */
hide_props_region?: H.In<boolean>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: True. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Write compressed .blend file Default: False. */
compress?: H.In<boolean>;
/** Remap relative paths when saving to a different directory Default: False. */
relative_remap?: H.In<boolean>;
/** Exit Blender after saving Default: False. */
exit?: H.In<boolean>;
/** Save the current Blender file with a numerically incremented name that does not overwrite any existing files Default: False. */
incremental?: H.In<boolean>;
/** Show a popup dialog to save modified images before saving the blend file Default: False. */
show_save_modified_images_dialog?: H.In<boolean>;
}>;
/**
* Make the current preferences default
*
* bpy.ops.wm.save_userpref
*/
save_userpref: H.Operator<{}>;
/**
* Pop-up a search over all menus in the current context
*
* bpy.ops.wm.search_menu
*/
search_menu: H.Operator<{}>;
/**
* Pop-up a search over all available operators in current context
*
* bpy.ops.wm.search_operator
*/
search_operator: H.Operator<{}>;
/**
* Pop-up a search for a menu in current context
*
* bpy.ops.wm.search_single_menu
*/
search_single_menu: H.Operator<{
/** Menu to search in Default: "". */
menu_idname?: H.In<string>;
/** Query to insert into the search box Default: "". */
initial_query?: H.In<string>;
}>;
/**
* Toggle 3D stereo support for current window (or change the display mode)
*
* bpy.ops.wm.set_stereo_3d
*/
set_stereo_3d: H.Operator<{
/**
* Display Mode Default: 'ANAGLYPH'.
* - `ANAGLYPH`: Anaglyph (Render views for left and right eyes as two differently filtered colors in a single image (anaglyph glasses are required))
* - `INTERLACE`: Interlace (Render views for left and right eyes interlaced in a single image (3D-ready monitor is required))
* - `TIMESEQUENTIAL`: Time Sequential (Render alternate eyes (also known as page flip, quad buffer support in the graphic card is required))
* - `SIDEBYSIDE`: Side-by-Side (Render views for left and right eyes side-by-side)
* - `TOPBOTTOM`: Top-Bottom (Render views for left and right eyes one above another)
*/
display_mode?: H.In<"ANAGLYPH" | "INTERLACE" | "TIMESEQUENTIAL" | "SIDEBYSIDE" | "TOPBOTTOM">;
/**
* Anaglyph Type Default: 'RED_CYAN'.
* - `RED_CYAN`: Red-Cyan
* - `GREEN_MAGENTA`: Green-Magenta
* - `YELLOW_BLUE`: Yellow-Blue
*/
anaglyph_type?: H.In<"RED_CYAN" | "GREEN_MAGENTA" | "YELLOW_BLUE">;
/**
* Interlace Type Default: 'ROW_INTERLEAVED'.
* - `ROW_INTERLEAVED`: Row Interleaved
* - `COLUMN_INTERLEAVED`: Column Interleaved
* - `CHECKERBOARD_INTERLEAVED`: Checkerboard Interleaved
*/
interlace_type?: H.In<"ROW_INTERLEAVED" | "COLUMN_INTERLEAVED" | "CHECKERBOARD_INTERLEAVED">;
/** Swap left and right stereo channels Default: False. */
use_interlace_swap?: H.In<boolean>;
/** Right eye should see left image and vice versa Default: False. */
use_sidebyside_crosseyed?: H.In<boolean>;
}>;
/**
* Change the working color space of all colors in this blend file
*
* bpy.ops.wm.set_working_color_space
*/
set_working_color_space: H.Operator<{
/** Change colors in all data-blocks to the new working space Default: True. */
convert_colors?: H.In<boolean>;
/** Color space to set Default: ''. */
working_space?: H.In<string>;
}>;
/**
* Open the splash screen with release info
*
* bpy.ops.wm.splash
*/
splash: H.Operator<{}>;
/**
* Open a window with information about Blender
*
* bpy.ops.wm.splash_about
*/
splash_about: H.Operator<{}>;
/**
* Save the scene to an STL file
*
* bpy.ops.wm.stl_export
*/
stl_export: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Export file in ASCII format, export as binary otherwise Default: False. */
ascii_format?: H.In<boolean>;
/** Export each object to a separate file Default: False. */
use_batch?: H.In<boolean>;
/** Export only selected objects instead of all supported objects Default: False. */
export_selected_objects?: H.In<boolean>;
/** Export only objects from this collection (and its children) Default: "". */
collection?: H.In<string>;
/** Scale Default: 1.0. */
global_scale?: H.In<number>;
/** Apply current scene's unit (as defined by unit scale) to exported data Default: False. */
use_scene_unit?: H.In<boolean>;
/**
* Forward Axis Default: 'Y'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
forward_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/**
* Up Axis Default: 'Z'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
up_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/** Apply modifiers to exported meshes Default: True. */
apply_modifiers?: H.In<boolean>;
/**
* Determines properties like object visibility, modifiers etc., where they differ for Render and Viewport Default: 'DAG_EVAL_RENDER'.
* - `DAG_EVAL_RENDER`: Render (Export objects as they appear in render)
* - `DAG_EVAL_VIEWPORT`: Viewport (Export objects as they appear in the viewport (Multiresolution modifiers in Sculpt Mode will not be evaluated))
*/
evaluation_mode?: H.In<"DAG_EVAL_RENDER" | "DAG_EVAL_VIEWPORT">;
/** Extension Filter Default: "*.stl". */
filter_glob?: H.In<string>;
}>;
/**
* Import an STL file as an object
*
* bpy.ops.wm.stl_import
*/
stl_import: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Directory of the file Default: "". */
directory?: H.In<string>;
/** Files */
files?: H.In<readonly Record<string, any>[]>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: False. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Scale Default: 1.0. */
global_scale?: H.In<number>;
/** Apply current scene's unit (as defined by unit scale) to imported data Default: False. */
use_scene_unit?: H.In<boolean>;
/** Use (import) facet normals (note that this will still give flat shading) Default: False. */
use_facet_normal?: H.In<boolean>;
/**
* Forward Axis Default: 'Y'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
forward_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/**
* Up Axis Default: 'Z'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
up_axis?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/** Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing) Default: True. */
use_mesh_validate?: H.In<boolean>;
/** Extension Filter Default: "*.stl". */
filter_glob?: H.In<string>;
}>;
/**
* Generate system information, saved into a text file
*
* bpy.ops.wm.sysinfo
*/
sysinfo: H.Operator<{
/** Default: "". */
filepath?: H.In<string>;
}>;
/**
* Look up the most appropriate tool for the given brush type and activate that
*
* bpy.ops.wm.tool_set_by_brush_type
*/
tool_set_by_brush_type: H.Operator<{
/** Brush type identifier for which the most appropriate tool will be looked up Default: "". */
brush_type?: H.In<string>;
/** Type Default: 'EMPTY'. */
space_type?: H.In<E.AreaType>;
}>;
/**
* Set the tool by name (for key-maps)
*
* bpy.ops.wm.tool_set_by_id
*/
tool_set_by_id: H.Operator<{
/** Identifier of the tool Default: "". */
name?: H.In<string>;
/** Cycle through tools in this group Default: False. */
cycle?: H.In<boolean>;
/** Set the fallback tool instead of the primary tool Default: False. */
as_fallback?: H.In<boolean>;
/** Type Default: 'EMPTY'. */
space_type?: H.In<E.AreaType>;
}>;
/**
* Set the tool by index (for key-maps)
*
* bpy.ops.wm.tool_set_by_index
*/
tool_set_by_index: H.Operator<{
/** Index in Toolbar Default: 0. */
index?: H.In<number>;
/** Cycle through tools in this group Default: False. */
cycle?: H.In<boolean>;
/** Include tool subgroups Default: True. */
expand?: H.In<boolean>;
/** Set the fallback tool instead of the primary Default: False. */
as_fallback?: H.In<boolean>;
/** Type Default: 'EMPTY'. */
space_type?: H.In<E.AreaType>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.wm.toolbar
*/
toolbar: H.Operator<{}>;
/**
* (undocumented operator)
*
* bpy.ops.wm.toolbar_fallback_pie
*/
toolbar_fallback_pie: H.Operator<{}>;
/**
* Leader key like functionality for accessing tools
*
* bpy.ops.wm.toolbar_prompt
*/
toolbar_prompt: H.Operator<{}>;
/**
* Open a website in the web browser
*
* bpy.ops.wm.url_open
*/
url_open: H.Operator<{
/** URL to open Default: "". */
url?: H.In<string>;
}>;
/**
* Open a preset website in the web browser
*
* bpy.ops.wm.url_open_preset
*/
url_open_preset: H.Operator<{
/** Site Default: ''. */
type?: H.In<string>;
}>;
/**
* Export current scene in a USD archive
*
* bpy.ops.wm.usd_export
*/
usd_export: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Check and warn on overwriting existing files Default: True. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: True. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Default: "*.usd". */
filter_glob?: H.In<string>;
/** Only export selected objects. Unselected parents of selected objects are exported as empty transform Default: False. */
selected_objects_only?: H.In<boolean>;
/** Collection Default: "". */
collection?: H.In<string>;
/** Export all frames in the render frame range, rather than only the current frame Default: False. */
export_animation?: H.In<boolean>;
/** Incrementally save after the specified number of frames to reduce peak memory usage. Incremental saves can result in longer export times and potential issues with some file synchronization services. Zero disables incremental save Default: 0. */
incremental_frames?: H.In<number>;
/** Export hair particle systems as USD curves Default: False. */
export_hair?: H.In<boolean>;
/** Include all mesh UV maps in the export Default: True. */
export_uvmaps?: H.In<boolean>;
/** Rename active render UV map to "st" to match USD conventions Default: True. */
rename_uvmaps?: H.In<boolean>;
/** Include mesh color attributes in the export Default: True. */
export_mesh_colors?: H.In<boolean>;
/** Include normals of exported meshes in the export Default: True. */
export_normals?: H.In<boolean>;
/** Export viewport settings of materials as USD preview materials, and export material assignments as geometry subsets Default: True. */
export_materials?: H.In<boolean>;
/**
* Choose how subdivision modifiers will be mapped to the USD subdivision scheme during export Default: 'BEST_MATCH'.
* - `IGNORE`: Ignore (Scheme = None. Export base mesh without subdivision)
* - `TESSELLATE`: Tessellate (Scheme = None. Export subdivided mesh)
* - `BEST_MATCH`: Best Match (Scheme = Catmull-Clark, when possible. Reverts to exporting the subdivided mesh for the Simple subdivision type)
*/
export_subdivision?: H.In<"IGNORE" | "TESSELLATE" | "BEST_MATCH">;
/** Export armatures and meshes with armature modifiers as USD skeletons and skinned meshes Default: True. */
export_armatures?: H.In<boolean>;
/** Only export deform bones and their parents Default: False. */
only_deform_bones?: H.In<boolean>;
/** Export shape keys as USD blend shapes Default: True. */
export_shapekeys?: H.In<boolean>;
/** Export instanced objects as references in USD rather than real objects Default: False. */
use_instancing?: H.In<boolean>;
/**
* Determines visibility of objects, modifier settings, and other areas where there are different settings for viewport and rendering Default: 'RENDER'.
* - `RENDER`: Render (Use Render settings for object visibility, modifier settings, etc)
* - `VIEWPORT`: Viewport (Use Viewport settings for object visibility, modifier settings, etc)
*/
evaluation_mode?: H.In<"RENDER" | "VIEWPORT">;
/** Generate an approximate USD Preview Surface shader representation of a Principled BSDF node network Default: True. */
generate_preview_surface?: H.In<boolean>;
/** Generate a MaterialX network representation of the materials Default: False. */
generate_materialx_network?: H.In<boolean>;
/** Convert orientation axis to a different convention to match other applications Default: False. */
convert_orientation?: H.In<boolean>;
/**
* Forward Axis Default: 'NEGATIVE_Z'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
export_global_forward_selection?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/**
* Up Axis Default: 'Y'.
* - `X`: X (Positive X axis)
* - `Y`: Y (Positive Y axis)
* - `Z`: Z (Positive Z axis)
* - `NEGATIVE_X`: -X (Negative X axis)
* - `NEGATIVE_Y`: -Y (Negative Y axis)
* - `NEGATIVE_Z`: -Z (Negative Z axis)
*/
export_global_up_selection?: H.In<"X" | "Y" | "Z" | "NEGATIVE_X" | "NEGATIVE_Y" | "NEGATIVE_Z">;
/**
* Texture export method Default: 'NEW'.
* - `KEEP`: Keep (Use original location of textures)
* - `PRESERVE`: Preserve (Preserve file paths of textures from already imported USD files.
* Export remaining textures to a 'textures' folder next to the USD file)
* - `NEW`: New Path (Export textures to a 'textures' folder next to the USD file)
*/
export_textures_mode?: H.In<"KEEP" | "PRESERVE" | "NEW">;
/** Overwrite existing files when exporting textures Default: False. */
overwrite_textures?: H.In<boolean>;
/** Use relative paths to reference external files (i.e. textures, volumes) in USD, otherwise use absolute paths Default: True. */
relative_paths?: H.In<boolean>;
/**
* The type of transform operators to write Default: 'TRS'.
* - `TRS`: Translate, Rotate, Scale (Export with translate, rotate, and scale Xform operators)
* - `TOS`: Translate, Orient, Scale (Export with translate, orient quaternion, and scale Xform operators)
* - `MAT`: Matrix (Export matrix operator)
*/
xform_op_mode?: H.In<"TRS" | "TOS" | "MAT">;
/** If set, add a transform primitive with the given path to the stage as the parent of all exported data Default: "/root". */
root_prim_path?: H.In<string>;
/** Export custom properties as USD attributes Default: True. */
export_custom_properties?: H.In<boolean>;
/** If set, add the given namespace as a prefix to exported custom property names. This only applies to property names that do not already have a prefix (e.g., it would apply to name 'bar' but not 'foo:bar') and does not apply to blender object and data names which are always exported in the 'userProperties:blender' namespace Default: "userProperties". */
custom_properties_namespace?: H.In<string>;
/** Set the accessibility label for the exported stage's default prim Default: "". */
accessibility_label?: H.In<string>;
/** Set the accessibility description for the exported stage's default prim Default: "". */
accessibility_description?: H.In<string>;
/** Author USD custom attributes containing the original Blender object and object data names Default: True. */
author_blender_name?: H.In<boolean>;
/** Convert the world material to a USD dome light. Currently works for simple materials, consisting of an environment texture connected to a background shader, with an optional vector multiply of the texture color Default: True. */
convert_world_material?: H.In<boolean>;
/** Preserve UTF-8 encoded characters when writing USD prim and property names (requires software utilizing USD 24.03 or greater when opening the resulting files) Default: True. */
allow_unicode?: H.In<boolean>;
/** Export all meshes Default: True. */
export_meshes?: H.In<boolean>;
/** Export all lights Default: True. */
export_lights?: H.In<boolean>;
/** Export all cameras Default: True. */
export_cameras?: H.In<boolean>;
/** Export all curves Default: True. */
export_curves?: H.In<boolean>;
/** Export all point clouds Default: True. */
export_points?: H.In<boolean>;
/** Export all volumes Default: True. */
export_volumes?: H.In<boolean>;
/** Triangulate meshes during export Default: False. */
triangulate_meshes?: H.In<boolean>;
/**
* Method for splitting the quads into triangles Default: 'SHORTEST_DIAGONAL'.
* - `BEAUTY`: Beauty (Split the quads in nice triangles, slower method)
* - `FIXED`: Fixed (Split the quads on the first and third vertices)
* - `FIXED_ALTERNATE`: Fixed Alternate (Split the quads on the 2nd and 4th vertices)
* - `SHORTEST_DIAGONAL`: Shortest Diagonal (Split the quads along their shortest diagonal)
* - `LONGEST_DIAGONAL`: Longest Diagonal (Split the quads along their longest diagonal)
*/
quad_method?: H.In<"BEAUTY" | "FIXED" | "FIXED_ALTERNATE" | "SHORTEST_DIAGONAL" | "LONGEST_DIAGONAL">;
/**
* Method for splitting the n-gons into triangles Default: 'BEAUTY'.
* - `BEAUTY`: Beauty (Arrange the new triangles evenly (slow))
* - `CLIP`: Clip (Split the polygons with an ear clipping algorithm)
*/
ngon_method?: H.In<"BEAUTY" | "CLIP">;
/** Choose a maximum size for all exported textures Default: 'KEEP'. */
usdz_downscale_size?: H.In<E.WmUsdExportUsdzDownscaleSize>;
/** Custom size for downscaling exported textures Default: 128. */
usdz_downscale_custom_size?: H.In<number>;
/** Merge USD primitives with their Xform parent if possible. USD does not allow nested UsdGeomGprims, intermediary Xform prims will be defined to keep the USD file valid when encountering object hierarchies. Default: False. */
merge_parent_xform?: H.In<boolean>;
/** Set the USD Stage meters per unit to the chosen measurement, or a custom value Default: 'METERS'. */
convert_scene_units?: H.In<E.WmUsdExportConvertSceneUnits>;
/** Custom value for meters per unit in the USD Stage Default: 1.0. */
meters_per_unit?: H.In<number>;
}>;
/**
* Import USD stage into current scene
*
* bpy.ops.wm.usd_import
*/
usd_import: H.Operator<{
/** Path to file Default: "". */
filepath?: H.In<string>;
/** Check and warn on overwriting existing files Default: False. */
check_existing?: H.In<boolean>;
/** Filter .blend files Default: False. */
filter_blender?: H.In<boolean>;
/** Filter backup .blend files Default: False. */
filter_backup?: H.In<boolean>;
/** Filter image files Default: False. */
filter_image?: H.In<boolean>;
/** Filter movie files Default: False. */
filter_movie?: H.In<boolean>;
/** Filter Python files Default: False. */
filter_python?: H.In<boolean>;
/** Filter font files Default: False. */
filter_font?: H.In<boolean>;
/** Filter sound files Default: False. */
filter_sound?: H.In<boolean>;
/** Filter text files Default: False. */
filter_text?: H.In<boolean>;
/** Filter archive files Default: False. */
filter_archive?: H.In<boolean>;
/** Filter btx files Default: False. */
filter_btx?: H.In<boolean>;
/** Filter Alembic files Default: False. */
filter_alembic?: H.In<boolean>;
/** Filter USD files Default: True. */
filter_usd?: H.In<boolean>;
/** Filter OBJ files Default: False. */
filter_obj?: H.In<boolean>;
/** Filter OpenVDB volume files Default: False. */
filter_volume?: H.In<boolean>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter Blender IDs Default: False. */
filter_blenlib?: H.In<boolean>;
/** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
filemode?: H.In<number>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/**
* Display Type Default: 'DEFAULT'.
* - `DEFAULT`: Default (Automatically determine display type for files)
* - `LIST_VERTICAL`: Short List (Display files as short list)
* - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
* - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
*/
display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
/** File sorting mode Default: ''. */
sort_method?: H.In<string>;
/** Default: "*.usd". */
filter_glob?: H.In<string>;
/** Value by which to enlarge or shrink the objects with respect to the world's origin Default: 1.0. */
scale?: H.In<number>;
/** Update the scene's start and end frame to match those of the USD archive Default: True. */
set_frame_range?: H.In<boolean>;
/** Cameras Default: True. */
import_cameras?: H.In<boolean>;
/** Curves Default: True. */
import_curves?: H.In<boolean>;
/** Lights Default: True. */
import_lights?: H.In<boolean>;
/** Materials Default: True. */
import_materials?: H.In<boolean>;
/** Meshes Default: True. */
import_meshes?: H.In<boolean>;
/** Volumes Default: True. */
import_volumes?: H.In<boolean>;
/** USD Shapes Default: True. */
import_shapes?: H.In<boolean>;
/** Armatures Default: True. */
import_skeletons?: H.In<boolean>;
/** Shape Keys Default: True. */
import_blendshapes?: H.In<boolean>;
/** Point Clouds Default: True. */
import_points?: H.In<boolean>;
/** Create subdivision surface modifiers based on the USD SubdivisionScheme attribute Default: False. */
import_subdivision?: H.In<boolean>;
/** Import USD scene graph instances as collection instances Default: True. */
support_scene_instancing?: H.In<boolean>;
/** Do not import invisible USD primitives. Only applies to primitives with a non-animated visibility attribute. Primitives with animated visibility will always be imported Default: True. */
import_visible_only?: H.In<boolean>;
/** Add all imported objects to a new collection Default: False. */
create_collection?: H.In<boolean>;
/** Read mesh UV coordinates Default: True. */
read_mesh_uvs?: H.In<boolean>;
/** Read mesh color attributes Default: True. */
read_mesh_colors?: H.In<boolean>;
/** Read USD Primvars as mesh attributes Default: True. */
read_mesh_attributes?: H.In<boolean>;
/** Import only the primitive at the given path and its descendants. Multiple paths may be specified in a list delimited by commas or semicolons Default: "". */
prim_path_mask?: H.In<string>;
/** Import guide geometry Default: False. */
import_guide?: H.In<boolean>;
/** Import proxy geometry Default: False. */
import_proxy?: H.In<boolean>;
/** Import final render geometry Default: True. */
import_render?: H.In<boolean>;
/** Also import materials that are not used by any geometry. Note that when this option is false, materials referenced by geometry will still be imported Default: False. */
import_all_materials?: H.In<boolean>;
/** Convert UsdPreviewSurface shaders to Principled BSDF shader networks Default: True. */
import_usd_preview?: H.In<boolean>;
/** If the Import USD Preview option is enabled, the material blend method will automatically be set based on the shader's opacity and opacityThreshold inputs Default: True. */
set_material_blend?: H.In<boolean>;
/** Scale for the intensity of imported lights Default: 1.0. */
light_intensity_scale?: H.In<number>;
/**
* Attempt to import materials with the given purpose. If no material with this purpose is bound to the primitive, fall back on loading any other bound material Default: 'MTL_FULL'.
* - `MTL_ALL_PURPOSE`: All Purpose (Attempt to import 'allPurpose' materials.)
* - `MTL_PREVIEW`: Preview (Attempt to import 'preview' materials. Load 'allPurpose' materials as a fallback)
* - `MTL_FULL`: Full (Attempt to import 'full' materials. Load 'allPurpose' or 'preview' materials, in that order, as a fallback)
*/
mtl_purpose?: H.In<"MTL_ALL_PURPOSE" | "MTL_PREVIEW" | "MTL_FULL">;
/**
* Behavior when the name of an imported material conflicts with an existing material Default: 'MAKE_UNIQUE'.
* - `MAKE_UNIQUE`: Make Unique (Import each USD material as a unique Blender material)
* - `REFERENCE_EXISTING`: Reference Existing (If a material with the same name already exists, reference that instead of importing)
*/
mtl_name_collision_mode?: H.In<"MAKE_UNIQUE" | "REFERENCE_EXISTING">;
/**
* Behavior when importing textures from a USDZ archive Default: 'IMPORT_PACK'.
* - `IMPORT_NONE`: None (Don't import textures)
* - `IMPORT_PACK`: Packed (Import textures as packed data)
* - `IMPORT_COPY`: Copy (Copy files to textures directory)
*/
import_textures_mode?: H.In<"IMPORT_NONE" | "IMPORT_PACK" | "IMPORT_COPY">;
/** Path to the directory where imported textures will be copied Default: "//textures/". */
import_textures_dir?: H.In<string>;
/**
* Behavior when the name of an imported texture file conflicts with an existing file Default: 'USE_EXISTING'.
* - `USE_EXISTING`: Use Existing (If a file with the same name already exists, use that instead of copying)
* - `OVERWRITE`: Overwrite (Overwrite existing files)
*/
tex_name_collision_mode?: H.In<"USE_EXISTING" | "OVERWRITE">;
/**
* Behavior when importing USD attributes as Blender custom properties Default: 'ALL'.
* - `NONE`: None (Do not import USD custom attributes)
* - `USER`: User (Import USD attributes in the 'userProperties' namespace as Blender custom properties. The namespace will be stripped from the property names)
* - `ALL`: All Custom (Import all USD custom attributes as Blender custom properties. Namespaces will be retained in the property names)
*/
property_import_mode?: H.In<"NONE" | "USER" | "ALL">;
/** Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing) Default: False. */
validate_meshes?: H.In<boolean>;
/** Convert the first discovered USD dome light to a world background shader Default: True. */
create_world_material?: H.In<boolean>;
/** Import only defined USD primitives. When disabled this allows importing USD primitives which are not defined, such as those with an override specifier Default: True. */
import_defined_only?: H.In<boolean>;
/** Allow USD primitives to merge with their Xform parent if they are the only child in the hierarchy Default: True. */
merge_parent_xform?: H.In<boolean>;
/** Scale the scene objects by the USD stage's meters per unit value. This scaling is applied in addition to the value specified in the Scale option Default: True. */
apply_unit_conversion_scale?: H.In<boolean>;
}>;
/**
* Close the current window
*
* bpy.ops.wm.window_close
*/
window_close: H.Operator<{}>;
/**
* Toggle the current window full-screen
*
* bpy.ops.wm.window_fullscreen_toggle
*/
window_fullscreen_toggle: H.Operator<{}>;
/**
* Create a new window
*
* bpy.ops.wm.window_new
*/
window_new: H.Operator<{}>;
/**
* Create a new main window with its own workspace and scene selection
*
* bpy.ops.wm.window_new_main
*/
window_new_main: H.Operator<{}>;
/**
* Move/turn relative to the VR viewer or controller
*
* bpy.ops.wm.xr_navigation_fly
*/
xr_navigation_fly: H.Operator<{
/** Fly mode Default: 'VIEWER_FORWARD'. */
mode?: H.In<E.WmXrNavigationFlyMode>;
/** Input state threshold when using snap turn Default: 0.95. */
snap_turn_threshold?: H.In<number>;
/** Prevent changes to viewer elevation Default: False. */
lock_location_z?: H.In<boolean>;
/** Limit movement to viewer's initial direction Default: False. */
lock_direction?: H.In<boolean>;
/** Apply fixed movement deltas every update Default: False. */
speed_frame_based?: H.In<boolean>;
/** Ratio between the min and max turn speed Default: 0.333333. */
turn_speed_factor?: H.In<number>;
/** Ratio between the min and max fly speed Default: 0.333333. */
fly_speed_factor?: H.In<number>;
/** First cubic spline control point between min/max speeds Default: (0.0, 0.0). */
speed_interpolation0?: H.In<M.VectorLike>;
/** Second cubic spline control point between min/max speeds Default: (1.0, 1.0). */
speed_interpolation1?: H.In<M.VectorLike>;
/** Fly mode when hands are swapped Default: 'VIEWER_FORWARD'. */
alt_mode?: H.In<E.WmXrNavigationFlyMode>;
/** When hands are swapped, prevent changes to viewer elevation Default: False. */
alt_lock_location_z?: H.In<boolean>;
/** When hands are swapped, limit movement to viewer's initial direction Default: False. */
alt_lock_direction?: H.In<boolean>;
}>;
/**
* Navigate the VR scene by grabbing with controllers
*
* bpy.ops.wm.xr_navigation_grab
*/
xr_navigation_grab: H.Operator<{
/** Prevent changes to viewer location Default: False. */
lock_location?: H.In<boolean>;
/** Prevent changes to viewer elevation Default: False. */
lock_location_z?: H.In<boolean>;
/** Prevent changes to viewer rotation Default: False. */
lock_rotation?: H.In<boolean>;
/** Prevent changes to viewer up orientation Default: False. */
lock_rotation_z?: H.In<boolean>;
/** Prevent changes to viewer scale Default: False. */
lock_scale?: H.In<boolean>;
}>;
/**
* Reset VR navigation deltas relative to session base pose
*
* bpy.ops.wm.xr_navigation_reset
*/
xr_navigation_reset: H.Operator<{
/** Reset location deltas Default: True. */
location?: H.In<boolean>;
/** Reset rotation deltas Default: True. */
rotation?: H.In<boolean>;
/** Reset scale deltas Default: True. */
scale?: H.In<boolean>;
}>;
/**
* Swap VR navigation controls between left / right controllers
*
* bpy.ops.wm.xr_navigation_swap_hands
*/
xr_navigation_swap_hands: H.Operator<{}>;
/**
* Set VR viewer location to controller raycast hit location
*
* bpy.ops.wm.xr_navigation_teleport
*/
xr_navigation_teleport: H.Operator<{
/** Only allow selectable objects to influence raycast result Default: True. */
selectable_only?: H.In<boolean>;
/** Velocity force controlling the teleportation arc parabola in m/s Default: 8.5. */
force?: H.In<number>;
/** Time step range controlling the teleportation arc parabola Default: 0.15. */
range?: H.In<number>;
/** Visual width of the teleportation ray line Default: 6.0. */
ray_line_width?: H.In<number>;
/** Visual width of the hit destination indicator Default: 0.18. */
destination_indicator_width?: H.In<number>;
/** Color of raycast when it succeeds Default: (0.4, 0.6, 0.9, 1.0). */
hit_color?: H.In<readonly number[]>;
/** Color of raycast when it misses Default: (1.0, 0.35, 0.35, 1.0). */
miss_color?: H.In<readonly number[]>;
/** Color of raycast when a fallback case succeeds Default: (0.5, 0.45, 0.8, 1.0). */
fallback_color?: H.In<readonly number[]>;
}>;
/**
* Open a view for use with virtual reality headsets, or close it if already opened
*
* bpy.ops.wm.xr_session_toggle
*/
xr_session_toggle: H.Operator<{}>;
}