Skip to content

Instantly share code, notes, and snippets.

@aspose-com-kb
Last active October 5, 2025 16:54
Show Gist options
  • Save aspose-com-kb/adb61ff72c67b1c5c36738a507a02a20 to your computer and use it in GitHub Desktop.
Save aspose-com-kb/adb61ff72c67b1c5c36738a507a02a20 to your computer and use it in GitHub Desktop.
Convert USDZ to STL in Java. For details: https://kb.aspose.com/3d/java/convert-usdz-to-stl-in-java/
// Load the input USDZ file
com.aspose.threed.Scene scene = new com.aspose.threed.Scene();
scene.open("input.usdz");
// Create an instance of STLSaveOptions class
com.aspose.threed.StlSaveOptions options = new com.aspose.threed.StlSaveOptions();
// Convert USDZ to STL file
scene.save("output.stl", options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment