The usd_converter.py module#

Summary#

load_into_usd_stage

Load mechanical scene into usd stage stage.

to_usd_stage

Convert mechanical scene to new usd stage and return it.

to_usd_file

Export mechanical scene to usd file.

Description#

Converter to OpenUSD.

Module detail#

usd_converter.load_into_usd_stage(scene: Ansys.Mechanical.Scenegraph.GroupNode, stage: pxr.Usd.Stage) None#

Load mechanical scene into usd stage stage.

usd_converter.to_usd_stage(app: ansys.mechanical.core.embedding.App, name: str) pxr.Usd.Stage#

Convert mechanical scene to new usd stage and return it.

usd_converter.to_usd_file(app, path: str) None#

Export mechanical scene to usd file.