Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active April 28, 2022 11:36
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/7b928af606ab730177078fee64b3ef06 to your computer and use it in GitHub Desktop.
Save aspose-com-gists/7b928af606ab730177078fee64b3ef06 to your computer and use it in GitHub Desktop.
Convert STL to USDZ File Programmatically in Java
// Initialize an object of Scene class
Scene scene = new Scene();
// Load input STL file with 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