Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active April 28, 2022 11:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-com-gists/b2cdbc8c68ec591e78381cfede8aa74f to your computer and use it in GitHub Desktop.
Save aspose-com-gists/b2cdbc8c68ec591e78381cfede8aa74f to your computer and use it in GitHub Desktop.
Convert STL to USDZ File Programmatically in C# .NET
// Initialize an object of Scene class
Scene scene = new Scene();
// Load input STL file with the Open method
scene.Open("test.stl");
// Initialize UsdSaveOptions class object
UsdSaveOptions options = new UsdSaveOptions(FileFormat.USDZ);
// Save output USDZ file
scene.Save("test.usdz", options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment