Convert USD to USDZ via Python
Render USD as USDZ without any 3D modeling and rendering software.
How to Convert USD to USDZ Using Python
In order to convert USD to USDZ, we’ll use
API which is a feature-rich, powerful and easy to use document manipulation and conversion API for Python. Open
package manager, search for Aspose.3D and install. You may also use the following command from the Package Manager Console.
Command line
pip install aspose-3d
Steps to Convert USD to USDZ via Python
Python programmers can easily load & convert USD files to USDZ in just a few lines of code.
- Load USD file via the from_file of Scene class
- Call the Scene.save method with USDZ’s format.
- Check resultant USDZ file at specified path
System Requirements
Before running the Python conversion code, make sure that you have the following prerequisites.
- Microsoft Windows or Linux based OS.
- Python 3.5 or later.
- Aspose.3D for Python referenced in your project.
USD What is USD File Format?
A file with .usd extension is a Universal Scene Description file format that encodes data for the purpose of data interchanging and augmenting between digital content creation applications. Developed by Pixar, USD provides the ability to interchange elemental assets (such as models) or animation.
Read Moreusdz What is usdz File Format?
A file with .usdz is an uncompressed and unencrypetd ZIP archive for the USD (Universal Scene Description) file format that contains and proxies for files of other formats (such as textures, and animations) embedded within the archive and runs them directly with the USD run-time without any need of unpacking. USDZ files are packages whose design is based on the new Ar-level abstraction of a package. Usdz was registered with IANA and has media type name of model and a subtype name of vnd.usd+zip and its details can be found as on IANA registration page.
Read MoreOther Supported Conversions
You can also convert USD into many other file formats including few listed below.