HoopsConverterHelper
- class omni.kit.converter.hoops_core.impl.helper.HoopsConverterHelper
Bases:
omni.kit.converter.common.progress_log_consumer.ProgressLogConsumer
Can be used to make calls to the CAD converter and for updating the USD stage
Methods
__init__
()Initialize Hoops Converter Helper class
Cancel CAD file conversion
create_import_task
(input_path, output_path, ...)Wraps the Hoops Exchange CAD Converter so that it works with Nucleus files.
destroy
()Clean up resources
get_cached_stage_id
()Attributes
CONVERTER_EXT_NAME
- __init__()
Initialize Hoops Converter Helper class
- cancel_task()
Cancel CAD file conversion
- async create_import_task(input_path: str, output_path: str, file_format_args: dict[str, str]) Tuple[str, omni.kit.converter.common.common.ConverterStatus]
Wraps the Hoops Exchange CAD Converter so that it works with Nucleus files.
- Parameters
input_path (str) – Full path to the input file
output_path (str) – Full path to the output file
file_format_args (dict[str,str]) – FileFormatArguments to pass to the converter
- Returns
Final output destination URL. hoops_convert_status(namedtuple): Hoops error code and associated message
- Return type
output_destination_url (str)
- destroy()
Clean up resources